arm64: dts: qcom: ipq5424: add spi nodes
authorManikanta Mylavarapu <quic_mmanikan@quicinc.com>
Fri, 3 Jan 2025 06:37:07 +0000 (12:07 +0530)
committerBjorn Andersson <andersson@kernel.org>
Mon, 6 Jan 2025 23:45:13 +0000 (17:45 -0600)
Serial engines 4 and 5 on the IPQ5424 support SPI. Serial engine 4 is
exclusively dedicated to SPI, whereas serial engine 5 is firmware based
and supports SPI, I2C, and UART.

The SPI instance operates on serial engine 4, designated as spi0, and on
serial engine 5, designated as spi1. Add both the spi0 and spi1 nodes.

Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250103063708.3256467-2-quic_mmanikan@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/ipq5424.dtsi

index 269cbee1bc54447fb398cef22e4a5e894220226b..70e5d1d80271e4b18c30f80493e5e2a0eabf8521 100644 (file)
                                clock-names = "se";
                                interrupts = <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>;
                        };
+
+                       spi0: spi@1a90000 {
+                               compatible = "qcom,geni-spi";
+                               reg = <0 0x01a90000 0 0x4000>;
+                               clocks = <&gcc GCC_QUPV3_SPI0_CLK>;
+                               clock-names = "se";
+                               interrupts = <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               status = "disabled";
+                       };
+
+                       spi1: spi@1a94000 {
+                               compatible = "qcom,geni-spi";
+                               reg = <0 0x01a94000 0 0x4000>;
+                               clocks = <&gcc GCC_QUPV3_SPI1_CLK>;
+                               clock-names = "se";
+                               interrupts = <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               status = "disabled";
+                       };
                };
 
                sdhc: mmc@7804000 {