17 #include <linux/kernel.h>
19 #include <linux/export.h>
26 #include <linux/i2c.h>
33 #include <mach/hardware.h>
36 #include <asm/setup.h>
56 static unsigned long poodle_pin_config[]
__initdata = {
119 static struct resource poodle_scoop_resources[] = {
134 .name =
"sharp-scoop",
137 .platform_data = &poodle_scoop_setup,
139 .num_resources =
ARRAY_SIZE(poodle_scoop_resources),
140 .resource = poodle_scoop_resources,
145 .dev = &poodle_scoop_device.
dev,
148 .cd_irq_str =
"PCMCIA0 CD",
153 .devs = &poodle_pcmcia_scoop[0],
161 .name =
"poodle-audio",
166 static struct resource locomo_resources[] = {
186 .num_resources =
ARRAY_SIZE(locomo_resources),
187 .resource = locomo_resources,
189 .platform_data = &locomo_info,
195 #if defined(CONFIG_SPI_PXA2XX) || defined(CONFIG_SPI_PXA2XX_MODULE)
202 .vref_delay_usecs = 100,
215 .max_speed_hz = 10000,
217 .platform_data = &poodle_ads7846_info,
218 .controller_data= &poodle_ads7846_chip,
223 static void __init poodle_init_spi(
void)
229 static inline void poodle_init_spi(
void) {}
261 static void poodle_mci_setpower(
struct device *dev,
unsigned int vdd)
275 static void poodle_mci_exit(
struct device *dev,
void *data)
282 .detect_delay_ms = 250,
284 .init = poodle_mci_init,
285 .setpower = poodle_mci_setpower,
286 .exit = poodle_mci_exit,
327 .modes = &poodle_fb_mode,
334 .name =
"System Area",
336 .size = 7 * 1024 * 1024,
339 .name =
"Root Filesystem",
340 .offset = 7 * 1024 * 1024,
341 .size = 22 * 1024 * 1024,
344 .name =
"Home Filesystem",
350 static uint8_t scan_ff_pattern[] = { 0xff, 0xff };
356 .pattern = scan_ff_pattern
361 .partitions = sharpsl_nand_partitions,
362 .nr_partitions =
ARRAY_SIZE(sharpsl_nand_partitions),
365 static struct resource sharpsl_nand_resources[] = {
374 .name =
"sharpsl-nand",
376 .resource = sharpsl_nand_resources,
377 .num_resources =
ARRAY_SIZE(sharpsl_nand_resources),
378 .dev.platform_data = &sharpsl_nand_platform_data,
383 .name =
"Boot PROM Filesystem",
384 .offset = 0x00120000,
392 .parts = sharpsl_rom_parts,
395 static struct resource sharpsl_rom_resources[] = {
404 .name =
"physmap-flash",
406 .resource = sharpsl_rom_resources,
407 .num_resources =
ARRAY_SIZE(sharpsl_rom_resources),
408 .dev.platform_data = &sharpsl_rom_data,
414 &poodle_audio_device,
415 &sharpsl_nand_device,
423 static void poodle_poweroff(
void)
428 static void __init poodle_init(
void)
446 pr_warning(
"poodle: Unable to register LoCoMo device\n");
462 mi->
bank[0].start = 0xa0000000;
463 mi->
bank[0].size = (32*1024*1024);
467 .fixup = fixup_poodle,
473 .init_machine = poodle_init,