summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSébastien Szymanski <[email protected]>2024-02-23 12:28:04 +0100
committerFabio Estevam <[email protected]>2024-02-24 16:29:24 -0300
commit7c76b1b91bf67cd09fdf5dbd71590f9e580590fa (patch)
tree04100a413ed4ce0091d027cc6260d2ecbfd4fb15 /arch
parent73454c85cd91e8d0d43318c4110fcaf3ec4a6e33 (diff)
opos6uldev: 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: Sébastien Szymanski <[email protected]> Reviewed-by: Fabio Estevam <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/imx6ul-opos6ul-u-boot.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6ul-opos6ul-u-boot.dtsi b/arch/arm/dts/imx6ul-opos6ul-u-boot.dtsi
index ebfb95dcdf4..e65eeb8d8ce 100644
--- a/arch/arm/dts/imx6ul-opos6ul-u-boot.dtsi
+++ b/arch/arm/dts/imx6ul-opos6ul-u-boot.dtsi
@@ -9,6 +9,12 @@
soc {
bootph-pre-ram;
};
+
+ wdt-reboot {
+ compatible = "wdt-reboot";
+ wdt = <&wdog1>;
+ bootph-pre-ram;
+ };
};
&aips2 {
@@ -26,3 +32,7 @@
&usdhc1 {
bootph-pre-ram;
};
+
+&wdog1 {
+ bootph-pre-ram;
+};