ARM: dts: lpc18xx: add rtc node
authorJoachim Eastwood <manabian@gmail.com>
Thu, 2 Apr 2015 03:32:34 +0000 (05:32 +0200)
committerJoachim Eastwood <manabian@gmail.com>
Tue, 29 Mar 2016 19:55:44 +0000 (21:55 +0200)
Add node for the internal RTC found on all lpc18xx SoCs.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
arch/arm/boot/dts/lpc18xx.dtsi

index 0b59eae1608dc4f9c04c3c58263cd2cb5e739d9f..e27029425d18d9e810a9a87872ae0c854919cb4e 100644 (file)
                        };
                };
 
+               rtc: rtc@40046000 {
+                       compatible = "nxp,lpc1850-rtc", "nxp,lpc1788-rtc";
+                       reg = <0x40046000 0x1000>;
+                       interrupts = <47>;
+                       clocks = <&creg_clk 0>, <&ccu1 CLK_CPU_BUS>;
+                       clock-names = "rtc", "reg";
+               };
+
                cgu: clock-controller@40050000 {
                        compatible = "nxp,lpc1850-cgu";
                        reg = <0x40050000 0x1000>;