I’m trying to enable an SPI port in slave mode, but I’m not well versed in … many things.
I understand the concepts of SPI, and the idea of the DTB but I’ve seen many examples using macros that are not present in the base DTB I’m using (Default image, T32 version 5.1 sources)
I’ve seen references to a tegra210-spi-slave that is not in the source tree, and others to tegra124-spi-slave (which is there).
I do not fully understand the values needed by the driver, nor the required dma/clock/interrupt/reset resources to be referenced when using SPI0 (@7000d400) or SPI1 (@7000d600).
My goal is to keep SPIO as master and have SPI1 as slave to be able to test/debug communication in a single board.
1- Is there a reference (explained?) DTB for a slave SPI ?
Would be nice if that included the pin definitions too.
2-Is this documented somewhere so I can do the honours ? (RTFM :-)