* [PATCH v2] arm: dts: allwinner: t113s: enable watchdog for reboot
@ 2026-04-25 8:19 Michal Piekos
2026-05-05 16:23 ` Jernej Škrabec
0 siblings, 1 reply; 2+ messages in thread
From: Michal Piekos @ 2026-04-25 8:19 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai,
Jernej Skrabec, Samuel Holland
Cc: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel,
Michal Piekos
Reboot hangs on T113s boards because no restart handler is
available.
Enable the SoC watchdog whose driver registers a restart handler.
Tested on MangoPi MQ-R T113s.
Signed-off-by: Michal Piekos <michal.piekos@mmpsystems.pl>
---
Changes in v2:
- Moved watchdog enablement to SoC level dts following Jernej's
suggestion
- Link to v1: https://lore.kernel.org/r/20260412-t113-mangopi-reboot-hang-v1-1-5002cfa6e0cc@mmpsystems.pl
---
arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi b/arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi
index 424f4a2487e2..d3bbed84eedb 100644
--- a/arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi
+++ b/arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi
@@ -34,6 +34,12 @@ cpu1: cpu@1 {
};
};
+ soc {
+ wdt {
+ status = "okay";
+ };
+ };
+
gic: interrupt-controller@1c81000 {
compatible = "arm,gic-400";
reg = <0x03021000 0x1000>,
---
base-commit: 27d128c1cff64c3b8012cc56dd5a1391bb4f1821
change-id: 20260412-t113-mangopi-reboot-hang-c9a9def82e2b
Best regards,
--
Michal Piekos <michal.piekos@mmpsystems.pl>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] arm: dts: allwinner: t113s: enable watchdog for reboot
2026-04-25 8:19 [PATCH v2] arm: dts: allwinner: t113s: enable watchdog for reboot Michal Piekos
@ 2026-05-05 16:23 ` Jernej Škrabec
0 siblings, 0 replies; 2+ messages in thread
From: Jernej Škrabec @ 2026-05-05 16:23 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai,
Samuel Holland, Michal Piekos
Cc: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel,
Michal Piekos
Dne sobota, 25. april 2026 ob 10:19:40 Srednjeevropski poletni čas je Michal Piekos napisal(a):
> Reboot hangs on T113s boards because no restart handler is
> available.
>
> Enable the SoC watchdog whose driver registers a restart handler.
>
> Tested on MangoPi MQ-R T113s.
>
> Signed-off-by: Michal Piekos <michal.piekos@mmpsystems.pl>
> ---
> Changes in v2:
> - Moved watchdog enablement to SoC level dts following Jernej's
> suggestion
> - Link to v1: https://lore.kernel.org/r/20260412-t113-mangopi-reboot-hang-v1-1-5002cfa6e0cc@mmpsystems.pl
> ---
> arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi b/arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi
> index 424f4a2487e2..d3bbed84eedb 100644
> --- a/arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi
> +++ b/arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi
> @@ -34,6 +34,12 @@ cpu1: cpu@1 {
> };
> };
>
> + soc {
> + wdt {
> + status = "okay";
> + };
> + };
> +
> gic: interrupt-controller@1c81000 {
> compatible = "arm,gic-400";
> reg = <0x03021000 0x1000>,
>
Following, at the end of the file should work:
&wdt {
status = "okay";
};
Best regards,
Jernej
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-05 16:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-25 8:19 [PATCH v2] arm: dts: allwinner: t113s: enable watchdog for reboot Michal Piekos
2026-05-05 16:23 ` Jernej Škrabec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox