mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-29 06:13:45 +09:00
ARM: sunxi: Add sun8i (A23) UART0 pin mux support
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>
This commit is contained in:
parent
78c396a113
commit
7f87ad354b
@ -127,8 +127,14 @@ enum sunxi_gpio_number {
|
|||||||
#define SUNXI_GPF0_SDC0 2
|
#define SUNXI_GPF0_SDC0 2
|
||||||
|
|
||||||
#define SUNXI_GPF2_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_GPF2_UART0_TX 4
|
||||||
#define SUNXI_GPF4_UART0_RX 4
|
#define SUNXI_GPF4_UART0_RX 4
|
||||||
|
#endif
|
||||||
|
|
||||||
#define SUN4I_GPG0_SDC1 4
|
#define SUN4I_GPG0_SDC1 4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user