On Mon, Sep 16, 2024 at 23:16:18 +0300, Nikita Donskov wrote: > Spi is configured by default in sys/arch/evbarm/conf/RPI config file nearly > the same way, as i2c: > # Broadcom Serial Control (I2C) > bsciic* at fdt? > iic* at i2cbus? > ... > > # SPI controller > bcmspi* at fdt? > spi* at spibus?
I don't know much about SPI and FDT (my mental model is that FDT is kinda like an externalized OFW device tree :), but the fact that bcmspi is not attached might indicate that the FDT blob that you used to boot your board doesn't declare that it's there. You might want to cross-check it. If I'm not mistaken, the sources are in sys/external/gpl2/dts/dist > What I've tried to do is creating /dev/spiu device node manually: Nodes in /dev are just a way for userland programs to open the devices and don't affect the autoconfiguration process in any way. -uwe