Just need to check the SFIO column for the real pin out from SOC chip for the HW function name like row a02 the SFIO pin name is SPI2_SCK that tell it’s the pin for SPI2 controller. However it’s HW name need to minus 1 for software function so get the SPI1.
Due to HW name is start from 1 and software name is from 0
My understanding is:
first, the pin mapping relationship is shown in the following table:
second, in the above table, the “Software function” column represents the left value of the node aliases in the “tegra186-soc-spi.dtsi” file, and the right value is the renaming of the left value;
Is my understanding correct?
There is another problem, the design manual shows that there are three spi interfaces, but there are 6 spi definitions (spi0/spi1/spi2/spi3/spi4/spi6) in “tegra186-soc-spi.dtsi”, and there are three extra What does (spi2/spi4/spi6) do?