14 #include <linux/kernel.h>
22 #include <linux/input.h>
24 #include <linux/omapfb.h>
34 #include <mach/flash.h>
36 #include <mach/hardware.h>
41 static const unsigned int p2_keymap[] = {
78 static struct resource smc91x_resources[] = {
125 .parts = nor_partitions,
129 static struct resource nor_resource = {
136 .name =
"physmap-flash",
139 .platform_data = &nor_data,
142 .resource = &nor_resource,
145 #define P2_NAND_RB_GPIO_PIN 62
147 static int nand_dev_ready(
struct mtd_info *mtd)
160 .dev_ready = nand_dev_ready,
164 static struct resource nand_resource = {
174 .platform_data = &nand_data,
177 .resource = &nand_resource,
184 .platform_data = &smc91x_info,
186 .num_resources =
ARRAY_SIZE(smc91x_resources),
187 .resource = smc91x_resources,
190 static struct resource kp_resources[] = {
206 .keymap_data = &p2_keymap_data,
212 .name =
"omap-keypad",
215 .platform_data = &kp_data,
218 .resource = kp_resources,
229 .ctrl_name =
"internal",
232 static void __init perseus2_init_smc91x(
void)
241 static void __init omap_perseus2_init(
void)
276 perseus2_init_smc91x();
306 static struct map_desc omap_perseus2_io_desc[] __initdata = {
315 static void __init omap_perseus2_map_io(
void)
324 .atag_offset = 0x100,
325 .map_io = omap_perseus2_map_io,
329 .init_machine = omap_perseus2_init,