sunxi: support boot console on uart1 for sun8i
authorTobias Schramm <t.schramm@manjaro.org>
Sun, 14 Feb 2021 23:19:58 +0000 (00:19 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Fri, 19 Feb 2021 23:28:50 +0000 (23:28 +0000)
commit7f4e294b5743bdb0995756c894e92b81a11599fb
tree688d2c74d379f4a961db68c2ff8b3813dbb0e795
parentc12c76d3521e849cc337998f40db1d6e6a1e7b06
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>
arch/arm/include/asm/arch-sunxi/gpio.h
arch/arm/mach-sunxi/board.c