UPSTREAM: 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)
committerGerrit Code Review <gerrit@rock-chips.com>
Mon, 27 Jun 2016 06:38:46 +0000 (14:38 +0800)
commitcff10dbc0d72668c76e521f8cd8b58d892e6e1ce
tree9b90d3be3bf6e12c76e070911655b65f776f9e25
parentf484a8a4cb4674e488a9ad422b6ebd08983213fe
UPSTREAM: 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>
(cherry picked from git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
master commit e7ffd81233334b7755050523cb7e0456ae3d2e53)

Conflicts:

Documentation/devicetree/bindings/net/rockchip-dwmac.txt
[zx: conflict with rk3366 and rk3399 that have not been sent to upstream.]

Change-Id: Ibae845ded567e11a8428f6f45510cd5443845e17
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Documentation/devicetree/bindings/net/rockchip-dwmac.txt
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c