OSDN Git Service

ARM: dts: qcom: sdx55: Add spmi node
authorVinod Koul <vkoul@kernel.org>
Wed, 6 Jan 2021 12:53:17 +0000 (18:23 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 7 Jan 2021 00:46:08 +0000 (18:46 -0600)
This adds SPMI node to SDX55 dts.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20210106125322.61840-14-manivannan.sadhasivam@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm/boot/dts/qcom-sdx55.dtsi

index 51c67d1..57f0512 100644 (file)
                        interrupt-controller;
                };
 
+               spmi_bus: qcom,spmi@c440000 {
+                       compatible = "qcom,spmi-pmic-arb";
+                       reg = <0x0c440000 0x0000d00>,
+                             <0x0c600000 0x2000000>,
+                             <0x0e600000 0x0100000>,
+                             <0x0e700000 0x00a0000>,
+                             <0x0c40a000 0x0000700>;
+                       reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
+                       interrupt-names = "periph_irq";
+                       interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
+                       qcom,ee = <0>;
+                       qcom,channel = <0>;
+                       #address-cells = <2>;
+                       #size-cells = <0>;
+                       interrupt-controller;
+                       #interrupt-cells = <4>;
+                       cell-index = <0>;
+               };
+
                tlmm: pinctrl@f100000 {
                        compatible = "qcom,sdx55-pinctrl";
                        reg = <0xf100000 0x300000>;