ARM: zynq: zc706: Reset board on watchdog timeout
Subsystems (2)
Michal Simek
maintainerPATCH 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.
Signed-off-by Michal Simek <[email protected]>
---
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
@@ -363,3 +363,7 @@ &usb0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usb0_default>; }; + +&watchdog0 { + reset-on-timeout; +};
---
Signature · 1 line
2.43.0
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.
Signed-off-by Michal Simek <[email protected]>---
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
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