diff options
author | Beniamino Galvani <b.galvani@gmail.com> | 2014-09-20 09:29:17 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-26 00:12:56 -0400 |
commit | 318fd4909dcb7dc43a869132c2f38b769ed92d6a (patch) | |
tree | 2e1bdb8fb62b9a86b9a72897099dab71e30435ca | |
parent | 0ad5adcdb7335101f98066ec9239d06f4f2f7a9d (diff) |
net: stmmac: meson: document device tree bindings
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>
-rw-r--r-- | Documentation/devicetree/bindings/net/meson-dwmac.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/meson-dwmac.txt b/Documentation/devicetree/bindings/net/meson-dwmac.txt new file mode 100644 index 000000000000..ec633d74a8a8 --- /dev/null +++ b/Documentation/devicetree/bindings/net/meson-dwmac.txt | |||
@@ -0,0 +1,25 @@ | |||
1 | * Amlogic Meson DWMAC Ethernet controller | ||
2 | |||
3 | The device inherits all the properties of the dwmac/stmmac devices | ||
4 | described in the file net/stmmac.txt with the following changes. | ||
5 | |||
6 | Required properties: | ||
7 | |||
8 | - compatible: should be "amlogic,meson6-dwmac" along with "snps,dwmac" | ||
9 | and any applicable more detailed version number | ||
10 | described in net/stmmac.txt | ||
11 | |||
12 | - reg: should contain a register range for the dwmac controller and | ||
13 | another one for the Amlogic specific configuration | ||
14 | |||
15 | Example: | ||
16 | |||
17 | ethmac: ethernet@c9410000 { | ||
18 | compatible = "amlogic,meson6-dwmac", "snps,dwmac"; | ||
19 | reg = <0xc9410000 0x10000 | ||
20 | 0xc1108108 0x4>; | ||
21 | interrupts = <0 8 1>; | ||
22 | interrupt-names = "macirq"; | ||
23 | clocks = <&clk81>; | ||
24 | clock-names = "stmmaceth"; | ||
25 | } | ||