2 * Copyright (C) 2008-2012 ST-Ericsson
4 * Author: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
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.
11 #include <linux/kernel.h>
12 #include <linux/init.h>
13 #include <linux/interrupt.h>
14 #include <linux/platform_device.h>
16 #include <linux/i2c.h>
17 #include <linux/platform_data/i2c-nomadik.h>
18 #include <linux/platform_data/db8500_thermal.h>
19 #include <linux/gpio.h>
20 #include <linux/amba/bus.h>
21 #include <linux/amba/pl022.h>
22 #include <linux/amba/serial.h>
23 #include <linux/spi/spi.h>
24 #include <linux/mfd/abx500/ab8500.h>
25 #include <linux/regulator/ab8500.h>
26 #include <linux/regulator/fixed.h>
27 #include <linux/mfd/tc3589x.h>
28 #include <linux/mfd/tps6105x.h>
29 #include <linux/mfd/abx500/ab8500-gpio.h>
30 #include <linux/mfd/abx500/ab8500-codec.h>
31 #include <linux/platform_data/leds-lp55xx.h>
32 #include <linux/input.h>
33 #include <linux/smsc911x.h>
34 #include <linux/gpio_keys.h>
35 #include <linux/delay.h>
36 #include <linux/leds.h>
37 #include <linux/pinctrl/consumer.h>
38 #include <linux/platform_data/pinctrl-nomadik.h>
39 #include <linux/platform_data/dma-ste-dma40.h>
41 #include <asm/mach-types.h>
42 #include <asm/mach/arch.h>
44 #include <mach/hardware.h>
45 #include <mach/setup.h>
46 #include <mach/devices.h>
47 #include <mach/irqs.h>
48 #include <linux/platform_data/crypto-ux500.h>
50 #include "ste-dma40-db8500.h"
51 #include "devices-db8500.h"
52 #include "board-mop500.h"
53 #include "board-mop500-regulators.h"
55 static struct gpio_led snowball_led_array
[] = {
58 .default_trigger
= "heartbeat",
63 static struct gpio_led_platform_data snowball_led_data
= {
64 .leds
= snowball_led_array
,
65 .num_leds
= ARRAY_SIZE(snowball_led_array
),
68 static struct platform_device snowball_led_dev
= {
71 .platform_data
= &snowball_led_data
,
75 static struct fixed_voltage_config snowball_gpio_en_3v3_data
= {
76 .supply_name
= "EN-3V3",
77 .gpio
= SNOWBALL_EN_3V3_ETH_GPIO
,
78 .microvolts
= 3300000,
80 .init_data
= &gpio_en_3v3_regulator
,
81 .startup_delay
= 5000, /* 1200us */
84 static struct platform_device snowball_gpio_en_3v3_regulator_dev
= {
85 .name
= "reg-fixed-voltage",
88 .platform_data
= &snowball_gpio_en_3v3_data
,
92 static struct abx500_gpio_platform_data ab8500_gpio_pdata
= {
93 .gpio_base
= MOP500_AB8500_PIN_GPIO(1),
97 static struct ab8500_codec_platform_data ab8500_codec_pdata
= {
99 .mic1_type
= AMIC_TYPE_DIFFERENTIAL
,
100 .mic2_type
= AMIC_TYPE_DIFFERENTIAL
,
101 .mic1a_micbias
= AMIC_MICBIAS_VAMIC1
,
102 .mic1b_micbias
= AMIC_MICBIAS_VAMIC1
,
103 .mic2_micbias
= AMIC_MICBIAS_VAMIC2
105 .ear_cmv
= EAR_CMV_0_95V
108 static struct gpio_keys_button snowball_key_array
[] = {
115 .debounce_interval
= 50,
124 .debounce_interval
= 50,
133 .debounce_interval
= 50,
142 .debounce_interval
= 50,
151 .debounce_interval
= 50,
156 static struct gpio_keys_platform_data snowball_key_data
= {
157 .buttons
= snowball_key_array
,
158 .nbuttons
= ARRAY_SIZE(snowball_key_array
),
161 static struct platform_device snowball_key_dev
= {
165 .platform_data
= &snowball_key_data
,
169 static struct smsc911x_platform_config snowball_sbnet_cfg
= {
170 .irq_polarity
= SMSC911X_IRQ_POLARITY_ACTIVE_HIGH
,
171 .irq_type
= SMSC911X_IRQ_TYPE_PUSH_PULL
,
172 .flags
= SMSC911X_USE_16BIT
| SMSC911X_FORCE_INTERNAL_PHY
,
176 static struct resource sbnet_res
[] = {
178 .name
= "smsc911x-memory",
179 .start
= (0x5000 << 16),
180 .end
= (0x5000 << 16) + 0xffff,
181 .flags
= IORESOURCE_MEM
,
184 .start
= NOMADIK_GPIO_TO_IRQ(140),
185 .end
= NOMADIK_GPIO_TO_IRQ(140),
186 .flags
= IORESOURCE_IRQ
| IORESOURCE_IRQ_HIGHEDGE
,
190 static struct platform_device snowball_sbnet_dev
= {
192 .num_resources
= ARRAY_SIZE(sbnet_res
),
193 .resource
= sbnet_res
,
195 .platform_data
= &snowball_sbnet_cfg
,
199 struct ab8500_platform_data ab8500_platdata
= {
200 .irq_base
= MOP500_AB8500_IRQ_BASE
,
201 .regulator
= &ab8500_regulator_plat_data
,
202 .gpio
= &ab8500_gpio_pdata
,
203 .codec
= &ab8500_codec_pdata
,
210 static struct resource db8500_thsens_resources
[] = {
212 .name
= "IRQ_HOTMON_LOW",
213 .start
= IRQ_PRCMU_HOTMON_LOW
,
214 .end
= IRQ_PRCMU_HOTMON_LOW
,
215 .flags
= IORESOURCE_IRQ
,
218 .name
= "IRQ_HOTMON_HIGH",
219 .start
= IRQ_PRCMU_HOTMON_HIGH
,
220 .end
= IRQ_PRCMU_HOTMON_HIGH
,
221 .flags
= IORESOURCE_IRQ
,
225 static struct db8500_thsens_platform_data db8500_thsens_data
= {
228 .type
= THERMAL_TRIP_ACTIVE
,
230 [0] = "thermal-cpufreq-0",
235 .type
= THERMAL_TRIP_ACTIVE
,
237 [0] = "thermal-cpufreq-0",
242 .type
= THERMAL_TRIP_ACTIVE
,
244 [0] = "thermal-cpufreq-0",
249 .type
= THERMAL_TRIP_CRITICAL
,
254 static struct platform_device u8500_thsens_device
= {
255 .name
= "db8500-thermal",
256 .resource
= db8500_thsens_resources
,
257 .num_resources
= ARRAY_SIZE(db8500_thsens_resources
),
259 .platform_data
= &db8500_thsens_data
,
263 static struct platform_device u8500_cpufreq_cooling_device
= {
264 .name
= "db8500-cpufreq-cooling",
271 static struct tps6105x_platform_data mop500_tps61052_data
= {
272 .mode
= TPS6105X_MODE_VOLTAGE
,
273 .regulator_data
= &tps61052_regulator
,
280 static void mop500_tc35892_init(struct tc3589x
*tc3589x
, unsigned int base
)
282 struct device
*parent
= NULL
;
284 /* FIXME: Is the sdi actually part of tc3589x? */
285 parent
= tc3589x
->dev
;
287 mop500_sdi_tc35892_init(parent
);
290 static struct tc3589x_gpio_platform_data mop500_tc35892_gpio_data
= {
291 .gpio_base
= MOP500_EGPIO(0),
292 .setup
= mop500_tc35892_init
,
295 static struct tc3589x_platform_data mop500_tc35892_data
= {
296 .block
= TC3589x_BLOCK_GPIO
,
297 .gpio
= &mop500_tc35892_gpio_data
,
298 .irq_base
= MOP500_EGPIO_IRQ_BASE
,
301 static struct lp55xx_led_config lp5521_pri_led
[] = {
319 static struct lp55xx_platform_data __initdata lp5521_pri_data
= {
320 .label
= "lp5521_pri",
321 .led_config
= &lp5521_pri_led
[0],
323 .clock_mode
= LP55XX_CLOCK_EXT
,
326 static struct lp55xx_led_config lp5521_sec_led
[] = {
344 static struct lp55xx_platform_data __initdata lp5521_sec_data
= {
345 .label
= "lp5521_sec",
346 .led_config
= &lp5521_sec_led
[0],
348 .clock_mode
= LP55XX_CLOCK_EXT
,
351 static struct i2c_board_info __initdata mop500_i2c0_devices
[] = {
353 I2C_BOARD_INFO("tc3589x", 0x42),
354 .irq
= NOMADIK_GPIO_TO_IRQ(217),
355 .platform_data
= &mop500_tc35892_data
,
357 /* I2C0 devices only available prior to HREFv60 */
359 I2C_BOARD_INFO("tps61052", 0x33),
360 .platform_data
= &mop500_tps61052_data
,
364 #define NUM_PRE_V60_I2C0_DEVICES 1
366 static struct i2c_board_info __initdata mop500_i2c2_devices
[] = {
368 /* lp5521 LED driver, 1st device */
369 I2C_BOARD_INFO("lp5521", 0x33),
370 .platform_data
= &lp5521_pri_data
,
373 /* lp5521 LED driver, 2st device */
374 I2C_BOARD_INFO("lp5521", 0x34),
375 .platform_data
= &lp5521_sec_data
,
378 /* Light sensor Rohm BH1780GLI */
379 I2C_BOARD_INFO("bh1780", 0x29),
383 static void __init
mop500_i2c_init(struct device
*parent
)
385 db8500_add_i2c0(parent
, NULL
);
386 db8500_add_i2c1(parent
, NULL
);
387 db8500_add_i2c2(parent
, NULL
);
388 db8500_add_i2c3(parent
, NULL
);
391 static struct gpio_keys_button mop500_gpio_keys
[] = {
393 .desc
= "SFH7741 Proximity Sensor",
395 .code
= SW_FRONT_PROXIMITY
,
401 static struct regulator
*prox_regulator
;
402 static int mop500_prox_activate(struct device
*dev
);
403 static void mop500_prox_deactivate(struct device
*dev
);
405 static struct gpio_keys_platform_data mop500_gpio_keys_data
= {
406 .buttons
= mop500_gpio_keys
,
407 .nbuttons
= ARRAY_SIZE(mop500_gpio_keys
),
408 .enable
= mop500_prox_activate
,
409 .disable
= mop500_prox_deactivate
,
412 static struct platform_device mop500_gpio_keys_device
= {
416 .platform_data
= &mop500_gpio_keys_data
,
420 static int mop500_prox_activate(struct device
*dev
)
422 prox_regulator
= regulator_get(&mop500_gpio_keys_device
.dev
,
424 if (IS_ERR(prox_regulator
)) {
425 dev_err(&mop500_gpio_keys_device
.dev
,
427 return PTR_ERR(prox_regulator
);
429 regulator_enable(prox_regulator
);
433 static void mop500_prox_deactivate(struct device
*dev
)
435 regulator_disable(prox_regulator
);
436 regulator_put(prox_regulator
);
439 static struct cryp_platform_data u8500_cryp1_platform_data
= {
441 .dir
= STEDMA40_MEM_TO_PERIPH
,
442 .src_dev_type
= STEDMA40_DEV_SRC_MEMORY
,
443 .dst_dev_type
= DB8500_DMA_DEV48_CAC1_TX
,
444 .src_info
.data_width
= STEDMA40_WORD_WIDTH
,
445 .dst_info
.data_width
= STEDMA40_WORD_WIDTH
,
446 .mode
= STEDMA40_MODE_LOGICAL
,
447 .src_info
.psize
= STEDMA40_PSIZE_LOG_4
,
448 .dst_info
.psize
= STEDMA40_PSIZE_LOG_4
,
451 .dir
= STEDMA40_PERIPH_TO_MEM
,
452 .src_dev_type
= DB8500_DMA_DEV48_CAC1_RX
,
453 .dst_dev_type
= STEDMA40_DEV_DST_MEMORY
,
454 .src_info
.data_width
= STEDMA40_WORD_WIDTH
,
455 .dst_info
.data_width
= STEDMA40_WORD_WIDTH
,
456 .mode
= STEDMA40_MODE_LOGICAL
,
457 .src_info
.psize
= STEDMA40_PSIZE_LOG_4
,
458 .dst_info
.psize
= STEDMA40_PSIZE_LOG_4
,
462 static struct stedma40_chan_cfg u8500_hash_dma_cfg_tx
= {
463 .dir
= STEDMA40_MEM_TO_PERIPH
,
464 .src_dev_type
= STEDMA40_DEV_SRC_MEMORY
,
465 .dst_dev_type
= DB8500_DMA_DEV50_HAC1_TX
,
466 .src_info
.data_width
= STEDMA40_WORD_WIDTH
,
467 .dst_info
.data_width
= STEDMA40_WORD_WIDTH
,
468 .mode
= STEDMA40_MODE_LOGICAL
,
469 .src_info
.psize
= STEDMA40_PSIZE_LOG_16
,
470 .dst_info
.psize
= STEDMA40_PSIZE_LOG_16
,
473 static struct hash_platform_data u8500_hash1_platform_data
= {
474 .mem_to_engine
= &u8500_hash_dma_cfg_tx
,
475 .dma_filter
= stedma40_filter
,
478 /* add any platform devices here - TODO */
479 static struct platform_device
*mop500_platform_devs
[] __initdata
= {
480 &mop500_gpio_keys_device
,
483 #ifdef CONFIG_STE_DMA40
484 static struct stedma40_chan_cfg ssp0_dma_cfg_rx
= {
485 .mode
= STEDMA40_MODE_LOGICAL
,
486 .dir
= STEDMA40_PERIPH_TO_MEM
,
487 .src_dev_type
= DB8500_DMA_DEV8_SSP0_RX
,
488 .dst_dev_type
= STEDMA40_DEV_DST_MEMORY
,
489 .src_info
.data_width
= STEDMA40_BYTE_WIDTH
,
490 .dst_info
.data_width
= STEDMA40_BYTE_WIDTH
,
493 static struct stedma40_chan_cfg ssp0_dma_cfg_tx
= {
494 .mode
= STEDMA40_MODE_LOGICAL
,
495 .dir
= STEDMA40_MEM_TO_PERIPH
,
496 .src_dev_type
= STEDMA40_DEV_SRC_MEMORY
,
497 .dst_dev_type
= DB8500_DMA_DEV8_SSP0_TX
,
498 .src_info
.data_width
= STEDMA40_BYTE_WIDTH
,
499 .dst_info
.data_width
= STEDMA40_BYTE_WIDTH
,
503 struct pl022_ssp_controller ssp0_plat
= {
505 #ifdef CONFIG_STE_DMA40
507 .dma_filter
= stedma40_filter
,
508 .dma_rx_param
= &ssp0_dma_cfg_rx
,
509 .dma_tx_param
= &ssp0_dma_cfg_tx
,
513 /* on this platform, gpio 31,142,144,214 &
514 * 224 are connected as chip selects
519 static void __init
mop500_spi_init(struct device
*parent
)
521 db8500_add_ssp0(parent
, &ssp0_plat
);
524 #ifdef CONFIG_STE_DMA40
525 static struct stedma40_chan_cfg uart0_dma_cfg_rx
= {
526 .mode
= STEDMA40_MODE_LOGICAL
,
527 .dir
= STEDMA40_PERIPH_TO_MEM
,
528 .src_dev_type
= DB8500_DMA_DEV13_UART0_RX
,
529 .dst_dev_type
= STEDMA40_DEV_DST_MEMORY
,
530 .src_info
.data_width
= STEDMA40_BYTE_WIDTH
,
531 .dst_info
.data_width
= STEDMA40_BYTE_WIDTH
,
534 static struct stedma40_chan_cfg uart0_dma_cfg_tx
= {
535 .mode
= STEDMA40_MODE_LOGICAL
,
536 .dir
= STEDMA40_MEM_TO_PERIPH
,
537 .src_dev_type
= STEDMA40_DEV_SRC_MEMORY
,
538 .dst_dev_type
= DB8500_DMA_DEV13_UART0_TX
,
539 .src_info
.data_width
= STEDMA40_BYTE_WIDTH
,
540 .dst_info
.data_width
= STEDMA40_BYTE_WIDTH
,
543 static struct stedma40_chan_cfg uart1_dma_cfg_rx
= {
544 .mode
= STEDMA40_MODE_LOGICAL
,
545 .dir
= STEDMA40_PERIPH_TO_MEM
,
546 .src_dev_type
= DB8500_DMA_DEV12_UART1_RX
,
547 .dst_dev_type
= STEDMA40_DEV_DST_MEMORY
,
548 .src_info
.data_width
= STEDMA40_BYTE_WIDTH
,
549 .dst_info
.data_width
= STEDMA40_BYTE_WIDTH
,
552 static struct stedma40_chan_cfg uart1_dma_cfg_tx
= {
553 .mode
= STEDMA40_MODE_LOGICAL
,
554 .dir
= STEDMA40_MEM_TO_PERIPH
,
555 .src_dev_type
= STEDMA40_DEV_SRC_MEMORY
,
556 .dst_dev_type
= DB8500_DMA_DEV12_UART1_TX
,
557 .src_info
.data_width
= STEDMA40_BYTE_WIDTH
,
558 .dst_info
.data_width
= STEDMA40_BYTE_WIDTH
,
561 static struct stedma40_chan_cfg uart2_dma_cfg_rx
= {
562 .mode
= STEDMA40_MODE_LOGICAL
,
563 .dir
= STEDMA40_PERIPH_TO_MEM
,
564 .src_dev_type
= DB8500_DMA_DEV11_UART2_RX
,
565 .dst_dev_type
= STEDMA40_DEV_DST_MEMORY
,
566 .src_info
.data_width
= STEDMA40_BYTE_WIDTH
,
567 .dst_info
.data_width
= STEDMA40_BYTE_WIDTH
,
570 static struct stedma40_chan_cfg uart2_dma_cfg_tx
= {
571 .mode
= STEDMA40_MODE_LOGICAL
,
572 .dir
= STEDMA40_MEM_TO_PERIPH
,
573 .src_dev_type
= STEDMA40_DEV_SRC_MEMORY
,
574 .dst_dev_type
= DB8500_DMA_DEV11_UART2_TX
,
575 .src_info
.data_width
= STEDMA40_BYTE_WIDTH
,
576 .dst_info
.data_width
= STEDMA40_BYTE_WIDTH
,
580 struct amba_pl011_data uart0_plat
= {
581 #ifdef CONFIG_STE_DMA40
582 .dma_filter
= stedma40_filter
,
583 .dma_rx_param
= &uart0_dma_cfg_rx
,
584 .dma_tx_param
= &uart0_dma_cfg_tx
,
588 struct amba_pl011_data uart1_plat
= {
589 #ifdef CONFIG_STE_DMA40
590 .dma_filter
= stedma40_filter
,
591 .dma_rx_param
= &uart1_dma_cfg_rx
,
592 .dma_tx_param
= &uart1_dma_cfg_tx
,
596 struct amba_pl011_data uart2_plat
= {
597 #ifdef CONFIG_STE_DMA40
598 .dma_filter
= stedma40_filter
,
599 .dma_rx_param
= &uart2_dma_cfg_rx
,
600 .dma_tx_param
= &uart2_dma_cfg_tx
,
604 static void __init
mop500_uart_init(struct device
*parent
)
606 db8500_add_uart0(parent
, &uart0_plat
);
607 db8500_add_uart1(parent
, &uart1_plat
);
608 db8500_add_uart2(parent
, &uart2_plat
);
611 static void __init
u8500_cryp1_hash1_init(struct device
*parent
)
613 db8500_add_cryp1(parent
, &u8500_cryp1_platform_data
);
614 db8500_add_hash1(parent
, &u8500_hash1_platform_data
);
617 static struct platform_device
*snowball_platform_devs
[] __initdata
= {
621 &snowball_gpio_en_3v3_regulator_dev
,
622 &u8500_thsens_device
,
623 &u8500_cpufreq_cooling_device
,
626 static void __init
mop500_init_machine(void)
628 struct device
*parent
= NULL
;
632 platform_device_register(&db8500_prcmu_device
);
633 mop500_gpio_keys
[0].gpio
= GPIO_PROX_SENSOR
;
635 mop500_pinmaps_init();
636 parent
= u8500_init_devices(&ab8500_platdata
);
638 for (i
= 0; i
< ARRAY_SIZE(mop500_platform_devs
); i
++)
639 mop500_platform_devs
[i
]->dev
.parent
= parent
;
641 platform_add_devices(mop500_platform_devs
,
642 ARRAY_SIZE(mop500_platform_devs
));
644 mop500_i2c_init(parent
);
645 mop500_sdi_init(parent
);
646 mop500_spi_init(parent
);
647 mop500_audio_init(parent
);
648 mop500_uart_init(parent
);
650 u8500_cryp1_hash1_init(parent
);
652 i2c0_devs
= ARRAY_SIZE(mop500_i2c0_devices
);
654 i2c_register_board_info(0, mop500_i2c0_devices
, i2c0_devs
);
655 i2c_register_board_info(2, mop500_i2c2_devices
,
656 ARRAY_SIZE(mop500_i2c2_devices
));
658 /* This board has full regulator constraints */
659 regulator_has_full_constraints();
662 static void __init
snowball_init_machine(void)
664 struct device
*parent
= NULL
;
667 platform_device_register(&db8500_prcmu_device
);
668 snowball_pinmaps_init();
669 parent
= u8500_init_devices(&ab8500_platdata
);
671 for (i
= 0; i
< ARRAY_SIZE(snowball_platform_devs
); i
++)
672 snowball_platform_devs
[i
]->dev
.parent
= parent
;
674 platform_add_devices(snowball_platform_devs
,
675 ARRAY_SIZE(snowball_platform_devs
));
677 mop500_i2c_init(parent
);
678 snowball_sdi_init(parent
);
679 mop500_spi_init(parent
);
680 mop500_audio_init(parent
);
681 mop500_uart_init(parent
);
683 /* This board has full regulator constraints */
684 regulator_has_full_constraints();
687 static void __init
hrefv60_init_machine(void)
689 struct device
*parent
= NULL
;
693 platform_device_register(&db8500_prcmu_device
);
695 * The HREFv60 board removed a GPIO expander and routed
696 * all these GPIO pins to the internal GPIO controller
699 mop500_gpio_keys
[0].gpio
= HREFV60_PROX_SENSE_GPIO
;
701 hrefv60_pinmaps_init();
702 parent
= u8500_init_devices(&ab8500_platdata
);
704 for (i
= 0; i
< ARRAY_SIZE(mop500_platform_devs
); i
++)
705 mop500_platform_devs
[i
]->dev
.parent
= parent
;
707 platform_add_devices(mop500_platform_devs
,
708 ARRAY_SIZE(mop500_platform_devs
));
710 mop500_i2c_init(parent
);
711 hrefv60_sdi_init(parent
);
712 mop500_spi_init(parent
);
713 mop500_audio_init(parent
);
714 mop500_uart_init(parent
);
716 i2c0_devs
= ARRAY_SIZE(mop500_i2c0_devices
);
718 i2c0_devs
-= NUM_PRE_V60_I2C0_DEVICES
;
720 i2c_register_board_info(0, mop500_i2c0_devices
, i2c0_devs
);
721 i2c_register_board_info(2, mop500_i2c2_devices
,
722 ARRAY_SIZE(mop500_i2c2_devices
));
724 /* This board has full regulator constraints */
725 regulator_has_full_constraints();
728 MACHINE_START(U8500
, "ST-Ericsson MOP500 platform")
729 /* Maintainer: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> */
730 .atag_offset
= 0x100,
731 .smp
= smp_ops(ux500_smp_ops
),
732 .map_io
= u8500_map_io
,
733 .init_irq
= ux500_init_irq
,
734 /* we re-use nomadik timer here */
735 .init_time
= ux500_timer_init
,
736 .init_machine
= mop500_init_machine
,
737 .init_late
= ux500_init_late
,
740 MACHINE_START(U8520
, "ST-Ericsson U8520 Platform HREFP520")
741 .atag_offset
= 0x100,
742 .map_io
= u8500_map_io
,
743 .init_irq
= ux500_init_irq
,
744 .init_time
= ux500_timer_init
,
745 .init_machine
= mop500_init_machine
,
746 .init_late
= ux500_init_late
,
749 MACHINE_START(HREFV60
, "ST-Ericsson U8500 Platform HREFv60+")
750 .atag_offset
= 0x100,
751 .smp
= smp_ops(ux500_smp_ops
),
752 .map_io
= u8500_map_io
,
753 .init_irq
= ux500_init_irq
,
754 .init_time
= ux500_timer_init
,
755 .init_machine
= hrefv60_init_machine
,
756 .init_late
= ux500_init_late
,
759 MACHINE_START(SNOWBALL
, "Calao Systems Snowball platform")
760 .atag_offset
= 0x100,
761 .smp
= smp_ops(ux500_smp_ops
),
762 .map_io
= u8500_map_io
,
763 .init_irq
= ux500_init_irq
,
764 /* we re-use nomadik timer here */
765 .init_time
= ux500_timer_init
,
766 .init_machine
= snowball_init_machine
,