summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvf/board-quartz.c
diff options
context:
space:
mode:
authorRoshni Shah <roshni.shah@timesys.com>2014-02-09 22:32:28 -0500
committerRoshni Shah <roshni.shah@timesys.com>2014-02-09 22:32:28 -0500
commit00a0b0bd1ef5a8b7a5da9bbd6bf9c361a7b37030 (patch)
treee2dd9b5dcab4b07a0ac4040b9b67ffe71dd44a60 /arch/arm/mach-mvf/board-quartz.c
parent29000e743e28a7174c54e81c3c45a58fe35e17ff (diff)
Quartz: Add support for UART3 and UART2 iomux defines.3.0-quartz-ts1.2
Cleaned up incorrect iomux defines.
Diffstat (limited to 'arch/arm/mach-mvf/board-quartz.c')
-rw-r--r--arch/arm/mach-mvf/board-quartz.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-mvf/board-quartz.c b/arch/arm/mach-mvf/board-quartz.c
index e146616e33c3..a25beff804a9 100644
--- a/arch/arm/mach-mvf/board-quartz.c
+++ b/arch/arm/mach-mvf/board-quartz.c
@@ -243,6 +243,18 @@ static struct platform_device mvf_twr_audio_device = {
.name = "mvf-sgtl5000",
};
+static struct imxuart_platform_data mvf_uart3_pdata = {
+ .flags = IMXUART_FIFO | IMXUART_EDMA,
+ .dma_req_rx = DMA_MUX03_UART3_RX,
+ .dma_req_tx = DMA_MUX03_UART3_TX,
+};
+
+static struct imxuart_platform_data mvf_uart2_pdata = {
+ .flags = IMXUART_FIFO | IMXUART_EDMA,
+ .dma_req_rx = DMA_MUX03_UART2_RX,
+ .dma_req_tx = DMA_MUX03_UART2_TX,
+};
+
static struct imxuart_platform_data mvf_uart1_pdata = {
.flags = IMXUART_FIFO | IMXUART_EDMA,
.dma_req_rx = DMA_MUX03_UART1_RX,
@@ -259,6 +271,7 @@ static inline void mvf_vf700_init_uart(void)
{
mvf_add_imx_uart(0, &mvf_uart0_pdata);
mvf_add_imx_uart(1, &mvf_uart1_pdata);
+ mvf_add_imx_uart(3, &mvf_uart3_pdata);
}
static struct fec_platform_data fec_data __initdata = {