diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-23 05:49:34 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-30 03:01:00 -0400 |
commit | 6eafde5f02b1f34b7e083d1d6522f40e850bf355 (patch) | |
tree | 67aa1fe1d1cfdff60b1bfcf95ee697167e19f3a1 /arch/arm/mach-mx3/devices-imx35.h | |
parent | 16cf5c41514fd94ff1e8b6be091e4b4732688fa6 (diff) |
ARM: imx: dynamically register imx-uart devices (imx35)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/devices-imx35.h')
-rw-r--r-- | arch/arm/mach-mx3/devices-imx35.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/devices-imx35.h b/arch/arm/mach-mx3/devices-imx35.h index b595fa641eea..536d9b9a250b 100644 --- a/arch/arm/mach-mx3/devices-imx35.h +++ b/arch/arm/mach-mx3/devices-imx35.h | |||
@@ -16,6 +16,13 @@ | |||
16 | #define imx35_add_imx_i2c2(pdata) \ | 16 | #define imx35_add_imx_i2c2(pdata) \ |
17 | imx_add_imx_i2c(2, MX35_I2C3_BASE_ADDR, SZ_4K, MX35_INT_I2C3, pdata) | 17 | imx_add_imx_i2c(2, MX35_I2C3_BASE_ADDR, SZ_4K, MX35_INT_I2C3, pdata) |
18 | 18 | ||
19 | #define imx35_add_imx_uart0(pdata) \ | ||
20 | imx_add_imx_uart_1irq(0, MX35_UART1_BASE_ADDR, SZ_16K, MX35_INT_UART1, pdata) | ||
21 | #define imx35_add_imx_uart1(pdata) \ | ||
22 | imx_add_imx_uart_1irq(1, MX35_UART2_BASE_ADDR, SZ_16K, MX35_INT_UART2, pdata) | ||
23 | #define imx35_add_imx_uart2(pdata) \ | ||
24 | imx_add_imx_uart_1irq(2, MX35_UART3_BASE_ADDR, SZ_16K, MX35_INT_UART3, pdata) | ||
25 | |||
19 | #define imx35_add_mxc_nand(pdata) \ | 26 | #define imx35_add_mxc_nand(pdata) \ |
20 | imx_add_mxc_nand_v21(MX35_NFC_BASE_ADDR, MX35_INT_NANDFC, pdata) | 27 | imx_add_mxc_nand_v21(MX35_NFC_BASE_ADDR, MX35_INT_NANDFC, pdata) |
21 | 28 | ||