summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Salveti <[email protected]>2021-09-21 14:48:26 +0300
committerStefano Babic <[email protected]>2021-10-07 16:53:50 +0200
commit5089d2fc8e4efc3ffad861fe2d127ff40b2f8064 (patch)
tree834ddab4ab248e48785c12c823f52cda159228c3
parentaf2d3c91d8772e3d0eacef45a3bac8a4cbdb60ae (diff)
ARM: dts: imx6-apalis: enable watchdog
Add u-boot.dtsi specific to imx6-apalis with a watchdog enabled. If OP-TEE is loaded by SPL, it may use a watchdog to handle fails of u-boot running. Enable the watchdog in SPL to use it by OP-TEE. Signed-off-by: Ricardo Salveti <[email protected]> Signed-off-by: Oleksandr Suvorov <[email protected]> Reviewed-by: Igor Opaniuk <[email protected]> Reviewed-by: Peng Fan <[email protected]>
-rw-r--r--arch/arm/dts/imx6-apalis-u-boot.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6-apalis-u-boot.dtsi b/arch/arm/dts/imx6-apalis-u-boot.dtsi
new file mode 100644
index 00000000000..95e7e022b9a
--- /dev/null
+++ b/arch/arm/dts/imx6-apalis-u-boot.dtsi
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0+ OR X11
+/*
+ * Copyright 2020 Foundries.IO
+ */
+
+#include "imx6qdl-u-boot.dtsi"
+
+&wdog1 {
+ status = "okay";
+ u-boot,dm-spl;
+};