[PATCH] ARM: zynq: zc706: Reset board on watchdog timeout

Michal Simek michal.simek at amd.com
Tue Nov 24 01:23:56 PST 2026


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.

Signed-off-by: Michal Simek <michal.simek at amd.com>
---

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(+)

diff --git a/arch/arm/boot/dts/xilinx/zynq-zc706.dts b/arch/arm/boot/dts/xilinx/zynq-zc706.dts
index 1ce35eaa607b..93b603df346d 100644
--- a/arch/arm/boot/dts/xilinx/zynq-zc706.dts
+++ b/arch/arm/boot/dts/xilinx/zynq-zc706.dts
@@ -363,3 +363,7 @@ &usb0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_usb0_default>;
 };
+
+&watchdog0 {
+	reset-on-timeout;
+};
---

-- 
2.43.0




More information about the linux-arm-kernel mailing list