提交 8e58ed34 编写于 作者: L Linus Walleij 提交者: Russell King

ARM: 5915/1: Add RTC PL031 derivative platform config for ux500

This configures the PL031 RTC resources for ux500.
Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 f28e8a4d
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册