arm64: dts: qcom: sm8350: Add spmi node
authorVinod Koul <vkoul@kernel.org>
Fri, 12 Mar 2021 05:27:30 +0000 (10:57 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 12 Mar 2021 17:23:58 +0000 (11:23 -0600)
Add SPMI node found in SM8350 SoC

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20210312052737.3558801-2-vkoul@kernel.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sm8350.dtsi

index 11401ea0c16c10fb9ca0cf12f845b6091b3aa554..ea285147e43f7bdc2a6c958bde427e74b347f102 100644 (file)
                        #power-domain-cells = <1>;
                };
 
+               spmi_bus: spmi@c440000 {
+                       compatible = "qcom,spmi-pmic-arb";
+                       reg = <0x0 0xc440000 0x0 0x1100>,
+                             <0x0 0xc600000 0x0 0x2000000>,
+                             <0x0 0xe600000 0x0 0x100000>,
+                             <0x0 0xe700000 0x0 0xa0000>,
+                             <0x0 0xc40a000 0x0 0x26000>;
+                       reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
+                       interrupt-names = "periph_irq";
+                       interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
+                       qcom,ee = <0>;
+                       qcom,channel = <0>;
+                       #address-cells = <2>;
+                       #size-cells = <0>;
+                       interrupt-controller;
+                       #interrupt-cells = <4>;
+               };
+
                tlmm: pinctrl@f100000 {
                        compatible = "qcom,sm8350-tlmm";
                        reg = <0 0x0f100000 0 0x300000>;