summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/devices-imx1.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-22 16:50:59 +0400
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-30 11:00:54 +0400
commitd112f4e4e57cbcf81e5f04a0eba77804d14d8640 (patch)
tree97c8001c76e667e87dd1ee98c7c2741f08ff8255 /arch/arm/mach-imx/devices-imx1.h
parent2db6823773760412706168be6378eef30c29808b (diff)
downloadlinux-d112f4e4e57cbcf81e5f04a0eba77804d14d8640.tar.xz
ARM: imx: dynamically register imx-uart devices (imx1)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/devices-imx1.h')
-rw-r--r--arch/arm/mach-imx/devices-imx1.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/devices-imx1.h b/arch/arm/mach-imx/devices-imx1.h
index a5cfe046deb4..a8d94f078196 100644
--- a/arch/arm/mach-imx/devices-imx1.h
+++ b/arch/arm/mach-imx/devices-imx1.h
@@ -11,3 +11,8 @@
#define imx1_add_i2c_imx(pdata) \
imx_add_imx_i2c(0, MX1_I2C_BASE_ADDR, SZ_4K, MX1_INT_I2C, pdata)
+
+#define imx1_add_imx_uart0(pdata) \
+ imx_add_imx_uart_3irq(0, MX1_UART1_BASE_ADDR, 0xd0, MX1_INT_UART1RX, MX1_INT_UART1TX, MX1_INT_UART1RTS, pdata)
+#define imx1_add_imx_uart1(pdata) \
+ imx_add_imx_uart_3irq(0, MX1_UART2_BASE_ADDR, 0xd0, MX1_INT_UART2RX, MX1_INT_UART2TX, MX1_INT_UART2RTS, pdata)