OSDN Git Service

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 0b59eae..e270294 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>;