From: Linus Walleij Date: Thu, 4 Feb 2010 11:50:58 +0000 (+0100) Subject: ARM: 5915/1: Add RTC PL031 derivative platform config for ux500 X-Git-Tag: accepted/tizen/common/20141203.182822~12691^2~4^8~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e58ed34d926d89969796a0832ab38381a4c90ed;p=platform%2Fkernel%2Flinux-arm64.git ARM: 5915/1: Add RTC PL031 derivative platform config for ux500 This configures the PL031 RTC resources for ux500. Signed-off-by: Linus Walleij Signed-off-by: Russell King --- diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index aa5afbc..f33dbb7 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)