Has anyone managed to access the SPI bus via spidev on a wandboard dual lite?
I'm running linux 3.10.17-1.0.1. The SPI and SPIDEV are compiled in the kernel:
# zgrep SPI /proc/config.gz | grep -v SPIN | grep -v '^#'
I noticed that the ecspi nodes were disabled in device tree and I set the status of the first spi controller to "okay"
Now, the driver (spi_imx) finds controller:
# dmesg|grep spi
[ 1.245159] spi_imx 2008000.ecspi: probed
But when I try to open /dev/spidev0.0 I get a ENXIO. Here's the output from strace:
open("/dev/spidev0.0", O_RDWR) = -1 ENXIO (No such device or address)
The device is there:
ls -l /dev/spidev0.0
brw-rw-rw- 1 root root 153, 0 Nov 26 20:04 /dev/spidev0.0