ARM: Dove: Add RTC interrupt via PMU interrupt controller.
authorAndrew Lunn <andrew@lunn.ch>
Tue, 26 Nov 2013 16:10:49 +0000 (16:10 +0000)
committerJason Cooper <jason@lakedaemon.net>
Tue, 26 Nov 2013 16:10:49 +0000 (16:10 +0000)
The RTC on Dove has an interrupt on the PMU interrupt controller.
Add this interrupt to the RTC node. Tested using the
"RTC Driver Test Example"

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/dove.dtsi

index 56e5d37..db24b41 100644 (file)
                        rtc: real-time-clock@d8500 {
                                compatible = "marvell,orion-rtc";
                                reg = <0xd8500 0x20>;
+                               interrupt-parent = <&pmu_intc>;
+                               interrupts = <5>;
                        };
 
                        crypto: crypto-engine@30000 {