Raspberry 4, no spidev0.x in device-tree
Posted: 2023-10-26 16:52
Hi,
i installed the newest Debian Bookworm on a Raspberry 4b, i loaded spi_bcm2835 via modprobe, but no spidev0.x appears in the device-tree.
The module spidev doesn't show by lsmod|grep 'spi', because it is compiled into the kernel, not as a loadable module. lsmod only lists spi_bcm2835.
I checked spidev as builtin-module by
"cat /lib/modules/6.1.0-13-arm64/modules.builtin|grep 'spi' ", which gives me
kernel/drivers/spi/spidev.ko
When i look at the device-tree-blobs in Raspian (Bookworm, newest) and Debian (Bookworm stable) for arm64, the file "bcm2711-rpi-4-b.dtb" differs in size:
On Raspian it has 54531 Bytes, on Debian only 27434 Bytes.
Is my problem a device-tree issue? Any other idea to get spi to work?
Sincerely, Josquin
i installed the newest Debian Bookworm on a Raspberry 4b, i loaded spi_bcm2835 via modprobe, but no spidev0.x appears in the device-tree.
The module spidev doesn't show by lsmod|grep 'spi', because it is compiled into the kernel, not as a loadable module. lsmod only lists spi_bcm2835.
I checked spidev as builtin-module by
"cat /lib/modules/6.1.0-13-arm64/modules.builtin|grep 'spi' ", which gives me
kernel/drivers/spi/spidev.ko
When i look at the device-tree-blobs in Raspian (Bookworm, newest) and Debian (Bookworm stable) for arm64, the file "bcm2711-rpi-4-b.dtb" differs in size:
On Raspian it has 54531 Bytes, on Debian only 27434 Bytes.
Is my problem a device-tree issue? Any other idea to get spi to work?
Sincerely, Josquin