summaryrefslogtreecommitdiff
path: root/arch/arm/dts/imx8mm-evk-u-boot.dtsi
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2020-04-29 15:04:24 +0200
committerStefano Babic <sbabic@denx.de>2020-05-01 13:46:22 +0200
commit77cfd0d2b6cd9b318d2b5f4c91e2611bbf1a656f (patch)
treec93383b98628937bc84b3361d1d4c7e89a7777ba /arch/arm/dts/imx8mm-evk-u-boot.dtsi
parentc5635a032a4bc63148c3ecd09c4cc49632b4fa4a (diff)
ARM: imx8m: Fix reset in SPL on NXP iMX8MM EVK
Board files should not re-implement do_reset() to work around this function not being defined in for specific configurations. Rather, the fix is to compile in drivers which implement this properly. This patch enables sysreset and watchdog drivers in SPL and ties them together to implement the same as the do_reset() hack in the board file, except correctly in the DM/DT framework. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: Flavio Suligoi <f.suligoi@asem.it> Cc: Harald Seiler <hws@denx.de> Cc: Igor Opaniuk <igor.opaniuk@toradex.com> Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com> Cc: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/dts/imx8mm-evk-u-boot.dtsi')
-rw-r--r--arch/arm/dts/imx8mm-evk-u-boot.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/dts/imx8mm-evk-u-boot.dtsi b/arch/arm/dts/imx8mm-evk-u-boot.dtsi
index 3502602fbb..b5c12105a9 100644
--- a/arch/arm/dts/imx8mm-evk-u-boot.dtsi
+++ b/arch/arm/dts/imx8mm-evk-u-boot.dtsi
@@ -3,6 +3,14 @@
* Copyright 2019 NXP
*/
+/ {
+ wdt-reboot {
+ compatible = "wdt-reboot";
+ wdt = <&wdog1>;
+ u-boot,dm-spl;
+ };
+};
+
&{/soc@0} {
u-boot,dm-pre-reloc;
u-boot,dm-spl;
@@ -117,3 +125,7 @@
&fec1 {
phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
};
+
+&wdog1 {
+ u-boot,dm-spl;
+};