arm64: dts: renesas: r9a07g054: Fillup the WDT{0,1,2} stub nodes
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Sun, 27 Feb 2022 20:37:40 +0000 (20:37 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 4 Apr 2022 09:05:45 +0000 (11:05 +0200)
Fillup the WDT{0,1,2} stub nodes in RZ/V2L (R9A07G054) SoC DTSI.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20220227203744.18355-9-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r9a07g054.dtsi

index 50cb2f0e6e732dc2956aab11ed506768d7abdfb6..a3623e70f02c96b34e78a56b021e86f403ae722b 100644 (file)
                };
 
                wdt0: watchdog@12800800 {
+                       compatible = "renesas,r9a07g054-wdt",
+                                    "renesas,rzg2l-wdt";
                        reg = <0 0x12800800 0 0x400>;
-                       /* place holder */
+                       clocks = <&cpg CPG_MOD R9A07G054_WDT0_PCLK>,
+                                <&cpg CPG_MOD R9A07G054_WDT0_CLK>;
+                       clock-names = "pclk", "oscclk";
+                       interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "wdt", "perrout";
+                       resets = <&cpg R9A07G054_WDT0_PRESETN>;
+                       power-domains = <&cpg>;
+                       status = "disabled";
                };
 
                wdt1: watchdog@12800c00 {
+                       compatible = "renesas,r9a07g054-wdt",
+                                    "renesas,rzg2l-wdt";
                        reg = <0 0x12800C00 0 0x400>;
-                       /* place holder */
+                       clocks = <&cpg CPG_MOD R9A07G054_WDT1_PCLK>,
+                                <&cpg CPG_MOD R9A07G054_WDT1_CLK>;
+                       clock-names = "pclk", "oscclk";
+                       interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "wdt", "perrout";
+                       resets = <&cpg R9A07G054_WDT1_PRESETN>;
+                       power-domains = <&cpg>;
+                       status = "disabled";
                };
 
                wdt2: watchdog@12800400 {
+                       compatible = "renesas,r9a07g054-wdt",
+                                    "renesas,rzg2l-wdt";
                        reg = <0 0x12800400 0 0x400>;
-                       /* place holder */
+                       clocks = <&cpg CPG_MOD R9A07G054_WDT2_PCLK>,
+                                <&cpg CPG_MOD R9A07G054_WDT2_CLK>;
+                       clock-names = "pclk", "oscclk";
+                       interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "wdt", "perrout";
+                       resets = <&cpg R9A07G054_WDT2_PRESETN>;
+                       power-domains = <&cpg>;
+                       status = "disabled";
                };
 
                ostm0: timer@12801000 {