IMX8QM MEK How to set up the lpuart0 in device tree

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8QM MEK How to set up the lpuart0 in device tree

Jump to solution
99 Views
carloscs11
Contributor I

Hello,

I'm having a hard time configuring the LPUART0 in the device tree. I started using the imx8 boards recently and have difficulties understanding the clock assigning in the device node.

Does LPUART require an LPCG module? How do I know the clocks required by the LPUART? And the clock IDs in the clock specifier? Can you recommend me some documentation that I can read about?

Thank you, let me know if this isn't the correct forum to post this question.

0 Kudos
Reply
1 Solution
58 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

You may use the definition we already have for LPUART0 as a reference, just please note that in our MEK board we use this port for debug output:
https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi#L1...

https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx8qm-mek.dts#L923

Also, regarding the forum, for i.MX processor questions I will suggest to use the following section:
https://community.nxp.com/t5/i-MX-Processors/bd-p/imx-processors

Best regards/Saludos,
Aldo.

View solution in original post

1 Reply
59 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

You may use the definition we already have for LPUART0 as a reference, just please note that in our MEK board we use this port for debug output:
https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi#L1...

https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx8qm-mek.dts#L923

Also, regarding the forum, for i.MX processor questions I will suggest to use the following section:
https://community.nxp.com/t5/i-MX-Processors/bd-p/imx-processors

Best regards/Saludos,
Aldo.