aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-imx/Kconfig1
-rw-r--r--arch/arm/mach-imx/mach-imx27_visstrim_m10.c14
2 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index c1724185c242..17e2c6dce987 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -265,6 +265,7 @@ config MACH_IMX27LITE
265 bool "LogicPD MX27 LITEKIT platform" 265 bool "LogicPD MX27 LITEKIT platform"
266 select SOC_IMX27 266 select SOC_IMX27
267 select IMX_HAVE_PLATFORM_IMX_UART 267 select IMX_HAVE_PLATFORM_IMX_UART
268 select IMX_HAVE_PLATFORM_IMX_SSI
268 help 269 help
269 Include support for MX27 LITEKIT platform. This includes specific 270 Include support for MX27 LITEKIT platform. This includes specific
270 configurations for the board and its peripherals. 271 configurations for the board and its peripherals.
diff --git a/arch/arm/mach-imx/mach-imx27_visstrim_m10.c b/arch/arm/mach-imx/mach-imx27_visstrim_m10.c
index ffff2d03f782..d7e0d219726a 100644
--- a/arch/arm/mach-imx/mach-imx27_visstrim_m10.c
+++ b/arch/arm/mach-imx/mach-imx27_visstrim_m10.c
@@ -67,6 +67,11 @@ static const int visstrim_m10_pins[] __initconst = {
67 PD15_AOUT_FEC_COL, 67 PD15_AOUT_FEC_COL,
68 PD16_AIN_FEC_TX_ER, 68 PD16_AIN_FEC_TX_ER,
69 PF23_AIN_FEC_TX_EN, 69 PF23_AIN_FEC_TX_EN,
70 /* SSI1 */
71 PC20_PF_SSI1_FS,
72 PC21_PF_SSI1_RXD,
73 PC22_PF_SSI1_TXD,
74 PC23_PF_SSI1_CLK,
70 /* SDHC1 */ 75 /* SDHC1 */
71 PE18_PF_SD1_D0, 76 PE18_PF_SD1_D0,
72 PE19_PF_SD1_D1, 77 PE19_PF_SD1_D1,
@@ -205,6 +210,9 @@ static struct i2c_board_info visstrim_m10_i2c_devices[] = {
205 I2C_BOARD_INFO("pca9555", 0x20), 210 I2C_BOARD_INFO("pca9555", 0x20),
206 .platform_data = &visstrim_m10_pca9555_pdata, 211 .platform_data = &visstrim_m10_pca9555_pdata,
207 }, 212 },
213 {
214 I2C_BOARD_INFO("tlv320aic32x4", 0x18),
215 }
208}; 216};
209 217
210/* USB OTG */ 218/* USB OTG */
@@ -223,6 +231,11 @@ visstrim_m10_usbotg_pdata __initconst = {
223 .portsc = MXC_EHCI_MODE_ULPI | MXC_EHCI_UTMI_8BIT, 231 .portsc = MXC_EHCI_MODE_ULPI | MXC_EHCI_UTMI_8BIT,
224}; 232};
225 233
234/* SSI */
235static const struct imx_ssi_platform_data visstrim_m10_ssi_pdata __initconst = {
236 .flags = IMX_SSI_DMA | IMX_SSI_SYN,
237};
238
226static void __init visstrim_m10_board_init(void) 239static void __init visstrim_m10_board_init(void)
227{ 240{
228 int ret; 241 int ret;
@@ -232,6 +245,7 @@ static void __init visstrim_m10_board_init(void)
232 if (ret) 245 if (ret)
233 pr_err("Failed to setup pins (%d)\n", ret); 246 pr_err("Failed to setup pins (%d)\n", ret);
234 247
248 imx27_add_imx_ssi(0, &visstrim_m10_ssi_pdata);
235 imx27_add_imx_uart0(&uart_pdata); 249 imx27_add_imx_uart0(&uart_pdata);
236 250
237 i2c_register_board_info(0, visstrim_m10_i2c_devices, 251 i2c_register_board_info(0, visstrim_m10_i2c_devices,