summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2010-02-04 14:50:58 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-02-04 21:04:40 +0300
commit8e58ed34d926d89969796a0832ab38381a4c90ed (patch)
tree16b7a18a5b2e16bcb2993e15a899bb7ec7480d32 /arch/arm/mach-ux500
parentf28e8a4d027e4e21c3d0a52706527bb87397bea0 (diff)
downloadlinux-8e58ed34d926d89969796a0832ab38381a4c90ed.tar.xz
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 = {
.periphid = SSP_PER_ID,
};
+static struct amba_device pl031_device = {
+ .dev = {
+ .init_name = "pl031",
+ },
+ .res = {
+ .start = U8500_RTC_BASE,
+ .end = U8500_RTC_BASE + SZ_4K - 1,
+ .flags = IORESOURCE_MEM,
+ },
+ .irq = {IRQ_RTC_RTT, NO_IRQ},
+};
+
static struct amba_device *amba_devs[] __initdata = {
&uart0_device,
&uart1_device,
&uart2_device,
&pl022_device,
+ &pl031_device,
};
static void __init u8500_timer_init(void)