arm64: dts: renesas: r9a07g043: Fillup the WDT{0,2} stub nodes
authorBiju Das <biju.das.jz@bp.renesas.com>
Mon, 25 Apr 2022 17:05:23 +0000 (18:05 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 28 Apr 2022 14:51:33 +0000 (16:51 +0200)
Fillup the WDT{0,2} stub nodes in RZ/G2UL (R9A07G043) SoC DTSI.

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

index d161600..15335e9 100644 (file)
                };
 
                wdt0: watchdog@12800800 {
+                       compatible = "renesas,r9a07g043-wdt",
+                                    "renesas,rzg2l-wdt";
                        reg = <0 0x12800800 0 0x400>;
-                       /* place holder */
+                       clocks = <&cpg CPG_MOD R9A07G043_WDT0_PCLK>,
+                                <&cpg CPG_MOD R9A07G043_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 R9A07G043_WDT0_PRESETN>;
+                       power-domains = <&cpg>;
+                       status = "disabled";
                };
 
                wdt2: watchdog@12800400 {
+                       compatible = "renesas,r9a07g043-wdt",
+                                    "renesas,rzg2l-wdt";
                        reg = <0 0x12800400 0 0x400>;
-                       /* place holder */
+                       clocks = <&cpg CPG_MOD R9A07G043_WDT2_PCLK>,
+                                <&cpg CPG_MOD R9A07G043_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 R9A07G043_WDT2_PRESETN>;
+                       power-domains = <&cpg>;
+                       status = "disabled";
                };
 
                ostm0: timer@12801000 {