aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorFabio Estevam2024-01-19 14:25:33 -0300
committerFabio Estevam2024-01-22 08:39:27 -0300
commitb06bfd65b6d999cca0c4123ce5d3071281c2380d (patch)
treea5559a8cb1265054e1bc334f02dab4d3af0a1719 /arch/arm/dts
parent67de291400725155afc637a18207a726781aa432 (diff)
wandboard: Convert to watchdog driver model
Commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") caused the 'reset' command in U-Boot to not cause a board reset. Fix it by switching to the watchdog driver model via sysreset, which is the preferred method for implementing the watchdog reset. Signed-off-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/imx6qdl-wandboard-u-boot.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6qdl-wandboard-u-boot.dtsi b/arch/arm/dts/imx6qdl-wandboard-u-boot.dtsi
index 46c4b3b31f4..80921e80123 100644
--- a/arch/arm/dts/imx6qdl-wandboard-u-boot.dtsi
+++ b/arch/arm/dts/imx6qdl-wandboard-u-boot.dtsi
@@ -6,4 +6,14 @@
aliases {
mmc0 = &usdhc3;
};
+
+ wdt-reboot {
+ compatible = "wdt-reboot";
+ wdt = <&wdog1>;
+ bootph-pre-ram;
+ };
+};
+
+&wdog1 {
+ bootph-pre-ram;
};