diff mbox series

[2/2] arm64: dts: imx8qm: add system controller watchdog support

Message ID 20250407-imx8qm-watchdog-v1-2-20c219b15fd2@bootlin.com (mailing list archive)
State New
Headers show
Series Enable watchdog support for iMX8QM | expand

Commit Message

Thomas Richard April 7, 2025, 5:03 p.m. UTC
Add system controller watchdog support for i.MX8QM.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
---
 arch/arm64/boot/dts/freescale/imx8qm.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Frank Li April 7, 2025, 7 p.m. UTC | #1
On Mon, Apr 07, 2025 at 07:03:26PM +0200, Thomas Richard wrote:
> Add system controller watchdog support for i.MX8QM.
>
> Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
> ---
>  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 6fa31bc9ece8..edd1201eb6c0 100644
> --- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi
> @@ -352,6 +352,11 @@ fec_mac1: mac@1c6 {
>  			};
>  		};
>
> +		watchdog {
> +			compatible = "fsl,imx8qm-sc-wdt", "fsl,imx-sc-wdt";
> +			timeout-sec = <60>;
> +		};
> +

because history reason, node have not ordered. But we can try keep as much
as possible.

So place move watchdog after thermal-sensor

Frank

>  		tsens: thermal-sensor {
>  			compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal";
>  			#thermal-sensor-cells = <1>;
>
> --
> 2.39.5
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi
index 6fa31bc9ece8..edd1201eb6c0 100644
--- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi
@@ -352,6 +352,11 @@  fec_mac1: mac@1c6 {
 			};
 		};
 
+		watchdog {
+			compatible = "fsl,imx8qm-sc-wdt", "fsl,imx-sc-wdt";
+			timeout-sec = <60>;
+		};
+
 		tsens: thermal-sensor {
 			compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal";
 			#thermal-sensor-cells = <1>;