diff mbox series

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

Message ID 20230922081055.6242-3-alexandre.torgue@foss.st.com
State New
Headers show
Series [1/2] arm64: dts: st: add arm-wdt node for watchdog support on stm32mp251 | expand

Commit Message

Alexandre TORGUE Sept. 22, 2023, 8:10 a.m. UTC
Enable the watchdog and define the default timeout to 32 seconds.

Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
diff mbox series

Patch

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>;