* [PATCH v1 1/1] arm64: dts: imx8qm-ss-dma: add LPUART4
@ 2026-07-22 10:42 Stefano Radaelli
2026-07-22 11:11 ` Alexander Stein
0 siblings, 1 reply; 3+ messages in thread
From: Stefano Radaelli @ 2026-07-22 10:42 UTC (permalink / raw)
To: linux-kernel, devicetree, imx, linux-arm-kernel
Cc: pierluigi.p, Stefano Radaelli, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Frank Li, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam
From: Stefano Radaelli <stefano.r@variscite.com>
Add the missing LPUART4 node to the i.MX8QM DMA subsystem description.
The peripheral is present in the SoC and its LPCG clock controller is
already described, but the UART device node is currently missing.
Describe its registers, interrupt, clocks, power domain and eDMA
channels based on the NXP downstream device tree.
Signed-off-by: Stefano Radaelli <stefano.r@variscite.com>
---
arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
index 974e193f8dcb..25c5e4423163 100644
--- a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
@@ -8,6 +8,22 @@
/delete-node/ &adma_pwm_lpcg;
&dma_subsys {
+ lpuart4: serial@5a0a0000 {
+ compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
+ reg = <0x5a0a0000 0x1000>;
+ interrupts = <GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-parent = <&gic>;
+ clocks = <&uart4_lpcg 1>, <&uart4_lpcg 0>;
+ clock-names = "ipg", "baud";
+ assigned-clocks = <&clk IMX_SC_R_UART_4 IMX_SC_PM_CLK_PER>;
+ assigned-clock-rates = <80000000>;
+ power-domains = <&pd IMX_SC_R_UART_4>;
+ dma-names = "rx","tx";
+ dmas = <&edma2 20 0 1>,
+ <&edma2 21 0 0>;
+ status = "disabled";
+ };
+
uart4_lpcg: clock-controller@5a4a0000 {
compatible = "fsl,imx8qxp-lpcg";
reg = <0x5a4a0000 0x10000>;
--
2.47.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] arm64: dts: imx8qm-ss-dma: add LPUART4
2026-07-22 10:42 [PATCH v1 1/1] arm64: dts: imx8qm-ss-dma: add LPUART4 Stefano Radaelli
@ 2026-07-22 11:11 ` Alexander Stein
2026-07-22 11:18 ` Stefano Radaelli
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Stein @ 2026-07-22 11:11 UTC (permalink / raw)
To: linux-kernel, devicetree, imx, linux-arm-kernel
Cc: pierluigi.p, Stefano Radaelli, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Frank Li, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, Stefano Radaelli
Hi Stefano,
Am Mittwoch, 22. Juli 2026, 12:42:00 CEST schrieb Stefano Radaelli:
> From: Stefano Radaelli <stefano.r@variscite.com>
>
> Add the missing LPUART4 node to the i.MX8QM DMA subsystem description.
>
> The peripheral is present in the SoC and its LPCG clock controller is
> already described, but the UART device node is currently missing.
> Describe its registers, interrupt, clocks, power domain and eDMA
> channels based on the NXP downstream device tree.
>
> Signed-off-by: Stefano Radaelli <stefano.r@variscite.com>
Commit d879cc948e6f7 ("arm64: dts: imx8qm-ss-dma: add lpuart4 node") landed
in next-20260721, which is essentially the same patch.
Best regards,
Alexander
> ---
> arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
> index 974e193f8dcb..25c5e4423163 100644
> --- a/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
> @@ -8,6 +8,22 @@
> /delete-node/ &adma_pwm_lpcg;
>
> &dma_subsys {
> + lpuart4: serial@5a0a0000 {
> + compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";
> + reg = <0x5a0a0000 0x1000>;
> + interrupts = <GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-parent = <&gic>;
> + clocks = <&uart4_lpcg 1>, <&uart4_lpcg 0>;
> + clock-names = "ipg", "baud";
> + assigned-clocks = <&clk IMX_SC_R_UART_4 IMX_SC_PM_CLK_PER>;
> + assigned-clock-rates = <80000000>;
> + power-domains = <&pd IMX_SC_R_UART_4>;
> + dma-names = "rx","tx";
> + dmas = <&edma2 20 0 1>,
> + <&edma2 21 0 0>;
> + status = "disabled";
> + };
> +
> uart4_lpcg: clock-controller@5a4a0000 {
> compatible = "fsl,imx8qxp-lpcg";
> reg = <0x5a4a0000 0x10000>;
>
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] arm64: dts: imx8qm-ss-dma: add LPUART4
2026-07-22 11:11 ` Alexander Stein
@ 2026-07-22 11:18 ` Stefano Radaelli
0 siblings, 0 replies; 3+ messages in thread
From: Stefano Radaelli @ 2026-07-22 11:18 UTC (permalink / raw)
To: Alexander Stein
Cc: linux-kernel, devicetree, imx, linux-arm-kernel, pierluigi.p,
Stefano Radaelli, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Frank Li, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
On Wed, Jul 22, 2026 at 01:11:10PM +0200, Alexander Stein wrote:
> Hi Stefano,
>
> Am Mittwoch, 22. Juli 2026, 12:42:00 CEST schrieb Stefano Radaelli:
> > From: Stefano Radaelli <stefano.r@variscite.com>
> >
> > Add the missing LPUART4 node to the i.MX8QM DMA subsystem description.
> >
> > The peripheral is present in the SoC and its LPCG clock controller is
> > already described, but the UART device node is currently missing.
> > Describe its registers, interrupt, clocks, power domain and eDMA
> > channels based on the NXP downstream device tree.
> >
> > Signed-off-by: Stefano Radaelli <stefano.r@variscite.com>
>
> Commit d879cc948e6f7 ("arm64: dts: imx8qm-ss-dma: add lpuart4 node") landed
> in next-20260721, which is essentially the same patch.
>
> Best regards,
> Alexander
>
Thank you Alexander,
I missed this one :D
Best regards,
Stefano
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-07-22 11:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-22 10:42 [PATCH v1 1/1] arm64: dts: imx8qm-ss-dma: add LPUART4 Stefano Radaelli
2026-07-22 11:11 ` Alexander Stein
2026-07-22 11:18 ` Stefano Radaelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox