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 <wafg…@gmail.com>
---
.../net/brcm,bcm47622-systemport.yaml | 57 +++++++++++++++++++
1 file changed, 57 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 000000000..0fcb6d086
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/brcm,bcm47622-systemport.yaml
@@ -0,0 +1,57 @@
+# 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 <wafg…@gmail.com>
+
+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:
+ items:
+ - description: RX
+ - description: TX completion
+
+ interrupt-names:
+ items:
+ - const: rx
+ - const: tx
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - interrupt-names
+ - phy-mode
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ ethe…@80400000 {
+ compatible = "brcm,bcm47622-systemport";
+ reg = <0x80400000 0x10000>;
+ interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "rx", "tx";
+ phy-handle = <&phy8>;
+ phy-mode = "internal";
+ };
--
2.56.1