From: Yann Gautier Date: Wed, 20 May 2026 16:07:14 +0000 (+0200) Subject: configs: stm32mp13: activate watchdog X-Git-Tag: v2026.07-rc4~16^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3a09d28d52b7da7fa337c44526747399055c281;p=thirdparty%2Fu-boot.git configs: stm32mp13: activate watchdog 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 Signed-off-by: Yann Gautier Reviewed-by: Patrice Chotard --- diff --git a/configs/stm32mp13_defconfig b/configs/stm32mp13_defconfig index 620a6da2efe..2ad57e23e44 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