mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ARM: zynq: zc706: Reset board on watchdog timeout
@ 2026-11-24  9:23 Michal Simek
  0 siblings, 0 replies; only message in thread
From: Michal Simek @ 2026-11-24  9:23 UTC (permalink / raw)
  To: linux-kernel, monstr, michal.simek, git
  Cc: Conor Dooley, Krzysztof Kozlowski, Rob Herring,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	moderated list:ARM/ZYNQ ARCHITECTURE

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@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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-24  9:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-24  9:23 [PATCH] ARM: zynq: zc706: Reset board on watchdog timeout Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®