diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-10-11 12:30:44 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-10-11 12:30:44 -0400 |
commit | c9ee46a910f6edb40ddb7fb9aeac0030057c6fdb (patch) | |
tree | eede22c95d61618360b6059e082f579cbe681e2b /arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c | |
parent | 4fa046655b80e9bb361a95da5c86ce778f5018b9 (diff) | |
parent | 81490fcdf406f42fff9d9f57d541788f90242885 (diff) |
Merge branch 'for-rmk-next' of git://git.pengutronix.de/git/imx/linux-2.6 into devel-stable
Diffstat (limited to 'arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c')
-rw-r--r-- | arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c b/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c index f8f15e3ac7a0..886959906fbc 100644 --- a/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c +++ b/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c | |||
@@ -43,7 +43,6 @@ | |||
43 | #include <mach/ipu.h> | 43 | #include <mach/ipu.h> |
44 | #include <mach/mx3fb.h> | 44 | #include <mach/mx3fb.h> |
45 | #include <mach/audmux.h> | 45 | #include <mach/audmux.h> |
46 | #include <mach/ssi.h> | ||
47 | 46 | ||
48 | #include "devices-imx35.h" | 47 | #include "devices-imx35.h" |
49 | #include "devices.h" | 48 | #include "devices.h" |
@@ -120,6 +119,16 @@ static struct pad_desc eukrea_mbimxsd_pads[] = { | |||
120 | MX35_PAD_STXD4__AUDMUX_AUD4_TXD, | 119 | MX35_PAD_STXD4__AUDMUX_AUD4_TXD, |
121 | MX35_PAD_SRXD4__AUDMUX_AUD4_RXD, | 120 | MX35_PAD_SRXD4__AUDMUX_AUD4_RXD, |
122 | MX35_PAD_SCK4__AUDMUX_AUD4_TXC, | 121 | MX35_PAD_SCK4__AUDMUX_AUD4_TXC, |
122 | /* CAN2 */ | ||
123 | MX35_PAD_TX5_RX0__CAN2_TXCAN, | ||
124 | MX35_PAD_TX4_RX1__CAN2_RXCAN, | ||
125 | /* SDCARD */ | ||
126 | MX35_PAD_SD1_CMD__ESDHC1_CMD, | ||
127 | MX35_PAD_SD1_CLK__ESDHC1_CLK, | ||
128 | MX35_PAD_SD1_DATA0__ESDHC1_DAT0, | ||
129 | MX35_PAD_SD1_DATA1__ESDHC1_DAT1, | ||
130 | MX35_PAD_SD1_DATA2__ESDHC1_DAT2, | ||
131 | MX35_PAD_SD1_DATA3__ESDHC1_DAT3, | ||
123 | }; | 132 | }; |
124 | 133 | ||
125 | #define GPIO_LED1 (2 * 32 + 29) | 134 | #define GPIO_LED1 (2 * 32 + 29) |
@@ -206,7 +215,8 @@ static struct i2c_board_info eukrea_mbimxsd_i2c_devices[] = { | |||
206 | }, | 215 | }, |
207 | }; | 216 | }; |
208 | 217 | ||
209 | struct imx_ssi_platform_data eukrea_mbimxsd_ssi_pdata = { | 218 | static const |
219 | struct imx_ssi_platform_data eukrea_mbimxsd_ssi_pdata __initconst = { | ||
210 | .flags = IMX_SSI_SYN | IMX_SSI_NET | IMX_SSI_USE_I2S_SLAVE, | 220 | .flags = IMX_SSI_SYN | IMX_SSI_NET | IMX_SSI_USE_I2S_SLAVE, |
211 | }; | 221 | }; |
212 | 222 | ||
@@ -242,7 +252,10 @@ void __init eukrea_mbimxsd35_baseboard_init(void) | |||
242 | mxc_register_device(&mx3_ipu, &mx3_ipu_data); | 252 | mxc_register_device(&mx3_ipu, &mx3_ipu_data); |
243 | mxc_register_device(&mx3_fb, &mx3fb_pdata); | 253 | mxc_register_device(&mx3_fb, &mx3fb_pdata); |
244 | 254 | ||
245 | mxc_register_device(&imx_ssi_device0, &eukrea_mbimxsd_ssi_pdata); | 255 | imx35_add_imx_ssi(0, &eukrea_mbimxsd_ssi_pdata); |
256 | |||
257 | imx35_add_flexcan1(NULL); | ||
258 | imx35_add_esdhc0(NULL); | ||
246 | 259 | ||
247 | gpio_request(GPIO_LED1, "LED1"); | 260 | gpio_request(GPIO_LED1, "LED1"); |
248 | gpio_direction_output(GPIO_LED1, 1); | 261 | gpio_direction_output(GPIO_LED1, 1); |