OSDN Git Service

net: stmmac: dwmac-rk: add rk3228-specific data
authorXing Zheng <zhengxing@rock-chips.com>
Tue, 21 Jun 2016 12:33:28 +0000 (20:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Jun 2016 19:45:39 +0000 (15:45 -0400)
commite7ffd81233334b7755050523cb7e0456ae3d2e53
tree7243899aab9a8300716ca4e7b40d07dfb0bf3e41
parente83e5bb18845d253690e13f43eb3a3c1a1df1c24
net: stmmac: dwmac-rk: add rk3228-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: Xing Zheng <zhengxing@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/rockchip-dwmac.txt
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c