net: stmmac: dwmac-rk: add rk3366 & rk3399 specific data
authorRoger Chen <roger.chen@rock-chips.com>
Thu, 1 Sep 2016 17:49:59 +0000 (01:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Sep 2016 00:08:56 +0000 (17:08 -0700)
commitba289af8020a6e81eac424e1d4ef3fcc8ff1b23d
tree65d6be2289d25abcd0331bde1930d88ce501450e
parentdd19bde36739702bbd9a832b5d4995bc0fa8d6d7
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>
Documentation/devicetree/bindings/net/rockchip-dwmac.txt
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c