[PATCH 2/4] ARM: dts: stm32: add the ARM SMC watchdog in stm32mp131.dtsi

Gatien Chevallier posted 4 patches 1 week, 6 days ago
[PATCH 2/4] ARM: dts: stm32: add the ARM SMC watchdog in stm32mp131.dtsi
Posted by Gatien Chevallier 1 week, 6 days ago
Add the arm_wdt node in the stm32mp131.dtsi SoC device tree file. When
the platform watchdog is managed by the secure world, SMC calls are used
to interact with it.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
---
 arch/arm/boot/dts/st/stm32mp131.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/st/stm32mp131.dtsi b/arch/arm/boot/dts/st/stm32mp131.dtsi
index 583938ea5c08163b1b100a2aef5894f4a7f34a51..ec385ad56bd42b694d2eda6a4a98c021fb3f25e7 100644
--- a/arch/arm/boot/dts/st/stm32mp131.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp131.dtsi
@@ -29,6 +29,12 @@ arm-pmu {
 		interrupt-parent = <&intc>;
 	};
 
+	arm_wdt: watchdog {
+		compatible = "arm,smc-wdt";
+		arm,smc-id = <0xbc000000>;
+		status = "disabled";
+	};
+
 	firmware {
 		optee {
 			method = "smc";

-- 
2.25.1