Skip to content

Commit

Permalink
ARM: 5915/1: Add RTC PL031 derivative platform config for ux500
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Walleij authored and Russell King committed Feb 4, 2010
1 parent f28e8a4 commit 8e58ed3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions arch/arm/mach-ux500/board-mop500.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8e58ed3

Please sign in to comment.