ARM: dts: msm: Add SPMI and PMIC nodes for msmtriton

SPMI enables communication with PMIC peripherals. Add
the device tree node for it.

While at it, include the supported PMIC configuration.

CRs-Fixed: 1100152
Change-Id: Ib892e3c550e7486d615e9d29e701d2b0c19c45f0
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
This commit is contained in:
Anirudh Ghayal 2016-12-12 10:03:50 +05:30
parent a80e267a8c
commit 60338e0dd4
2 changed files with 33 additions and 0 deletions

View file

@ -363,3 +363,13 @@
regulator-max-microvolt = <7>;
};
};
&pmfalcon_charger {
smb2_vbus: qcom,smb2-vbus {
regulator-name = "smb2-vbus";
};
smb2_vconn: qcom,smb2-vconn {
regulator-name = "smb2-vconn";
};
};

View file

@ -1003,9 +1003,32 @@
qcom,config-arr = <0x178880b8 0x178980b8
0x178a80b8 0x178b80b8>;
};
spmi_bus: qcom,spmi@800f000 {
compatible = "qcom,spmi-pmic-arb";
reg = <0x800f000 0x1000>,
<0x8400000 0x1000000>,
<0x9400000 0x1000000>,
<0xa400000 0x220000>,
<0x800a000 0x3000>;
reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
interrupt-names = "periph_irq";
interrupts = <GIC_SPI 326 IRQ_TYPE_NONE>;
qcom,ee = <0>;
qcom,channel = <0>;
#address-cells = <2>;
#size-cells = <0>;
interrupt-controller;
#interrupt-cells = <4>;
cell-index = <0>;
qcom,not-wakeup; /* Needed until Full-boot-chain enabled */
status = "ok";
};
};
#include "msmtriton-ion.dtsi"
#include "msm-pmfalcon.dtsi"
#include "msm-pm2falcon.dtsi"
#include "msmtriton-regulator.dtsi"
#include "msm-gdsc-falcon.dtsi"
#include "msmfalcon-common.dtsi"