16 #include <linux/kernel.h>
31 #include <mach/hardware.h>
48 #define SDP2430_CS0_BASE 0x04000000
49 #define SECONDARY_LCD_GPIO 147
84 .parts = sdp2430_partitions,
88 static struct resource sdp2430_flash_resource = {
89 .start = SDP2430_CS0_BASE,
90 .end = SDP2430_CS0_BASE +
SZ_64M - 1,
95 .name =
"physmap-flash",
98 .platform_data = &sdp2430_flash_data,
101 .resource = &sdp2430_flash_resource,
105 &sdp2430_flash_device,
109 #define SDP2430_LCD_PANEL_BACKLIGHT_GPIO 91
110 #define SDP2430_LCD_PANEL_ENABLE_GPIO 154
127 .name =
"nec_nl2432dr22-11b",
128 .platform_enable = sdp2430_panel_enable_lcd,
129 .platform_disable = sdp2430_panel_disable_lcd,
134 .driver_name =
"generic_dpi_panel",
136 .phy.dpi.data_lines = 16,
137 .data = &sdp2430_panel_data,
145 .num_devices =
ARRAY_SIZE(sdp2430_dss_devices),
146 .devices = sdp2430_dss_devices,
147 .default_device = &sdp2430_lcd_device,
150 static void __init sdp2430_display_init(
void)
163 pr_err(
"Cannot request LCD GPIOs, error %d\n", r);
170 #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91x_MODULE)
180 static void __init board_smc91x_init(
void)
188 static inline void board_smc91x_init(
void)
209 .num_consumer_supplies =
ARRAY_SIZE(sdp2430_vmmc1_supplies),
210 .consumer_supplies = &sdp2430_vmmc1_supplies[0],
218 .gpio = &sdp2430_gpio_data,
219 .vmmc1 = &sdp2430_vmmc1,
222 static struct i2c_board_info __initdata sdp2430_i2c1_boardinfo[] = {
229 static int __init omap2430_i2c_init(
void)
250 #ifdef CONFIG_OMAP_MUX
256 static void __init omap_2430sdp_init(
void)
265 omap_hsmmc_init(mmc);
274 "Secondary LCD backlight");
276 sdp2430_display_init();
281 .atag_offset = 0x100,
287 .init_machine = omap_2430sdp_init,