diff options
| author | Fabio Estevam <[email protected]> | 2024-02-21 14:39:30 -0300 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2024-02-24 16:29:00 -0300 |
| commit | 73454c85cd91e8d0d43318c4110fcaf3ec4a6e33 (patch) | |
| tree | 76d8aef27a0168afe967e333fc29a0f48b5a17eb /arch | |
| parent | ed7824c2265f7cab5d456af2c21ccf1dabcb006f (diff) | |
imx53-qsb: 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 <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/dts/imx53-qsb-u-boot.dtsi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/dts/imx53-qsb-u-boot.dtsi b/arch/arm/dts/imx53-qsb-u-boot.dtsi new file mode 100644 index 00000000000..18cf7085cca --- /dev/null +++ b/arch/arm/dts/imx53-qsb-u-boot.dtsi @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/ { + wdt-reboot { + compatible = "wdt-reboot"; + wdt = <&wdog1>; + bootph-pre-ram; + }; +}; + +&wdog1 { + bootph-pre-ram; +}; |
