20 #include <linux/i2c.h>
37 #include <mach/common.h>
38 #include <mach/hardware.h>
121 static struct resource pcm038_sram_resource = {
131 .platform_data = &pcm038_sram_data,
134 .resource = &pcm038_sram_resource,
145 static struct resource pcm038_flash_resource = {
152 .name =
"physmap-flash",
155 .platform_data = &pcm038_flash_data,
158 .resource = &pcm038_flash_resource,
166 pcm038_nand_board_info __initconst = {
172 &pcm038_nor_mtd_device,
173 &pcm038_sram_mtd_device,
178 static void __init pcm038_init_sram(
void)
198 .platform_data = &board_eeprom,
206 static int pcm038_spi_cs[] = {
GPIO_PORTD + 28};
208 static const struct spi_imx_master pcm038_spi0_data __initconst = {
209 .chipselect = pcm038_spi_cs,
215 .dev_name =
"mxc-mmc.1",
216 .supply =
"sdhc_vcc",
231 .num_consumer_supplies =
ARRAY_SIZE(sdhc1_consumers),
232 .consumer_supplies = sdhc1_consumers,
238 .supply =
"imx_cam_vcc",
253 .num_consumer_supplies =
ARRAY_SIZE(cam_consumers),
254 .consumer_supplies = cam_consumers,
260 .init_data = &cam_data,
263 .init_data = &sdhc1_data,
269 .regulators = pcm038_regulators,
270 .num_regulators =
ARRAY_SIZE(pcm038_regulators),
277 .modalias =
"mc13783",
279 .max_speed_hz = 300000,
282 .platform_data = &pcm038_pmic,
294 .init = pcm038_usbh2_init,
298 static void __init pcm038_init(
void)
340 #ifdef CONFIG_MACH_PCM970_BASEBOARD
345 static void __init pcm038_timer_init(
void)
351 .init = pcm038_timer_init,
355 .atag_offset = 0x100,
360 .timer = &pcm038_timer,
361 .init_machine = pcm038_init,