[PATCH 2/2] arm64: dts: st: enable secure arm-wdt watchdog on stm32mp257f-ev1

From: Alexandre Torgue
Date: Fri Sep 22 2023 - 04:11:43 EST


Enable the watchdog and define the default timeout to 32 seconds.

Signed-off-by: Lionel Debieve <lionel.debieve@xxxxxxxxxxx>
Signed-off-by: Alexandre Torgue <alexandre.torgue@xxxxxxxxxxx>

diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
index 6c3b83c2b48f..85891124a3a9 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
@@ -63,6 +63,11 @@
status = "okay";
};

+&arm_wdt {
+ timeout-sec = <32>;
+ status = "okay";
+};
+
&usart2 {
pinctrl-names = "default", "idle", "sleep";
pinctrl-0 = <&usart2_pins_a>;
--
2.17.1