Skip to contentSkip to conversation

arm64: dts: imx8qm: Add watchdog node

PATCH In review Oliver Graute 2 participants 2 messages Feb 9, 2022 – Feb 21, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: imx8qm: Add watchdog node

Enable the watchdog on imx8qm

Cc Rob Herring <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Dong Aisheng <[email protected]>

---
need to enable CONFIG_IMX_SC_WDT

 arch/arm64/boot/dts/freescale/imx8qm.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/freescale/imx8qm.dtsi +5 -0
index 87a4c3ec8861..b822f95f9baf 100644
@@ -169,6 +169,11 @@
 
 	};
 
+	watchdog {
+		compatible = "fsl,imx8qm-sc-wdt", "fsl,imx-sc-wdt";
+		timeout-sec = <60>;
+	};
+
 	/* sorted in register address */
 	#include "imx8-ss-img.dtsi"
 	#include "imx8-ss-dma.dtsi"
Signature · 1 line
2.17.1
#1 lore raw
Quoted 8 lines · Oliver Graute

Enable the watchdog on imx8qm

Cc Rob Herring <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Dong Aisheng <[email protected]>

It doesn't apply for me.

Shawn

Quoted 25 lines

---
need to enable CONFIG_IMX_SC_WDT

 arch/arm64/boot/dts/freescale/imx8qm.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/freescale/imx8qm.dtsi +5 -0
index 87a4c3ec8861..b822f95f9baf 100644
@@ -169,6 +169,11 @@
 
 	};
 
+	watchdog {
+		compatible = "fsl,imx8qm-sc-wdt", "fsl,imx-sc-wdt";
+		timeout-sec = <60>;
+	};
+
 	/* sorted in register address */
 	#include "imx8-ss-img.dtsi"
 	#include "imx8-ss-dma.dtsi"
Signature · 1 line
2.17.1