summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2014-10-03 20:16:27 +0800
committerHans de Goede <hdegoede@redhat.com>2014-10-24 09:35:38 +0200
commitba1e40fdd3096d2b9a421ac03285bd49bf837959 (patch)
treec59e6754b7c47cc6b6cacf588713742d70dfaaf7
parent1d1bd42eb08b267a0884a0fa04483daeda169f6d (diff)
ARM: sun6i: Define UART0 pins for A31
UART0 is the default debug/console UART on the A31. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Ian Campbell <ijc@hellion.org.uk>
-rw-r--r--arch/arm/include/asm/arch-sunxi/gpio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/gpio.h b/arch/arm/include/asm/arch-sunxi/gpio.h
index f7f3d8c41a..ba7e69b7b7 100644
--- a/arch/arm/include/asm/arch-sunxi/gpio.h
+++ b/arch/arm/include/asm/arch-sunxi/gpio.h
@@ -132,6 +132,9 @@ enum sunxi_gpio_number {
#define SUN4I_GPH22_SDC1 5
+#define SUN6I_GPH20_UART0_TX 2
+#define SUN6I_GPH21_UART0_RX 2
+
#define SUN4I_GPI4_SDC3 2
/* GPIO pin pull-up/down config */