21 #include <linux/input.h>
51 static unsigned long palmld_pin_config[]
__initdata = {
130 #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
134 .offset = 0x00000000,
143 .parts = palmld_partitions,
148 static struct resource palmld_flash_resource = {
155 .
name =
"physmap-flash",
157 .resource = &palmld_flash_resource,
160 .platform_data = palmld_flash_data,
164 static void __init palmld_nor_init(
void)
169 static inline void palmld_nor_init(
void) {}
175 #if defined(CONFIG_KEYBOARD_PXA27x) || defined(CONFIG_KEYBOARD_PXA27x_MODULE)
176 static unsigned int palmld_matrix_keys[] = {
195 .matrix_key_cols = 3,
196 .matrix_key_map = palmld_matrix_keys,
197 .matrix_key_map_size =
ARRAY_SIZE(palmld_matrix_keys),
199 .debounce_interval = 30,
202 static void __init palmld_kpc_init(
void)
207 static inline void palmld_kpc_init(
void) {}
213 #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE)
229 .platform_data = &palmld_pxa_keys_data,
233 static void __init palmld_keys_init(
void)
238 static inline void palmld_keys_init(
void) {}
244 #if defined(CONFIG_LEDS_GPIO) || defined(CONFIG_LEDS_GPIO_MODULE)
247 .
name =
"palmld:green:led",
248 .default_trigger =
"none",
251 .name =
"palmld:amber:led",
252 .default_trigger =
"none",
266 .platform_data = &gpio_led_info,
270 static void __init palmld_leds_init(
void)
275 static inline void palmld_leds_init(
void) {}
281 #if defined(CONFIG_PATA_PALMLD) || defined(CONFIG_PATA_PALMLD_MODULE)
283 .
name =
"pata_palmld",
287 static void __init palmld_ide_init(
void)
292 static inline void palmld_ide_init(
void) {}
313 static void __init palmld_map_io(
void)
319 static void __init palmld_init(
void)
345 .atag_offset = 0x100,
346 .map_io = palmld_map_io,
351 .init_machine = palmld_init,