summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/include/mach/devices-imx53.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-12-05 16:19:03 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-12-05 17:57:38 +0100
commit2504dcd33209db69ebb48ae7d1c5834cdc5c023f (patch)
tree3e044b145b7256b39d0cbc84c4ba29c14c2d300a /arch/arm/mach-imx/include/mach/devices-imx53.h
parent3555e9794e02c874da42e8a663cd205f1982d2c3 (diff)
downloadbarebox-2504dcd33209db69ebb48ae7d1c5834cdc5c023f.tar.gz
barebox-2504dcd33209db69ebb48ae7d1c5834cdc5c023f.tar.xz
imx: add mx53 SMD board support
with: - uarts - sd and emmc - fec Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/include/mach/devices-imx53.h')
-rw-r--r--arch/arm/mach-imx/include/mach/devices-imx53.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/include/mach/devices-imx53.h b/arch/arm/mach-imx/include/mach/devices-imx53.h
index bc01420161..1fc2417afd 100644
--- a/arch/arm/mach-imx/include/mach/devices-imx53.h
+++ b/arch/arm/mach-imx/include/mach/devices-imx53.h
@@ -31,6 +31,11 @@ static inline struct device_d *imx53_add_uart1(void)
return imx_add_uart((void *)MX53_UART2_BASE_ADDR, 1);
}
+static inline struct device_d *imx53_add_uart2(void)
+{
+ return imx_add_uart((void *)MX53_UART3_BASE_ADDR, 2);
+}
+
static inline struct device_d *imx53_add_fec(struct fec_platform_data *pdata)
{
return imx_add_fec((void *)MX53_FEC_BASE_ADDR, pdata);