dt-bindings: net: Document bindings for anarion-gmac
authorAlexandru Gagniuc <alex.g@adaptrum.com>
Fri, 4 Aug 2017 20:08:52 +0000 (13:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 04:31:32 +0000 (21:31 -0700)
Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/anarion-gmac.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/net/anarion-gmac.txt b/Documentation/devicetree/bindings/net/anarion-gmac.txt
new file mode 100644 (file)
index 0000000..fe67896
--- /dev/null
@@ -0,0 +1,25 @@
+*  Adaptrum Anarion ethernet controller
+
+This device is a platform glue layer for stmmac.
+Please see stmmac.txt for the other unchanged properties.
+
+Required properties:
+ - compatible:  Should be "adaptrum,anarion-gmac", "snps,dwmac"
+ - phy-mode:    Should be "rgmii". Other modes are not currently supported.
+
+
+Examples:
+
+       gmac1: ethernet@f2014000 {
+               compatible = "adaptrum,anarion-gmac", "snps,dwmac";
+               reg = <0xf2014000 0x4000>, <0xf2018100 8>;
+
+               interrupt-parent = <&core_intc>;
+               interrupts = <21>;
+               interrupt-names = "macirq";
+
+               clocks = <&core_clk>;
+               clock-names = "stmmaceth";
+
+               phy-mode = "rgmii";
+       };