IMX8QM MEK How to set up the lpuart0 in device tree

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

IMX8QM MEK How to set up the lpuart0 in device tree

跳至解决方案
101 次查看
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 项奖励
回复
1 解答
60 次查看
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.

在原帖中查看解决方案

1 回复
61 次查看
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.