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

Peng Fan (OSS) peng.fan at oss.nxp.com
Fri Sep 24 05:00:09 CEST 2021



On 2021/9/21 19:48, Oleksandr Suvorov wrote:
> From: Ricardo Salveti <ricardo at 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 at foundries.io>
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov at 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 at nxp.com>


More information about the U-Boot mailing list