you will see errors because the DT compiler can't find the includes.
My recommendation is compiling overlays in-tree (after having compiled the kernel). I would start with using the existing SPI overlays, understanding how to write a custom overlay for adding multiple CAN controllers to the SPI peripheral and then expand the no. of CS signals to what you need.
The existing overlay should give you an idea how to do that; look at https://github.com/raspberrypi/linux/bl ... verlay.dts and compare it to https://github.com/raspberrypi/linux/bl ... verlay.dts
Always thought CAN is a BUS, hence I struggle to understand what the application is that requires 7 independent CAN busses.
My recommendation is compiling overlays in-tree (after having compiled the kernel). I would start with using the existing SPI overlays, understanding how to write a custom overlay for adding multiple CAN controllers to the SPI peripheral and then expand the no. of CS signals to what you need.
The existing overlay should give you an idea how to do that; look at https://github.com/raspberrypi/linux/bl ... verlay.dts and compare it to https://github.com/raspberrypi/linux/bl ... verlay.dts
Always thought CAN is a BUS, hence I struggle to understand what the application is that requires 7 independent CAN busses.
Statistics: Posted by aBUGSworstnightmare — Mon Jul 28, 2025 3:52 pm