blob: 12b039c6aaece84a6439dc1c23d0b609bb761d67 [file] [log] [blame]
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301/*
2 * Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14/dts-v1/;
15
16#include "msm8953.dtsi"
Kiran Gunda0954f392017-10-16 16:24:55 +053017#include "pmi8950.dtsi"
Srinivas Ramana3cac2782017-09-13 16:31:17 +053018#include "msm8953-mtp.dtsi"
Kiran Gunda0954f392017-10-16 16:24:55 +053019#include "msm8953-pmi8950.dtsi"
Srinivas Ramana3cac2782017-09-13 16:31:17 +053020
21/ {
22 model = "Qualcomm Technologies, Inc. MSM8953 + PMI8950 MTP";
23 compatible = "qcom,msm8953-mtp", "qcom,msm8953", "qcom,mtp";
24 qcom,board-id= <8 0>;
25 qcom,pmic-id = <0x010016 0x010011 0x0 0x0>;
26};
Kiran Gundae76aff62017-11-22 17:35:02 +053027
28/{
29 mtp_batterydata: qcom,battery-data {
30 qcom,batt-id-range-pct = <15>;
31 #include "batterydata-itech-3000mah.dtsi"
32 #include "batterydata-ascent-3450mAh.dtsi"
33 };
34};
35
36&pmi8950_fg {
37 qcom,battery-data = <&mtp_batterydata>;
38};
39
40&pmi8950_charger {
41 qcom,battery-data = <&mtp_batterydata>;
42 qcom,chg-led-sw-controls;
43 qcom,chg-led-support;
44};