I've moved this from the CM4 section to here...
I've got a design running 2 MCP2518FDs connected to a CM4. The first is on SPI0, that was simple to configure and working perfectly. The 2nd is on SPI3, and I'm really struggling. The standard overlays only include provision for SPI0 and SPI1. I think I need to write a dts file and then use that to modify the mcp251xfd.dtbo file using something like:
dtc -@ -I dts -O dtb -o mcp251xfd.dtbo my-mcp251xfd-overlay.dts
Is that correct? Could someone point me in the correct direction for what should be included in the dts file? Please be gentle, I've tried to read the docs, but I'm really struggling to make a start.
Kind regards, Andy
I've got a design running 2 MCP2518FDs connected to a CM4. The first is on SPI0, that was simple to configure and working perfectly. The 2nd is on SPI3, and I'm really struggling. The standard overlays only include provision for SPI0 and SPI1. I think I need to write a dts file and then use that to modify the mcp251xfd.dtbo file using something like:
dtc -@ -I dts -O dtb -o mcp251xfd.dtbo my-mcp251xfd-overlay.dts
Is that correct? Could someone point me in the correct direction for what should be included in the dts file? Please be gentle, I've tried to read the docs, but I'm really struggling to make a start.
Kind regards, Andy
Statistics: Posted by AndyGPS — Thu Dec 12, 2024 1:08 pm — Replies 5 — Views 78