board-mop500.c 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618
  1. /*
  2. * Copyright (C) 2008-2012 ST-Ericsson
  3. *
  4. * Author: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2, as
  8. * published by the Free Software Foundation.
  9. *
  10. */
  11. #include <linux/kernel.h>
  12. #include <linux/init.h>
  13. #include <linux/interrupt.h>
  14. #include <linux/platform_device.h>
  15. #include <linux/clk.h>
  16. #include <linux/io.h>
  17. #include <linux/i2c.h>
  18. #include <linux/platform_data/i2c-nomadik.h>
  19. #include <linux/platform_data/db8500_thermal.h>
  20. #include <linux/gpio.h>
  21. #include <linux/amba/bus.h>
  22. #include <linux/amba/pl022.h>
  23. #include <linux/amba/serial.h>
  24. #include <linux/spi/spi.h>
  25. #include <linux/mfd/abx500/ab8500.h>
  26. #include <linux/regulator/ab8500.h>
  27. #include <linux/regulator/fixed.h>
  28. #include <linux/regulator/driver.h>
  29. #include <linux/regulator/gpio-regulator.h>
  30. #include <linux/mfd/tc3589x.h>
  31. #include <linux/mfd/tps6105x.h>
  32. #include <linux/mfd/abx500/ab8500-gpio.h>
  33. #include <linux/mfd/abx500/ab8500-codec.h>
  34. #include <linux/platform_data/leds-lp55xx.h>
  35. #include <linux/input.h>
  36. #include <linux/smsc911x.h>
  37. #include <linux/gpio_keys.h>
  38. #include <linux/delay.h>
  39. #include <linux/leds.h>
  40. #include <linux/pinctrl/consumer.h>
  41. #include <linux/platform_data/pinctrl-nomadik.h>
  42. #include <linux/platform_data/dma-ste-dma40.h>
  43. #include <asm/mach-types.h>
  44. #include "setup.h"
  45. #include "devices.h"
  46. #include "irqs.h"
  47. #include <linux/platform_data/crypto-ux500.h>
  48. #include "ste-dma40-db8500.h"
  49. #include "db8500-regs.h"
  50. #include "devices-db8500.h"
  51. #include "board-mop500.h"
  52. #include "board-mop500-regulators.h"
  53. static struct fixed_voltage_config snowball_gpio_en_3v3_data = {
  54. .supply_name = "EN-3V3",
  55. .gpio = SNOWBALL_EN_3V3_ETH_GPIO,
  56. .microvolts = 3300000,
  57. .enable_high = 1,
  58. .init_data = &gpio_en_3v3_regulator,
  59. .startup_delay = 5000, /* 1200us */
  60. };
  61. static struct platform_device snowball_gpio_en_3v3_regulator_dev = {
  62. .name = "reg-fixed-voltage",
  63. .id = 1,
  64. .dev = {
  65. .platform_data = &snowball_gpio_en_3v3_data,
  66. },
  67. };
  68. /* Dynamically populated. */
  69. static struct gpio sdi0_reg_gpios[] = {
  70. { 0, GPIOF_OUT_INIT_LOW, "mmci_vsel" },
  71. };
  72. static struct gpio_regulator_state sdi0_reg_states[] = {
  73. { .value = 2900000, .gpios = (0 << 0) },
  74. { .value = 1800000, .gpios = (1 << 0) },
  75. };
  76. static struct gpio_regulator_config sdi0_reg_info = {
  77. .supply_name = "ext-mmc-level-shifter",
  78. .gpios = sdi0_reg_gpios,
  79. .nr_gpios = ARRAY_SIZE(sdi0_reg_gpios),
  80. .states = sdi0_reg_states,
  81. .nr_states = ARRAY_SIZE(sdi0_reg_states),
  82. .type = REGULATOR_VOLTAGE,
  83. .enable_high = 1,
  84. .enabled_at_boot = 0,
  85. .init_data = &sdi0_reg_init_data,
  86. .startup_delay = 100,
  87. };
  88. static struct platform_device sdi0_regulator = {
  89. .name = "gpio-regulator",
  90. .id = -1,
  91. .dev = {
  92. .platform_data = &sdi0_reg_info,
  93. },
  94. };
  95. static struct abx500_gpio_platform_data ab8500_gpio_pdata = {
  96. .gpio_base = MOP500_AB8500_PIN_GPIO(1),
  97. };
  98. /* ab8500-codec */
  99. static struct ab8500_codec_platform_data ab8500_codec_pdata = {
  100. .amics = {
  101. .mic1_type = AMIC_TYPE_DIFFERENTIAL,
  102. .mic2_type = AMIC_TYPE_DIFFERENTIAL,
  103. .mic1a_micbias = AMIC_MICBIAS_VAMIC1,
  104. .mic1b_micbias = AMIC_MICBIAS_VAMIC1,
  105. .mic2_micbias = AMIC_MICBIAS_VAMIC2
  106. },
  107. .ear_cmv = EAR_CMV_0_95V
  108. };
  109. static struct gpio_keys_button snowball_key_array[] = {
  110. {
  111. .gpio = 32,
  112. .type = EV_KEY,
  113. .code = KEY_1,
  114. .desc = "userpb",
  115. .active_low = 1,
  116. .debounce_interval = 50,
  117. .wakeup = 1,
  118. },
  119. {
  120. .gpio = 151,
  121. .type = EV_KEY,
  122. .code = KEY_2,
  123. .desc = "extkb1",
  124. .active_low = 1,
  125. .debounce_interval = 50,
  126. .wakeup = 1,
  127. },
  128. {
  129. .gpio = 152,
  130. .type = EV_KEY,
  131. .code = KEY_3,
  132. .desc = "extkb2",
  133. .active_low = 1,
  134. .debounce_interval = 50,
  135. .wakeup = 1,
  136. },
  137. {
  138. .gpio = 161,
  139. .type = EV_KEY,
  140. .code = KEY_4,
  141. .desc = "extkb3",
  142. .active_low = 1,
  143. .debounce_interval = 50,
  144. .wakeup = 1,
  145. },
  146. {
  147. .gpio = 162,
  148. .type = EV_KEY,
  149. .code = KEY_5,
  150. .desc = "extkb4",
  151. .active_low = 1,
  152. .debounce_interval = 50,
  153. .wakeup = 1,
  154. },
  155. };
  156. static struct gpio_keys_platform_data snowball_key_data = {
  157. .buttons = snowball_key_array,
  158. .nbuttons = ARRAY_SIZE(snowball_key_array),
  159. };
  160. static struct platform_device snowball_key_dev = {
  161. .name = "gpio-keys",
  162. .id = -1,
  163. .dev = {
  164. .platform_data = &snowball_key_data,
  165. }
  166. };
  167. static struct smsc911x_platform_config snowball_sbnet_cfg = {
  168. .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_HIGH,
  169. .irq_type = SMSC911X_IRQ_TYPE_PUSH_PULL,
  170. .flags = SMSC911X_USE_16BIT | SMSC911X_FORCE_INTERNAL_PHY,
  171. .shift = 1,
  172. };
  173. static struct resource sbnet_res[] = {
  174. {
  175. .name = "smsc911x-memory",
  176. .start = (0x5000 << 16),
  177. .end = (0x5000 << 16) + 0xffff,
  178. .flags = IORESOURCE_MEM,
  179. },
  180. {
  181. .start = NOMADIK_GPIO_TO_IRQ(140),
  182. .end = NOMADIK_GPIO_TO_IRQ(140),
  183. .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE,
  184. },
  185. };
  186. static struct platform_device snowball_sbnet_dev = {
  187. .name = "smsc911x",
  188. .num_resources = ARRAY_SIZE(sbnet_res),
  189. .resource = sbnet_res,
  190. .dev = {
  191. .platform_data = &snowball_sbnet_cfg,
  192. },
  193. };
  194. struct ab8500_platform_data ab8500_platdata = {
  195. .irq_base = MOP500_AB8500_IRQ_BASE,
  196. .regulator = &ab8500_regulator_plat_data,
  197. .gpio = &ab8500_gpio_pdata,
  198. .codec = &ab8500_codec_pdata,
  199. };
  200. static struct platform_device u8500_cpufreq_cooling_device = {
  201. .name = "db8500-cpufreq-cooling",
  202. };
  203. /*
  204. * TC35892
  205. */
  206. static void mop500_tc35892_init(struct tc3589x *tc3589x, unsigned int base)
  207. {
  208. struct device *parent = NULL;
  209. #if 0
  210. /* FIXME: Is the sdi actually part of tc3589x? */
  211. parent = tc3589x->dev;
  212. #endif
  213. mop500_sdi_tc35892_init(parent);
  214. }
  215. static struct tc3589x_gpio_platform_data mop500_tc35892_gpio_data = {
  216. .gpio_base = MOP500_EGPIO(0),
  217. .setup = mop500_tc35892_init,
  218. };
  219. static struct tc3589x_platform_data mop500_tc35892_data = {
  220. .block = TC3589x_BLOCK_GPIO,
  221. .gpio = &mop500_tc35892_gpio_data,
  222. .irq_base = MOP500_EGPIO_IRQ_BASE,
  223. };
  224. /* I2C0 devices only available on the first HREF/MOP500 */
  225. static struct i2c_board_info __initdata mop500_i2c0_devices[] = {
  226. {
  227. I2C_BOARD_INFO("tc3589x", 0x42),
  228. .irq = NOMADIK_GPIO_TO_IRQ(217),
  229. .platform_data = &mop500_tc35892_data,
  230. },
  231. };
  232. static struct i2c_board_info __initdata mop500_i2c2_devices[] = {
  233. {
  234. /* Light sensor Rohm BH1780GLI */
  235. I2C_BOARD_INFO("bh1780", 0x29),
  236. },
  237. };
  238. static int __init mop500_i2c_board_init(void)
  239. {
  240. if (machine_is_u8500())
  241. mop500_uib_i2c_add(0, mop500_i2c0_devices,
  242. ARRAY_SIZE(mop500_i2c0_devices));
  243. mop500_uib_i2c_add(2, mop500_i2c2_devices,
  244. ARRAY_SIZE(mop500_i2c2_devices));
  245. return 0;
  246. }
  247. device_initcall(mop500_i2c_board_init);
  248. static void __init mop500_i2c_init(struct device *parent)
  249. {
  250. db8500_add_i2c0(parent, NULL);
  251. db8500_add_i2c1(parent, NULL);
  252. db8500_add_i2c2(parent, NULL);
  253. db8500_add_i2c3(parent, NULL);
  254. }
  255. static struct gpio_keys_button mop500_gpio_keys[] = {
  256. {
  257. .desc = "SFH7741 Proximity Sensor",
  258. .type = EV_SW,
  259. .code = SW_FRONT_PROXIMITY,
  260. .active_low = 0,
  261. .can_disable = 1,
  262. }
  263. };
  264. static struct regulator *prox_regulator;
  265. static int mop500_prox_activate(struct device *dev);
  266. static void mop500_prox_deactivate(struct device *dev);
  267. static struct gpio_keys_platform_data mop500_gpio_keys_data = {
  268. .buttons = mop500_gpio_keys,
  269. .nbuttons = ARRAY_SIZE(mop500_gpio_keys),
  270. .enable = mop500_prox_activate,
  271. .disable = mop500_prox_deactivate,
  272. };
  273. static struct platform_device mop500_gpio_keys_device = {
  274. .name = "gpio-keys",
  275. .id = 0,
  276. .dev = {
  277. .platform_data = &mop500_gpio_keys_data,
  278. },
  279. };
  280. static int mop500_prox_activate(struct device *dev)
  281. {
  282. prox_regulator = regulator_get(&mop500_gpio_keys_device.dev,
  283. "vcc");
  284. if (IS_ERR(prox_regulator)) {
  285. dev_err(&mop500_gpio_keys_device.dev,
  286. "no regulator\n");
  287. return PTR_ERR(prox_regulator);
  288. }
  289. return regulator_enable(prox_regulator);
  290. }
  291. static void mop500_prox_deactivate(struct device *dev)
  292. {
  293. regulator_disable(prox_regulator);
  294. regulator_put(prox_regulator);
  295. }
  296. static struct cryp_platform_data u8500_cryp1_platform_data = {
  297. .mem_to_engine = {
  298. .dir = DMA_MEM_TO_DEV,
  299. .dev_type = DB8500_DMA_DEV48_CAC1,
  300. .mode = STEDMA40_MODE_LOGICAL,
  301. },
  302. .engine_to_mem = {
  303. .dir = DMA_DEV_TO_MEM,
  304. .dev_type = DB8500_DMA_DEV48_CAC1,
  305. .mode = STEDMA40_MODE_LOGICAL,
  306. }
  307. };
  308. static struct stedma40_chan_cfg u8500_hash_dma_cfg_tx = {
  309. .dir = DMA_MEM_TO_DEV,
  310. .dev_type = DB8500_DMA_DEV50_HAC1_TX,
  311. .mode = STEDMA40_MODE_LOGICAL,
  312. };
  313. static struct hash_platform_data u8500_hash1_platform_data = {
  314. .mem_to_engine = &u8500_hash_dma_cfg_tx,
  315. .dma_filter = stedma40_filter,
  316. };
  317. /* add any platform devices here - TODO */
  318. static struct platform_device *mop500_platform_devs[] __initdata = {
  319. &mop500_gpio_keys_device,
  320. &sdi0_regulator,
  321. };
  322. #ifdef CONFIG_STE_DMA40
  323. static struct stedma40_chan_cfg ssp0_dma_cfg_rx = {
  324. .mode = STEDMA40_MODE_LOGICAL,
  325. .dir = DMA_DEV_TO_MEM,
  326. .dev_type = DB8500_DMA_DEV8_SSP0,
  327. };
  328. static struct stedma40_chan_cfg ssp0_dma_cfg_tx = {
  329. .mode = STEDMA40_MODE_LOGICAL,
  330. .dir = DMA_MEM_TO_DEV,
  331. .dev_type = DB8500_DMA_DEV8_SSP0,
  332. };
  333. #endif
  334. struct pl022_ssp_controller ssp0_plat = {
  335. .bus_id = 0,
  336. #ifdef CONFIG_STE_DMA40
  337. .enable_dma = 1,
  338. .dma_filter = stedma40_filter,
  339. .dma_rx_param = &ssp0_dma_cfg_rx,
  340. .dma_tx_param = &ssp0_dma_cfg_tx,
  341. #else
  342. .enable_dma = 0,
  343. #endif
  344. /* on this platform, gpio 31,142,144,214 &
  345. * 224 are connected as chip selects
  346. */
  347. .num_chipselect = 5,
  348. };
  349. static void __init mop500_spi_init(struct device *parent)
  350. {
  351. db8500_add_ssp0(parent, &ssp0_plat);
  352. }
  353. #ifdef CONFIG_STE_DMA40
  354. static struct stedma40_chan_cfg uart0_dma_cfg_rx = {
  355. .mode = STEDMA40_MODE_LOGICAL,
  356. .dir = DMA_DEV_TO_MEM,
  357. .dev_type = DB8500_DMA_DEV13_UART0,
  358. };
  359. static struct stedma40_chan_cfg uart0_dma_cfg_tx = {
  360. .mode = STEDMA40_MODE_LOGICAL,
  361. .dir = DMA_MEM_TO_DEV,
  362. .dev_type = DB8500_DMA_DEV13_UART0,
  363. };
  364. static struct stedma40_chan_cfg uart1_dma_cfg_rx = {
  365. .mode = STEDMA40_MODE_LOGICAL,
  366. .dir = DMA_DEV_TO_MEM,
  367. .dev_type = DB8500_DMA_DEV12_UART1,
  368. };
  369. static struct stedma40_chan_cfg uart1_dma_cfg_tx = {
  370. .mode = STEDMA40_MODE_LOGICAL,
  371. .dir = DMA_MEM_TO_DEV,
  372. .dev_type = DB8500_DMA_DEV12_UART1,
  373. };
  374. static struct stedma40_chan_cfg uart2_dma_cfg_rx = {
  375. .mode = STEDMA40_MODE_LOGICAL,
  376. .dir = DMA_DEV_TO_MEM,
  377. .dev_type = DB8500_DMA_DEV11_UART2,
  378. };
  379. static struct stedma40_chan_cfg uart2_dma_cfg_tx = {
  380. .mode = STEDMA40_MODE_LOGICAL,
  381. .dir = DMA_MEM_TO_DEV,
  382. .dev_type = DB8500_DMA_DEV11_UART2,
  383. };
  384. #endif
  385. struct amba_pl011_data uart0_plat = {
  386. #ifdef CONFIG_STE_DMA40
  387. .dma_filter = stedma40_filter,
  388. .dma_rx_param = &uart0_dma_cfg_rx,
  389. .dma_tx_param = &uart0_dma_cfg_tx,
  390. #endif
  391. };
  392. struct amba_pl011_data uart1_plat = {
  393. #ifdef CONFIG_STE_DMA40
  394. .dma_filter = stedma40_filter,
  395. .dma_rx_param = &uart1_dma_cfg_rx,
  396. .dma_tx_param = &uart1_dma_cfg_tx,
  397. #endif
  398. };
  399. struct amba_pl011_data uart2_plat = {
  400. #ifdef CONFIG_STE_DMA40
  401. .dma_filter = stedma40_filter,
  402. .dma_rx_param = &uart2_dma_cfg_rx,
  403. .dma_tx_param = &uart2_dma_cfg_tx,
  404. #endif
  405. };
  406. static void __init mop500_uart_init(struct device *parent)
  407. {
  408. db8500_add_uart0(parent, &uart0_plat);
  409. db8500_add_uart1(parent, &uart1_plat);
  410. db8500_add_uart2(parent, &uart2_plat);
  411. }
  412. static void __init u8500_cryp1_hash1_init(struct device *parent)
  413. {
  414. db8500_add_cryp1(parent, &u8500_cryp1_platform_data);
  415. db8500_add_hash1(parent, &u8500_hash1_platform_data);
  416. }
  417. static struct platform_device *snowball_platform_devs[] __initdata = {
  418. &snowball_key_dev,
  419. &snowball_sbnet_dev,
  420. &snowball_gpio_en_3v3_regulator_dev,
  421. &u8500_cpufreq_cooling_device,
  422. &sdi0_regulator,
  423. };
  424. static void __init mop500_init_machine(void)
  425. {
  426. struct device *parent = NULL;
  427. int i;
  428. platform_device_register(&db8500_prcmu_device);
  429. mop500_gpio_keys[0].gpio = GPIO_PROX_SENSOR;
  430. sdi0_reg_info.enable_gpio = GPIO_SDMMC_EN;
  431. sdi0_reg_info.gpios[0].gpio = GPIO_SDMMC_1V8_3V_SEL;
  432. mop500_pinmaps_init();
  433. parent = u8500_init_devices();
  434. for (i = 0; i < ARRAY_SIZE(mop500_platform_devs); i++)
  435. mop500_platform_devs[i]->dev.parent = parent;
  436. platform_add_devices(mop500_platform_devs,
  437. ARRAY_SIZE(mop500_platform_devs));
  438. mop500_i2c_init(parent);
  439. mop500_sdi_init(parent);
  440. mop500_spi_init(parent);
  441. mop500_uart_init(parent);
  442. u8500_cryp1_hash1_init(parent);
  443. /* This board has full regulator constraints */
  444. regulator_has_full_constraints();
  445. }
  446. static void __init snowball_init_machine(void)
  447. {
  448. struct device *parent = NULL;
  449. int i;
  450. platform_device_register(&db8500_prcmu_device);
  451. sdi0_reg_info.enable_gpio = SNOWBALL_SDMMC_EN_GPIO;
  452. sdi0_reg_info.gpios[0].gpio = SNOWBALL_SDMMC_1V8_3V_GPIO;
  453. snowball_pinmaps_init();
  454. parent = u8500_init_devices();
  455. for (i = 0; i < ARRAY_SIZE(snowball_platform_devs); i++)
  456. snowball_platform_devs[i]->dev.parent = parent;
  457. platform_add_devices(snowball_platform_devs,
  458. ARRAY_SIZE(snowball_platform_devs));
  459. mop500_i2c_init(parent);
  460. snowball_sdi_init(parent);
  461. mop500_spi_init(parent);
  462. mop500_uart_init(parent);
  463. u8500_cryp1_hash1_init(parent);
  464. /* This board has full regulator constraints */
  465. regulator_has_full_constraints();
  466. }
  467. static void __init hrefv60_init_machine(void)
  468. {
  469. struct device *parent = NULL;
  470. int i;
  471. platform_device_register(&db8500_prcmu_device);
  472. /*
  473. * The HREFv60 board removed a GPIO expander and routed
  474. * all these GPIO pins to the internal GPIO controller
  475. * instead.
  476. */
  477. mop500_gpio_keys[0].gpio = HREFV60_PROX_SENSE_GPIO;
  478. sdi0_reg_info.enable_gpio = HREFV60_SDMMC_EN_GPIO;
  479. sdi0_reg_info.gpios[0].gpio = HREFV60_SDMMC_1V8_3V_GPIO;
  480. hrefv60_pinmaps_init();
  481. parent = u8500_init_devices();
  482. for (i = 0; i < ARRAY_SIZE(mop500_platform_devs); i++)
  483. mop500_platform_devs[i]->dev.parent = parent;
  484. platform_add_devices(mop500_platform_devs,
  485. ARRAY_SIZE(mop500_platform_devs));
  486. mop500_i2c_init(parent);
  487. hrefv60_sdi_init(parent);
  488. mop500_spi_init(parent);
  489. mop500_uart_init(parent);
  490. /* This board has full regulator constraints */
  491. regulator_has_full_constraints();
  492. }
  493. MACHINE_START(U8500, "ST-Ericsson MOP500 platform")
  494. /* Maintainer: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> */
  495. .atag_offset = 0x100,
  496. .smp = smp_ops(ux500_smp_ops),
  497. .map_io = u8500_map_io,
  498. .init_irq = ux500_init_irq,
  499. /* we re-use nomadik timer here */
  500. .init_time = ux500_timer_init,
  501. .init_machine = mop500_init_machine,
  502. .init_late = ux500_init_late,
  503. .restart = ux500_restart,
  504. MACHINE_END
  505. MACHINE_START(U8520, "ST-Ericsson U8520 Platform HREFP520")
  506. .atag_offset = 0x100,
  507. .map_io = u8500_map_io,
  508. .init_irq = ux500_init_irq,
  509. .init_time = ux500_timer_init,
  510. .init_machine = mop500_init_machine,
  511. .init_late = ux500_init_late,
  512. .restart = ux500_restart,
  513. MACHINE_END
  514. MACHINE_START(HREFV60, "ST-Ericsson U8500 Platform HREFv60+")
  515. .atag_offset = 0x100,
  516. .smp = smp_ops(ux500_smp_ops),
  517. .map_io = u8500_map_io,
  518. .init_irq = ux500_init_irq,
  519. .init_time = ux500_timer_init,
  520. .init_machine = hrefv60_init_machine,
  521. .init_late = ux500_init_late,
  522. .restart = ux500_restart,
  523. MACHINE_END
  524. MACHINE_START(SNOWBALL, "Calao Systems Snowball platform")
  525. .atag_offset = 0x100,
  526. .smp = smp_ops(ux500_smp_ops),
  527. .map_io = u8500_map_io,
  528. .init_irq = ux500_init_irq,
  529. /* we re-use nomadik timer here */
  530. .init_time = ux500_timer_init,
  531. .init_machine = snowball_init_machine,
  532. .init_late = NULL,
  533. .restart = ux500_restart,
  534. MACHINE_END