[PATCH v3 2/3] configs: stm32mp13: activate watchdog

Patrice CHOTARD patrice.chotard at foss.st.com
Tue May 26 11:33:19 CEST 2026



On 5/20/26 18:07, Yann Gautier wrote:
> No watchdog was enabled for STM32MP13 platform. Add the required flags to
> support it. As done for STM32MP15 (in SCMI config) and STM32MP2x, we use
> the Arm SMC watchdog. The required nodes were already present in Linux
> imported DT files (stm32mp13.dtsi & stm32mp135f-dk.dts).
> To enable this SMC watchdog on other platforms based on STM32MP13, check
> that both the following flags are enabled in the dedicated config file:
> CONFIG_WDT=y
> CONFIG_WDT_ARM_SMC=y
> And that there is a node in Linux board DT that enables the feature, as
> it is done in stm32mp135f-dk.dts:
> &arm_wdt {
> 	timeout-sec = <32>;
> 	status = "okay";
> };
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> Signed-off-by: Yann Gautier <yann.gautier at foss.st.com>
> 
> ---
> 
> Changes in v3:
> - remove CONFIG_WDT_STM32MP
> - update commit message
> 
> Changes in v2:
> - update commit message
> 
>  configs/stm32mp13_defconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/configs/stm32mp13_defconfig b/configs/stm32mp13_defconfig
> index 620a6da2efe3..2ad57e23e445 100644
> --- a/configs/stm32mp13_defconfig
> +++ b/configs/stm32mp13_defconfig
> @@ -113,4 +113,6 @@ CONFIG_USB_GADGET_MANUFACTURER="STMicroelectronics"
>  CONFIG_USB_GADGET_VENDOR_NUM=0x0483
>  CONFIG_USB_GADGET_PRODUCT_NUM=0x5720
>  CONFIG_USB_GADGET_DWC2_OTG=y
> +CONFIG_WDT=y
> +CONFIG_WDT_ARM_SMC=y
>  CONFIG_ERRNO_STR=y

Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>

Thanks
Patrice


More information about the U-Boot mailing list