]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ge: bx50v3: use imx wdt
authorRobert Beckett <bob.beckett@collabora.com>
Tue, 12 Nov 2019 19:15:19 +0000 (19:15 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 7 Jan 2020 09:26:56 +0000 (10:26 +0100)
Enable DM imx WDT
Enable SYSRESET_WATCHDOG to maintain WDT based reset ability

Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
arch/arm/dts/imx6q-bx50v3-uboot.dtsi [new file with mode: 0644]
arch/arm/dts/imx6q-bx50v3.dtsi
configs/ge_bx50v3_defconfig

diff --git a/arch/arm/dts/imx6q-bx50v3-uboot.dtsi b/arch/arm/dts/imx6q-bx50v3-uboot.dtsi
new file mode 100644 (file)
index 0000000..88dd7e2
--- /dev/null
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0+ OR X11
+/*
+ * Copyright 2019 Collabora Ltd
+ * Copyright 2019 General Electric Company
+ */
+
+/ {
+       wdt-reboot {
+               compatible = "wdt-reboot";
+               wdt = <&wdog1>;
+       };
+};
index 009f88e305d77a82ca908cae8763f725de8eec39..bb8f562307966115973e7966216454df0d998362 100644 (file)
@@ -42,6 +42,7 @@
  */
 
 #include "imx6q-ba16.dtsi"
+#include "imx6q-bx50v3-uboot.dtsi"
 
 / {
        mclk: clock-mclk {
index 38ea981dd11b8c91eb75392c42a9af21a81943c1..81e450c854533b21da52d3e2343dc12f022362d3 100644 (file)
@@ -72,6 +72,9 @@ CONFIG_VIDEO_BPP16=y
 CONFIG_VIDEO_IPUV3=y
 CONFIG_WATCHDOG_TIMEOUT_MSECS=6000
 CONFIG_IMX_WATCHDOG=y
+CONFIG_WDT=y
+CONFIG_SYSRESET=y
+CONFIG_SYSRESET_WATCHDOG=y
 # CONFIG_EFI_LOADER is not set
 CONFIG_SYS_MALLOC_F_LEN=0x4000
 CONFIG_SYS_WHITE_ON_BLACK=y