AnsweredAssumed Answered

CAN  Interface over SPI on T1040 SOC

Question asked by Surendra Dhobale on Jun 28, 2016
Latest reply on Jun 29, 2016 by Pavel Chubakov

Hello,

     I am looking to use external CAN interface over SPI bus interface on T1040 SoC. I have finalised the external CAN controller IC as MCP2515 which is standalone CAN controller over SPI.

I have seen in the kernel mcp2515 device driver is available in the drivers/net/can.

 

Now, I just want to understand , how i can add the details about this in the device tree and how assing the customised interface pins in the device tree?

I am newbee in the device tree (Previously i used board configuration files, where directly do the pin muxing but here not able to understand how in DT?). I have gone through some documentation of device tree.

If any one already have some experinece on same, please share how i can proceed further, how i can add the details of the pins and device driver in the device tree.

 

Thanks in advance !!!

Outcomes