board-sam9261ek.c 14 KB

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