Add binding for the SYSTEMPORT Ethernet controller in BCM47622 family SoCs. It uses the same UniMAC as brcm,systemport but the DMA engine is different, so it is not compatible. Signed-off-by: Wadim Mueller --- .../net/brcm,bcm47622-systemport.yaml | 81 +++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,bcm47622-systemport.yaml diff --git a/Documentation/devicetree/bindings/net/brcm,bcm47622-systemport.yaml b/Documentation/devicetree/bindings/net/brcm,bcm47622-systemport.yaml new file mode 100644 index 000000000000..ab489ec1a6ef --- /dev/null +++ b/Documentation/devicetree/bindings/net/brcm,bcm47622-systemport.yaml @@ -0,0 +1,81 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/brcm,bcm47622-systemport.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCMBCA SYSTEMPORT Ethernet controller + +maintainers: + - Wadim Mueller + +description: + SYSTEMPORT Ethernet controller in BCM47622 family SoCs (e.g. BCM6755). + Not compatible with brcm,systemport, the DMA engine is different. + +allOf: + - $ref: ethernet-controller.yaml# + +properties: + compatible: + const: brcm,bcm47622-systemport + + reg: + maxItems: 1 + + interrupts: + minItems: 2 + items: + - description: INTRL2_0 interrupt controller output + - description: INTRL2_1 interrupt controller output + - description: INTRL2_2 interrupt controller output + - description: INTRL2_3 interrupt controller output + - description: INTRL2_4 interrupt controller output + - description: Wake-on-LAN (MPD) interrupt + + interrupt-names: + minItems: 2 + items: + - const: intrl2-0 + - const: intrl2-1 + - const: intrl2-2 + - const: intrl2-3 + - const: intrl2-4 + - const: wol + +required: + - compatible + - reg + - interrupts + - interrupt-names + - phy-mode + +unevaluatedProperties: false + +examples: + - | + #include + + ethernet@80400000 { + compatible = "brcm,bcm47622-systemport"; + reg = <0x80400000 0x10000>; + interrupts = , + , + , + , + , + ; + interrupt-names = "intrl2-0", "intrl2-1", "intrl2-2", "intrl2-3", + "intrl2-4", "wol"; + phy-handle = <&phy8>; + phy-mode = "internal"; + }; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + phy8: ethernet-phy@8 { + reg = <8>; + }; + }; -- 2.56.1