24 #include <linux/input.h>
57 static unsigned long palmtx_pin_config[]
__initdata = {
133 #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
137 .offset = 0x00000000,
146 .parts = palmtx_partitions,
151 static struct resource palmtx_flash_resource = {
158 .
name =
"physmap-flash",
160 .resource = &palmtx_flash_resource,
163 .platform_data = palmtx_flash_data,
167 static void __init palmtx_nor_init(
void)
172 static inline void palmtx_nor_init(
void) {}
178 #if defined(CONFIG_KEYBOARD_PXA27x) || defined(CONFIG_KEYBOARD_PXA27x_MODULE)
179 static unsigned int palmtx_matrix_keys[] = {
197 .matrix_key_cols = 3,
198 .matrix_key_map = palmtx_matrix_keys,
199 .matrix_key_map_size =
ARRAY_SIZE(palmtx_matrix_keys),
201 .debounce_interval = 30,
204 static void __init palmtx_kpc_init(
void)
209 static inline void palmtx_kpc_init(
void) {}
215 #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE)
229 .platform_data = &palmtx_pxa_keys_data,
233 static void __init palmtx_keys_init(
void)
238 static inline void palmtx_keys_init(
void) {}
244 #if defined(CONFIG_MTD_NAND_PLATFORM) || \
245 defined(CONFIG_MTD_NAND_PLATFORM_MODULE)
246 static void palmtx_nand_cmd_ctl(
struct mtd_info *mtd,
int cmd,
275 .nr_partitions =
ARRAY_SIZE(palmtx_partition_info),
276 .partitions = palmtx_partition_info,
280 .cmd_ctrl = palmtx_nand_cmd_ctl,
284 static struct resource palmtx_nand_resource[] = {
294 .num_resources =
ARRAY_SIZE(palmtx_nand_resource),
295 .resource = palmtx_nand_resource,
298 .platform_data = &palmtx_nand_platdata,
302 static void __init palmtx_nand_init(
void)
307 static inline void palmtx_nand_init(
void) {}
332 static void __init palmtx_map_io(
void)
338 static void __init palmtx_init(
void)
364 .atag_offset = 0x100,
365 .map_io = palmtx_map_io,
370 .init_machine = palmtx_init,