IMX8QM MEK How to set up the lpuart0 in device tree

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX8QM MEK How to set up the lpuart0 in device tree

ソリューションへジャンプ
317件の閲覧回数
carloscs11
Contributor II

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 解決策
276件の閲覧回数
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 返信
277件の閲覧回数
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.