riscv: dts: starfive: jh7100: Add watchdog node
authorXingyu Wu <xingyu.wu@starfivetech.com>
Tue, 9 May 2023 15:17:22 +0000 (23:17 +0800)
committerConor Dooley <conor.dooley@microchip.com>
Mon, 15 May 2023 16:44:38 +0000 (17:44 +0100)
Add watchdog node for the StarFive JH7100 RISC-V SoC.

Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/boot/dts/starfive/jh7100.dtsi

index 000447482acaa504020b9994c7e2701c8e09eb8d..4218621ea3b92c90a6b8b81bc4015649cc7eda3e 100644 (file)
                        #size-cells = <0>;
                        status = "disabled";
                };
+
+               watchdog@12480000 {
+                       compatible = "starfive,jh7100-wdt";
+                       reg = <0x0 0x12480000 0x0 0x10000>;
+                       clocks = <&clkgen JH7100_CLK_WDTIMER_APB>,
+                                <&clkgen JH7100_CLK_WDT_CORE>;
+                       clock-names = "apb", "core";
+                       resets = <&rstgen JH7100_RSTN_WDTIMER_APB>,
+                                <&rstgen JH7100_RSTN_WDT>;
+               };
        };
 };