arm64: dts: renesas: r9a09g011: Add watchdog node
authorFabrizio Castro <fabrizio.castro.jz@renesas.com>
Thu, 3 Nov 2022 22:39:55 +0000 (22:39 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 15 Nov 2022 08:40:10 +0000 (09:40 +0100)
The r9a09g011 (a.k.a. RZ/V2M) comes with two watchdog IPs,
but Linux is only allowed one.

Add a node for the watchdog allowed to Linux to the SoC
specific dtsi.

Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Link: https://lore.kernel.org/r/20221103223956.50575-3-fabrizio.castro.jz@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r9a09g011.dtsi

index ebaa8cd..2ccd48e 100644 (file)
                        status = "disabled";
                };
 
+               wdt0: watchdog@a4050000 {
+                       compatible = "renesas,r9a09g011-wdt",
+                                    "renesas,rzv2m-wdt";
+                       reg = <0 0xa4050000 0 0x80>;
+                       clocks = <&cpg CPG_MOD R9A09G011_WDT0_PCLK>,
+                                <&cpg CPG_MOD R9A09G011_WDT0_CLK>;
+                       clock-names = "pclk", "oscclk";
+                       interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
+                       resets = <&cpg R9A09G011_WDT0_PRESETN>;
+                       power-domains = <&cpg>;
+                       status = "disabled";
+               };
+
                pinctrl: pinctrl@b6250000 {
                        compatible = "renesas,r9a09g011-pinctrl";
                        reg = <0 0xb6250000 0 0x800>;