21 #include <linux/types.h>
25 #include <linux/module.h>
29 #include <linux/input.h>
32 #include <asm/setup.h>
40 #include <mach/hardware.h>
41 #include <mach/board.h>
47 static void __init csb337_init_early(
void)
100 .modalias =
"sak82c900",
102 .max_speed_hz = 6 * 1000 * 1000,
106 #define CSB_FLASH_BASE AT91_CHIPSELECT_0
107 #define CSB_FLASH_SIZE SZ_8M
111 .name =
"uMON flash",
120 .parts = csb_flash_partitions,
124 static struct resource csb_flash_resources[] = {
133 .name =
"physmap-flash",
136 .platform_data = &csb_flash_data,
138 .resource = csb_flash_resources,
139 .num_resources =
ARRAY_SIZE(csb_flash_resources),
145 #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE)
180 .platform_data = &csb300_button_data,
184 static void __init csb300_add_device_buttons(
void)
196 static void __init csb300_add_device_buttons(
void) {}
199 static struct gpio_led csb_leds[] = {
204 .default_trigger =
"heartbeat",
210 .default_trigger =
"mmc0",
216 .default_trigger =
"ide-disk",
221 static void __init csb337_board_init(
void)
247 csb300_add_device_buttons();
255 .init_early = csb337_init_early,
257 .init_machine = csb337_board_init,