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 bc215e4b75fd52c6e5b2e271b4a9e6265d442205..d0e000b21d38144891b1ca4631b57ff2cbcb0624 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>;