net: gmac_rockchip: Add support for the RK3368 GMAC
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 25 Jul 2017 15:02:51 +0000 (17:02 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:33 +0000 (17:12 +0200)
commit793f2fd2dc6c644702b3c78fc7a40095827cc4cd
treed7dc8d1d7fbd352be053cf9ee8b4a5254ebf24ad
parentcf8aceb1c96943b992449fdc9ef697620643aeb9
net: gmac_rockchip: Add support for the RK3368 GMAC

The GMAC in the RK3368 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 RK3368-specific logic necessary to reuse this driver.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
arch/arm/include/asm/arch-rockchip/grf_rk3368.h
drivers/net/gmac_rockchip.c