]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: freescale: add bootph-all to watchdog nodes for i.MX platforms
authorAlice Guo <alice.guo@nxp.com>
Tue, 19 May 2026 10:55:16 +0000 (18:55 +0800)
committerFrank Li <Frank.Li@nxp.com>
Fri, 5 Jun 2026 17:18:49 +0000 (13:18 -0400)
Add the bootph-all property to ULP watchdog nodes across multiple i.MX
SoC device trees, ensuring the watchdog is available during all boot
phases.

The affected watchdog nodes are:
- imx8ulp: wdog3
- imx91/93: wdog3, wdog4, wdog5
- imx94: wdog3
- imx95: wdog3
- imx952: wdog3

Signed-off-by: Alice Guo <alice.guo@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
arch/arm64/boot/dts/freescale/imx8ulp.dtsi
arch/arm64/boot/dts/freescale/imx91_93_common.dtsi
arch/arm64/boot/dts/freescale/imx94.dtsi
arch/arm64/boot/dts/freescale/imx95.dtsi
arch/arm64/boot/dts/freescale/imx952.dtsi

index 17caf3703fb17a1a264d9bf98bf4a55735666570..c6d1bb9edf38866864f3cd0530d154e315c662a0 100644 (file)
                                assigned-clocks = <&pcc3 IMX8ULP_CLK_WDOG3>;
                                assigned-clock-parents = <&cgc1 IMX8ULP_CLK_SOSC_DIV2>;
                                timeout-sec = <40>;
+                               bootph-all;
                        };
 
                        cgc1: clock-controller@292c0000 {
index 46a5d2df074d5813523eae2ce2431c9212e08deb..a1a7e6a0571bda3f59b87b5a0a4e7b27ed7217b9 100644 (file)
                                clocks = <&clk IMX93_CLK_WDOG3_GATE>;
                                timeout-sec = <40>;
                                status = "disabled";
+                               bootph-all;
                        };
 
                        wdog4: watchdog@424a0000 {
                                clocks = <&clk IMX93_CLK_WDOG4_GATE>;
                                timeout-sec = <40>;
                                status = "disabled";
+                               bootph-all;
                        };
 
                        wdog5: watchdog@424b0000 {
                                clocks = <&clk IMX93_CLK_WDOG5_GATE>;
                                timeout-sec = <40>;
                                status = "disabled";
+                               bootph-all;
                        };
 
                        tpm3: pwm@424e0000 {
index 03889092eaf5b10b8a954a4b136a20030b6e7dc7..a6cb5a6e848b3ef818d7906e133cc66436daa206 100644 (file)
                                timeout-sec = <40>;
                                fsl,ext-reset-output;
                                status = "disabled";
+                               bootph-all;
+                       };
+
+                       wdog4: watchdog@49230000 {
+                               compatible = "fsl,imx94-wdt", "fsl,imx93-wdt";
+                               reg = <0x49230000 0x10000>;
+                               interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&scmi_clk IMX94_CLK_BUSWAKEUP>;
+                               timeout-sec = <40>;
+                               fsl,ext-reset-output;
+                               status = "disabled";
+                               bootph-all;
                        };
                };
 
index d2aa6e543a09474c57785b78ca5eb9683a62f119..b4ca507b650a5185fa7fb6209012b1af26c2d055 100644 (file)
                                clocks = <&scmi_clk IMX95_CLK_BUSWAKEUP>;
                                timeout-sec = <40>;
                                status = "disabled";
+                               bootph-all;
+                       };
+
+                       wdog4: watchdog@424a0000 {
+                               compatible = "fsl,imx93-wdt";
+                               reg = <0x424a0000 0x10000>;
+                               interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&scmi_clk IMX95_CLK_BUSWAKEUP>;
+                               timeout-sec = <40>;
+                               status = "disabled";
+                               bootph-all;
                        };
 
                        tpm3: pwm@424e0000 {
index 8d65c380e1c43d9f44c78eccc7be32fbbf6e8093..020de00e828593c2abdde42ff7340f3fadff764e 100644 (file)
                                clocks = <&scmi_clk IMX952_CLK_BUSWAKEUP>;
                                timeout-sec = <40>;
                                status = "disabled";
+                               bootph-all;
+                       };
+
+                       wdog4: watchdog@420c0000 {
+                               compatible = "fsl,imx93-wdt";
+                               reg = <0x420c0000 0x10000>;
+                               interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&scmi_clk IMX952_CLK_BUSWAKEUP>;
+                               timeout-sec = <40>;
+                               status = "disabled";
+                               bootph-all;
                        };
 
                        tpm3: pwm@42100000 {