summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/devices/platform-imx-uart.c
diff options
context:
space:
mode:
authorYong Shen <yong.shen@linaro.org>2011-01-04 14:22:56 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-04 12:00:23 +0100
commita58154d1c3535f451a409abbd0bda6770b2d9380 (patch)
tree695c321719b7c13e5c55b4a857c2bc99d66023f2 /arch/arm/plat-mxc/devices/platform-imx-uart.c
parent644b1d586d6670262501057ae99d893fadb012de (diff)
ARM i.MX53: Make MX53 EVK bootable
1. Add entries to Kconfig 2. Add machine definition 3. Add Uart platform data, pad setting and base address 4. Adjust GPIO irq number Signed-off-by: Yong Shen <yong.shen@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/devices/platform-imx-uart.c')
-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 0c69fbcae46a..3c854c2cc6dd 100644
--- a/arch/arm/plat-mxc/devices/platform-imx-uart.c
+++ b/arch/arm/plat-mxc/devices/platform-imx-uart.c
@@ -116,6 +116,16 @@ const struct imx_imx_uart_1irq_data imx51_imx_uart_data[] __initconst = {
};
#endif /* ifdef CONFIG_SOC_IMX51 */
+#ifdef CONFIG_SOC_IMX53
+const struct imx_imx_uart_1irq_data imx53_imx_uart_data[] __initconst = {
+#define imx53_imx_uart_data_entry(_id, _hwid) \
+ imx_imx_uart_1irq_data_entry(MX53, _id, _hwid, SZ_4K)
+ imx53_imx_uart_data_entry(0, 1),
+ imx53_imx_uart_data_entry(1, 2),
+ imx53_imx_uart_data_entry(2, 3),
+};
+#endif /* ifdef CONFIG_SOC_IMX53 */
+
struct platform_device *__init imx_add_imx_uart_3irq(
const struct imx_imx_uart_3irq_data *data,
const struct imxuart_platform_data *pdata)