[SPI] - UEXTx and /dev/spidevx.y

Started by shug, November 17, 2014, 12:15:33 PM

Previous topic - Next topic

shug

Hello,
I've got my A20 board with latest image. It shows me 2 /dev devices : /dev/spidev1.0 and /dev/spidev2.0. Does this means that /dev/spidev1.0 is UEXT1 and spidev2.0 = UEXT2 or not ?
Thank you !

shug

Answer to myself : /dev/spidevx.y
x is for connector (1 = UEXT1 / 2 = UEXT2)
y is for device (only 1 device per connector on the A20 olinuxino
So /dev/spidev1.0 means first (only) device on UEXT1
/dev/spidev2.0 means first (only) device on UET2