aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2010-02-04 06:50:58 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-02-04 13:04:40 -0500
commit8e58ed34d926d89969796a0832ab38381a4c90ed (patch)
tree16b7a18a5b2e16bcb2993e15a899bb7ec7480d32 /arch/arm/mach-ux500
parentf28e8a4d027e4e21c3d0a52706527bb87397bea0 (diff)
ARM: 5915/1: Add RTC PL031 derivative platform config for ux500
This configures the PL031 RTC resources for ux500. Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r--arch/arm/mach-ux500/board-mop500.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index aa5afbcc90f9..f33dbb7b497b 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -108,11 +108,24 @@ static struct amba_device pl022_device = {
108 .periphid = SSP_PER_ID, 108 .periphid = SSP_PER_ID,
109}; 109};
110 110
111static struct amba_device pl031_device = {
112 .dev = {
113 .init_name = "pl031",
114 },
115 .res = {
116 .start = U8500_RTC_BASE,
117 .end = U8500_RTC_BASE + SZ_4K - 1,
118 .flags = IORESOURCE_MEM,
119 },
120 .irq = {IRQ_RTC_RTT, NO_IRQ},
121};
122
111static struct amba_device *amba_devs[] __initdata = { 123static struct amba_device *amba_devs[] __initdata = {
112 &uart0_device, 124 &uart0_device,
113 &uart1_device, 125 &uart1_device,
114 &uart2_device, 126 &uart2_device,
115 &pl022_device, 127 &pl022_device,
128 &pl031_device,
116}; 129};
117 130
118static void __init u8500_timer_init(void) 131static void __init u8500_timer_init(void)