dt-bindings: net: Add lantiq, xrx200-net DT bindings
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 9 Sep 2018 20:16:44 +0000 (22:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2018 15:14:33 +0000 (08:14 -0700)
This adds the binding for the PMAC core between the CPU and the GSWIP
switch found on the xrx200 / VR9 Lantiq / Intel SoC.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: devicetree@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/lantiq,xrx200-net.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/net/lantiq,xrx200-net.txt b/Documentation/devicetree/bindings/net/lantiq,xrx200-net.txt
new file mode 100644 (file)
index 0000000..8a2fe52
--- /dev/null
@@ -0,0 +1,21 @@
+Lantiq xRX200 GSWIP PMAC Ethernet driver
+==================================
+
+Required properties:
+
+- compatible   : "lantiq,xrx200-net" for the PMAC of the embedded
+               : GSWIP in the xXR200
+- reg          : memory range of the PMAC core inside of the GSWIP core
+- interrupts   : TX and RX DMA interrupts. Use interrupt-names "tx" for
+               : the TX interrupt and "rx" for the RX interrupt.
+
+Example:
+
+eth0: eth@E10B308 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+       compatible = "lantiq,xrx200-net";
+       reg = <0xE10B308 0x30>;
+       interrupts = <73>, <72>;
+       interrupt-names = "tx", "rx";
+};