SPI on Colibri-IMX6

I have a Sodim board with linux installed:

root@colibri-imx6-10923778:~# hostnamectl
Static hostname: colibri-imx6-10923778
Icon name: computer
Machine ID: abdcfb6f8da64cedbb353e7673e508d6
Boot ID: a2aa73b74c0c40d4a5674b445c394c3c
Operating System: TDX Wayland with XWayland 5.7.0+build.20 (dunfell)
Kernel: Linux 5.4.193-5.7.0+git.f78299297185
Architecture: arm

But I don’t find in a /dev folder any device related to SPI.
What could be wrong and how can I enable the SPI device.

Thank you for help.

Best regards



the full ref image has already SPI enabled.

how did you get this image onto the SOM?
Did you modify the ref image?

Best regards,
Matthias Gohlke

ls -l /dev/colibri-spi*

If I am right the IMX6 is an eMMC SoM so you can use a dtbo to load an overlay with SPI enabled on a a linux BSP.

Add colibri-imx6-eval_spidev_overlay.dtbo to your overlays.txt .