[iMX8QM-MEK] ttyLP2 device file not registered

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

[iMX8QM-MEK] ttyLP2 device file not registered

跳至解决方案
718 次查看
sushi_happy
Contributor III

Hi.

The device file for ttyLP2 is not registered.
[environment]
・Android-11.0.0_2.6.0
・MCIMX8QM-CPU + MCIMX8-8X-BB

I changed the dts file(imx8qm-mek.dts) as below.
(lpuart2,3&4 status : "disabled" => "okay")

&lpuart0 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpuart0>;
status = "okay";
};

&lpuart1 { /* BT */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpuart1>;
resets = <&modem_reset>;
status = "okay";
};

&lpuart2 { /* Dbg console */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpuart2>;
status = "okay";
};

&lpuart3 { /* MKbus */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpuart3>;
status = "okay";
};

&lpuart4 { /* arduino */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpuart4>;
status = "okay";
};

Then ttyLP3 and 4 were enabled, but ttyLP2 was ignored.
Why is ttyLP2 not registered?
What other changes do I need?

dts_change.png

标记 (4)
0 项奖励
1 解答
661 次查看
sushi_happy
Contributor III
0 项奖励
2 回复数
662 次查看
sushi_happy
Contributor III
0 项奖励
709 次查看
joanxie
NXP TechSupport
NXP TechSupport
0 项奖励