ARM: dts: imx27: add support of internal rtc
authorPhilippe Reynes <tremyfr@gmail.com>
Sun, 26 Jul 2015 21:37:53 +0000 (23:37 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 11 Aug 2015 15:15:23 +0000 (23:15 +0800)
Add support of internal rtc on imx27.

Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx27.dtsi

index bc215e4..d0e000b 100644 (file)
                                clock-names = "ipg", "per";
                        };
 
+                       rtc: rtc@10007000 {
+                               compatible = "fsl,imx21-rtc";
+                               reg = <0x10007000 0x1000>;
+                               interrupts = <22>;
+                               clocks = <&clks IMX27_CLK_CKIL>,
+                                        <&clks IMX27_CLK_RTC_IPG_GATE>;
+                               clock-names = "ref", "ipg";
+                       };
+
                        kpp: kpp@10008000 {
                                compatible = "fsl,imx27-kpp", "fsl,imx21-kpp";
                                reg = <0x10008000 0x1000>;