aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/board-mop500.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.c')
-rw-r--r--arch/arm/mach-ux500/board-mop500.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index b8781caa54b8..3868aa4ff15e 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -40,7 +40,6 @@
40 40
41#include <asm/mach-types.h> 41#include <asm/mach-types.h>
42#include <asm/mach/arch.h> 42#include <asm/mach/arch.h>
43#include <asm/hardware/gic.h>
44 43
45#include <mach/hardware.h> 44#include <mach/hardware.h>
46#include <mach/setup.h> 45#include <mach/setup.h>
@@ -197,7 +196,7 @@ static struct platform_device snowball_sbnet_dev = {
197 }, 196 },
198}; 197};
199 198
200static struct ab8500_platform_data ab8500_platdata = { 199struct ab8500_platform_data ab8500_platdata = {
201 .irq_base = MOP500_AB8500_IRQ_BASE, 200 .irq_base = MOP500_AB8500_IRQ_BASE,
202 .regulator_reg_init = ab8500_regulator_reg_init, 201 .regulator_reg_init = ab8500_regulator_reg_init,
203 .num_regulator_reg_init = ARRAY_SIZE(ab8500_regulator_reg_init), 202 .num_regulator_reg_init = ARRAY_SIZE(ab8500_regulator_reg_init),
@@ -633,6 +632,7 @@ static void __init mop500_init_machine(void)
633 int i2c0_devs; 632 int i2c0_devs;
634 int i; 633 int i;
635 634
635 platform_device_register(&db8500_prcmu_device);
636 mop500_gpio_keys[0].gpio = GPIO_PROX_SENSOR; 636 mop500_gpio_keys[0].gpio = GPIO_PROX_SENSOR;
637 637
638 mop500_pinmaps_init(); 638 mop500_pinmaps_init();
@@ -667,6 +667,7 @@ static void __init snowball_init_machine(void)
667 struct device *parent = NULL; 667 struct device *parent = NULL;
668 int i; 668 int i;
669 669
670 platform_device_register(&db8500_prcmu_device);
670 snowball_pinmaps_init(); 671 snowball_pinmaps_init();
671 parent = u8500_init_devices(&ab8500_platdata); 672 parent = u8500_init_devices(&ab8500_platdata);
672 673
@@ -692,6 +693,7 @@ static void __init hrefv60_init_machine(void)
692 int i2c0_devs; 693 int i2c0_devs;
693 int i; 694 int i;
694 695
696 platform_device_register(&db8500_prcmu_device);
695 /* 697 /*
696 * The HREFv60 board removed a GPIO expander and routed 698 * The HREFv60 board removed a GPIO expander and routed
697 * all these GPIO pins to the internal GPIO controller 699 * all these GPIO pins to the internal GPIO controller
@@ -733,8 +735,7 @@ MACHINE_START(U8500, "ST-Ericsson MOP500 platform")
733 .map_io = u8500_map_io, 735 .map_io = u8500_map_io,
734 .init_irq = ux500_init_irq, 736 .init_irq = ux500_init_irq,
735 /* we re-use nomadik timer here */ 737 /* we re-use nomadik timer here */
736 .timer = &ux500_timer, 738 .init_time = ux500_timer_init,
737 .handle_irq = gic_handle_irq,
738 .init_machine = mop500_init_machine, 739 .init_machine = mop500_init_machine,
739 .init_late = ux500_init_late, 740 .init_late = ux500_init_late,
740MACHINE_END 741MACHINE_END
@@ -743,8 +744,7 @@ MACHINE_START(U8520, "ST-Ericsson U8520 Platform HREFP520")
743 .atag_offset = 0x100, 744 .atag_offset = 0x100,
744 .map_io = u8500_map_io, 745 .map_io = u8500_map_io,
745 .init_irq = ux500_init_irq, 746 .init_irq = ux500_init_irq,
746 .timer = &ux500_timer, 747 .init_time = ux500_timer_init,
747 .handle_irq = gic_handle_irq,
748 .init_machine = mop500_init_machine, 748 .init_machine = mop500_init_machine,
749 .init_late = ux500_init_late, 749 .init_late = ux500_init_late,
750MACHINE_END 750MACHINE_END
@@ -754,8 +754,7 @@ MACHINE_START(HREFV60, "ST-Ericsson U8500 Platform HREFv60+")
754 .smp = smp_ops(ux500_smp_ops), 754 .smp = smp_ops(ux500_smp_ops),
755 .map_io = u8500_map_io, 755 .map_io = u8500_map_io,
756 .init_irq = ux500_init_irq, 756 .init_irq = ux500_init_irq,
757 .timer = &ux500_timer, 757 .init_time = ux500_timer_init,
758 .handle_irq = gic_handle_irq,
759 .init_machine = hrefv60_init_machine, 758 .init_machine = hrefv60_init_machine,
760 .init_late = ux500_init_late, 759 .init_late = ux500_init_late,
761MACHINE_END 760MACHINE_END
@@ -766,8 +765,7 @@ MACHINE_START(SNOWBALL, "Calao Systems Snowball platform")
766 .map_io = u8500_map_io, 765 .map_io = u8500_map_io,
767 .init_irq = ux500_init_irq, 766 .init_irq = ux500_init_irq,
768 /* we re-use nomadik timer here */ 767 /* we re-use nomadik timer here */
769 .timer = &ux500_timer, 768 .init_time = ux500_timer_init,
770 .handle_irq = gic_handle_irq,
771 .init_machine = snowball_init_machine, 769 .init_machine = snowball_init_machine,
772 .init_late = NULL, 770 .init_late = NULL,
773MACHINE_END 771MACHINE_END