2022-02-09 19:12:07

by Oliver Graute

[permalink] [raw]
Subject: [PATCH v1] arm64: dts: imx8qm: Add watchdog node

Enable the watchdog on imx8qm

Cc: Rob Herring <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Dong Aisheng <[email protected]>

Signed-off-by: Oliver Graute <[email protected]>
---
need to enable CONFIG_IMX_SC_WDT

arch/arm64/boot/dts/freescale/imx8qm.dtsi | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi
index 87a4c3ec8861..b822f95f9baf 100644
--- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi
@@ -169,6 +169,11 @@

};

+ watchdog {
+ compatible = "fsl,imx8qm-sc-wdt", "fsl,imx-sc-wdt";
+ timeout-sec = <60>;
+ };
+
/* sorted in register address */
#include "imx8-ss-img.dtsi"
#include "imx8-ss-dma.dtsi"
--
2.17.1



2022-02-21 04:10:27

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH v1] arm64: dts: imx8qm: Add watchdog node

On Wed, Feb 09, 2022 at 04:47:13PM +0100, Oliver Graute wrote:
> Enable the watchdog on imx8qm
>
> Cc: Rob Herring <[email protected]>
> Cc: Sascha Hauer <[email protected]>
> Cc: Fabio Estevam <[email protected]>
> Cc: Dong Aisheng <[email protected]>
>
> Signed-off-by: Oliver Graute <[email protected]>

It doesn't apply for me.

Shawn

> ---
> need to enable CONFIG_IMX_SC_WDT
>
> arch/arm64/boot/dts/freescale/imx8qm.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi
> index 87a4c3ec8861..b822f95f9baf 100644
> --- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi
> @@ -169,6 +169,11 @@
>
> };
>
> + watchdog {
> + compatible = "fsl,imx8qm-sc-wdt", "fsl,imx-sc-wdt";
> + timeout-sec = <60>;
> + };
> +
> /* sorted in register address */
> #include "imx8-ss-img.dtsi"
> #include "imx8-ss-dma.dtsi"
> --
> 2.17.1
>