Stepan Moskovchenko | 6b8bbc5 | 2013-06-14 15:55:04 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2013, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | /dts-v1/; |
| 14 | |
David Collins | 2392688 | 2013-10-10 16:00:22 -0700 | [diff] [blame] | 15 | /include/ "msm8974pro-ac-pma8084-pm8941.dtsi" |
| 16 | /include/ "msm8974pro-pma8084-mtp.dtsi" |
Stepan Moskovchenko | 6b8bbc5 | 2013-06-14 15:55:04 -0700 | [diff] [blame] | 17 | |
| 18 | / { |
David Collins | 2392688 | 2013-10-10 16:00:22 -0700 | [diff] [blame] | 19 | model = "Qualcomm MSM 8974Pro-AC + PMA8084 MTP"; |
Stepan Moskovchenko | 6b8bbc5 | 2013-06-14 15:55:04 -0700 | [diff] [blame] | 20 | compatible = "qcom,msm8974-mtp", "qcom,msm8974", "qcom,mtp"; |
David Collins | 2392688 | 2013-10-10 16:00:22 -0700 | [diff] [blame] | 21 | qcom,board-id = <8 1>; |
Stepan Moskovchenko | 6b8bbc5 | 2013-06-14 15:55:04 -0700 | [diff] [blame] | 22 | }; |
Venkat Gopalakrishnan | f62c912 | 2013-06-28 18:15:18 -0700 | [diff] [blame] | 23 | |
Siddartha Mohanadoss | b1f21af | 2013-07-18 11:12:35 -0700 | [diff] [blame] | 24 | &pma8084_vadc { |
| 25 | chan@73 { |
| 26 | label = "msm_therm"; |
| 27 | reg = <0x73>; |
| 28 | qcom,decimation = <0>; |
| 29 | qcom,pre-div-channel-scaling = <0>; |
| 30 | qcom,calibration-type = "ratiometric"; |
| 31 | qcom,scale-function = <2>; |
| 32 | qcom,hw-settle-time = <2>; |
| 33 | qcom,fast-avg-setup = <0>; |
| 34 | }; |
| 35 | |
| 36 | chan@75 { |
| 37 | label = "pa_therm0"; |
| 38 | reg = <0x75>; |
| 39 | qcom,decimation = <0>; |
| 40 | qcom,pre-div-channel-scaling = <0>; |
| 41 | qcom,calibration-type = "ratiometric"; |
| 42 | qcom,scale-function = <2>; |
| 43 | qcom,hw-settle-time = <2>; |
| 44 | qcom,fast-avg-setup = <0>; |
| 45 | }; |
| 46 | |
| 47 | chan@77 { |
| 48 | label = "pa_therm1"; |
| 49 | reg = <0x77>; |
| 50 | qcom,decimation = <0>; |
| 51 | qcom,pre-div-channel-scaling = <0>; |
| 52 | qcom,calibration-type = "ratiometric"; |
| 53 | qcom,scale-function = <2>; |
| 54 | qcom,hw-settle-time = <2>; |
| 55 | qcom,fast-avg-setup = <0>; |
| 56 | }; |
| 57 | |
| 58 | chan@78 { |
| 59 | label = "quiet_therm"; |
| 60 | reg = <0x78>; |
| 61 | qcom,decimation = <0>; |
| 62 | qcom,pre-div-channel-scaling = <0>; |
| 63 | qcom,calibration-type = "ratiometric"; |
| 64 | qcom,scale-function = <2>; |
| 65 | qcom,hw-settle-time = <2>; |
| 66 | qcom,fast-avg-setup = <0>; |
| 67 | }; |
| 68 | }; |
| 69 | |
| 70 | &pma8084_adc_tm { |
| 71 | chan@73 { |
| 72 | label = "msm_therm"; |
| 73 | reg = <0x73>; |
| 74 | qcom,decimation = <0>; |
| 75 | qcom,pre-div-channel-scaling = <0>; |
| 76 | qcom,calibration-type = "ratiometric"; |
| 77 | qcom,scale-function = <2>; |
| 78 | qcom,hw-settle-time = <2>; |
| 79 | qcom,fast-avg-setup = <0>; |
| 80 | qcom,btm-channel-number = <0x48>; |
| 81 | qcom,thermal-node; |
| 82 | }; |
| 83 | |
| 84 | chan@75 { |
| 85 | label = "pa_therm0"; |
| 86 | reg = <0x75>; |
| 87 | qcom,decimation = <0>; |
| 88 | qcom,pre-div-channel-scaling = <0>; |
| 89 | qcom,calibration-type = "ratiometric"; |
| 90 | qcom,scale-function = <2>; |
| 91 | qcom,hw-settle-time = <2>; |
| 92 | qcom,fast-avg-setup = <0>; |
| 93 | qcom,btm-channel-number = <0x68>; |
| 94 | qcom,thermal-node; |
| 95 | }; |
| 96 | |
| 97 | chan@77 { |
| 98 | label = "pa_therm1"; |
| 99 | reg = <0x77>; |
| 100 | qcom,decimation = <0>; |
| 101 | qcom,pre-div-channel-scaling = <0>; |
| 102 | qcom,calibration-type = "ratiometric"; |
| 103 | qcom,scale-function = <2>; |
| 104 | qcom,hw-settle-time = <2>; |
| 105 | qcom,fast-avg-setup = <0>; |
| 106 | qcom,btm-channel-number = <0x70>; |
| 107 | qcom,thermal-node; |
| 108 | }; |
| 109 | |
| 110 | chan@78 { |
| 111 | label = "quiet_therm"; |
| 112 | reg = <0x78>; |
| 113 | qcom,decimation = <0>; |
| 114 | qcom,pre-div-channel-scaling = <0>; |
| 115 | qcom,calibration-type = "ratiometric"; |
| 116 | qcom,scale-function = <2>; |
| 117 | qcom,hw-settle-time = <2>; |
| 118 | qcom,fast-avg-setup = <0>; |
| 119 | qcom,btm-channel-number = <0x78>; |
| 120 | qcom,thermal-node; |
| 121 | }; |
| 122 | }; |