How to set to spi slave mode

  1. Should be SPI1_MOSI<- ->SPI3_MOSI, SPI1_MISO<- ->SPI3_MISO, SPI1_CLK<–>SPI3_CLK, SP1_CS0 <–> SPI3_CS0 and SPI1_CS1->SPI3_CS1.

  2. You can try devmem2 to write those pinmux setting.

  3. You can still update the dtb like as you do before. How to set to spi slave mode - #6 by _JJANG

  4. change the cfg file …/Linux_for_Tegra/bootloader/t186ref/BCT/ and check with devmem2 would be good.

  5. Correct.

  6. It’s public source. linux/spidev_test.c at master · torvalds/linux · GitHub