diff options
| author | Fabio Estevam <[email protected]> | 2024-08-09 12:12:47 -0300 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2024-08-13 09:30:44 -0300 |
| commit | a4c707f56bcaa6d6eb9cfcbefa7f7f5e16d6cf6b (patch) | |
| tree | 4a93d0b405ff81629ac2fb7d80c24460fda035a7 /arch | |
| parent | 9ef9d90147ad6255d64f6206107d6a81f37a7a68 (diff) | |
tqma6q_mba6: 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/imx6dl-mba6b-u-boot.dtsi | 3 | ||||
| -rw-r--r-- | arch/arm/dts/imx6q-mba6b-u-boot.dtsi | 3 | ||||
| -rw-r--r-- | arch/arm/dts/imx6qdl-mba6-u-boot.dtsi | 15 |
3 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6dl-mba6b-u-boot.dtsi b/arch/arm/dts/imx6dl-mba6b-u-boot.dtsi new file mode 100644 index 00000000000..bb17ba9b424 --- /dev/null +++ b/arch/arm/dts/imx6dl-mba6b-u-boot.dtsi @@ -0,0 +1,3 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include "imx6qdl-mba6-u-boot.dtsi" diff --git a/arch/arm/dts/imx6q-mba6b-u-boot.dtsi b/arch/arm/dts/imx6q-mba6b-u-boot.dtsi new file mode 100644 index 00000000000..bb17ba9b424 --- /dev/null +++ b/arch/arm/dts/imx6q-mba6b-u-boot.dtsi @@ -0,0 +1,3 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include "imx6qdl-mba6-u-boot.dtsi" diff --git a/arch/arm/dts/imx6qdl-mba6-u-boot.dtsi b/arch/arm/dts/imx6qdl-mba6-u-boot.dtsi new file mode 100644 index 00000000000..78457ef68f4 --- /dev/null +++ b/arch/arm/dts/imx6qdl-mba6-u-boot.dtsi @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include "imx6qdl-u-boot.dtsi" + +/ { + wdt-reboot { + compatible = "wdt-reboot"; + wdt = <&wdog1>; + bootph-pre-ram; + }; +}; + +&wdog1 { + bootph-pre-ram; +}; |
