diff mbox

[U-Boot,v2,07/10] ARM: sun6i: Define UART0 pins for A31

Message ID 1411545673-5591-8-git-send-email-wens@csie.org
State Superseded
Headers show

Commit Message

Chen-Yu Tsai Sept. 24, 2014, 8:01 a.m. UTC
UART0 is the default debug/console UART on the A31.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/include/asm/arch-sunxi/gpio.h | 3 +++
 1 file changed, 3 insertions(+)

Comments

Ian Campbell Sept. 25, 2014, 6:54 p.m. UTC | #1
On Wed, 2014-09-24 at 16:01 +0800, Chen-Yu Tsai wrote:
> 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>
diff mbox

Patch

diff --git a/arch/arm/include/asm/arch-sunxi/gpio.h b/arch/arm/include/asm/arch-sunxi/gpio.h
index f7f3d8c..ba7e69b 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 */