net: gmac_rockchip: Add rk3328 gmac support
authorDavid Wu <david.wu@rock-chips.com>
Sat, 13 Jan 2018 06:03:04 +0000 (14:03 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 28 Jan 2018 16:12:37 +0000 (17:12 +0100)
commitb3d2a6df30b51ff9e8ed0810fb69df8d88d4d4fd
tree3596e9d8ca4031b3b06c581c7681b821d9418d12
parent7cd4ebab2bc425b027dc91872b1feb766e9bc9ff
net: gmac_rockchip: Add rk3328 gmac support

The GMAC2IO in the RK3328 once again is identical to the incarnation in
the RK3288 and the RK3399, except for where some of the configuration
and control registers are located in the GRF.

This adds the RK3328-specific logic necessary to reuse this driver.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/net/gmac_rockchip.c