11 #include <linux/types.h>
14 #include <linux/module.h>
19 #include <asm/setup.h>
27 #include <mach/hardware.h>
28 #include <mach/board.h>
35 static void __init rsi_ews_init_early(
void)
84 static struct gpio_led rsi_ews_leds[] = {
112 .modalias =
"mtd_dataflash",
114 .max_speed_hz = 5 * 1000 * 1000,
117 .modalias =
"mtd_dataflash",
119 .max_speed_hz = 5 * 1000 * 1000,
159 .parts = rsiews_nor_partitions,
160 .nr_parts =
ARRAY_SIZE(rsiews_nor_partitions),
163 #define NOR_BASE AT91_CHIPSELECT_0
164 #define NOR_SIZE SZ_16M
166 static struct resource nor_flash_resources[] = {
175 .name =
"physmap-flash",
178 .platform_data = &rsiews_nor_data,
180 .resource = nor_flash_resources,
181 .num_resources =
ARRAY_SIZE(nor_flash_resources),
187 static void __init rsi_ews_board_init(
void)
228 .init_early = rsi_ews_init_early,
230 .init_machine = rsi_ews_board_init,