Add SPMI PMIC arbiter device to communicate with PMICs
attached to SPMI bus.

Signed-off-by: Konrad Dybcio <[email protected]>
---
 arch/arm64/boot/dts/qcom/msm8994.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi 
b/arch/arm64/boot/dts/qcom/msm8994.dtsi
index b1c2d7d6a0f2..f10c8b34bd08 100644
--- a/arch/arm64/boot/dts/qcom/msm8994.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi
@@ -149,6 +149,22 @@ blsp1_uart2: serial@f991e000 {
                                 <&clock_gcc GCC_BLSP1_AHB_CLK>;
                };
 
+               spmi_bus: qcom,spmi@fc4c0000 {
+                       compatible = "qcom,spmi-pmic-arb";
+                       reg = <0xfc4cf000 0x1000>,
+                             <0xfc4cb000 0x1000>,
+                             <0xfc4ca000 0x1000>;
+                       reg-names = "core", "intr", "cnfg";
+                       interrupt-names = "periph_irq";
+                       interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
+                       qcom,ee = <0>;
+                       qcom,channel = <0>;
+                       #address-cells = <2>;
+                       #size-cells = <0>;
+                       interrupt-controller;
+                       #interrupt-cells = <4>;
+               };
+
                tcsr_mutex_regs: syscon@fd484000 {
                        compatible = "syscon";
                        reg = <0xfd484000 0x2000>;
-- 
2.27.0

Reply via email to