ARM: u300: add RTC to device tree
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 19 Apr 2013 11:22:57 +0000 (13:22 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Jun 2013 11:54:25 +0000 (13:54 +0200)
This adds the COH 901 331 RTC to the U300 device tree.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/ste-u300.dts
arch/arm/mach-u300/core.c

index f0eb5f4..711a2d9 100644 (file)
                interrupts = <3>;
        };
 
+       rtc: rtc@c0017000 {
+               compatible = "stericsson,coh901331";
+               reg = <0xc0017000 0x1000>;
+               interrupt-parent = <&vicb>;
+               interrupts = <10>;
+       };
+
        i2c0: i2c@c0004000 {
                compatible = "st,ddci2c";
                reg = <0xc0004000 0x1000>;
index 190e788..637034b 100644 (file)
@@ -712,6 +712,8 @@ static struct of_dev_auxdata u300_auxdata_lookup[] __initdata = {
                "u300-gpio", &u300_gpio_plat),
        OF_DEV_AUXDATA("stericsson,coh901327", U300_WDOG_BASE,
                "coh901327_wdog", NULL),
+       OF_DEV_AUXDATA("stericsson,coh901331", U300_RTC_BASE,
+               "rtc-coh901331", NULL),
        OF_DEV_AUXDATA("arm,primecell", U300_UART0_BASE,
                "uart0", &uart0_plat_data),
        OF_DEV_AUXDATA("arm,primecell", U300_UART1_BASE,