On 28 April 2015 at 16:12, Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx> wrote: > On Tue, Apr 28, 2015 at 07:03:16AM -0700, Eric D. wrote: >> Hi, >> >> I give Maxime's patch a try and got 4 spidev devices : >> /dev/spidev32766.[0-3] >> >> root@bpi:~# ls -lh /dev/spidev* >> crw------- 1 root root 153, 0 Apr 28 15:52 /dev/spidev32766.0 >> crw------- 1 root root 153, 1 Apr 28 15:52 /dev/spidev32766.1 >> crw------- 1 root root 153, 2 Apr 28 15:52 /dev/spidev32766.2 >> crw------- 1 root root 153, 3 Apr 28 15:52 /dev/spidev32766.3 >> >> Shouldn't they be numbered from like spidev0.[0-3]. >> Is this an udev problem ? any clues ? > > You're missing an SPI alias in the DT. Indeed, adding some SPI aliases makes the device nodes tidier: aliases { serial0 = &uart0; serial1 = &uart2; serial2 = &uart3; spi0 = &spi0; spi1 = &spi1; spi2 = &spi2; }; However, SPI usage examples I have seen showed some random high number. Thanks Michal -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html