I see certain confusion in this discussion thread, let me step in.
Available on Arduino connector of LS1012A-FRDM is DSPI, not QSPI. It is correct that DSPI driver is
enabled in the SDK default kernel configuration, but if you look at the SDK Device Tree for this board,
you will find "status = disabled", so the bus controller driver loads, but does nothing. You should change
it to "status = ok" at the first step and rebuild.
Second, SPI is not a plug-and-play bus. Devices are not detected automatically, loading spidev module is
not sufficient. The same SDK Device Tree specifies no device on SPI bus. If you wish to connect an SPI
peripheral to Arduino connector, declare the device in the Device Tree as a child of the dspi SPI bus and rebuild.
Take a look at fsl-ls1012a-qds.dts to see how SPI peripherals are declared.
For spidev driver, it should be sufficient to specify 'reg' and 'compatible = "spidev"' device node properties. If you have a
specific driver for your SPI peripheral, consult at the driver documentation or source code on what properties
it expects.
More information ca be found in
/Documentation/spi/spidev
/Documentation/devicetree/bindings/spi/spi-bus.txt
/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------