I am trying to use the PocketBeagle with the Macchina M2 adapter [0].
The Macchina M2 [1] has an MCP2515 CAN controller (for Single Wire CAN
use case) wired to PocketBeagle SPI1.
I am trying to adapt the MCP2515.dts overlay [2] which does work for
SPI0 on the BeagleBone Black.
Linux 4.14.78-bone17 is running on the PocketBeagle. The mcp251x
driver fails to initialize the MCP2515 device on the M2 board. I've
put more information in a GitHub Gist [3].
I would appreciate any feedback. I think I must have something
missing or wrong in the overlay: PB-MCP2515.dts [4]
Thanks!
Drew
[0] https://docs.macchina.cc/pb_adapter/
[1] https://github.com/macchina/m2-hardware/blob/master/M2/Interface%20Board%20Schematic.pdf
[2] https://github.com/battlesnake/beaglebone-spi0-mcp2515/blob/master/MCP2515.dts
[3] https://gist.github.com/pdp7/283e39a63645e47c3ed86b8207bac79d
[4] https://gist.github.com/pdp7/2c90080b5922264818aaf6ac7ef79c22
PB-MCP2515_dts.txt (5.01 KB)
pocketbeagle-mcp2515-dt-overlay-md.txt (12.8 KB)