ARM: dts: msm: Update PWM and coin cell device configurations for pm8916
Add coin cell device node and update the PWM node to be in compatible
with the "pwm-qti-lpg" driver for qm215. Also enable the charger,
bms and vibrator nodes for qm215-qrd platform.
Change-Id: I01f3905ceeb8eeadc74ec7211061a65771725f75
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
diff --git a/arch/arm64/boot/dts/qcom/pm8916.dtsi b/arch/arm64/boot/dts/qcom/pm8916.dtsi
index 5204137..45516be 100644
--- a/arch/arm64/boot/dts/qcom/pm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8916.dtsi
@@ -80,6 +80,11 @@
"pm8916_mpp3", "pm8916_mpp4";
};
+ pm8916_coincell: qcom,coincell@2800 {
+ compatible = "qcom,qpnp-coincell";
+ reg = <0x2800 0x100>;
+ };
+
pm8916_rtc: qcom,pm8916_rtc {
compatible = "qcom,qpnp-rtc";
#address-cells = <1>;
@@ -299,12 +304,10 @@
#address-cells = <1>;
#size-cells = <1>;
- pm8916_pwm: pwm@bc00 {
- compatible = "qcom,qpnp-pwm";
+ pm8916_pwm: qcom,pwms@bc00 {
+ compatible = "qcom,pwm-lpg";
reg = <0xbc00 0x100>;
- reg-names = "qpnp-lpg-channel-base";
- qcom,channel-id = <0>;
- qcom,supported-sizes = <6>, <9>;
+ reg-names = "lpg-base";
#pwm-cells = <2>;
};