OSDN Git Service

ARM: dts: r9a06g032: Add the watchdog nodes
authorJean-Jacques Hiblot <jjhiblot@traphandler.com>
Mon, 21 Feb 2022 09:50:29 +0000 (10:50 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 24 Feb 2022 12:48:45 +0000 (13:48 +0100)
This SoC includes 2 watchdog controllers (one per A7 core).

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@traphandler.com>
Link: https://lore.kernel.org/r/20220221095032.95054-4-jjhiblot@traphandler.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm/boot/dts/r9a06g032.dtsi

index db65722..636a6ab 100644 (file)
                interrupt-parent = <&gic>;
                ranges;
 
+               wdt0: watchdog@40008000 {
+                       compatible = "renesas,r9a06g032-wdt", "renesas,rzn1-wdt";
+                       reg = <0x40008000 0x1000>;
+                       interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
+                       clocks = <&sysctrl R9A06G032_CLK_WATCHDOG>;
+                       status = "disabled";
+               };
+
+               wdt1: watchdog@40009000 {
+                       compatible = "renesas,r9a06g032-wdt", "renesas,rzn1-wdt";
+                       reg = <0x40009000 0x1000>;
+                       interrupts = <GIC_SPI 74 IRQ_TYPE_EDGE_RISING>;
+                       clocks = <&sysctrl R9A06G032_CLK_WATCHDOG>;
+                       status = "disabled";
+               };
+
                sysctrl: system-controller@4000c000 {
                        compatible = "renesas,r9a06g032-sysctrl";
                        reg = <0x4000c000 0x1000>;