diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-01-09 08:17:01 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-06-10 12:41:34 -0400 |
commit | b5111d9ed4cba9a29ee454db162c4a88c6b944bf (patch) | |
tree | e96cceed7d6da4e000633fcea7ed3895e2d3acd0 /arch/arm/mach-nomadik | |
parent | 7c77852d2f22cebd5ca7c4ded4c47284e67ed9b5 (diff) |
ARM: nomadik: register PL031 RTC
This registers the PL031 derivate found in the Nomadik 8815
SoCs.
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-nomadik')
-rw-r--r-- | arch/arm/mach-nomadik/cpu-8815.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-nomadik/cpu-8815.c b/arch/arm/mach-nomadik/cpu-8815.c index c0f28a6d0d06..88511fef7987 100644 --- a/arch/arm/mach-nomadik/cpu-8815.c +++ b/arch/arm/mach-nomadik/cpu-8815.c | |||
@@ -92,6 +92,7 @@ static int __init cpu8815_init(void) | |||
92 | cpu8815_add_gpios(cpu8815_gpio_base, ARRAY_SIZE(cpu8815_gpio_base), | 92 | cpu8815_add_gpios(cpu8815_gpio_base, ARRAY_SIZE(cpu8815_gpio_base), |
93 | IRQ_GPIO0, &pdata); | 93 | IRQ_GPIO0, &pdata); |
94 | amba_apb_device_add(NULL, "rng", NOMADIK_RNG_BASE, SZ_4K, 0, 0, NULL, 0); | 94 | amba_apb_device_add(NULL, "rng", NOMADIK_RNG_BASE, SZ_4K, 0, 0, NULL, 0); |
95 | amba_apb_device_add(NULL, "rtc-pl031", NOMADIK_RTC_BASE, SZ_4K, IRQ_RTC_RTT, 0, NULL, 0); | ||
95 | return 0; | 96 | return 0; |
96 | } | 97 | } |
97 | arch_initcall(cpu8815_init); | 98 | arch_initcall(cpu8815_init); |