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 56e5d376486ac880ac43e1debb7c426b81fdf0e2..db24b41a5264072dc74d39d2497b1be72e8a2d93 100644 (file)
                        rtc: real-time-clock@d8500 {
                                compatible = "marvell,orion-rtc";
                                reg = <0xd8500 0x20>;
+                               interrupt-parent = <&pmu_intc>;
+                               interrupts = <5>;
                        };
 
                        crypto: crypto-engine@30000 {