How to configure SPI1 as a slave?

Did you add it to the device tree?