From: Troy Kisky Date: Thu, 12 Jan 2012 23:49:25 +0000 (+0000) Subject: i.mx6q: mx6qsabrelite: Setup uart1 pinmux X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=8e7d7b6b250cc123555d0250abef0e22b5770467;p=u-boot.git i.mx6q: mx6qsabrelite: Setup uart1 pinmux This allows the Linux kernel to use UART1 before pinmux support is added for UART1 Signed-off-by: Troy Kisky CC: Troy Kisky CC: Jason Liu CC: Stefano Babic Acked-by: Jason Liu --- diff --git a/board/freescale/mx6qsabrelite/mx6qsabrelite.c b/board/freescale/mx6qsabrelite/mx6qsabrelite.c index 4028789f4e..233e652f41 100644 --- a/board/freescale/mx6qsabrelite/mx6qsabrelite.c +++ b/board/freescale/mx6qsabrelite/mx6qsabrelite.c @@ -47,6 +47,11 @@ int dram_init(void) return 0; } +iomux_v3_cfg_t uart1_pads[] = { + MX6Q_PAD_SD3_DAT6__UART1_RXD | MUX_PAD_CTRL(UART_PAD_CTRL), + MX6Q_PAD_SD3_DAT7__UART1_TXD | MUX_PAD_CTRL(UART_PAD_CTRL), +}; + 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), @@ -74,6 +79,7 @@ iomux_v3_cfg_t usdhc4_pads[] = { static void setup_iomux_uart(void) { + imx_iomux_v3_setup_multiple_pads(uart1_pads, ARRAY_SIZE(uart1_pads)); imx_iomux_v3_setup_multiple_pads(uart2_pads, ARRAY_SIZE(uart2_pads)); }