[PATCH v2 4/5] arm: dts: npcm8xx: add watchdog node

Jim Liu jim.t90615 at gmail.com
Wed Oct 11 10:45:32 CEST 2023


add npcm8xx watchdog node

Signed-off-by: Jim Liu <JJLIU0 at nuvoton.com>
---
 arch/arm/dts/nuvoton-common-npcm8xx.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm/dts/nuvoton-common-npcm8xx.dtsi b/arch/arm/dts/nuvoton-common-npcm8xx.dtsi
index fabe5925b7..fb544e5f1a 100644
--- a/arch/arm/dts/nuvoton-common-npcm8xx.dtsi
+++ b/arch/arm/dts/nuvoton-common-npcm8xx.dtsi
@@ -154,6 +154,30 @@
 				clock-names = "refclk";
 			};
 
+			watchdog0: watchdog at 801c {
+				compatible = "nuvoton,npcm750-wdt";
+				clocks = <&clk NPCM8XX_CLK_REFCLK>;
+				reg = <0x801c 0x4>;
+				interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
+				status = "disabled";
+			};
+
+			watchdog1: watchdog at 901c {
+				compatible = "nuvoton,npcm750-wdt";
+				clocks = <&clk NPCM8XX_CLK_REFCLK>;
+				reg = <0x901c 0x4>;
+				interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
+				status = "disabled";
+			};
+
+			watchdog2: watchdog at a01c {
+				compatible = "nuvoton,npcm750-wdt";
+				clocks = <&clk NPCM8XX_CLK_REFCLK>;
+				reg = <0xa01c 0x4>;
+				interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
+				status = "disabled";
+			};
+
 			serial0: serial at 0 {
 				compatible = "nuvoton,npcm845-uart", "nuvoton,npcm750-uart";
 				reg = <0x0 0x1000>;
-- 
2.34.1



More information about the U-Boot mailing list