]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: qcom: qcs615: Adds SPMI support
authorTingguo Cheng <quic_tingguoc@quicinc.com>
Mon, 2 Dec 2024 09:37:22 +0000 (17:37 +0800)
committerBjorn Andersson <andersson@kernel.org>
Thu, 26 Dec 2024 21:14:46 +0000 (15:14 -0600)
Add the SPMI bus Arbiter node for the PMIC on QCS615 platforms.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Tingguo Cheng <quic_tingguoc@quicinc.com>
Link: https://lore.kernel.org/r/20241202-adds-spmi-pmic-peripherals-for-qcs615-v6-1-bdd306b4940d@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qcs615.dtsi

index 45a4d9a76163d288be7a33c58d638746258d6c4c..fc69abff71270af591ad41f33bf893751cd7d300 100644 (file)
                                     <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>;
                };
 
+               spmi_bus: spmi@c440000 {
+                       compatible = "qcom,spmi-pmic-arb";
+                       reg = <0x0 0x0c440000 0x0 0x1100>,
+                             <0x0 0x0c600000 0x0 0x2000000>,
+                             <0x0 0x0e600000 0x0 0x100000>,
+                             <0x0 0x0e700000 0x0 0xa0000>,
+                             <0x0 0x0c40a000 0x0 0x26000>;
+                       reg-names = "core",
+                                   "chnls",
+                                   "obsrvr",
+                                   "intr",
+                                   "cnfg";
+                       interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "periph_irq";
+                       interrupt-controller;
+                       #interrupt-cells = <4>;
+                       #address-cells = <2>;
+                       #size-cells = <0>;
+                       cell-index = <0>;
+                       qcom,channel = <0>;
+                       qcom,ee = <0>;
+               };
+
                intc: interrupt-controller@17a00000 {
                        compatible = "arm,gic-v3";
                        reg = <0x0 0x17a00000 0x0 0x10000>,     /* GICD */