How to describe device tree about EXPANSION CONNECTOR of spi

Hi, I’m implementing spi device tree of expansion connector.

I read lm80-p0436-5_peripherals_programming_guide.pdf and tried it. But I can’t connect spi by using DragonBoard410c.
I use the following android source code.

I described device tree to connect spi.


aliases {
spi0 = &spi_0; /* SPI0 controller device */
spi5 = &spi_5; //new spi device for expansion connector

//new spi setting for expansion connector
spi_5: spi@0x78B9000 {
compatible = “qcom,spi-qup-v2”;

reg-names = "spi_physical";
spi-max-frequency = <50000000>;

interrupts = <0 99 0>;
	clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>, <&clock_gcc clk_gcc_blsp1_qup5_spi_apps_clk>;
	clock-names = "iface_clk", "core_clk";

pinctrl-names = "spi_default", "spi_sleep";
pinctrl-0 = <&spi2_default &spi2_cs2_active>;
	pinctrl-1 = <&spi2_sleep &spi2_cs2_sleep>;



&soc {

spi@0x78B9000 {
		xxx@0 {
		compatible = "xxx,xxxxx";
		reg = <0x0>;
		spi-max-frequency = <1000000>;


If I described wrong point about device tree, please teach me.

I have a trouble which DragonBoard 410c isn’t connected by spi.
Please take advice for me if someone has free time.


Please reference this thread:

Thank you for sending replay message.
I will read the thread and I can try implementing spi driver.