Questions: Rock 5C Lite: How to enable SPI

Hello guys, I chose this Rock 5C Lite to use its 40-pins because as shown in the spec there are 3 available SPIs to use.
I’d like to use the GPIO, uart, SPI, I2C mainly through this board’s 40 pin, to work with some ADC’s and doing some board-to-board communication… However the manual about the SPI has the most important part “Configuring device tree” MISSING on the webpage.

Is there any guide about how I can deal with the 40-pin stuff?

The image i put into the board is from official " ROCK 5C Lite Cli 系统镜像: Debian12 Cli b1"

By the way, I’m using visual studio C++ to program. I can use Ethernet to make a tcp_server now, but have no ideal about how to use GPIO, uart, SPI, I2C through the 40-pin. I hope there is some sample to help as well.

thanks!

I hope this guide can help you.