[PATCH] ARM: mxs Enable UART3 on TX28
Lothar Waßmann
LW at KARO-electronics.de
Mon Mar 21 11:15:42 EDT 2011
Signed-off-by: Lothar Waßmann <LW at KARO-electronics.de>
---
arch/arm/mach-mxs/mach-tx28.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mxs/mach-tx28.c b/arch/arm/mach-mxs/mach-tx28.c
index 8baea4d..52e05a1 100644
--- a/arch/arm/mach-mxs/mach-tx28.c
+++ b/arch/arm/mach-mxs/mach-tx28.c
@@ -94,6 +94,12 @@ static const iomux_cfg_t tx28_stk5v3_pads[] __initconst = {
MX28_PAD_AUART1_RTS__AUART1_RTS,
MX28_PAD_AUART1_CTS__AUART1_CTS,
+ /* UART3 */
+ MX28_PAD_AUART3_RX__AUART3_RX,
+ MX28_PAD_AUART3_TX__AUART3_TX,
+ MX28_PAD_AUART3_RTS__AUART3_RTS,
+ MX28_PAD_AUART3_CTS__AUART3_CTS,
+
/* CAN */
MX28_PAD_GPMI_RDY2__CAN0_TX,
MX28_PAD_GPMI_RDY3__CAN0_RX,
@@ -322,6 +328,7 @@ static void __init tx28_stk5v3_init(void)
mx28_add_duart(); /* UART1 */
mx28_add_auart(1); /* UART2 */
+ mx28_add_auart(3); /* UART3 */
tx28_add_fec0();
/* spi via ssp will be added when available */
@@ -343,6 +350,7 @@ static void __init tx28_stk5v4_init(void)
mx28_add_duart(); /* UART1 */
mx28_add_auart(1); /* UART2 */
+ mx28_add_auart(3); /* UART3 */
tx28_add_fec0();
/* spi via ssp will be added later */
--
1.5.6.5
More information about the linux-arm-kernel
mailing list