From: Fil Dunsky <fili…@gmail.com> Describe the Clause 22 controller, its MDC prescaler and the devices on its management bus. Signed-off-by: Fil Dunsky <fili…@gmail.com> Reviewed-by: Rob Herring (Arm) <ro…@kernel.org> --- .../bindings/net/cortina,cs7542-mdio.yaml | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/Documentation/devicetree/bindings/net/cortina,cs7542-mdio.yaml b/Documentation/devicetree/bindings/net/cortina,cs7542-mdio.yaml new file mode 100644 index 000000000..66b5199c7 --- /dev/null +++ b/Documentation/devicetree/bindings/net/cortina,cs7542-mdio.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/cortina,cs7542-mdio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cortina Systems CS7542 MDIO controller + +maintainers: + - Fil Dunsky <fili…@gmail.com> + +description: + Clause 22 MDIO controller with a programmable 16-bit MDC prescaler. + +allOf: + - $ref: mdio.yaml# + +properties: + compatible: + const: cortina,cs7542-mdio + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + description: APB input clock + + suppress-preamble: false + +required: + - compatible + - reg + - clocks + - "#address-cells" + - "#size-cells" + +unevaluatedProperties: false + +examples: + - | + md…@f00700a0 { + compatible = "cortina,cs7542-mdio"; + reg = <0xf00700a0 0x14>; + clocks = <&apb_clk>; + #address-cells = <1>; + #size-cells = <0>; + + ethe…@0 { + reg = <0>; + }; + };
-- 2.53.0