How to enable imx8qxp-mek CAN in dts?

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

How to enable imx8qxp-mek CAN in dts?

ソリューションへジャンプ
965件の閲覧回数
Ale2
Contributor I

I modify status in imx8x-mek.dtsi, imx-ss-dma.dtsi, imx8qxp-mek-rpmsg.dts to "okay".

&flexcan1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flexcan1>;
xceiver-supply = <&reg_can_stby>;
status = "okay";
};

But, the status is still "disabled" when I run kernel...

root@imx8qxpc0mek:/sys/firmware/devicetree/base/bus@5a000000/can@5a8d0000# cat status
disabled

root@imx8qxpc0mek:/sys/firmware/devicetree/base/bus@5a000000/can@5a8f0000# cat status
disabled

I wonder which .dts file control the status of CAN on MCIMX8QXP-CPU board. And, how to modify .dts file to register can0 on /dev?

Thank you!

 

0 件の賞賛
返信
1 解決策
955件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Ale2

 

for enabling can one can refer to below link, section "Modifying default configuration" :

 

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Resource-...

 

Best regards
igor

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
956件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Ale2

 

for enabling can one can refer to below link, section "Modifying default configuration" :

 

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Resource-...

 

Best regards
igor

0 件の賞賛
返信