ARM: dts: DRA7: Add node for RTC
authorLokesh Vutla <lokeshvutla@ti.com>
Wed, 19 Nov 2014 12:23:08 +0000 (17:53 +0530)
committerTony Lindgren <tony@atomide.com>
Sat, 22 Nov 2014 00:09:09 +0000 (16:09 -0800)
Add node for RTC.

Note that on dra7xx are no separate interrupts for alram
and timer unlike for SoCs.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
[nm@ti.com: update with rtc crossbar number]
Signed-off-by: Nishanth Menon <nm@ti.com>
[tony@atomide.com: updated comments]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7.dtsi

index 9cd99b931302622f10aad0551df710db3de68533..1442b48c4b04ce79b97c67728392db13689d4e92 100644 (file)
                        status = "disabled";
                };
 
+               rtc@48838000 {
+                       compatible = "ti,am3352-rtc";
+                       reg = <0x48838000 0x100>;
+                       interrupts = <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>;
+                       ti,hwmods = "rtcss";
+                       clocks = <&sys_32k_ck>;
+               };
+
                omap_control_usb2phy1: control-phy@4a002300 {
                        compatible = "ti,control-phy-usb2";
                        reg = <0x4a002300 0x4>;