aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5/board-mx53_smd.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@freescale.com>2011-10-16 20:42:16 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2011-10-18 06:42:57 -0400
commit73d2b4cdfc09a7a858b3ea1f32f6218b21439b96 (patch)
treed17b0b7514f39b11fd1e0e7d3719f58736e5fb00 /arch/arm/mach-mx5/board-mx53_smd.c
parent976d167615b64e14bc1491ca51d424e2ba9a5e84 (diff)
arm/mx5: add device tree support for imx53 boards
It adds device tree support for imx53 boards. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/board-mx53_smd.c')
-rw-r--r--arch/arm/mach-mx5/board-mx53_smd.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/mach-mx5/board-mx53_smd.c b/arch/arm/mach-mx5/board-mx53_smd.c
index bc02894eafef..b10c89982fbc 100644
--- a/arch/arm/mach-mx5/board-mx53_smd.c
+++ b/arch/arm/mach-mx5/board-mx53_smd.c
@@ -111,12 +111,17 @@ static const struct imxi2c_platform_data mx53_smd_i2c_data __initconst = {
111 .bitrate = 100000, 111 .bitrate = 100000,
112}; 112};
113 113
114void __init imx53_smd_common_init(void)
115{
116 mxc_iomux_v3_setup_multiple_pads(mx53_smd_pads,
117 ARRAY_SIZE(mx53_smd_pads));
118}
119
114static void __init mx53_smd_board_init(void) 120static void __init mx53_smd_board_init(void)
115{ 121{
116 imx53_soc_init(); 122 imx53_soc_init();
123 imx53_smd_common_init();
117 124
118 mxc_iomux_v3_setup_multiple_pads(mx53_smd_pads,
119 ARRAY_SIZE(mx53_smd_pads));
120 mx53_smd_init_uart(); 125 mx53_smd_init_uart();
121 mx53_smd_fec_reset(); 126 mx53_smd_fec_reset();
122 imx53_add_fec(&mx53_smd_fec_data); 127 imx53_add_fec(&mx53_smd_fec_data);