aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net
diff options
context:
space:
mode:
authorRoger Chen <roger.chen@rock-chips.com>2016-09-01 13:49:59 -0400
committerDavid S. Miller <davem@davemloft.net>2016-09-02 20:08:56 -0400
commitba289af8020a6e81eac424e1d4ef3fcc8ff1b23d (patch)
tree65d6be2289d25abcd0331bde1930d88ce501450e /Documentation/devicetree/bindings/net
parentdd19bde36739702bbd9a832b5d4995bc0fa8d6d7 (diff)
net: stmmac: dwmac-rk: add rk3366 & rk3399 specific data
Add constants and callback functions for the dwmac on rk3228/rk3229 socs. As can be seen, the base structure is the same, only registers and the bits in them moved slightly. Signed-off-by: Roger Chen <roger.chen@rock-chips.com> Signed-off-by: Caesar Wang <wxt@rock-chips.com> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
-rw-r--r--Documentation/devicetree/bindings/net/rockchip-dwmac.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.txt b/Documentation/devicetree/bindings/net/rockchip-dwmac.txt
index cccd945fc45b..95383c5131fc 100644
--- a/Documentation/devicetree/bindings/net/rockchip-dwmac.txt
+++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.txt
@@ -3,8 +3,12 @@ Rockchip SoC RK3288 10/100/1000 Ethernet driver(GMAC)
3The device node has following properties. 3The device node has following properties.
4 4
5Required properties: 5Required properties:
6 - compatible: Can be one of "rockchip,rk3228-gmac", "rockchip,rk3288-gmac", 6 - compatible: should be "rockchip,<name>-gamc"
7 "rockchip,rk3368-gmac" 7 "rockchip,rk3228-gmac": found on RK322x SoCs
8 "rockchip,rk3288-gmac": found on RK3288 SoCs
9 "rockchip,rk3366-gmac": found on RK3366 SoCs
10 "rockchip,rk3368-gmac": found on RK3368 SoCs
11 "rockchip,rk3399-gmac": found on RK3399 SoCs
8 - reg: addresses and length of the register sets for the device. 12 - reg: addresses and length of the register sets for the device.
9 - interrupts: Should contain the GMAC interrupts. 13 - interrupts: Should contain the GMAC interrupts.
10 - interrupt-names: Should contain the interrupt names "macirq". 14 - interrupt-names: Should contain the interrupt names "macirq".