add: BONE-SPI1_0.dts
Adds BONE-SPI1_0.dts for BBAI-64. Tested on Xfce Image 2022-11-01, kernel 5.10.153-ti-arm64-r86.
Comment: I noticed during testing that the BONE-SPI0_0 device receives data as all bits high when the loopback is unplugged while the BONE-SPI1_0 device receives data as all bits as low when the loopback is unplugged. Not sure why this is happening.
debian@BeagleBone:~/src/spidev_test$ sudo ./spidev_test --device /dev/spidev9.0 -v spi mode: 0x0 bits per word: 8 max speed: 500000 Hz (500 KHz) TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D | ......@....�..................�. RX | FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF | ................................
debian@BeagleBone:~/src/spidev_test$ sudo ./spidev_test --device /dev/spidev10.0 -v spi mode: 0x0 bits per word: 8 max speed: 500000 Hz (500 KHz) TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D | ......@....�..................�. RX | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................
When the loopback is plugged in, spidev_test tests good.
debian@BeagleBone:~/src/spidev_test$ sudo ./spidev_test --device /dev/spidev10.0 -v spi mode: 0x0 bits per word: 8 max speed: 500000 Hz (500 KHz) TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D | ......@....�..................�. RX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D | ......@....�..................�.