Skip to contentSkip to conversation

ARM: zynq: zc706: Reset board on watchdog timeout

PATCH Applied Michal Simek 1 participant 2 messages Nov 24 – Dec 1

Subsystems (2)
lore
Share & tools
lore

Michal Simek

author maintainer
#0 lore raw

PATCH 1/1 ARM: zynq: zc706: Reset board on watchdog timeout

The watchdog resets the board when it expires, instead of only logging it. This lets the board recover from a hung system without a manual power cycle.

---

There is no any other Zynq board with it that's why enable it to have this mode covered.

---
 arch/arm/boot/dts/xilinx/zynq-zc706.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/xilinx/zynq-zc706.dts +4 -0
index 1ce35eaa607b..93b603df346d 100644
@@ -363,3 +363,7 @@ &usb0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_usb0_default>;
 };
+
+&watchdog0 {
+	reset-on-timeout;
+};

---

Signature · 1 line
2.43.0
author maintainer Applied
#1 lore raw
Quoted 19 lines · Michal Simek

The watchdog resets the board when it expires, instead of only logging it. This lets the board recover from a hung system without a manual power cycle.

---

There is no any other Zynq board with it that's why enable it to have this mode covered.

---
  arch/arm/boot/dts/xilinx/zynq-zc706.dts | 4 ++++
  1 file changed, 4 insertions(+)
arch/arm/boot/dts/xilinx/zynq-zc706.dts +0 -0
index 1ce35eaa607b..93b603df346d 100644

arch/arm/boot/dts/xilinx/zynq-zc706.dts &usb0 {

Quoted 8 lines
arch/arm/boot/dts/xilinx/zynq-zc706.dts +4 -1
@@ -363,3 +363,7 @@ &usb0 {
  	pinctrl-names = "default";
  	pinctrl-0 = <&pinctrl_usb0_default>;
  };
+
+&watchdog0 {
+	reset-on-timeout;
+};
---

Applied.
M