]> git.ipfire.org Git - people/ms/u-boot.git/commit
net: gmac_rockchip: Add support for the RV1108 GMAC
authorDavid Wu <david.wu@rock-chips.com>
Sat, 13 Jan 2018 06:01:12 +0000 (14:01 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 28 Jan 2018 16:12:37 +0000 (17:12 +0100)
commitcaf746172b30c0b54e12814f6360a68be6c431d9
tree50c9bc3fe35e10709c04c63f6fcaa00a00921656
parent77c4261130b4690f11248642b00802cb34f6be40
net: gmac_rockchip: Add support for the RV1108 GMAC

The rv1108 GMAC only support rmii interface, so need to add the
set_rmii() ops. Use the phy current interface to set rmii or
rgmii ops. At the same time, need to set the mac clock rate of
rmii with 50M, the clock rate of rgmii with 125M.

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