summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/devices
diff options
context:
space:
mode:
authorAlison Wang <b18965@freescale.com>2012-07-26 15:50:33 +0800
committerJustin Waters <justin.waters@timesys.com>2012-09-12 16:49:41 -0400
commit59229106f4b4961fe161ef72368435af73443ee5 (patch)
tree536de7bc3772015578679177ee80dc74af913f04 /arch/arm/plat-mxc/devices
parent542d1bf0f754e5278f87b407164f56eb28be9089 (diff)
ENGR00181393-1: uart: add platform support for UART driver
Add platform support for UART driver. Signed-off-by: Jason Jin <Jason.jin@freescale.com> Signed-off-by: Jingchang Lu <b35083@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc/devices')
-rw-r--r--arch/arm/plat-mxc/devices/platform-imx-uart.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-imx-uart.c b/arch/arm/plat-mxc/devices/platform-imx-uart.c
index ecfadc3060ea..3c9010784cda 100644
--- a/arch/arm/plat-mxc/devices/platform-imx-uart.c
+++ b/arch/arm/plat-mxc/devices/platform-imx-uart.c
@@ -136,6 +136,16 @@ const struct imx_imx_uart_1irq_data imx6q_imx_uart_data[] __initconst = {
imx6q_imx_uart_data_entry(3, 4),
};
#endif /* ifdef CONFIG_SOC_IMX6Q */
+#ifdef CONFIG_SOC_MVFA5
+const struct imx_imx_uart_1irq_data mvf_imx_uart_data[] __initconst = {
+#define mvf_imx_uart_data_entry(_id, _hwid) \
+ imx_imx_uart_1irq_data_entry(MVF, _id, _hwid, SZ_4K)
+ mvf_imx_uart_data_entry(0, 0),
+ mvf_imx_uart_data_entry(1, 1),
+ mvf_imx_uart_data_entry(2, 2),
+ mvf_imx_uart_data_entry(3, 3),
+};
+#endif /* ifdef CONFIG_SOC_MVFA5 */
struct platform_device *__init imx_add_imx_uart_3irq(
const struct imx_imx_uart_3irq_data *data,