]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/arm/mach-ux500/board-mop500.c
ARM: 5915/1: Add RTC PL031 derivative platform config for ux500
[net-next-2.6.git] / arch / arm / mach-ux500 / board-mop500.c
index aa5afbcc90f9a752dcc49f18010efe2e9315d0b6..f33dbb7b497b31ca9327f0ed6472b7f3ed392db3 100644 (file)
@@ -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)