riscv: dts: starfive: jh7110: Add watchdog node
authorXingyu Wu <xingyu.wu@starfivetech.com>
Thu, 3 Nov 2022 02:37:08 +0000 (10:37 +0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 28 Mar 2023 03:23:09 +0000 (12:23 +0900)
Add the watchdog node for the Starfive JH7110 SoC.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
arch/riscv/boot/dts/starfive/jh7110.dtsi

index 7e0de0a..3190bcb 100644 (file)
                        #gpio-cells = <2>;
                };
 
+               wdog: watchdog@13070000 {
+                       compatible = "starfive,jh7110-wdt";
+                       reg = <0x0 0x13070000 0x0 0x10000>;
+                       clocks = <&syscrg JH7110_SYSCLK_WDT_APB>,
+                                <&syscrg JH7110_SYSCLK_WDT_CORE>;
+                       clock-names = "apb", "core";
+                       resets = <&syscrg JH7110_SYSRST_WDT_APB>,
+                                <&syscrg JH7110_SYSRST_WDT_CORE>;
+               };
+
                aoncrg: clock-controller@17000000 {
                        compatible = "starfive,jh7110-aoncrg";
                        reg = <0x0 0x17000000 0x0 0x10000>;