mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00

commit68dcbdd594
("ARM: imx: Add weak default reset_cpu()") introduced a regression that 'reset' command unable to reset imx6 and imx6ull based Toradex's modules in the u-boot. This change enables a watchdog-based sysreset driver for Toradex's colibri-imx6, colibri-imx6ull (with nand and emmc) and apalis-imx6 which solves the reset command regression on these modules. Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Fixes:68dcbdd594
("ARM: imx: Add weak default reset_cpu()") Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
34 lines
530 B
Text
34 lines
530 B
Text
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
/*
|
|
* Copyright 2022 Toradex
|
|
*/
|
|
|
|
#include "imx6qdl-u-boot.dtsi"
|
|
|
|
/ {
|
|
aliases {
|
|
/* U-Boot won't find PMIC otherwise */
|
|
i2c0 = &i2c3;
|
|
i2c1 = &i2c2;
|
|
/* SDHCI instance order: eMMC, 4-bit SD/MMC
|
|
* (U-Boot won't find ConfigBlock otherwise)
|
|
*/
|
|
mmc0 = &usdhc3;
|
|
mmc1 = &usdhc1;
|
|
};
|
|
|
|
sysinfo {
|
|
compatible = "toradex,sysinfo";
|
|
};
|
|
|
|
wdt-reboot {
|
|
compatible = "wdt-reboot";
|
|
wdt = <&wdog1>;
|
|
bootph-pre-ram;
|
|
};
|
|
};
|
|
|
|
&wdog1 {
|
|
status = "okay";
|
|
bootph-pre-ram;
|
|
};
|