Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1 | /* |
| 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 Gunda | 0954f39 | 2017-10-16 16:24:55 +0530 | [diff] [blame] | 17 | #include "pmi8950.dtsi" |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 18 | #include "msm8953-mtp.dtsi" |
Kiran Gunda | 0954f39 | 2017-10-16 16:24:55 +0530 | [diff] [blame] | 19 | #include "msm8953-pmi8950.dtsi" |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 20 | |
| 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 Gunda | e76aff6 | 2017-11-22 17:35:02 +0530 | [diff] [blame] | 27 | |
| 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 | }; |