arm64: dts: qcom: sdx75: Add spmi node
authorRohit Agarwal <quic_rohiagar@quicinc.com>
Mon, 7 Aug 2023 13:38:47 +0000 (19:08 +0530)
committerBjorn Andersson <andersson@kernel.org>
Mon, 14 Aug 2023 03:05:06 +0000 (20:05 -0700)
Add SPMI node to SDX75 dtsi.

Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/1691415534-31820-3-git-send-email-quic_rohiagar@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdx75.dtsi

index 7d39a61..a082847 100644 (file)
                        interrupt-controller;
                };
 
+               spmi_bus: spmi@c400000 {
+                       compatible = "qcom,spmi-pmic-arb";
+                       reg = <0x0 0x0c400000 0x0 0x3000>,
+                             <0x0 0x0c500000 0x0 0x400000>,
+                             <0x0 0x0c440000 0x0 0x80000>,
+                             <0x0 0x0c4c0000 0x0 0x10000>,
+                             <0x0 0x0c42d000 0x0 0x4000>;
+                       reg-names = "core",
+                                   "chnls",
+                                   "obsrvr",
+                                   "intr",
+                                   "cnfg";
+                       interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "periph_irq";
+                       qcom,ee = <0>;
+                       qcom,channel = <0>;
+                       qcom,bus-id = <0>;
+                       #address-cells = <2>;
+                       #size-cells = <0>;
+                       interrupt-controller;
+                       #interrupt-cells = <4>;
+               };
+
                tlmm: pinctrl@f000000 {
                        compatible = "qcom,sdx75-tlmm";
                        reg = <0x0 0x0f000000 0x0 0x400000>;