24 #include <linux/types.h>
28 #include <linux/module.h>
33 #include <asm/setup.h>
41 #include <mach/hardware.h>
42 #include <mach/board.h>
50 static void __init dk_init_early(
void)
79 #ifndef CONFIG_MTD_AT91_DATAFLASH_CARD
91 .modalias =
"mtd_dataflash",
93 .max_speed_hz = 15 * 1000 * 1000,
96 .modalias =
"ur6hcps2",
98 .max_speed_hz = 250 * 1000,
101 .modalias =
"tlv1504",
103 .max_speed_hz = 20 * 1000 * 1000,
105 #ifdef CONFIG_MTD_AT91_DATAFLASH_CARD
107 .modalias =
"mtd_dataflash",
109 .max_speed_hz = 15 * 1000 * 1000,
128 .name =
"NAND Partition 1",
142 .parts = dk_nand_partition,
146 #define DK_FLASH_BASE AT91_CHIPSELECT_0
147 #define DK_FLASH_SIZE SZ_2M
153 static struct resource dk_flash_resource = {
160 .name =
"physmap-flash",
163 .platform_data = &dk_flash_data,
165 .resource = &dk_flash_resource,
169 static struct gpio_led dk_leds[] = {
174 .default_trigger =
"heartbeat",
178 static void __init dk_board_init(
void)
202 #ifdef CONFIG_MTD_AT91_DATAFLASH_CARD
225 .init_early = dk_init_early,
227 .init_machine = dk_board_init,