* [PATCH v2 1/3] arm64: dts: imx94: fix DDR PMU interrupt number
@ 2026-05-19 10:55 alice.guo
2026-05-19 10:55 ` [PATCH v2 2/3] arm64: dts: freescale: add bootph-all to ULP watchdog nodes for i.MX platforms alice.guo
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: alice.guo @ 2026-05-19 10:55 UTC (permalink / raw)
To: robh, krzk+dt, conor+dt, Frank.Li, s.hauer, festevam
Cc: devicetree, imx, linux-arm-kernel, linux-kernel
From: Alice Guo <alice.guo@nxp.com>
The DDR Performance Monitor node was added with incorrect interrupt
number 91, which actually belongs to the wdog4 watchdog. Fix it to the
correct interrupt number 374.
Fixes: e918e5f847b3 ("arm64: dts: imx94: add DDR Perf Monitor node")
Signed-off-by: Alice Guo <alice.guo@nxp.com>
---
arch/arm64/boot/dts/freescale/imx94.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx94.dtsi b/arch/arm64/boot/dts/freescale/imx94.dtsi
index c460ece6070f..379429b3072a 100644
--- a/arch/arm64/boot/dts/freescale/imx94.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx94.dtsi
@@ -1481,7 +1481,7 @@ netc_emdio: mdio@18,0 {
ddr-pmu@4e090dc0 {
compatible = "fsl,imx94-ddr-pmu", "fsl,imx93-ddr-pmu";
reg = <0x0 0x4e090dc0 0x0 0x200>;
- interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
+ interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
};
};
};
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v2 2/3] arm64: dts: freescale: add bootph-all to ULP watchdog nodes for i.MX platforms
2026-05-19 10:55 [PATCH v2 1/3] arm64: dts: imx94: fix DDR PMU interrupt number alice.guo
@ 2026-05-19 10:55 ` alice.guo
2026-05-19 10:55 ` [PATCH v2 3/3] arm64: dts: freescale: add " alice.guo
2026-05-20 2:36 ` [PATCH v2 1/3] arm64: dts: imx94: fix DDR PMU interrupt number Xu Yang
2 siblings, 0 replies; 5+ messages in thread
From: alice.guo @ 2026-05-19 10:55 UTC (permalink / raw)
To: robh, krzk+dt, conor+dt, Frank.Li, s.hauer, festevam
Cc: devicetree, imx, linux-arm-kernel, linux-kernel
From: Alice Guo <alice.guo@nxp.com>
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>
---
arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 1 +
arch/arm64/boot/dts/freescale/imx91_93_common.dtsi | 3 +++
arch/arm64/boot/dts/freescale/imx94.dtsi | 1 +
arch/arm64/boot/dts/freescale/imx95.dtsi | 1 +
arch/arm64/boot/dts/freescale/imx952.dtsi | 1 +
5 files changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi
index 1de3ad60c6aa..df06f03624d6 100644
--- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi
@@ -302,6 +302,7 @@ wdog3: watchdog@292a0000 {
assigned-clocks = <&pcc3 IMX8ULP_CLK_WDOG3>;
assigned-clock-parents = <&cgc1 IMX8ULP_CLK_SOSC_DIV2>;
timeout-sec = <40>;
+ bootph-all;
};
cgc1: clock-controller@292c0000 {
diff --git a/arch/arm64/boot/dts/freescale/imx91_93_common.dtsi b/arch/arm64/boot/dts/freescale/imx91_93_common.dtsi
index 46a5d2df074d..a1a7e6a0571b 100644
--- a/arch/arm64/boot/dts/freescale/imx91_93_common.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx91_93_common.dtsi
@@ -525,6 +525,7 @@ wdog3: watchdog@42490000 {
clocks = <&clk IMX93_CLK_WDOG3_GATE>;
timeout-sec = <40>;
status = "disabled";
+ bootph-all;
};
wdog4: watchdog@424a0000 {
@@ -534,6 +535,7 @@ wdog4: watchdog@424a0000 {
clocks = <&clk IMX93_CLK_WDOG4_GATE>;
timeout-sec = <40>;
status = "disabled";
+ bootph-all;
};
wdog5: watchdog@424b0000 {
@@ -543,6 +545,7 @@ wdog5: watchdog@424b0000 {
clocks = <&clk IMX93_CLK_WDOG5_GATE>;
timeout-sec = <40>;
status = "disabled";
+ bootph-all;
};
tpm3: pwm@424e0000 {
diff --git a/arch/arm64/boot/dts/freescale/imx94.dtsi b/arch/arm64/boot/dts/freescale/imx94.dtsi
index 379429b3072a..b88975fa7c8d 100644
--- a/arch/arm64/boot/dts/freescale/imx94.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx94.dtsi
@@ -1283,6 +1283,7 @@ wdog3: watchdog@49220000 {
timeout-sec = <40>;
fsl,ext-reset-output;
status = "disabled";
+ bootph-all;
};
};
diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi
index 71394871d8dd..8c0b590d6ccf 100644
--- a/arch/arm64/boot/dts/freescale/imx95.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95.dtsi
@@ -795,6 +795,7 @@ wdog3: watchdog@42490000 {
clocks = <&scmi_clk IMX95_CLK_BUSWAKEUP>;
timeout-sec = <40>;
status = "disabled";
+ bootph-all;
};
tpm3: pwm@424e0000 {
diff --git a/arch/arm64/boot/dts/freescale/imx952.dtsi b/arch/arm64/boot/dts/freescale/imx952.dtsi
index b30707837f35..4d8ce92db483 100644
--- a/arch/arm64/boot/dts/freescale/imx952.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx952.dtsi
@@ -349,6 +349,7 @@ wdog3: watchdog@420b0000 {
clocks = <&scmi_clk IMX952_CLK_BUSWAKEUP>;
timeout-sec = <40>;
status = "disabled";
+ bootph-all;
};
tpm3: pwm@42100000 {
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v2 3/3] arm64: dts: freescale: add ULP watchdog nodes for i.MX platforms
2026-05-19 10:55 [PATCH v2 1/3] arm64: dts: imx94: fix DDR PMU interrupt number alice.guo
2026-05-19 10:55 ` [PATCH v2 2/3] arm64: dts: freescale: add bootph-all to ULP watchdog nodes for i.MX platforms alice.guo
@ 2026-05-19 10:55 ` alice.guo
2026-05-19 11:12 ` sashiko-bot
2026-05-20 2:36 ` [PATCH v2 1/3] arm64: dts: imx94: fix DDR PMU interrupt number Xu Yang
2 siblings, 1 reply; 5+ messages in thread
From: alice.guo @ 2026-05-19 10:55 UTC (permalink / raw)
To: robh, krzk+dt, conor+dt, Frank.Li, s.hauer, festevam
Cc: devicetree, imx, linux-arm-kernel, linux-kernel
From: Alice Guo <alice.guo@nxp.com>
Add new ULP watchdog device tree nodes across multiple i.MX SoC device
trees. These watchdog instances were previously missing from the device
trees. All nodes are added with status disabled by default and include
the bootph-all property.
Signed-off-by: Alice Guo <alice.guo@nxp.com>
---
arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi | 12 ++++++++++++
arch/arm64/boot/dts/freescale/imx94.dtsi | 11 +++++++++++
arch/arm64/boot/dts/freescale/imx95.dtsi | 10 ++++++++++
arch/arm64/boot/dts/freescale/imx952.dtsi | 10 ++++++++++
4 files changed, 43 insertions(+)
diff --git a/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi b/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
index 1355feda1aa7..892799e1fe85 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
@@ -325,6 +325,18 @@ smc1: clock-controller@40410000 {
clock-names = "divcore", "hsrun_divcore";
};
+ wdog2: watchdog@40430000 {
+ compatible = "fsl,imx7ulp-wdt";
+ reg = <0x40430000 0x10000>;
+ interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&pcc2 IMX7ULP_CLK_WDG2>;
+ assigned-clocks = <&pcc2 IMX7ULP_CLK_WDG2>;
+ assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC_BUS_CLK>;
+ timeout-sec = <40>;
+ status = "disabled";
+ bootph-all;
+ };
+
pcc3: clock-controller@40b30000 {
compatible = "fsl,imx7ulp-pcc3";
reg = <0x40b30000 0x10000>;
diff --git a/arch/arm64/boot/dts/freescale/imx94.dtsi b/arch/arm64/boot/dts/freescale/imx94.dtsi
index b88975fa7c8d..190316d2a500 100644
--- a/arch/arm64/boot/dts/freescale/imx94.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx94.dtsi
@@ -1285,6 +1285,17 @@ wdog3: watchdog@49220000 {
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;
+ };
};
usb3: usb@4c100000 {
diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi
index 8c0b590d6ccf..7caacdc819c4 100644
--- a/arch/arm64/boot/dts/freescale/imx95.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95.dtsi
@@ -798,6 +798,16 @@ wdog3: watchdog@42490000 {
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 {
compatible = "fsl,imx7ulp-pwm";
reg = <0x424e0000 0x1000>;
diff --git a/arch/arm64/boot/dts/freescale/imx952.dtsi b/arch/arm64/boot/dts/freescale/imx952.dtsi
index 4d8ce92db483..59f829004000 100644
--- a/arch/arm64/boot/dts/freescale/imx952.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx952.dtsi
@@ -352,6 +352,16 @@ wdog3: watchdog@420b0000 {
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 {
compatible = "fsl,imx7ulp-pwm";
reg = <0x42100000 0x1000>;
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2 3/3] arm64: dts: freescale: add ULP watchdog nodes for i.MX platforms
2026-05-19 10:55 ` [PATCH v2 3/3] arm64: dts: freescale: add " alice.guo
@ 2026-05-19 11:12 ` sashiko-bot
0 siblings, 0 replies; 5+ messages in thread
From: sashiko-bot @ 2026-05-19 11:12 UTC (permalink / raw)
To: alice.guo; +Cc: conor+dt, devicetree, robh, Frank.Li, imx
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Low] Invalid full-width semicolon used to terminate the `bootph-all` property in `imx7ulp.dtsi`.
- [Low] Commit message prefix does not accurately reflect the changes.
--
commit bf6ac00d8852230a7eddc4b1f0a7d7bed4fb72cd
Author: Alice Guo <alice.guo@nxp.com>
arm64: dts: freescale: add ULP watchdog nodes for i.MX platforms
This commit adds ULP watchdog nodes to several i.MX device trees, bringing
in previously missing watchdog instances. All added nodes are disabled by
default and include the bootph-all property.
> arm64: dts: freescale: add ULP watchdog nodes for i.MX platforms
This isn't a bug, but the commit prefix specifically mentions arm64, while
the patch also modifies an arm 32-bit device tree in
arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi. Would it be better to split this
into separate patches for each architecture, or adjust the prefix?
> diff --git a/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi b/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
> index 1355feda1aa72..892799e1fe852 100644
> --- a/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
> +++ b/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
> @@ -325,6 +325,18 @@ smc1: clock-controller@40410000 {
[ ... ]
> + wdog2: watchdog@40430000 {
> + compatible = "fsl,imx7ulp-wdt";
> + reg = <0x40430000 0x10000>;
> + interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&pcc2 IMX7ULP_CLK_WDG2>;
> + assigned-clocks = <&pcc2 IMX7ULP_CLK_WDG2>;
> + assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC_BUS_CLK>;
> + timeout-sec = <40>;
> + status = "disabled";
> + bootph-all;
> + };
Does this property definition end with a full-width Unicode semicolon rather
than a standard ASCII semicolon? It appears this might lead to a syntax error
when the device tree compiler processes the file.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260519105517.3638614-1-alice.guo@oss.nxp.com?part=3
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/3] arm64: dts: imx94: fix DDR PMU interrupt number
2026-05-19 10:55 [PATCH v2 1/3] arm64: dts: imx94: fix DDR PMU interrupt number alice.guo
2026-05-19 10:55 ` [PATCH v2 2/3] arm64: dts: freescale: add bootph-all to ULP watchdog nodes for i.MX platforms alice.guo
2026-05-19 10:55 ` [PATCH v2 3/3] arm64: dts: freescale: add " alice.guo
@ 2026-05-20 2:36 ` Xu Yang
2 siblings, 0 replies; 5+ messages in thread
From: Xu Yang @ 2026-05-20 2:36 UTC (permalink / raw)
To: alice.guo
Cc: robh, krzk+dt, conor+dt, Frank.Li, s.hauer, festevam, devicetree,
imx, linux-arm-kernel, linux-kernel
On Tue, May 19, 2026 at 06:55:15PM +0800, alice.guo@oss.nxp.com wrote:
> From: Alice Guo <alice.guo@nxp.com>
>
> The DDR Performance Monitor node was added with incorrect interrupt
> number 91, which actually belongs to the wdog4 watchdog. Fix it to the
> correct interrupt number 374.
>
> Fixes: e918e5f847b3 ("arm64: dts: imx94: add DDR Perf Monitor node")
>
> Signed-off-by: Alice Guo <alice.guo@nxp.com>
Thanks for the fixes!
Reviewed-by: Xu Yang <xu.yang_2@nxp.com>
> ---
> arch/arm64/boot/dts/freescale/imx94.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx94.dtsi b/arch/arm64/boot/dts/freescale/imx94.dtsi
> index c460ece6070f..379429b3072a 100644
> --- a/arch/arm64/boot/dts/freescale/imx94.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx94.dtsi
> @@ -1481,7 +1481,7 @@ netc_emdio: mdio@18,0 {
> ddr-pmu@4e090dc0 {
> compatible = "fsl,imx94-ddr-pmu", "fsl,imx93-ddr-pmu";
> reg = <0x0 0x4e090dc0 0x0 0x200>;
> - interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
> + interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
> };
> };
> };
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-05-20 2:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-19 10:55 [PATCH v2 1/3] arm64: dts: imx94: fix DDR PMU interrupt number alice.guo
2026-05-19 10:55 ` [PATCH v2 2/3] arm64: dts: freescale: add bootph-all to ULP watchdog nodes for i.MX platforms alice.guo
2026-05-19 10:55 ` [PATCH v2 3/3] arm64: dts: freescale: add " alice.guo
2026-05-19 11:12 ` sashiko-bot
2026-05-20 2:36 ` [PATCH v2 1/3] arm64: dts: imx94: fix DDR PMU interrupt number Xu Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox