rockchip: rk3288: Add pinctrl support for the gmac ethernet interface
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 26 Jun 2017 08:01:46 +0000 (10:01 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 11 Jul 2017 13:23:38 +0000 (15:23 +0200)
commit2454b719fb874120e06e4aa64bfb9450d091e56c
tree91a0bb5ffde32aa05bbd9f92417e2e9e4dd5d315
parentcc93c090d093e576432ff41112cd4d88824b6bc2
rockchip: rk3288: Add pinctrl support for the gmac ethernet interface

Add support for the gmac ethernet interface to pinctrl. This hardcodes
the setup to match that of the firefly and Radxa Rock2 boards, using the
RGMII phy mode for gmac interface and GPIO4B0 as the phy reset GPIO.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: Romain Perier <romain.perier@collabora.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/include/asm/arch-rockchip/grf_rk3288.h
drivers/pinctrl/rockchip/pinctrl_rk3288.c