SPI0 interface configured as a slave in Jetson Xavier NX

Hello everybody,

Just for anybody out there having issues, here are the steps to follow:

  • look for the corresponding node in the device tree (for jetson xavier NX is spi@3210000, in the file tegra194-soc-spi.dtsi). The only thing you need to change there, instead of the “nvidia, tegra186-spi” where it links to the driver, put “nvidia,tegra186-spi-slave”. If you put the 124 like it is said on the forums, for me it would not work. I do not really understand this, as I had a look at the slave driver in the kernel sources and the strings link it always to the same driver.

  • With the jetson-io.py script, configure the pinmux

With this, the interface is then correctly configured as a slave.

1 Like