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

Igor Opaniuk igor.opaniuk at foundries.io
Tue Sep 21 14:55:44 CEST 2021


Hi Oleksandr,

On Tue, Sep 21, 2021 at 2:48 PM Oleksandr Suvorov
<oleksandr.suvorov at foundries.io> 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;
> +};
> --
> 2.31.1
>

Reviewed-by: Igor Opaniuk <igor.opaniuk at foundries.io>

-- 
Best regards - Freundliche Grüsse - Meilleures salutations

Igor Opaniuk
Embedded Software Engineer
T:  +380 938364067
E: igor.opaniuk at foundries.io
W: www.foundries.io


More information about the U-Boot mailing list