]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: dts: jh7110: Add watchdog device tree node
authorChanho Park <chanho61.park@samsung.com>
Sun, 5 Nov 2023 23:13:17 +0000 (08:13 +0900)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 5 Dec 2023 08:40:16 +0000 (16:40 +0800)
Adds jh7110 watchdog device tree node.

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/dts/jh7110.dtsi

index 13c47f7caa36a4c5ebd01ecfac977fd91f0a2045..6d2675d6ceacdf2f33fa168a2686e0818f602563 100644 (file)
                        #gpio-cells = <2>;
                };
 
+               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>;
+               };
+
                mmc0: mmc@16010000 {
                        compatible = "starfive,jh7110-mmc";
                        reg = <0x0 0x16010000 0x0 0x10000>;