]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: sun6i: Define UART0 pins for A31
authorChen-Yu Tsai <wens@csie.org>
Fri, 3 Oct 2014 12:16:27 +0000 (20:16 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 24 Oct 2014 07:35:38 +0000 (09:35 +0200)
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>
arch/arm/include/asm/arch-sunxi/gpio.h

index f7f3d8c41ad4c3cd0f8e5673513b9477f15541dc..ba7e69b7b7ea405ca02410b469c7447c15bad11a 100644 (file)
@@ -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 */