projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78c396a
)
ARM: sunxi: Add sun8i (A23) UART0 pin mux support
author
Chen-Yu Tsai
<wens@csie.org>
Wed, 22 Oct 2014 08:47:41 +0000
(16:47 +0800)
committer
Hans de Goede
<hdegoede@redhat.com>
Fri, 24 Oct 2014 07:35:38 +0000
(09:35 +0200)
UART0 pin muxes on the A23 have a different function value.
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
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/arch-sunxi/gpio.h
b/arch/arm/include/asm/arch-sunxi/gpio.h
index 59122db4ce6052671bff4e76c82bbf5c49dfcab8..7e2b16957c14d45e6bddcfb8713bc2284915c550 100644
(file)
--- a/
arch/arm/include/asm/arch-sunxi/gpio.h
+++ b/
arch/arm/include/asm/arch-sunxi/gpio.h
@@
-127,8
+127,14
@@
enum sunxi_gpio_number {
#define SUNXI_GPF0_SDC0 2
#define SUNXI_GPF2_SDC0 2
+
+#ifdef CONFIG_SUN8I
+#define SUNXI_GPF2_UART0_TX 3
+#define SUNXI_GPF4_UART0_RX 3
+#else
#define SUNXI_GPF2_UART0_TX 4
#define SUNXI_GPF4_UART0_RX 4
+#endif
#define SUN4I_GPG0_SDC1 4