ARM: dts: r9a06g032: Describe the RTC
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 29 Apr 2022 10:46:02 +0000 (12:46 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 6 May 2022 09:09:34 +0000 (11:09 +0200)
Describe the SoC RTC which counts time and provides alarm support.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20220429104602.368055-7-miquel.raynal@bootlin.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm/boot/dts/r9a06g032.dtsi

index 50fc2e04877e71555e250741ee9d851e466aced1..2d5756935d983f258a1cae1dbeb448ea42632c57 100644 (file)
                interrupt-parent = <&gic>;
                ranges;
 
+               rtc0: rtc@40006000 {
+                       compatible = "renesas,r9a06g032-rtc", "renesas,rzn1-rtc";
+                       reg = <0x40006000 0x1000>;
+                       interrupts = <GIC_SPI 66 IRQ_TYPE_EDGE_RISING>,
+                                    <GIC_SPI 67 IRQ_TYPE_EDGE_RISING>,
+                                    <GIC_SPI 68 IRQ_TYPE_EDGE_RISING>;
+                       interrupt-names = "alarm", "timer", "pps";
+                       clocks = <&sysctrl R9A06G032_HCLK_RTC>;
+                       clock-names = "hclk";
+                       power-domains = <&sysctrl>;
+                       status = "disabled";
+               };
+
                wdt0: watchdog@40008000 {
                        compatible = "renesas,r9a06g032-wdt", "renesas,rzn1-wdt";
                        reg = <0x40008000 0x1000>;