[PATCH] ARM: dts: imx6-apalis: enable watchdog

From: Ricardo Salveti ricardo@foundries.io
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 ricardo@foundries.io Signed-off-by: Oleksandr Suvorov oleksandr.suvorov@foundries.io ---
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
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 0000000000..95e7e022b9 --- /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; +};

Hi Oleksandr,
On Tue, Sep 21, 2021 at 2:48 PM Oleksandr Suvorov oleksandr.suvorov@foundries.io wrote:
From: Ricardo Salveti ricardo@foundries.io
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 ricardo@foundries.io Signed-off-by: Oleksandr Suvorov oleksandr.suvorov@foundries.io
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
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 0000000000..95e7e022b9 --- /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;
+};
2.31.1
Reviewed-by: Igor Opaniuk igor.opaniuk@foundries.io

On 2021/9/21 19:48, Oleksandr Suvorov wrote:
From: Ricardo Salveti ricardo@foundries.io
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 ricardo@foundries.io Signed-off-by: Oleksandr Suvorov oleksandr.suvorov@foundries.io
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
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 0000000000..95e7e022b9 --- /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;
+};
Reviewed-by: Peng Fan peng.fan@nxp.com

From: Ricardo Salveti ricardo@foundries.io 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 ricardo@foundries.io Signed-off-by: Oleksandr Suvorov oleksandr.suvorov@foundries.io Reviewed-by: Igor Opaniuk igor.opaniuk@foundries.io Reviewed-by: Peng Fan peng.fan@nxp.com
Applied to u-boot-imx, master, thanks !
Best regards, Stefano Babic
participants (4)
-
Igor Opaniuk
-
Oleksandr Suvorov
-
Peng Fan (OSS)
-
sbabic@denx.de