22 #include <linux/types.h>
26 #include <linux/module.h>
33 #include <linux/input.h>
35 #include <asm/setup.h>
43 #include <mach/hardware.h>
44 #include <mach/board.h>
54 static void __init ek_init_early(
void)
83 .shortname =
"AT91SAM9260-EK external DAC",
86 #if defined(CONFIG_SND_AT73C213) || defined(CONFIG_SND_AT73C213_MODULE)
111 #if !IS_ENABLED(CONFIG_MMC_ATMELMCI)
113 .modalias =
"mtd_dataflash",
115 .max_speed_hz = 15 * 1000 * 1000,
118 #if defined(CONFIG_MTD_AT91_DATAFLASH_CARD)
120 .modalias =
"mtd_dataflash",
122 .max_speed_hz = 15 * 1000 * 1000,
127 #if defined(CONFIG_SND_AT73C213) || defined(CONFIG_SND_AT73C213_MODULE)
129 .modalias =
"at73c213",
131 .max_speed_hz = 10 * 1000 * 1000,
134 .platform_data = &at73c213_data,
154 .name =
"Partition 1",
159 .name =
"Partition 2",
173 .parts = ek_nand_partition,
180 .ncs_write_setup = 0,
185 .ncs_write_pulse = 3,
195 static void __init ek_add_device_nand(
void)
226 static struct gpio_led ek_leds[] = {
231 .default_trigger =
"none",
236 .default_trigger =
"heartbeat",
252 .platform_data = &at24c512,
261 #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE)
289 .platform_data = &ek_button_data,
293 static void __init ek_add_device_buttons(
void)
303 static void __init ek_add_device_buttons(
void) {}
307 static void __init ek_board_init(
void)
328 ek_add_device_nand();
336 at73c213_set_clk(&at73c213_data);
341 ek_add_device_buttons();
349 .init_early = ek_init_early,
351 .init_machine = ek_board_init,