aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2012-01-01 11:28:43 +0100
committerEric Miao <eric.miao@linaro.org>2012-01-17 12:19:58 +0800
commit433889dbcb006a9cf3921bdf16213c6b7d66e55b (patch)
tree8fd42e48816f7d4a0d411d6c6a4b67ce97eabf22
parent41d13b6e37c0bdacfea08ddcf72855b2c99f6220 (diff)
downloadu-boot-linaro-433889dbcb006a9cf3921bdf16213c6b7d66e55b.tar.gz
mx6qsabrelite: setup uart1 pinmux
This allows Linux kernel to use UART1 before pinmux support is added for UART1 Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
-rw-r--r--board/freescale/mx6qsabrelite/mx6qsabrelite.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/freescale/mx6qsabrelite/mx6qsabrelite.c b/board/freescale/mx6qsabrelite/mx6qsabrelite.c
index 50f19872d..4473b6b60 100644
--- a/board/freescale/mx6qsabrelite/mx6qsabrelite.c
+++ b/board/freescale/mx6qsabrelite/mx6qsabrelite.c
@@ -57,6 +57,11 @@ int dram_init(void)
return 0;
}
+iomux_v3_cfg_t uart1_pads[] = {
+ MX6Q_PAD_SD3_DAT6__UART1_RXD,
+ MX6Q_PAD_SD3_DAT7__UART1_TXD,
+};
+
iomux_v3_cfg_t uart2_pads[] = {
MX6Q_PAD_EIM_D26__UART2_TXD | MUX_PAD_CTRL(UART_PAD_CTRL),
MX6Q_PAD_EIM_D27__UART2_RXD | MUX_PAD_CTRL(UART_PAD_CTRL),
@@ -121,6 +126,7 @@ iomux_v3_cfg_t enet_pads2[] = {
static void setup_iomux_uart(void)
{
imx_iomux_v3_setup_multiple_pads(uart2_pads, ARRAY_SIZE(uart2_pads));
+ imx_iomux_v3_setup_multiple_pads(uart1_pads, ARRAY_SIZE(uart1_pads));
}
static void setup_iomux_enet(void)