Skip to contentSkip to conversation

arm64: dts: apple: t8103: Add watchdog node

PATCH Applied Sven Peter 2 participants 2 messages Dec 11, 2021 – Dec 12, 2021

Subsystems (2)
lore
Share & tools
lore

Sven Peter

author
#0 lore raw

PATCH 1/1 arm64: dts: apple: t8103: Add watchdog node

Add the watchdog node which also enables reboot support on the t8103.

---
 arch/arm64/boot/dts/apple/t8103.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/apple/t8103.dtsi +8 -0
index fc8b2bb06ffe..6ef28d833e4f 100644
@@ -199,6 +199,14 @@ pinctrl_nub: pinctrl@23d1f0000 {
 				     <AIC_IRQ 336 IRQ_TYPE_LEVEL_HIGH>;
 		};
 
+		wdt: watchdog@23d2b0000 {
+			compatible = "apple,t8103-wdt", "apple,wdt";
+			reg = <0x2 0x3d2b0000 0x0 0x4000>;
+			clocks = <&clk24>;
+			interrupt-parent = <&aic>;
+			interrupts = <AIC_IRQ 338 IRQ_TYPE_LEVEL_HIGH>;
+		};
+
 		pinctrl_smc: pinctrl@23e820000 {
 			compatible = "apple,t8103-pinctrl", "apple,pinctrl";
 			reg = <0x2 0x3e820000 0x0 0x4000>;
Signature · 1 line
2.25.1
Acked-by on v1 1/1 Applied
#1 lore raw
Quoted 17 lines · Sven Peter

Add the watchdog node which also enables reboot support on the t8103.

---
  arch/arm64/boot/dts/apple/t8103.dtsi | 8 ++++++++
  1 file changed, 8 insertions(+)
arch/arm64/boot/dts/apple/t8103.dtsi +1 -0
index fc8b2bb06ffe..6ef28d833e4f 100644
@@ -199,6 +199,14 @@ pinctrl_nub: pinctrl@23d1f0000 {
  				     <AIC_IRQ 336 IRQ_TYPE_LEVEL_HIGH>;
  		};
 
+		wdt: watchdog@23d2b0000 {

arch/arm64/boot/dts/apple/t8103.dtsi pinctrl_nub: pinctrl@23d1f0000 { · line 212

Quoted 10 lines
arch/arm64/boot/dts/apple/t8103.dtsi +7 -0
+			compatible = "apple,t8103-wdt", "apple,wdt";
+			reg = <0x2 0x3d2b0000 0x0 0x4000>;
+			clocks = <&clk24>;
+			interrupt-parent = <&aic>;
+			interrupts = <AIC_IRQ 338 IRQ_TYPE_LEVEL_HIGH>;
+		};
+
  		pinctrl_smc: pinctrl@23e820000 {
  			compatible = "apple,t8103-pinctrl", "apple,pinctrl";
  			reg = <0x2 0x3e820000 0x0 0x4000>;

Thanks! Applied to asahi-soc/dt :)

Signature · 2 lines
Hector Martin ([email protected])
Public Key: https://mrcn.st/pub