[PATCH v2] arm: dts: allwinner: t113s: enable watchdog for reboot

Jernej Škrabec jernej.skrabec at gmail.com
Tue May 5 09:23:33 PDT 2026


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 at 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 at 1 {
>  		};
>  	};
>  
> +	soc {
> +		wdt {
> +			status = "okay";
> +		};
> +	};
> +
>  	gic: interrupt-controller at 1c81000 {
>  		compatible = "arm,gic-400";
>  		reg = <0x03021000 0x1000>,
>

Following, at the end of the file should work:

&wdt {
	status = "okay";
};

Best regards,
Jernej





More information about the linux-arm-kernel mailing list