Skip to contentSkip to conversation

ARM: dts: ast2600: Make WDT by default disabled

PATCH In review Chia-Wei Wang 3 participants 3 messages Sep 16, 2021 – Oct 3, 2021 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: ast2600: Make WDT by default disabled

The WDT devices described in the general .dtsi file should be marked as "disabled" by default.

A WDT should be then enabled in the board specific .dts file on demands.

---
 arch/arm/dts/ast2600.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/dts/ast2600.dtsi +4 -0
index ac0f08b7ea..f121f547e6 100644
@@ -474,21 +474,25 @@
 			wdt1: watchdog@1e785000 {
 				compatible = "aspeed,ast2600-wdt";
 				reg = <0x1e785000 0x40>;
+				status = "disabled";
 			};
 
 			wdt2: watchdog@1e785040 {
 				compatible = "aspeed,ast2600-wdt";
 				reg = <0x1e785040 0x40>;
+				status = "disabled";
 			};
 
 			wdt3: watchdog@1e785080 {
 				compatible = "aspeed,ast2600-wdt";
 				reg = <0x1e785080 0x40>;
+				status = "disabled";
 			};
 
 			wdt4: watchdog@1e7850C0 {
 				compatible = "aspeed,ast2600-wdt";
 				reg = <0x1e7850C0 0x40>;
+				status = "disabled";
 			};
 
 			lpc: lpc@1e789000 {
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines

-----Original Message-----
From: ChiaWei Wang <[email protected]>
Sent: Thursday, September 16, 2021 2:10 PM
To: [email protected]
Cc: Ryan Chen <[email protected]>
Subject: [PATCH] ARM: dts: ast2600: Make WDT by default disabled

Quoted 6 lines

The WDT devices described in the general .dtsi file should be marked as "disabled" by default.

A WDT should be then enabled in the board specific .dts file on demands.

Quoted 36 lines
---
 arch/arm/dts/ast2600.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/dts/ast2600.dtsi index renamed from arch/arm/dts/ast2600.dtsi +0 -0

ac0f08b7ea..f121f547e6 100644

arch/arm/dts/ast2600.dtsi +4 -1
@@ -474,21 +474,25 @@
 			wdt1: watchdog@1e785000 {
 				compatible = "aspeed,ast2600-wdt";
 				reg = <0x1e785000 0x40>;
+				status = "disabled";
 			};
 
 			wdt2: watchdog@1e785040 {
 				compatible = "aspeed,ast2600-wdt";
 				reg = <0x1e785040 0x40>;
+				status = "disabled";
 			};
 
 			wdt3: watchdog@1e785080 {
 				compatible = "aspeed,ast2600-wdt";
 				reg = <0x1e785080 0x40>;
+				status = "disabled";
 			};
 
 			wdt4: watchdog@1e7850C0 {
 				compatible = "aspeed,ast2600-wdt";
 				reg = <0x1e7850C0 0x40>;
+				status = "disabled";
 			};
 
 			lpc: lpc@1e789000 {
--

2.17.1