SPI2 not showing up in /dev

Hello,
I activated spi1 and spi2 with jetson-io (no other spi are shown there)
I modified my spi1 as slave as described in this post
With ls /dev I can see

spidev0.0
spidev0.1
spidev1.0
spidev1.1

so I have spi0 and spi1 as I understand it. But not spi2.
Unfortunately according to the pinout, only spi1 and spi2 are on J41.

Why is spi2 not in /dev ?

Any Ideas @ShaneCCC or @DaneLLL ?

Have a check PINMUX xlsm file you should be able know it.
The pin 19,21,23,… aks SPI0_XXX aka spidev0.x

SPI1_MOSI	37	SPI2_MOSI
SPI1_MISO	22	SPI2_MISO
SPI1_SCK	13	SPI2_SCK
SPI1_CS0*	18	SPI2_CS0
SPI1_CS1*	16	SPI2_CS1

SPI0_MOSI	19	SPI1_MOSI
SPI0_MISO	21	SPI1_MISO
SPI0_SCK	23	SPI1_SCK
SPI0_CS0*	24	SPI1_CS0
SPI0_CS1*	26	SPI1_CS1

1 Like

@ShaneCCC,
I had a look at the pinmux tables before. So are you telling me, that SPI1 in jetson-io (and on J41) actually activates SPI0 with spidev0.x and SPI2 in jetson-io and on J41 actually activates SPI1 with spidev1.x ?

Is the SPI1 in the dtb the SPI1 on the J41 (spidev0.x) ?

Yes, the pin19, 21 … is spidev0.x

1 Like