How to enable imx8qxp-mek CAN in dts?

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

How to enable imx8qxp-mek CAN in dts?

Jump to solution
873 Views
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 Kudos
Reply
1 Solution
863 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
864 Views
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 Kudos
Reply