From ee348b9bf529c4bcff27245bbcdd4fba9f07bedd Mon Sep 17 00:00:00 2001 From: Nicola Sparnacci <nicola.sparnacci@seco.com> Date: Tue, 16 Apr 2024 10:33:27 +0200 Subject: [PATCH] [C57][C57-72] Add watchdog node to kernel dts The watchdog feature is activated by default from the SCFW. The watchdog node was already configured in the file `imx8qxp.dtsi` that is included in C57's device tree. This commit only copies the watchdog node to the linux device tree to configure the timeout easier. --- arch/arm64/boot/dts/seco/seco-imx8qxp-c57.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/seco/seco-imx8qxp-c57.dts b/arch/arm64/boot/dts/seco/seco-imx8qxp-c57.dts index 88608d99b84cb3..a5b53091d02f39 100644 --- a/arch/arm64/boot/dts/seco/seco-imx8qxp-c57.dts +++ b/arch/arm64/boot/dts/seco/seco-imx8qxp-c57.dts @@ -87,6 +87,15 @@ interrupt-affinity = <&A35_0>, <&A35_1>, <&A35_2>, <&A35_3>; }; + scu { + watchdog { + /* The watchdog is enabled by default - the string + "status = "okay" is not needed */ + compatible = "fsl,imx8qm-sc-wdt", "fsl,imx-sc-wdt"; + timeout-sec = <60>; + }; + }; + regulators { compatible = "simple-bus"; #address-cells = <1>; -- GitLab