diff options
author | Tobias Schramm <t.schramm@manjaro.org> | 2021-02-15 00:19:58 +0100 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2021-02-19 23:28:50 +0000 |
commit | 7f4e294b5743bdb0995756c894e92b81a11599fb (patch) | |
tree | 688d2c74d379f4a961db68c2ff8b3813dbb0e795 /arch/arm/include/asm/arch-sunxi | |
parent | c12c76d3521e849cc337998f40db1d6e6a1e7b06 (diff) | |
download | u-boot-7f4e294b5743bdb0995756c894e92b81a11599fb.tar.gz |
sunxi: support boot console on uart1 for sun8i
The A23, A33, H3, H5, A83T, V3 and Sochip S3 sun8i SoCs can mux uart1 on
GPIOs PG6 and PG7. This patch adds support for using uart1 on those pins
as boot console.
Signed-off-by: Tobias Schramm <t.schramm@manjaro.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/gpio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/gpio.h b/arch/arm/include/asm/arch-sunxi/gpio.h index de77bf638e..2969a530ae 100644 --- a/arch/arm/include/asm/arch-sunxi/gpio.h +++ b/arch/arm/include/asm/arch-sunxi/gpio.h @@ -190,6 +190,7 @@ enum sunxi_gpio_number { #define SUN5I_GPG_SDC1 2 #define SUN6I_GPG_SDC1 2 #define SUN8I_GPG_SDC1 2 +#define SUN8I_GPG_UART1 2 #define SUN6I_GPG_TWI3 2 #define SUN5I_GPG_UART1 4 |