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

Alexandre Torgue alexandre.torgue at foss.st.com
Fri Sep 22 01:10:55 PDT 2023


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

Signed-off-by: Lionel Debieve <lionel.debieve at foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue at foss.st.com>

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




More information about the linux-arm-kernel mailing list