net: stmmac: meson: document device tree bindings
authorBeniamino Galvani <b.galvani@gmail.com>
Sat, 20 Sep 2014 13:29:17 +0000 (15:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Sep 2014 04:12:56 +0000 (00:12 -0400)
Add the device tree bindings documentation for the Amlogic Meson
variant of the Synopsys DesignWare MAC.

Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/meson-dwmac.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/net/meson-dwmac.txt b/Documentation/devicetree/bindings/net/meson-dwmac.txt
new file mode 100644 (file)
index 0000000..ec633d7
--- /dev/null
@@ -0,0 +1,25 @@
+* Amlogic Meson DWMAC Ethernet controller
+
+The device inherits all the properties of the dwmac/stmmac devices
+described in the file net/stmmac.txt with the following changes.
+
+Required properties:
+
+- compatible: should be "amlogic,meson6-dwmac" along with "snps,dwmac"
+             and any applicable more detailed version number
+             described in net/stmmac.txt
+
+- reg: should contain a register range for the dwmac controller and
+       another one for the Amlogic specific configuration
+
+Example:
+
+       ethmac: ethernet@c9410000 {
+               compatible = "amlogic,meson6-dwmac", "snps,dwmac";
+               reg = <0xc9410000 0x10000
+                      0xc1108108 0x4>;
+               interrupts = <0 8 1>;
+               interrupt-names = "macirq";
+               clocks = <&clk81>;
+               clock-names = "stmmaceth";
+       }