summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-sunxi/cpu.h
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2014-10-22 16:47:47 +0800
committerHans de Goede <hdegoede@redhat.com>2014-10-24 09:35:39 +0200
commitc757a50bd12b4f4f1c44a7cc42354918e8d60cd7 (patch)
treef7041a6dc6cbb8bc45372c633bc978a54becdf68 /arch/arm/include/asm/arch-sunxi/cpu.h
parent472ed0641e73ea5c5b80f9bfa804bfe0f89eca69 (diff)
ARM: sunxi: Add support for using R_UART as console
The A23 only has UART0 muxed with MMC0. Some of the boards we encountered expose R_UART as a set of pads. Add support for R_UART so we can have a console while using mmc. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/cpu.h')
-rw-r--r--arch/arm/include/asm/arch-sunxi/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/cpu.h b/arch/arm/include/asm/arch-sunxi/cpu.h
index 313e6c849d..0de79a0d50 100644
--- a/arch/arm/include/asm/arch-sunxi/cpu.h
+++ b/arch/arm/include/asm/arch-sunxi/cpu.h
@@ -111,6 +111,7 @@
#define SUNXI_AVG_BASE 0x01ea0000
#define SUNXI_PRCM_BASE 0x01f01400
+#define SUNXI_R_UART_BASE 0x01f02800
#define SUNXI_R_PIO_BASE 0x01f02c00
#define SUNXI_P2WI_BASE 0x01f03400