
26 Mar
2017
26 Mar
'17
5:47 a.m.
On 24 March 2017 at 12:24, Philipp Tomsich philipp.tomsich@theobroma-systems.com wrote:
To add GMAC (Gigabit Ethernet) support (limited to RGMII only at this point), we need support for additional pin-configuration. This commit adds the pinctrl support for GMAC in RGMII signalling mode:
- adds a PERIPH_ID_GMAC and the mapping from IRQ number to PERIPH_ID
- adds the required defines (in the GRF support) for configuring the GPIOC pins for RGMII
- configures the RGMII pins (in GPIOC) when requested via pinctrl
X-AffectedPlatforms: RK3399-Q7 Signed-off-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com
arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 37 ++++++++++++++++++++++ arch/arm/include/asm/arch-rockchip/periph.h | 1 + drivers/pinctrl/rockchip/pinctrl_rk3399.c | 42 +++++++++++++++++++++++++ 3 files changed, 80 insertions(+)
Acked-by: Simon Glass sjg@chromium.org