Skip to contentSkip to conversation

ARM: dts: imx6-apalis: enable watchdog

PATCH In review Oleksandr Suvorov 4 participants 4 messages Sep 21, 2021 – Oct 7, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx6-apalis: enable watchdog

From: Ricardo Salveti <[email protected]>

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.

---

 arch/arm/dts/imx6-apalis-u-boot.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 arch/arm/dts/imx6-apalis-u-boot.dtsi
arch/arm/dts/imx6-apalis-u-boot.dtsi new file +11 -0
new file mode 100644
index 0000000000..95e7e022b9
@@ -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;
+};
Signature · 1 line
2.31.1
Reviewed-by on v1 1/1
#1 lore raw

Hi Oleksandr,

Quoted 34 lines · Oleksandr Suvorov

From: Ricardo Salveti <[email protected]>

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.

---

 arch/arm/dts/imx6-apalis-u-boot.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 arch/arm/dts/imx6-apalis-u-boot.dtsi
arch/arm/dts/imx6-apalis-u-boot.dtsi new file +11 -1
new file mode 100644
index 0000000000..95e7e022b9
@@ -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;
+};
--
Quoted 2 lines

2.31.1

Signature · 7 lines
Best regards - Freundliche Grüsse - Meilleures salutations

Igor Opaniuk
Embedded Software Engineer
T:  +380 938364067
E: [email protected]
W: www.foundries.io
Reviewed-by Peng Fan on v1 1/1
#2 lore raw
In reply to Oleksandr Suvorov
Quoted 23 lines · Oleksandr Suvorov

From: Ricardo Salveti <[email protected]>

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.

---

  arch/arm/dts/imx6-apalis-u-boot.dtsi | 11 +++++++++++
  1 file changed, 11 insertions(+)

create mode 100644 arch/arm/dts/imx6-apalis-u-boot.dtsi

arch/arm/dts/imx6-apalis-u-boot.dtsi new file +1 -0
new file mode 100644
index 0000000000..95e7e022b9
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0+ OR X11

arch/arm/dts/imx6-apalis-u-boot.dtsi line 11

Quoted 10 lines
arch/arm/dts/imx6-apalis-u-boot.dtsi new file +10 -0
+/*
+ * Copyright 2020 Foundries.IO
+ */
+
+#include "imx6qdl-u-boot.dtsi"
+
+&wdog1 {
+	status = "okay";
+	u-boot,dm-spl;
+};
#3 lore raw

PATCH 1/1 ARM: dts: imx6-apalis: enable watchdog

In reply to Oleksandr Suvorov
Quoted 8 lines

From: Ricardo Salveti <[email protected]>
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.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================