From 5089d2fc8e4efc3ffad861fe2d127ff40b2f8064 Mon Sep 17 00:00:00 2001 From: Ricardo Salveti Date: Tue, 21 Sep 2021 14:48:26 +0300 Subject: [PATCH] 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 Signed-off-by: Oleksandr Suvorov Reviewed-by: Igor Opaniuk Reviewed-by: Peng Fan --- 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.39.5