board-sam9261ek.c 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623
  1. /*
  2. * linux/arch/arm/mach-at91/board-sam9261ek.c
  3. *
  4. * Copyright (C) 2005 SAN People
  5. * Copyright (C) 2006 Atmel
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program; if not, write to the Free Software
  19. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  20. */
  21. #include <linux/types.h>
  22. #include <linux/gpio.h>
  23. #include <linux/init.h>
  24. #include <linux/mm.h>
  25. #include <linux/module.h>
  26. #include <linux/platform_device.h>
  27. #include <linux/spi/spi.h>
  28. #include <linux/spi/ads7846.h>
  29. #include <linux/spi/at73c213.h>
  30. #include <linux/clk.h>
  31. #include <linux/dm9000.h>
  32. #include <linux/fb.h>
  33. #include <linux/gpio_keys.h>
  34. #include <linux/input.h>
  35. #include <video/atmel_lcdc.h>
  36. #include <asm/setup.h>
  37. #include <asm/mach-types.h>
  38. #include <asm/irq.h>
  39. #include <asm/mach/arch.h>
  40. #include <asm/mach/map.h>
  41. #include <asm/mach/irq.h>
  42. #include <mach/hardware.h>
  43. #include <mach/board.h>
  44. #include <mach/at91_aic.h>
  45. #include <mach/at91sam9_smc.h>
  46. #include <mach/at91_shdwc.h>
  47. #include <mach/system_rev.h>
  48. #include "sam9_smc.h"
  49. #include "generic.h"
  50. static void __init ek_init_early(void)
  51. {
  52. /* Initialize processor: 18.432 MHz crystal */
  53. at91_initialize(18432000);
  54. }
  55. /*
  56. * DM9000 ethernet device
  57. */
  58. #if defined(CONFIG_DM9000)
  59. static struct resource dm9000_resource[] = {
  60. [0] = {
  61. .start = AT91_CHIPSELECT_2,
  62. .end = AT91_CHIPSELECT_2 + 3,
  63. .flags = IORESOURCE_MEM
  64. },
  65. [1] = {
  66. .start = AT91_CHIPSELECT_2 + 0x44,
  67. .end = AT91_CHIPSELECT_2 + 0xFF,
  68. .flags = IORESOURCE_MEM
  69. },
  70. [2] = {
  71. .flags = IORESOURCE_IRQ
  72. | IORESOURCE_IRQ_LOWEDGE | IORESOURCE_IRQ_HIGHEDGE,
  73. }
  74. };
  75. static struct dm9000_plat_data dm9000_platdata = {
  76. .flags = DM9000_PLATF_16BITONLY | DM9000_PLATF_NO_EEPROM,
  77. };
  78. static struct platform_device dm9000_device = {
  79. .name = "dm9000",
  80. .id = 0,
  81. .num_resources = ARRAY_SIZE(dm9000_resource),
  82. .resource = dm9000_resource,
  83. .dev = {
  84. .platform_data = &dm9000_platdata,
  85. }
  86. };
  87. /*
  88. * SMC timings for the DM9000.
  89. * Note: These timings were calculated for MASTER_CLOCK = 100000000 according to the DM9000 timings.
  90. */
  91. static struct sam9_smc_config __initdata dm9000_smc_config = {
  92. .ncs_read_setup = 0,
  93. .nrd_setup = 2,
  94. .ncs_write_setup = 0,
  95. .nwe_setup = 2,
  96. .ncs_read_pulse = 8,
  97. .nrd_pulse = 4,
  98. .ncs_write_pulse = 8,
  99. .nwe_pulse = 4,
  100. .read_cycle = 16,
  101. .write_cycle = 16,
  102. .mode = AT91_SMC_READMODE | AT91_SMC_WRITEMODE | AT91_SMC_EXNWMODE_DISABLE | AT91_SMC_BAT_WRITE | AT91_SMC_DBW_16,
  103. .tdf_cycles = 1,
  104. };
  105. static void __init ek_add_device_dm9000(void)
  106. {
  107. struct resource *r = &dm9000_resource[2];
  108. /* Configure chip-select 2 (DM9000) */
  109. sam9_smc_configure(0, 2, &dm9000_smc_config);
  110. /* Configure Reset signal as output */
  111. at91_set_gpio_output(AT91_PIN_PC10, 0);
  112. /* Configure Interrupt pin as input, no pull-up */
  113. at91_set_gpio_input(AT91_PIN_PC11, 0);
  114. r->start = r->end = gpio_to_irq(AT91_PIN_PC11);
  115. platform_device_register(&dm9000_device);
  116. }
  117. #else
  118. static void __init ek_add_device_dm9000(void) {}
  119. #endif /* CONFIG_DM9000 */
  120. /*
  121. * USB Host Port
  122. */
  123. static struct at91_usbh_data __initdata ek_usbh_data = {
  124. .ports = 2,
  125. .vbus_pin = {-EINVAL, -EINVAL},
  126. .overcurrent_pin= {-EINVAL, -EINVAL},
  127. };
  128. /*
  129. * USB Device Port
  130. */
  131. static struct at91_udc_data __initdata ek_udc_data = {
  132. .vbus_pin = AT91_PIN_PB29,
  133. .pullup_pin = -EINVAL, /* pull-up driven by UDC */
  134. };
  135. /*
  136. * NAND flash
  137. */
  138. static struct mtd_partition __initdata ek_nand_partition[] = {
  139. {
  140. .name = "Partition 1",
  141. .offset = 0,
  142. .size = SZ_256K,
  143. },
  144. {
  145. .name = "Partition 2",
  146. .offset = MTDPART_OFS_NXTBLK,
  147. .size = MTDPART_SIZ_FULL,
  148. },
  149. };
  150. static struct atmel_nand_data __initdata ek_nand_data = {
  151. .ale = 22,
  152. .cle = 21,
  153. .det_pin = -EINVAL,
  154. .rdy_pin = AT91_PIN_PC15,
  155. .enable_pin = AT91_PIN_PC14,
  156. .ecc_mode = NAND_ECC_SOFT,
  157. .on_flash_bbt = 1,
  158. .parts = ek_nand_partition,
  159. .num_parts = ARRAY_SIZE(ek_nand_partition),
  160. };
  161. static struct sam9_smc_config __initdata ek_nand_smc_config = {
  162. .ncs_read_setup = 0,
  163. .nrd_setup = 1,
  164. .ncs_write_setup = 0,
  165. .nwe_setup = 1,
  166. .ncs_read_pulse = 3,
  167. .nrd_pulse = 3,
  168. .ncs_write_pulse = 3,
  169. .nwe_pulse = 3,
  170. .read_cycle = 5,
  171. .write_cycle = 5,
  172. .mode = AT91_SMC_READMODE | AT91_SMC_WRITEMODE | AT91_SMC_EXNWMODE_DISABLE,
  173. .tdf_cycles = 2,
  174. };
  175. static void __init ek_add_device_nand(void)
  176. {
  177. ek_nand_data.bus_width_16 = board_have_nand_16bit();
  178. /* setup bus-width (8 or 16) */
  179. if (ek_nand_data.bus_width_16)
  180. ek_nand_smc_config.mode |= AT91_SMC_DBW_16;
  181. else
  182. ek_nand_smc_config.mode |= AT91_SMC_DBW_8;
  183. /* configure chip-select 3 (NAND) */
  184. sam9_smc_configure(0, 3, &ek_nand_smc_config);
  185. at91_add_device_nand(&ek_nand_data);
  186. }
  187. /*
  188. * SPI related devices
  189. */
  190. #if defined(CONFIG_SPI_ATMEL) || defined(CONFIG_SPI_ATMEL_MODULE)
  191. /*
  192. * ADS7846 Touchscreen
  193. */
  194. #if defined(CONFIG_TOUCHSCREEN_ADS7846) || defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE)
  195. static int ads7843_pendown_state(void)
  196. {
  197. return !at91_get_gpio_value(AT91_PIN_PC2); /* Touchscreen PENIRQ */
  198. }
  199. static struct ads7846_platform_data ads_info = {
  200. .model = 7843,
  201. .x_min = 150,
  202. .x_max = 3830,
  203. .y_min = 190,
  204. .y_max = 3830,
  205. .vref_delay_usecs = 100,
  206. .x_plate_ohms = 450,
  207. .y_plate_ohms = 250,
  208. .pressure_max = 15000,
  209. .debounce_max = 1,
  210. .debounce_rep = 0,
  211. .debounce_tol = (~0),
  212. .get_pendown_state = ads7843_pendown_state,
  213. };
  214. static void __init ek_add_device_ts(void)
  215. {
  216. at91_set_B_periph(AT91_PIN_PC2, 1); /* External IRQ0, with pullup */
  217. at91_set_gpio_input(AT91_PIN_PA11, 1); /* Touchscreen BUSY signal */
  218. }
  219. #else
  220. static void __init ek_add_device_ts(void) {}
  221. #endif
  222. /*
  223. * Audio
  224. */
  225. static struct at73c213_board_info at73c213_data = {
  226. .ssc_id = 1,
  227. #if defined(CONFIG_MACH_AT91SAM9261EK)
  228. .shortname = "AT91SAM9261-EK external DAC",
  229. #else
  230. .shortname = "AT91SAM9G10-EK external DAC",
  231. #endif
  232. };
  233. #if defined(CONFIG_SND_AT73C213) || defined(CONFIG_SND_AT73C213_MODULE)
  234. static void __init at73c213_set_clk(struct at73c213_board_info *info)
  235. {
  236. struct clk *pck2;
  237. struct clk *plla;
  238. pck2 = clk_get(NULL, "pck2");
  239. plla = clk_get(NULL, "plla");
  240. /* AT73C213 MCK Clock */
  241. at91_set_B_periph(AT91_PIN_PB31, 0); /* PCK2 */
  242. clk_set_parent(pck2, plla);
  243. clk_put(plla);
  244. info->dac_clk = pck2;
  245. }
  246. #else
  247. static void __init at73c213_set_clk(struct at73c213_board_info *info) {}
  248. #endif
  249. /*
  250. * SPI devices
  251. */
  252. static struct spi_board_info ek_spi_devices[] = {
  253. { /* DataFlash chip */
  254. .modalias = "mtd_dataflash",
  255. .chip_select = 0,
  256. .max_speed_hz = 15 * 1000 * 1000,
  257. .bus_num = 0,
  258. },
  259. #if defined(CONFIG_TOUCHSCREEN_ADS7846) || defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE)
  260. {
  261. .modalias = "ads7846",
  262. .chip_select = 2,
  263. .max_speed_hz = 125000 * 26, /* (max sample rate @ 3V) * (cmd + data + overhead) */
  264. .bus_num = 0,
  265. .platform_data = &ads_info,
  266. .irq = AT91SAM9261_ID_IRQ0,
  267. .controller_data = (void *) AT91_PIN_PA28, /* CS pin */
  268. },
  269. #endif
  270. #if defined(CONFIG_MTD_AT91_DATAFLASH_CARD)
  271. { /* DataFlash card - jumper (J12) configurable to CS3 or CS0 */
  272. .modalias = "mtd_dataflash",
  273. .chip_select = 3,
  274. .max_speed_hz = 15 * 1000 * 1000,
  275. .bus_num = 0,
  276. },
  277. #elif defined(CONFIG_SND_AT73C213) || defined(CONFIG_SND_AT73C213_MODULE)
  278. { /* AT73C213 DAC */
  279. .modalias = "at73c213",
  280. .chip_select = 3,
  281. .max_speed_hz = 10 * 1000 * 1000,
  282. .bus_num = 0,
  283. .mode = SPI_MODE_1,
  284. .platform_data = &at73c213_data,
  285. .controller_data = (void*) AT91_PIN_PA29, /* default for CS3 is PA6, but it must be PA29 */
  286. },
  287. #endif
  288. };
  289. #else /* CONFIG_SPI_ATMEL_* */
  290. /* spi0 and mmc/sd share the same PIO pins: cannot be used at the same time */
  291. /*
  292. * MCI (SD/MMC)
  293. * det_pin, wp_pin and vcc_pin are not connected
  294. */
  295. static struct at91_mmc_data __initdata ek_mmc_data = {
  296. .wire4 = 1,
  297. .det_pin = -EINVAL,
  298. .wp_pin = -EINVAL,
  299. .vcc_pin = -EINVAL,
  300. };
  301. #endif /* CONFIG_SPI_ATMEL_* */
  302. /*
  303. * LCD Controller
  304. */
  305. #if defined(CONFIG_FB_ATMEL) || defined(CONFIG_FB_ATMEL_MODULE)
  306. #if defined(CONFIG_FB_ATMEL_STN)
  307. /* STN */
  308. static struct fb_videomode at91_stn_modes[] = {
  309. {
  310. .name = "SP06Q002 @ 75",
  311. .refresh = 75,
  312. .xres = 320, .yres = 240,
  313. .pixclock = KHZ2PICOS(1440),
  314. .left_margin = 1, .right_margin = 1,
  315. .upper_margin = 0, .lower_margin = 0,
  316. .hsync_len = 1, .vsync_len = 1,
  317. .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
  318. .vmode = FB_VMODE_NONINTERLACED,
  319. },
  320. };
  321. static struct fb_monspecs at91fb_default_stn_monspecs = {
  322. .manufacturer = "HIT",
  323. .monitor = "SP06Q002",
  324. .modedb = at91_stn_modes,
  325. .modedb_len = ARRAY_SIZE(at91_stn_modes),
  326. .hfmin = 15000,
  327. .hfmax = 64000,
  328. .vfmin = 50,
  329. .vfmax = 150,
  330. };
  331. #define AT91SAM9261_DEFAULT_STN_LCDCON2 (ATMEL_LCDC_MEMOR_LITTLE \
  332. | ATMEL_LCDC_DISTYPE_STNMONO \
  333. | ATMEL_LCDC_CLKMOD_ALWAYSACTIVE \
  334. | ATMEL_LCDC_IFWIDTH_4 \
  335. | ATMEL_LCDC_SCANMOD_SINGLE)
  336. static void at91_lcdc_stn_power_control(int on)
  337. {
  338. /* backlight */
  339. if (on) { /* power up */
  340. at91_set_gpio_value(AT91_PIN_PC14, 0);
  341. at91_set_gpio_value(AT91_PIN_PC15, 0);
  342. } else { /* power down */
  343. at91_set_gpio_value(AT91_PIN_PC14, 1);
  344. at91_set_gpio_value(AT91_PIN_PC15, 1);
  345. }
  346. }
  347. static struct atmel_lcdfb_info __initdata ek_lcdc_data = {
  348. .default_bpp = 1,
  349. .default_dmacon = ATMEL_LCDC_DMAEN,
  350. .default_lcdcon2 = AT91SAM9261_DEFAULT_STN_LCDCON2,
  351. .default_monspecs = &at91fb_default_stn_monspecs,
  352. .atmel_lcdfb_power_control = at91_lcdc_stn_power_control,
  353. .guard_time = 1,
  354. #if defined(CONFIG_MACH_AT91SAM9G10EK)
  355. .lcd_wiring_mode = ATMEL_LCDC_WIRING_RGB,
  356. #endif
  357. };
  358. #else
  359. /* TFT */
  360. static struct fb_videomode at91_tft_vga_modes[] = {
  361. {
  362. .name = "TX09D50VM1CCA @ 60",
  363. .refresh = 60,
  364. .xres = 240, .yres = 320,
  365. .pixclock = KHZ2PICOS(4965),
  366. .left_margin = 1, .right_margin = 33,
  367. .upper_margin = 1, .lower_margin = 0,
  368. .hsync_len = 5, .vsync_len = 1,
  369. .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
  370. .vmode = FB_VMODE_NONINTERLACED,
  371. },
  372. };
  373. static struct fb_monspecs at91fb_default_tft_monspecs = {
  374. .manufacturer = "HIT",
  375. .monitor = "TX09D50VM1CCA",
  376. .modedb = at91_tft_vga_modes,
  377. .modedb_len = ARRAY_SIZE(at91_tft_vga_modes),
  378. .hfmin = 15000,
  379. .hfmax = 64000,
  380. .vfmin = 50,
  381. .vfmax = 150,
  382. };
  383. #define AT91SAM9261_DEFAULT_TFT_LCDCON2 (ATMEL_LCDC_MEMOR_LITTLE \
  384. | ATMEL_LCDC_DISTYPE_TFT \
  385. | ATMEL_LCDC_CLKMOD_ALWAYSACTIVE)
  386. static void at91_lcdc_tft_power_control(int on)
  387. {
  388. if (on)
  389. at91_set_gpio_value(AT91_PIN_PA12, 0); /* power up */
  390. else
  391. at91_set_gpio_value(AT91_PIN_PA12, 1); /* power down */
  392. }
  393. static struct atmel_lcdfb_info __initdata ek_lcdc_data = {
  394. .lcdcon_is_backlight = true,
  395. .default_bpp = 16,
  396. .default_dmacon = ATMEL_LCDC_DMAEN,
  397. .default_lcdcon2 = AT91SAM9261_DEFAULT_TFT_LCDCON2,
  398. .default_monspecs = &at91fb_default_tft_monspecs,
  399. .atmel_lcdfb_power_control = at91_lcdc_tft_power_control,
  400. .guard_time = 1,
  401. #if defined(CONFIG_MACH_AT91SAM9G10EK)
  402. .lcd_wiring_mode = ATMEL_LCDC_WIRING_RGB,
  403. #endif
  404. };
  405. #endif
  406. #else
  407. static struct atmel_lcdfb_info __initdata ek_lcdc_data;
  408. #endif
  409. /*
  410. * GPIO Buttons
  411. */
  412. #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE)
  413. static struct gpio_keys_button ek_buttons[] = {
  414. {
  415. .gpio = AT91_PIN_PA27,
  416. .code = BTN_0,
  417. .desc = "Button 0",
  418. .active_low = 1,
  419. .wakeup = 1,
  420. },
  421. {
  422. .gpio = AT91_PIN_PA26,
  423. .code = BTN_1,
  424. .desc = "Button 1",
  425. .active_low = 1,
  426. .wakeup = 1,
  427. },
  428. {
  429. .gpio = AT91_PIN_PA25,
  430. .code = BTN_2,
  431. .desc = "Button 2",
  432. .active_low = 1,
  433. .wakeup = 1,
  434. },
  435. {
  436. .gpio = AT91_PIN_PA24,
  437. .code = BTN_3,
  438. .desc = "Button 3",
  439. .active_low = 1,
  440. .wakeup = 1,
  441. }
  442. };
  443. static struct gpio_keys_platform_data ek_button_data = {
  444. .buttons = ek_buttons,
  445. .nbuttons = ARRAY_SIZE(ek_buttons),
  446. };
  447. static struct platform_device ek_button_device = {
  448. .name = "gpio-keys",
  449. .id = -1,
  450. .num_resources = 0,
  451. .dev = {
  452. .platform_data = &ek_button_data,
  453. }
  454. };
  455. static void __init ek_add_device_buttons(void)
  456. {
  457. at91_set_gpio_input(AT91_PIN_PA27, 1); /* btn0 */
  458. at91_set_deglitch(AT91_PIN_PA27, 1);
  459. at91_set_gpio_input(AT91_PIN_PA26, 1); /* btn1 */
  460. at91_set_deglitch(AT91_PIN_PA26, 1);
  461. at91_set_gpio_input(AT91_PIN_PA25, 1); /* btn2 */
  462. at91_set_deglitch(AT91_PIN_PA25, 1);
  463. at91_set_gpio_input(AT91_PIN_PA24, 1); /* btn3 */
  464. at91_set_deglitch(AT91_PIN_PA24, 1);
  465. platform_device_register(&ek_button_device);
  466. }
  467. #else
  468. static void __init ek_add_device_buttons(void) {}
  469. #endif
  470. /*
  471. * LEDs
  472. */
  473. static struct gpio_led ek_leds[] = {
  474. { /* "bottom" led, green, userled1 to be defined */
  475. .name = "ds7",
  476. .gpio = AT91_PIN_PA14,
  477. .active_low = 1,
  478. .default_trigger = "none",
  479. },
  480. { /* "top" led, green, userled2 to be defined */
  481. .name = "ds8",
  482. .gpio = AT91_PIN_PA13,
  483. .active_low = 1,
  484. .default_trigger = "none",
  485. },
  486. { /* "power" led, yellow */
  487. .name = "ds1",
  488. .gpio = AT91_PIN_PA23,
  489. .default_trigger = "heartbeat",
  490. }
  491. };
  492. static void __init ek_board_init(void)
  493. {
  494. /* Setup the LEDs */
  495. at91_init_leds(AT91_PIN_PA13, AT91_PIN_PA14);
  496. /* Serial */
  497. /* DBGU on ttyS0. (Rx & Tx only) */
  498. at91_register_uart(0, 0, 0);
  499. at91_add_device_serial();
  500. /* USB Host */
  501. at91_add_device_usbh(&ek_usbh_data);
  502. /* USB Device */
  503. at91_add_device_udc(&ek_udc_data);
  504. /* I2C */
  505. at91_add_device_i2c(NULL, 0);
  506. /* NAND */
  507. ek_add_device_nand();
  508. /* DM9000 ethernet */
  509. ek_add_device_dm9000();
  510. /* spi0 and mmc/sd share the same PIO pins */
  511. #if defined(CONFIG_SPI_ATMEL) || defined(CONFIG_SPI_ATMEL_MODULE)
  512. /* SPI */
  513. at91_add_device_spi(ek_spi_devices, ARRAY_SIZE(ek_spi_devices));
  514. /* Touchscreen */
  515. ek_add_device_ts();
  516. /* SSC (to AT73C213) */
  517. at73c213_set_clk(&at73c213_data);
  518. at91_add_device_ssc(AT91SAM9261_ID_SSC1, ATMEL_SSC_TX);
  519. #else
  520. /* MMC */
  521. at91_add_device_mmc(0, &ek_mmc_data);
  522. #endif
  523. /* LCD Controller */
  524. at91_add_device_lcdc(&ek_lcdc_data);
  525. /* Push Buttons */
  526. ek_add_device_buttons();
  527. /* LEDs */
  528. at91_gpio_leds(ek_leds, ARRAY_SIZE(ek_leds));
  529. }
  530. #if defined(CONFIG_MACH_AT91SAM9261EK)
  531. MACHINE_START(AT91SAM9261EK, "Atmel AT91SAM9261-EK")
  532. #else
  533. MACHINE_START(AT91SAM9G10EK, "Atmel AT91SAM9G10-EK")
  534. #endif
  535. /* Maintainer: Atmel */
  536. .timer = &at91sam926x_timer,
  537. .map_io = at91_map_io,
  538. .handle_irq = at91_aic_handle_irq,
  539. .init_early = ek_init_early,
  540. .init_irq = at91_init_irq_default,
  541. .init_machine = ek_board_init,
  542. MACHINE_END