[U-Boot] [PATCH 1/6] rockchip: pinctrl: rk3399: add GMAC (RGMII only) support

Simon Glass sjg at chromium.org
Sun Mar 26 03:47:56 UTC 2017


On 24 March 2017 at 12:24, Philipp Tomsich
<philipp.tomsich at 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 at 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 at chromium.org>


More information about the U-Boot mailing list