[PATCH v4 15/15] arm64: dts: st: enable iwdg2 on stm32mp2xx ST boards
From: Antonio Borneo
Date: Mon Nov 16 2026 - 08:26:19 EST
Enable the node for IWDG2 in the STM32MP2xx ST boards to make the
watchdog available for userspace.
With two watchdogs now enabled on ST STM32MP2xx boards, assign the
watchdog0 alias to the ARM SMC watchdog that may have been started
by an earlier boot stage. This allows userspace to identify and
ping the appropriate watchdog.
While there, sort alphabetically the aliases.
Signed-off-by: Antonio Borneo <antonio.borneo@xxxxxxxxxxx>
---
arch/arm64/boot/dts/st/stm32mp235f-dk.dts | 6 ++++++
arch/arm64/boot/dts/st/stm32mp257f-dk.dts | 8 +++++++-
arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 6 ++++++
3 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts b/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
index f06b334dc9ce1..c71b914547308 100644
--- a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
+++ b/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
@@ -22,6 +22,7 @@ / {
aliases {
ethernet0 = ðernet1;
serial0 = &usart2;
+ watchdog0 = &arm_wdt;
};
chosen {
@@ -263,6 +264,11 @@ &i2c8 {
/delete-property/dma-names;
};
+&iwdg2 {
+ timeout-sec = <32>;
+ status = "okay";
+};
+
<dc {
status = "okay";
port {
diff --git a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
index a8f18508db3e4..aa922abccdbc5 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
@@ -21,9 +21,10 @@ / {
aliases {
ethernet0 = ðernet1;
- serial0 = &usart2;
mmc0 = &sdmmc1;
mmc1 = &sdmmc2;
+ serial0 = &usart2;
+ watchdog0 = &arm_wdt;
};
chosen {
@@ -271,6 +272,11 @@ &i2c8 {
/delete-property/dma-names;
};
+&iwdg2 {
+ timeout-sec = <32>;
+ status = "okay";
+};
+
<dc {
status = "okay";
port {
diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
index 782b4bb843eeb..dcfc29c620b02 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
@@ -24,6 +24,7 @@ aliases {
ethernet1 = ðernet1;
serial0 = &usart2;
serial1 = &usart6;
+ watchdog0 = &arm_wdt;
};
chosen {
@@ -294,6 +295,11 @@ &i2c8 {
/delete-property/dma-names;
};
+&iwdg2 {
+ timeout-sec = <32>;
+ status = "okay";
+};
+
/* use LPTIMER with tick broadcast for suspend mode */
&lptimer3 {
status = "okay";
--
2.34.1