[U-Boot] [PATCH 2/9] ARM: sunxi: Add sun8i (A23) UART0 pin mux support
Ian Campbell
ijc at hellion.org.uk
Sat Oct 11 17:51:20 CEST 2014
On Tue, 2014-10-07 at 15:11 +0800, Chen-Yu Tsai wrote:
> UART0 pin muxes on the A23 have a different function value.
>
> Signed-off-by: Chen-Yu Tsai <wens at csie.org>
Sigh, why can't silicon folks resist fiddling with stuff ;-)
Acked-by: Ian Campbell <ijc at hellion.org.uk>
> ---
> arch/arm/include/asm/arch-sunxi/gpio.h | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/include/asm/arch-sunxi/gpio.h b/arch/arm/include/asm/arch-sunxi/gpio.h
> index ba7e69b..b94ec4d 100644
> --- a/arch/arm/include/asm/arch-sunxi/gpio.h
> +++ b/arch/arm/include/asm/arch-sunxi/gpio.h
> @@ -125,8 +125,14 @@ enum sunxi_gpio_number {
> #define SUNXI_GPF0_SDC0 2
>
> #define SUNXI_GPF2_SDC0 2
> +
> +#ifdef CONFIG_SUN8I
> +#define SUNXI_GPF2_UART0_TX 3
> +#define SUNXI_GPF4_UART0_RX 3
> +#else
> #define SUNXI_GPF2_UART0_TX 4
> #define SUNXI_GPF4_UART0_RX 4
> +#endif
>
> #define SUN4I_GPG0_SDC1 4
>
More information about the U-Boot
mailing list