Siddartha Mohanadoss | 18c4b9f | 2014-01-23 16:13:31 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 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 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 13 | &spmi_bus { |
| 14 | #address-cells = <1>; |
| 15 | #size-cells = <0>; |
| 16 | interrupt-controller; |
| 17 | #interrupt-cells = <3>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 18 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 19 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 20 | &pm8941_lsid0 { |
| 21 | spmi-slave-container; |
| 22 | #address-cells = <1>; |
| 23 | #size-cells = <1>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 24 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 25 | pm8941_misc: qcom,misc@900 { |
| 26 | compatible = "qcom,qpnp-misc"; |
| 27 | reg = <0x900 0x100>; |
| 28 | }; |
| 29 | |
Siddartha Mohanadoss | 7e2b2c6 | 2013-10-08 08:51:42 -0700 | [diff] [blame] | 30 | pm8941_revid: qcom,revid@100 { |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 31 | compatible = "qcom,qpnp-revid"; |
| 32 | reg = <0x100 0x100>; |
| 33 | }; |
| 34 | |
| 35 | qcom,temp-alarm@2400 { |
| 36 | compatible = "qcom,qpnp-temp-alarm"; |
| 37 | reg = <0x2400 0x100>; |
| 38 | interrupts = <0x0 0x24 0x0>; |
| 39 | label = "pm8941_tz"; |
| 40 | qcom,channel-num = <8>; |
| 41 | qcom,threshold-set = <0>; |
Siddartha Mohanadoss | 3cb2b6b | 2013-06-21 12:07:05 -0700 | [diff] [blame] | 42 | qcom,temp_alarm-vadc = <&pm8941_vadc>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 43 | }; |
| 44 | |
| 45 | qcom,power-on@800 { |
| 46 | compatible = "qcom,qpnp-power-on"; |
| 47 | reg = <0x800 0x100>; |
| 48 | interrupts = <0x0 0x8 0x0>, |
| 49 | <0x0 0x8 0x1>, |
| 50 | <0x0 0x8 0x4>, |
| 51 | <0x0 0x8 0x5>; |
| 52 | interrupt-names = "kpdpwr", "resin", |
| 53 | "resin-bark", "kpdpwr-resin-bark"; |
| 54 | qcom,pon-dbc-delay = <15625>; |
| 55 | qcom,system-reset; |
| 56 | qcom,s3-debounce = <32>; |
| 57 | |
| 58 | qcom,pon_1 { |
| 59 | qcom,pon-type = <0>; |
| 60 | qcom,pull-up = <1>; |
| 61 | linux,code = <116>; |
David Keitel | 299548f | 2013-03-19 17:26:26 -0700 | [diff] [blame] | 62 | }; |
| 63 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 64 | qcom,pon_2 { |
| 65 | qcom,pon-type = <1>; |
| 66 | qcom,support-reset = <1>; |
| 67 | qcom,pull-up = <1>; |
| 68 | qcom,s1-timer = <0>; |
| 69 | qcom,s2-timer = <2000>; |
| 70 | qcom,s2-type = <1>; |
| 71 | linux,code = <114>; |
Mohan Pallaka | 7d7eb3e | 2013-09-24 16:56:27 +0530 | [diff] [blame] | 72 | qcom,use-bark; |
Xiaozhe Shi | 9269908 | 2013-03-06 15:22:05 -0800 | [diff] [blame] | 73 | }; |
| 74 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 75 | qcom,pon_3 { |
| 76 | qcom,pon-type = <3>; |
| 77 | qcom,support-reset = <1>; |
| 78 | qcom,s1-timer = <6720>; |
| 79 | qcom,s2-timer = <2000>; |
| 80 | qcom,s2-type = <7>; |
| 81 | qcom,pull-up = <1>; |
Mohan Pallaka | 7d7eb3e | 2013-09-24 16:56:27 +0530 | [diff] [blame] | 82 | qcom,use-bark; |
Siddartha Mohanadoss | 7d1e9d8 | 2012-11-20 18:06:51 -0800 | [diff] [blame] | 83 | }; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 84 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 85 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 86 | bif_ctrl: qcom,bsi@1b00 { |
| 87 | compatible = "qcom,qpnp-bsi"; |
| 88 | reg = <0x1b00 0x100>, |
| 89 | <0x1208 0x1>; |
| 90 | reg-names = "bsi-base", "batt-id-status"; |
| 91 | label = "pm8941-bsi"; |
| 92 | interrupts = <0x0 0x1b 0x0>, |
| 93 | <0x0 0x1b 0x1>, |
| 94 | <0x0 0x1b 0x2>, |
| 95 | <0x0 0x12 0x0>; |
| 96 | interrupt-names = "err", |
| 97 | "rx", |
| 98 | "tx", |
| 99 | "batt-present"; |
| 100 | qcom,channel-num = <0x31>; |
| 101 | qcom,pullup-ohms = <100000>; |
| 102 | qcom,vref-microvolts = <1800000>; |
| 103 | qcom,min-clock-period = <1000>; |
| 104 | qcom,max-clock-period = <160000>; |
| 105 | qcom,sample-rate = <4>; |
Siddartha Mohanadoss | 3cb2b6b | 2013-06-21 12:07:05 -0700 | [diff] [blame] | 106 | qcom,bsi-vadc = <&pm8941_vadc>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 107 | }; |
| 108 | |
| 109 | pm8941_coincell: qcom,coincell@2800 { |
| 110 | compatible = "qcom,qpnp-coincell"; |
| 111 | reg = <0x2800 0x100>; |
| 112 | }; |
| 113 | |
| 114 | pm8941_bms: qcom,bms { |
| 115 | spmi-dev-container; |
| 116 | compatible = "qcom,qpnp-bms"; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 117 | #address-cells = <1>; |
| 118 | #size-cells = <1>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 119 | status = "disabled"; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 120 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 121 | qcom,r-sense-uohm = <10000>; |
| 122 | qcom,v-cutoff-uv = <3400000>; |
| 123 | qcom,max-voltage-uv = <4200000>; |
| 124 | qcom,r-conn-mohm = <0>; |
Xiaozhe Shi | 8e1fe4c | 2013-09-11 10:53:59 -0700 | [diff] [blame] | 125 | qcom,shutdown-soc-valid-limit = <100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 126 | qcom,adjust-soc-low-threshold = <15>; |
| 127 | qcom,ocv-voltage-high-threshold-uv = <3750000>; |
| 128 | qcom,ocv-voltage-low-threshold-uv = <3650000>; |
| 129 | qcom,low-soc-calculate-soc-threshold = <15>; |
Xiaozhe Shi | cb487b1 | 2013-10-14 17:42:07 -0700 | [diff] [blame] | 130 | qcom,low-voltage-calculate-soc-ms = <1000>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 131 | qcom,low-soc-calculate-soc-ms = <5000>; |
| 132 | qcom,calculate-soc-ms = <20000>; |
| 133 | qcom,chg-term-ua = <100000>; |
| 134 | qcom,batt-type = <0>; |
| 135 | qcom,low-voltage-threshold = <3420000>; |
| 136 | qcom,tm-temp-margin = <5000>; |
| 137 | qcom,low-ocv-correction-limit-uv = <100>; |
Xiaozhe Shi | 4b7d0d2 | 2013-11-11 10:29:11 -0800 | [diff] [blame] | 138 | qcom,high-ocv-correction-limit-uv = <250>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 139 | qcom,hold-soc-est = <3>; |
Siddartha Mohanadoss | 3cb2b6b | 2013-06-21 12:07:05 -0700 | [diff] [blame] | 140 | qcom,bms-vadc = <&pm8941_vadc>; |
Siddartha Mohanadoss | 55d0bca | 2013-06-24 08:29:34 -0700 | [diff] [blame] | 141 | qcom,bms-iadc = <&pm8941_iadc>; |
Siddartha Mohanadoss | 88a3fde | 2013-06-24 16:18:52 -0700 | [diff] [blame] | 142 | qcom,bms-adc_tm = <&pm8941_adc_tm>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 143 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 144 | qcom,bms-iadc@3800 { |
| 145 | reg = <0x3800 0x100>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 146 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 147 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 148 | qcom,bms-bms@4000 { |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 149 | reg = <0x4000 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 150 | interrupts = <0x0 0x40 0x0>, |
| 151 | <0x0 0x40 0x1>, |
| 152 | <0x0 0x40 0x2>, |
| 153 | <0x0 0x40 0x3>, |
| 154 | <0x0 0x40 0x4>, |
| 155 | <0x0 0x40 0x5>, |
| 156 | <0x0 0x40 0x6>, |
| 157 | <0x0 0x40 0x7>; |
| 158 | |
| 159 | interrupt-names = "cc_thr", |
| 160 | "ocv_for_r", |
| 161 | "good_ocv", |
| 162 | "charge_begin", |
| 163 | "ocv_thr", |
| 164 | "sw_cc_thr", |
| 165 | "vsense_avg", |
| 166 | "vsense_for_r"; |
| 167 | }; |
| 168 | }; |
| 169 | |
| 170 | clkdiv@5b00 { |
| 171 | reg = <0x5b00 0x100>; |
| 172 | compatible = "qcom,qpnp-clkdiv"; |
| 173 | qcom,cxo-freq = <19200000>; |
| 174 | }; |
| 175 | |
| 176 | clkdiv@5c00 { |
| 177 | reg = <0x5c00 0x100>; |
| 178 | compatible = "qcom,qpnp-clkdiv"; |
| 179 | qcom,cxo-freq = <19200000>; |
| 180 | }; |
| 181 | |
| 182 | clkdiv@5d00 { |
| 183 | reg = <0x5d00 0x1000>; |
| 184 | compatible = "qcom,qpnp-clkdiv"; |
| 185 | qcom,cxo-freq = <19200000>; |
| 186 | }; |
| 187 | |
| 188 | pm8941_chg: qcom,charger { |
| 189 | spmi-dev-container; |
| 190 | compatible = "qcom,qpnp-charger"; |
| 191 | #address-cells = <1>; |
| 192 | #size-cells = <1>; |
| 193 | status = "disabled"; |
| 194 | |
| 195 | qcom,vddmax-mv = <4200>; |
| 196 | qcom,vddsafe-mv = <4230>; |
| 197 | qcom,vinmin-mv = <4300>; |
| 198 | qcom,ibatmax-ma = <1500>; |
| 199 | qcom,ibatterm-ma = <100>; |
| 200 | qcom,ibatsafe-ma = <1500>; |
| 201 | qcom,thermal-mitigation = <1500 700 600 325>; |
| 202 | qcom,cool-bat-decidegc = <100>; |
| 203 | qcom,cool-bat-mv = <4100>; |
| 204 | qcom,ibatmax-warm-ma = <350>; |
| 205 | qcom,warm-bat-decidegc = <450>; |
| 206 | qcom,warm-bat-mv = <4100>; |
| 207 | qcom,ibatmax-cool-ma = <350>; |
| 208 | qcom,vbatdet-delta-mv = <100>; |
| 209 | qcom,resume-soc = <99>; |
| 210 | qcom,tchg-mins = <150>; |
Siddartha Mohanadoss | 3cb2b6b | 2013-06-21 12:07:05 -0700 | [diff] [blame] | 211 | qcom,chg-vadc = <&pm8941_vadc>; |
Abhijeet Dharmapurikar | 2d81b26 | 2013-11-14 19:15:05 -0800 | [diff] [blame] | 212 | qcom,chg-iadc = <&pm8941_iadc>; |
Siddartha Mohanadoss | 88a3fde | 2013-06-24 16:18:52 -0700 | [diff] [blame] | 213 | qcom,chg-adc_tm = <&pm8941_adc_tm>; |
Anirudh Ghayal | 3e298d3 | 2013-10-22 10:27:50 -0700 | [diff] [blame] | 214 | qcom,ibat-calibration-enabled; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 215 | |
| 216 | qcom,chgr@1000 { |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 217 | status = "disabled"; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 218 | reg = <0x1000 0x100>; |
| 219 | interrupts = <0x0 0x10 0x0>, |
| 220 | <0x0 0x10 0x1>, |
| 221 | <0x0 0x10 0x2>, |
| 222 | <0x0 0x10 0x3>, |
| 223 | <0x0 0x10 0x4>, |
| 224 | <0x0 0x10 0x5>, |
| 225 | <0x0 0x10 0x6>, |
| 226 | <0x0 0x10 0x7>; |
| 227 | |
| 228 | interrupt-names = "vbat-det-lo", |
| 229 | "vbat-det-hi", |
| 230 | "chgwdog", |
| 231 | "state-change", |
| 232 | "trkl-chg-on", |
| 233 | "fast-chg-on", |
| 234 | "chg-failed", |
| 235 | "chg-done"; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 236 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 237 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 238 | qcom,buck@1100 { |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 239 | status = "disabled"; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 240 | reg = <0x1100 0x100>; |
| 241 | interrupts = <0x0 0x11 0x0>, |
| 242 | <0x0 0x11 0x1>, |
| 243 | <0x0 0x11 0x2>, |
| 244 | <0x0 0x11 0x3>, |
| 245 | <0x0 0x11 0x4>, |
| 246 | <0x0 0x11 0x5>, |
| 247 | <0x0 0x11 0x6>; |
| 248 | |
| 249 | interrupt-names = "vbat-ov", |
| 250 | "vreg-ov", |
| 251 | "overtemp", |
| 252 | "vchg-loop", |
| 253 | "ichg-loop", |
| 254 | "ibat-loop", |
| 255 | "vdd-loop"; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 256 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 257 | |
Abhijeet Dharmapurikar | 6ba9076 | 2013-08-05 12:50:21 -0700 | [diff] [blame] | 258 | pm8941_chg_batif: qcom,bat-if@1200 { |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 259 | status = "disabled"; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 260 | reg = <0x1200 0x100>; |
| 261 | interrupts = <0x0 0x12 0x0>, |
| 262 | <0x0 0x12 0x1>, |
| 263 | <0x0 0x12 0x2>, |
| 264 | <0x0 0x12 0x3>, |
| 265 | <0x0 0x12 0x4>; |
| 266 | |
| 267 | interrupt-names = "batt-pres", |
| 268 | "bat-temp-ok", |
| 269 | "bat-fet-on", |
| 270 | "vcp-on", |
| 271 | "psi"; |
| 272 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 273 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 274 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 275 | pm8941_chg_otg: qcom,usb-chgpth@1300 { |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 276 | status = "disabled"; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 277 | reg = <0x1300 0x100>; |
| 278 | interrupts = <0 0x13 0x0>, |
| 279 | <0 0x13 0x1>, |
| 280 | <0x0 0x13 0x2>; |
| 281 | |
| 282 | interrupt-names = "coarse-det-usb", |
| 283 | "usbin-valid", |
| 284 | "chg-gone"; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 285 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 286 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 287 | qcom,dc-chgpth@1400 { |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 288 | status = "disabled"; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 289 | reg = <0x1400 0x100>; |
| 290 | interrupts = <0x0 0x14 0x0>, |
| 291 | <0x0 0x14 0x1>; |
| 292 | |
| 293 | interrupt-names = "coarse-det-dc", |
| 294 | "dcin-valid"; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 295 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 296 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 297 | pm8941_chg_boost: qcom,boost@1500 { |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 298 | status = "disabled"; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 299 | reg = <0x1500 0x100>; |
| 300 | interrupts = <0x0 0x15 0x0>, |
| 301 | <0x0 0x15 0x1>; |
| 302 | |
| 303 | interrupt-names = "boost-pwr-ok", |
| 304 | "limit-error"; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 305 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 306 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 307 | qcom,chg-misc@1600 { |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 308 | status = "disabled"; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 309 | reg = <0x1600 0x100>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 310 | }; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 311 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 312 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 313 | pm8941_gpios: gpios { |
| 314 | spmi-dev-container; |
| 315 | compatible = "qcom,qpnp-pin"; |
| 316 | gpio-controller; |
| 317 | #gpio-cells = <2>; |
| 318 | #address-cells = <1>; |
| 319 | #size-cells = <1>; |
| 320 | label = "pm8941-gpio"; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 321 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 322 | gpio@c000 { |
Amy Maloche | c9aa2cb | 2012-11-07 12:22:58 -0800 | [diff] [blame] | 323 | reg = <0xc000 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 324 | qcom,pin-num = <1>; |
Amy Maloche | c9aa2cb | 2012-11-07 12:22:58 -0800 | [diff] [blame] | 325 | }; |
| 326 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 327 | gpio@c100 { |
| 328 | reg = <0xc100 0x100>; |
| 329 | qcom,pin-num = <2>; |
| 330 | }; |
| 331 | |
| 332 | gpio@c200 { |
| 333 | reg = <0xc200 0x100>; |
| 334 | qcom,pin-num = <3>; |
| 335 | }; |
| 336 | |
| 337 | gpio@c300 { |
| 338 | reg = <0xc300 0x100>; |
| 339 | qcom,pin-num = <4>; |
| 340 | }; |
| 341 | |
| 342 | gpio@c400 { |
| 343 | reg = <0xc400 0x100>; |
| 344 | qcom,pin-num = <5>; |
| 345 | }; |
| 346 | |
| 347 | gpio@c500 { |
| 348 | reg = <0xc500 0x100>; |
| 349 | qcom,pin-num = <6>; |
| 350 | }; |
| 351 | |
| 352 | gpio@c600 { |
| 353 | reg = <0xc600 0x100>; |
| 354 | qcom,pin-num = <7>; |
| 355 | }; |
| 356 | |
| 357 | gpio@c700 { |
| 358 | reg = <0xc700 0x100>; |
| 359 | qcom,pin-num = <8>; |
| 360 | }; |
| 361 | |
| 362 | gpio@c800 { |
| 363 | reg = <0xc800 0x100>; |
| 364 | qcom,pin-num = <9>; |
| 365 | }; |
| 366 | |
| 367 | gpio@c900 { |
| 368 | reg = <0xc900 0x100>; |
| 369 | qcom,pin-num = <10>; |
| 370 | }; |
| 371 | |
| 372 | gpio@ca00 { |
| 373 | reg = <0xca00 0x100>; |
| 374 | qcom,pin-num = <11>; |
| 375 | }; |
| 376 | |
| 377 | gpio@cb00 { |
| 378 | reg = <0xcb00 0x100>; |
| 379 | qcom,pin-num = <12>; |
| 380 | }; |
| 381 | |
| 382 | gpio@cc00 { |
| 383 | reg = <0xcc00 0x100>; |
| 384 | qcom,pin-num = <13>; |
| 385 | }; |
| 386 | |
| 387 | gpio@cd00 { |
| 388 | reg = <0xcd00 0x100>; |
| 389 | qcom,pin-num = <14>; |
| 390 | }; |
| 391 | |
| 392 | gpio@ce00 { |
| 393 | reg = <0xce00 0x100>; |
| 394 | qcom,pin-num = <15>; |
| 395 | }; |
| 396 | |
| 397 | gpio@cf00 { |
| 398 | reg = <0xcf00 0x100>; |
| 399 | qcom,pin-num = <16>; |
| 400 | }; |
| 401 | |
| 402 | gpio@d000 { |
Amy Maloche | 4f0b046 | 2012-09-17 12:09:49 -0700 | [diff] [blame] | 403 | reg = <0xd000 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 404 | qcom,pin-num = <17>; |
Amy Maloche | 4f0b046 | 2012-09-17 12:09:49 -0700 | [diff] [blame] | 405 | }; |
| 406 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 407 | gpio@d100 { |
Amy Maloche | 4f0b046 | 2012-09-17 12:09:49 -0700 | [diff] [blame] | 408 | reg = <0xd100 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 409 | qcom,pin-num = <18>; |
Amy Maloche | 4f0b046 | 2012-09-17 12:09:49 -0700 | [diff] [blame] | 410 | }; |
| 411 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 412 | gpio@d200 { |
Amy Maloche | 4f0b046 | 2012-09-17 12:09:49 -0700 | [diff] [blame] | 413 | reg = <0xd200 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 414 | qcom,pin-num = <19>; |
Amy Maloche | 4f0b046 | 2012-09-17 12:09:49 -0700 | [diff] [blame] | 415 | }; |
| 416 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 417 | gpio@d300 { |
Amy Maloche | 2b8b79b | 2012-10-22 10:36:04 -0700 | [diff] [blame] | 418 | reg = <0xd300 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 419 | qcom,pin-num = <20>; |
Amy Maloche | 2b8b79b | 2012-10-22 10:36:04 -0700 | [diff] [blame] | 420 | }; |
| 421 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 422 | gpio@d400 { |
Amy Maloche | 2b8b79b | 2012-10-22 10:36:04 -0700 | [diff] [blame] | 423 | reg = <0xd400 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 424 | qcom,pin-num = <21>; |
Amy Maloche | 2b8b79b | 2012-10-22 10:36:04 -0700 | [diff] [blame] | 425 | }; |
| 426 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 427 | gpio@d500 { |
Amy Maloche | 2b8b79b | 2012-10-22 10:36:04 -0700 | [diff] [blame] | 428 | reg = <0xd500 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 429 | qcom,pin-num = <22>; |
Amy Maloche | 2b8b79b | 2012-10-22 10:36:04 -0700 | [diff] [blame] | 430 | }; |
| 431 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 432 | gpio@d600 { |
Amy Maloche | 2b8b79b | 2012-10-22 10:36:04 -0700 | [diff] [blame] | 433 | reg = <0xd600 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 434 | qcom,pin-num = <23>; |
Amy Maloche | 2b8b79b | 2012-10-22 10:36:04 -0700 | [diff] [blame] | 435 | }; |
| 436 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 437 | gpio@d700 { |
Amy Maloche | 2b8b79b | 2012-10-22 10:36:04 -0700 | [diff] [blame] | 438 | reg = <0xd700 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 439 | qcom,pin-num = <24>; |
Amy Maloche | 2b8b79b | 2012-10-22 10:36:04 -0700 | [diff] [blame] | 440 | }; |
| 441 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 442 | gpio@d800 { |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 443 | reg = <0xd800 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 444 | qcom,pin-num = <25>; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 445 | }; |
| 446 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 447 | gpio@d900 { |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 448 | reg = <0xd900 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 449 | qcom,pin-num = <26>; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 450 | }; |
| 451 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 452 | gpio@da00 { |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 453 | reg = <0xda00 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 454 | qcom,pin-num = <27>; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 455 | }; |
| 456 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 457 | gpio@db00 { |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 458 | reg = <0xdb00 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 459 | qcom,pin-num = <28>; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 460 | }; |
| 461 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 462 | gpio@dc00 { |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 463 | reg = <0xdc00 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 464 | qcom,pin-num = <29>; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 465 | }; |
| 466 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 467 | gpio@dd00 { |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 468 | reg = <0xdd00 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 469 | qcom,pin-num = <30>; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 470 | }; |
| 471 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 472 | gpio@de00 { |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 473 | reg = <0xde00 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 474 | qcom,pin-num = <31>; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 475 | }; |
| 476 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 477 | gpio@df00 { |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 478 | reg = <0xdf00 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 479 | qcom,pin-num = <32>; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 480 | }; |
| 481 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 482 | gpio@e000 { |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 483 | reg = <0xe000 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 484 | qcom,pin-num = <33>; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 485 | }; |
| 486 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 487 | gpio@e100 { |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 488 | reg = <0xe100 0x100>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 489 | qcom,pin-num = <34>; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 490 | }; |
| 491 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 492 | gpio@e200 { |
| 493 | reg = <0xe200 0x100>; |
| 494 | qcom,pin-num = <35>; |
Jay Chokshi | 6254a16 | 2012-05-07 12:38:14 -0700 | [diff] [blame] | 495 | }; |
| 496 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 497 | gpio@e300 { |
| 498 | reg = <0xe300 0x100>; |
| 499 | qcom,pin-num = <36>; |
| 500 | }; |
| 501 | }; |
| 502 | |
| 503 | pm8941_mpps: mpps { |
| 504 | spmi-dev-container; |
| 505 | compatible = "qcom,qpnp-pin"; |
| 506 | gpio-controller; |
| 507 | #gpio-cells = <2>; |
| 508 | #address-cells = <1>; |
| 509 | #size-cells = <1>; |
| 510 | label = "pm8941-mpp"; |
| 511 | |
| 512 | mpp@a000 { |
| 513 | reg = <0xa000 0x100>; |
| 514 | qcom,pin-num = <1>; |
Jay Chokshi | 6254a16 | 2012-05-07 12:38:14 -0700 | [diff] [blame] | 515 | }; |
| 516 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 517 | mpp@a100 { |
| 518 | reg = <0xa100 0x100>; |
| 519 | qcom,pin-num = <2>; |
Jay Chokshi | 6254a16 | 2012-05-07 12:38:14 -0700 | [diff] [blame] | 520 | }; |
| 521 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 522 | mpp@a200 { |
| 523 | reg = <0xa200 0x100>; |
| 524 | qcom,pin-num = <3>; |
Jay Chokshi | 6254a16 | 2012-05-07 12:38:14 -0700 | [diff] [blame] | 525 | }; |
| 526 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 527 | mpp@a300 { |
| 528 | reg = <0xa300 0x100>; |
| 529 | qcom,pin-num = <4>; |
Jay Chokshi | 6254a16 | 2012-05-07 12:38:14 -0700 | [diff] [blame] | 530 | }; |
| 531 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 532 | mpp@a400 { |
| 533 | reg = <0xa400 0x100>; |
| 534 | qcom,pin-num = <5>; |
Jay Chokshi | 6254a16 | 2012-05-07 12:38:14 -0700 | [diff] [blame] | 535 | }; |
| 536 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 537 | mpp@a500 { |
| 538 | reg = <0xa500 0x100>; |
| 539 | qcom,pin-num = <6>; |
Jay Chokshi | 6254a16 | 2012-05-07 12:38:14 -0700 | [diff] [blame] | 540 | }; |
| 541 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 542 | mpp@a600 { |
| 543 | reg = <0xa600 0x100>; |
| 544 | qcom,pin-num = <7>; |
Jay Chokshi | 6254a16 | 2012-05-07 12:38:14 -0700 | [diff] [blame] | 545 | }; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 546 | |
| 547 | mpp@a700 { |
| 548 | reg = <0xa700 0x100>; |
| 549 | qcom,pin-num = <8>; |
| 550 | }; |
| 551 | }; |
| 552 | |
| 553 | qcom,pm8941_rtc { |
| 554 | spmi-dev-container; |
| 555 | compatible = "qcom,qpnp-rtc"; |
| 556 | #address-cells = <1>; |
| 557 | #size-cells = <1>; |
| 558 | qcom,qpnp-rtc-write = <0>; |
| 559 | qcom,qpnp-rtc-alarm-pwrup = <0>; |
| 560 | |
| 561 | qcom,pm8941_rtc_rw@6000 { |
| 562 | reg = <0x6000 0x100>; |
| 563 | }; |
| 564 | qcom,pm8941_rtc_alarm@6100 { |
| 565 | reg = <0x6100 0x100>; |
| 566 | interrupts = <0x0 0x61 0x1>; |
| 567 | }; |
| 568 | }; |
| 569 | |
| 570 | pm8941_vadc: vadc@3100 { |
| 571 | compatible = "qcom,qpnp-vadc"; |
| 572 | reg = <0x3100 0x100>; |
| 573 | #address-cells = <1>; |
| 574 | #size-cells = <0>; |
| 575 | interrupts = <0x0 0x31 0x0>; |
| 576 | interrupt-names = "eoc-int-en-set"; |
| 577 | qcom,adc-bit-resolution = <15>; |
| 578 | qcom,adc-vdd-reference = <1800>; |
Siddartha Mohanadoss | 7926926 | 2013-07-28 13:13:10 -0700 | [diff] [blame] | 579 | qcom,vadc-poll-eoc; |
Siddartha Mohanadoss | 7e2b2c6 | 2013-10-08 08:51:42 -0700 | [diff] [blame] | 580 | qcom,pmic-revid = <&pm8941_revid>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 581 | |
| 582 | chan@0 { |
| 583 | label = "usb_in"; |
| 584 | reg = <0>; |
| 585 | qcom,decimation = <0>; |
| 586 | qcom,pre-div-channel-scaling = <4>; |
| 587 | qcom,calibration-type = "absolute"; |
| 588 | qcom,scale-function = <0>; |
| 589 | qcom,hw-settle-time = <0>; |
| 590 | qcom,fast-avg-setup = <0>; |
| 591 | }; |
| 592 | |
| 593 | chan@1 { |
| 594 | label = "dc_in"; |
| 595 | reg = <1>; |
| 596 | qcom,decimation = <0>; |
| 597 | qcom,pre-div-channel-scaling = <4>; |
| 598 | qcom,calibration-type = "absolute"; |
| 599 | qcom,scale-function = <0>; |
| 600 | qcom,hw-settle-time = <0>; |
| 601 | qcom,fast-avg-setup = <0>; |
| 602 | }; |
| 603 | |
| 604 | chan@2 { |
| 605 | label = "vchg_sns"; |
| 606 | reg = <2>; |
| 607 | qcom,decimation = <0>; |
| 608 | qcom,pre-div-channel-scaling = <3>; |
| 609 | qcom,calibration-type = "absolute"; |
| 610 | qcom,scale-function = <0>; |
| 611 | qcom,hw-settle-time = <0>; |
| 612 | qcom,fast-avg-setup = <0>; |
| 613 | }; |
| 614 | |
| 615 | chan@3 { |
| 616 | label = "spare1_div3"; |
| 617 | reg = <3>; |
| 618 | qcom,decimation = <0>; |
| 619 | qcom,pre-div-channel-scaling = <1>; |
| 620 | qcom,calibration-type = "absolute"; |
| 621 | qcom,scale-function = <0>; |
| 622 | qcom,hw-settle-time = <0>; |
| 623 | qcom,fast-avg-setup = <0>; |
| 624 | }; |
| 625 | |
| 626 | chan@4 { |
| 627 | label = "usb_id_mv"; |
| 628 | reg = <4>; |
| 629 | qcom,decimation = <0>; |
| 630 | qcom,pre-div-channel-scaling = <1>; |
| 631 | qcom,calibration-type = "absolute"; |
| 632 | qcom,scale-function = <0>; |
| 633 | qcom,hw-settle-time = <0>; |
| 634 | qcom,fast-avg-setup = <0>; |
| 635 | }; |
| 636 | |
| 637 | chan@5 { |
| 638 | label = "vcoin"; |
| 639 | reg = <5>; |
| 640 | qcom,decimation = <0>; |
| 641 | qcom,pre-div-channel-scaling = <1>; |
| 642 | qcom,calibration-type = "absolute"; |
| 643 | qcom,scale-function = <0>; |
| 644 | qcom,hw-settle-time = <0>; |
| 645 | qcom,fast-avg-setup = <0>; |
| 646 | }; |
| 647 | |
| 648 | chan@6 { |
| 649 | label = "vbat_sns"; |
| 650 | reg = <6>; |
| 651 | qcom,decimation = <0>; |
| 652 | qcom,pre-div-channel-scaling = <1>; |
| 653 | qcom,calibration-type = "absolute"; |
| 654 | qcom,scale-function = <0>; |
| 655 | qcom,hw-settle-time = <0>; |
| 656 | qcom,fast-avg-setup = <0>; |
| 657 | }; |
| 658 | |
| 659 | chan@7 { |
| 660 | label = "vph_pwr"; |
| 661 | reg = <7>; |
| 662 | qcom,decimation = <0>; |
| 663 | qcom,pre-div-channel-scaling = <1>; |
| 664 | qcom,calibration-type = "absolute"; |
| 665 | qcom,scale-function = <0>; |
| 666 | qcom,hw-settle-time = <0>; |
| 667 | qcom,fast-avg-setup = <0>; |
| 668 | }; |
| 669 | |
| 670 | chan@8 { |
| 671 | label = "die_temp"; |
| 672 | reg = <8>; |
| 673 | qcom,decimation = <0>; |
| 674 | qcom,pre-div-channel-scaling = <0>; |
| 675 | qcom,calibration-type = "absolute"; |
| 676 | qcom,scale-function = <3>; |
| 677 | qcom,hw-settle-time = <0>; |
| 678 | qcom,fast-avg-setup = <0>; |
| 679 | }; |
| 680 | |
| 681 | chan@9 { |
| 682 | label = "ref_625mv"; |
| 683 | reg = <9>; |
| 684 | qcom,decimation = <0>; |
| 685 | qcom,pre-div-channel-scaling = <0>; |
| 686 | qcom,calibration-type = "absolute"; |
| 687 | qcom,scale-function = <0>; |
| 688 | qcom,hw-settle-time = <0>; |
| 689 | qcom,fast-avg-setup = <0>; |
| 690 | }; |
| 691 | |
| 692 | chan@a { |
| 693 | label = "ref_1250v"; |
| 694 | reg = <0xa>; |
| 695 | qcom,decimation = <0>; |
| 696 | qcom,pre-div-channel-scaling = <0>; |
| 697 | qcom,calibration-type = "absolute"; |
| 698 | qcom,scale-function = <0>; |
| 699 | qcom,hw-settle-time = <0>; |
| 700 | qcom,fast-avg-setup = <0>; |
| 701 | }; |
| 702 | |
| 703 | chan@30 { |
| 704 | label = "batt_therm"; |
| 705 | reg = <0x30>; |
| 706 | qcom,decimation = <0>; |
| 707 | qcom,pre-div-channel-scaling = <0>; |
| 708 | qcom,calibration-type = "ratiometric"; |
| 709 | qcom,scale-function = <1>; |
| 710 | qcom,hw-settle-time = <2>; |
| 711 | qcom,fast-avg-setup = <0>; |
| 712 | }; |
| 713 | |
| 714 | chan@31 { |
| 715 | label = "batt_id"; |
| 716 | reg = <0x31>; |
| 717 | qcom,decimation = <0>; |
| 718 | qcom,pre-div-channel-scaling = <0>; |
| 719 | qcom,calibration-type = "ratiometric"; |
| 720 | qcom,scale-function = <0>; |
| 721 | qcom,hw-settle-time = <2>; |
| 722 | qcom,fast-avg-setup = <0>; |
| 723 | }; |
| 724 | |
| 725 | chan@b2 { |
| 726 | label = "xo_therm_pu2"; |
| 727 | reg = <0xb2>; |
| 728 | qcom,decimation = <0>; |
| 729 | qcom,pre-div-channel-scaling = <0>; |
| 730 | qcom,calibration-type = "ratiometric"; |
| 731 | qcom,scale-function = <4>; |
| 732 | qcom,hw-settle-time = <2>; |
| 733 | qcom,fast-avg-setup = <0>; |
| 734 | }; |
| 735 | |
| 736 | chan@b3 { |
| 737 | label = "msm_therm"; |
| 738 | reg = <0xb3>; |
| 739 | qcom,decimation = <0>; |
| 740 | qcom,pre-div-channel-scaling = <0>; |
| 741 | qcom,calibration-type = "ratiometric"; |
| 742 | qcom,scale-function = <2>; |
| 743 | qcom,hw-settle-time = <2>; |
| 744 | qcom,fast-avg-setup = <0>; |
| 745 | }; |
| 746 | |
| 747 | chan@b4 { |
| 748 | label = "emmc_therm"; |
| 749 | reg = <0xb4>; |
| 750 | qcom,decimation = <0>; |
| 751 | qcom,pre-div-channel-scaling = <0>; |
| 752 | qcom,calibration-type = "ratiometric"; |
| 753 | qcom,scale-function = <2>; |
| 754 | qcom,hw-settle-time = <2>; |
| 755 | qcom,fast-avg-setup = <0>; |
| 756 | }; |
| 757 | |
| 758 | chan@b5 { |
| 759 | label = "pa_therm0"; |
| 760 | reg = <0xb5>; |
| 761 | qcom,decimation = <0>; |
| 762 | qcom,pre-div-channel-scaling = <0>; |
| 763 | qcom,calibration-type = "ratiometric"; |
| 764 | qcom,scale-function = <2>; |
| 765 | qcom,hw-settle-time = <2>; |
| 766 | qcom,fast-avg-setup = <0>; |
| 767 | }; |
| 768 | |
| 769 | chan@b7 { |
| 770 | label = "pa_therm1"; |
| 771 | reg = <0xb7>; |
| 772 | qcom,decimation = <0>; |
| 773 | qcom,pre-div-channel-scaling = <0>; |
| 774 | qcom,calibration-type = "ratiometric"; |
| 775 | qcom,scale-function = <2>; |
| 776 | qcom,hw-settle-time = <2>; |
| 777 | qcom,fast-avg-setup = <0>; |
| 778 | }; |
| 779 | |
| 780 | chan@b8 { |
| 781 | label = "quiet_therm"; |
| 782 | reg = <0xb8>; |
| 783 | qcom,decimation = <0>; |
| 784 | qcom,pre-div-channel-scaling = <0>; |
| 785 | qcom,calibration-type = "ratiometric"; |
| 786 | qcom,scale-function = <2>; |
| 787 | qcom,hw-settle-time = <2>; |
| 788 | qcom,fast-avg-setup = <0>; |
| 789 | }; |
| 790 | |
| 791 | chan@b9 { |
| 792 | label = "usb_id"; |
| 793 | reg = <0xb9>; |
| 794 | qcom,decimation = <0>; |
| 795 | qcom,pre-div-channel-scaling = <0>; |
| 796 | qcom,calibration-type = "ratiometric"; |
| 797 | qcom,scale-function = <0>; |
| 798 | qcom,hw-settle-time = <2>; |
| 799 | qcom,fast-avg-setup = <0>; |
| 800 | }; |
| 801 | |
| 802 | chan@39 { |
| 803 | label = "usb_id_nopull"; |
| 804 | reg = <0x39>; |
| 805 | qcom,decimation = <0>; |
| 806 | qcom,pre-div-channel-scaling = <0>; |
| 807 | qcom,calibration-type = "ratiometric"; |
| 808 | qcom,scale-function = <0>; |
| 809 | qcom,hw-settle-time = <2>; |
| 810 | qcom,fast-avg-setup = <0>; |
| 811 | }; |
| 812 | }; |
| 813 | |
| 814 | pm8941_iadc: iadc@3600 { |
| 815 | compatible = "qcom,qpnp-iadc"; |
Siddartha Mohanadoss | 18c4b9f | 2014-01-23 16:13:31 -0800 | [diff] [blame] | 816 | reg = <0x3600 0x100>, |
| 817 | <0x12f1 0x1>; |
| 818 | reg-names = "iadc-base", "batt-id-trim-cnst-rds"; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 819 | #address-cells = <1>; |
| 820 | #size-cells = <0>; |
| 821 | interrupts = <0x0 0x36 0x0>; |
| 822 | interrupt-names = "eoc-int-en-set"; |
| 823 | qcom,adc-bit-resolution = <16>; |
| 824 | qcom,adc-vdd-reference = <1800>; |
Siddartha Mohanadoss | 3cb2b6b | 2013-06-21 12:07:05 -0700 | [diff] [blame] | 825 | qcom,iadc-vadc = <&pm8941_vadc>; |
Siddartha Mohanadoss | 7926926 | 2013-07-28 13:13:10 -0700 | [diff] [blame] | 826 | qcom,iadc-poll-eoc; |
Siddartha Mohanadoss | 18c4b9f | 2014-01-23 16:13:31 -0800 | [diff] [blame] | 827 | qcom,use-default-rds-trim = <0>; |
Siddartha Mohanadoss | 7e2b2c6 | 2013-10-08 08:51:42 -0700 | [diff] [blame] | 828 | qcom,pmic-revid = <&pm8941_revid>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 829 | |
| 830 | chan@0 { |
| 831 | label = "internal_rsense"; |
| 832 | reg = <0>; |
| 833 | qcom,decimation = <0>; |
| 834 | qcom,pre-div-channel-scaling = <1>; |
| 835 | qcom,calibration-type = "absolute"; |
| 836 | qcom,scale-function = <0>; |
| 837 | qcom,hw-settle-time = <0>; |
| 838 | qcom,fast-avg-setup = <0>; |
| 839 | }; |
| 840 | }; |
| 841 | |
| 842 | pm8941_adc_tm: qcom,vadc@3400 { |
| 843 | compatible = "qcom,qpnp-adc-tm"; |
| 844 | reg = <0x3400 0x100>; |
| 845 | #address-cells = <1>; |
| 846 | #size-cells = <0>; |
| 847 | interrupts = <0x0 0x34 0x0>, |
| 848 | <0x0 0x34 0x3>, |
| 849 | <0x0 0x34 0x4>; |
| 850 | interrupt-names = "eoc-int-en-set", |
| 851 | "high-thr-en-set", |
| 852 | "low-thr-en-set"; |
| 853 | qcom,adc-bit-resolution = <15>; |
| 854 | qcom,adc-vdd-reference = <1800>; |
Siddartha Mohanadoss | 3cb2b6b | 2013-06-21 12:07:05 -0700 | [diff] [blame] | 855 | qcom,adc_tm-vadc = <&pm8941_vadc>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 856 | |
| 857 | /* Channel Node */ |
| 858 | chan@b9 { |
| 859 | label = "usb_id"; |
| 860 | reg = <0xb9>; |
| 861 | qcom,decimation = <0>; |
| 862 | qcom,pre-div-channel-scaling = <0>; |
| 863 | qcom,calibration-type = "ratiometric"; |
| 864 | qcom,scale-function = <2>; |
| 865 | qcom,hw-settle-time = <2>; |
| 866 | qcom,fast-avg-setup = <3>; |
| 867 | qcom,btm-channel-number = <0x48>; |
| 868 | }; |
| 869 | |
| 870 | chan@30 { |
| 871 | label = "batt_therm"; |
| 872 | reg = <0x30>; |
| 873 | qcom,decimation = <0>; |
| 874 | qcom,pre-div-channel-scaling = <0>; |
| 875 | qcom,calibration-type = "ratiometric"; |
| 876 | qcom,scale-function = <1>; |
| 877 | qcom,hw-settle-time = <2>; |
| 878 | qcom,fast-avg-setup = <3>; |
| 879 | qcom,btm-channel-number = <0x68>; |
Siddartha Mohanadoss | 58ffe0e | 2014-02-11 17:40:13 -0800 | [diff] [blame] | 880 | qcom,meas-interval-timer-idx = <2>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 881 | }; |
| 882 | |
| 883 | chan@8 { |
| 884 | label = "die_temp"; |
| 885 | reg = <8>; |
| 886 | qcom,decimation = <0>; |
| 887 | qcom,pre-div-channel-scaling = <0>; |
| 888 | qcom,calibration-type = "absolute"; |
| 889 | qcom,scale-function = <3>; |
| 890 | qcom,hw-settle-time = <0>; |
| 891 | qcom,fast-avg-setup = <3>; |
| 892 | qcom,btm-channel-number = <0x70>; |
| 893 | }; |
| 894 | |
| 895 | chan@6 { |
| 896 | label = "vbat_sns"; |
| 897 | reg = <6>; |
| 898 | qcom,decimation = <0>; |
| 899 | qcom,pre-div-channel-scaling = <1>; |
| 900 | qcom,calibration-type = "absolute"; |
| 901 | qcom,scale-function = <0>; |
| 902 | qcom,hw-settle-time = <0>; |
| 903 | qcom,fast-avg-setup = <3>; |
| 904 | qcom,btm-channel-number = <0x78>; |
| 905 | }; |
| 906 | |
| 907 | chan@b5 { |
| 908 | label = "pa_therm0"; |
| 909 | reg = <0xb5>; |
| 910 | qcom,decimation = <0>; |
| 911 | qcom,pre-div-channel-scaling = <0>; |
| 912 | qcom,calibration-type = "ratiometric"; |
| 913 | qcom,scale-function = <2>; |
| 914 | qcom,hw-settle-time = <2>; |
| 915 | qcom,fast-avg-setup = <3>; |
| 916 | qcom,btm-channel-number = <0x80>; |
| 917 | qcom,thermal-node; |
| 918 | }; |
| 919 | |
| 920 | chan@b7 { |
| 921 | label = "pa_therm1"; |
| 922 | reg = <0xb7>; |
| 923 | qcom,decimation = <0>; |
| 924 | qcom,pre-div-channel-scaling = <0>; |
| 925 | qcom,calibration-type = "ratiometric"; |
| 926 | qcom,scale-function = <2>; |
| 927 | qcom,hw-settle-time = <2>; |
| 928 | qcom,fast-avg-setup = <3>; |
| 929 | qcom,btm-channel-number = <0x88>; |
| 930 | qcom,thermal-node; |
| 931 | }; |
| 932 | |
| 933 | chan@b4 { |
| 934 | label = "emmc_therm"; |
| 935 | reg = <0xb4>; |
| 936 | qcom,decimation = <0>; |
| 937 | qcom,pre-div-channel-scaling = <0>; |
| 938 | qcom,calibration-type = "ratiometric"; |
| 939 | qcom,scale-function = <2>; |
| 940 | qcom,hw-settle-time = <2>; |
| 941 | qcom,fast-avg-setup = <3>; |
| 942 | qcom,btm-channel-number = <0x90>; |
| 943 | qcom,thermal-node; |
| 944 | }; |
| 945 | |
| 946 | chan@b3 { |
| 947 | label = "msm_therm"; |
| 948 | reg = <0xb3>; |
| 949 | qcom,decimation = <0>; |
| 950 | qcom,pre-div-channel-scaling = <0>; |
| 951 | qcom,calibration-type = "ratiometric"; |
| 952 | qcom,scale-function = <2>; |
| 953 | qcom,hw-settle-time = <2>; |
| 954 | qcom,fast-avg-setup = <3>; |
| 955 | qcom,btm-channel-number = <0x98>; |
| 956 | qcom,thermal-node; |
| 957 | }; |
| 958 | }; |
| 959 | }; |
| 960 | |
| 961 | &pm8941_lsid1 { |
| 962 | spmi-slave-container; |
| 963 | #address-cells = <1>; |
| 964 | #size-cells = <1>; |
| 965 | |
| 966 | regulator@1400 { |
| 967 | regulator-name = "8941_s1"; |
| 968 | spmi-dev-container; |
| 969 | #address-cells = <1>; |
| 970 | #size-cells = <1>; |
| 971 | compatible = "qcom,qpnp-regulator"; |
| 972 | reg = <0x1400 0x300>; |
| 973 | status = "disabled"; |
| 974 | |
| 975 | qcom,ctl@1400 { |
| 976 | reg = <0x1400 0x100>; |
| 977 | }; |
| 978 | qcom,ps@1500 { |
| 979 | reg = <0x1500 0x100>; |
| 980 | }; |
| 981 | qcom,freq@1600 { |
| 982 | reg = <0x1600 0x100>; |
| 983 | }; |
| 984 | }; |
| 985 | |
| 986 | regulator@1700 { |
| 987 | regulator-name = "8941_s2"; |
| 988 | spmi-dev-container; |
| 989 | #address-cells = <1>; |
| 990 | #size-cells = <1>; |
| 991 | compatible = "qcom,qpnp-regulator"; |
| 992 | reg = <0x1700 0x300>; |
| 993 | status = "disabled"; |
| 994 | |
| 995 | qcom,ctl@1700 { |
| 996 | reg = <0x1700 0x100>; |
| 997 | }; |
| 998 | qcom,ps@1800 { |
| 999 | reg = <0x1800 0x100>; |
| 1000 | }; |
| 1001 | qcom,freq@1900 { |
| 1002 | reg = <0x1900 0x100>; |
| 1003 | }; |
| 1004 | }; |
| 1005 | |
| 1006 | regulator@1a00 { |
| 1007 | regulator-name = "8941_s3"; |
| 1008 | spmi-dev-container; |
| 1009 | #address-cells = <1>; |
| 1010 | #size-cells = <1>; |
| 1011 | compatible = "qcom,qpnp-regulator"; |
| 1012 | reg = <0x1a00 0x300>; |
| 1013 | status = "disabled"; |
| 1014 | |
| 1015 | qcom,ctl@1a00 { |
| 1016 | reg = <0x1a00 0x100>; |
| 1017 | }; |
| 1018 | qcom,ps@1b00 { |
| 1019 | reg = <0x1b00 0x100>; |
| 1020 | }; |
| 1021 | qcom,freq@1c00 { |
| 1022 | reg = <0x1c00 0x100>; |
| 1023 | }; |
| 1024 | }; |
| 1025 | |
| 1026 | regulator@a000 { |
| 1027 | regulator-name = "8941_boost"; |
| 1028 | reg = <0xa000 0x100>; |
| 1029 | compatible = "qcom,qpnp-regulator"; |
| 1030 | status = "disabled"; |
| 1031 | }; |
| 1032 | |
| 1033 | regulator@4000 { |
| 1034 | regulator-name = "8941_l1"; |
| 1035 | reg = <0x4000 0x100>; |
| 1036 | compatible = "qcom,qpnp-regulator"; |
| 1037 | status = "disabled"; |
| 1038 | }; |
| 1039 | |
| 1040 | regulator@4100 { |
| 1041 | regulator-name = "8941_l2"; |
| 1042 | reg = <0x4100 0x100>; |
| 1043 | compatible = "qcom,qpnp-regulator"; |
| 1044 | status = "disabled"; |
| 1045 | }; |
| 1046 | |
| 1047 | regulator@4200 { |
| 1048 | regulator-name = "8941_l3"; |
| 1049 | reg = <0x4200 0x100>; |
| 1050 | compatible = "qcom,qpnp-regulator"; |
| 1051 | status = "disabled"; |
| 1052 | }; |
| 1053 | |
| 1054 | regulator@4300 { |
| 1055 | regulator-name = "8941_l4"; |
| 1056 | reg = <0x4300 0x100>; |
| 1057 | compatible = "qcom,qpnp-regulator"; |
| 1058 | status = "disabled"; |
| 1059 | }; |
| 1060 | |
| 1061 | regulator@4400 { |
| 1062 | regulator-name = "8941_l5"; |
| 1063 | reg = <0x4400 0x100>; |
| 1064 | compatible = "qcom,qpnp-regulator"; |
| 1065 | qcom,force-type = <0x04 0x10>; |
| 1066 | status = "disabled"; |
| 1067 | }; |
| 1068 | |
| 1069 | regulator@4500 { |
| 1070 | regulator-name = "8941_l6"; |
| 1071 | reg = <0x4500 0x100>; |
| 1072 | compatible = "qcom,qpnp-regulator"; |
| 1073 | status = "disabled"; |
| 1074 | }; |
| 1075 | |
| 1076 | regulator@4600 { |
| 1077 | regulator-name = "8941_l7"; |
| 1078 | reg = <0x4600 0x100>; |
| 1079 | compatible = "qcom,qpnp-regulator"; |
| 1080 | qcom,force-type = <0x04 0x10>; |
| 1081 | status = "disabled"; |
| 1082 | }; |
| 1083 | |
| 1084 | regulator@4700 { |
| 1085 | regulator-name = "8941_l8"; |
| 1086 | reg = <0x4700 0x100>; |
| 1087 | compatible = "qcom,qpnp-regulator"; |
| 1088 | status = "disabled"; |
| 1089 | }; |
| 1090 | |
| 1091 | regulator@4800 { |
| 1092 | regulator-name = "8941_l9"; |
| 1093 | reg = <0x4800 0x100>; |
| 1094 | compatible = "qcom,qpnp-regulator"; |
| 1095 | status = "disabled"; |
| 1096 | }; |
| 1097 | |
| 1098 | regulator@4900 { |
| 1099 | regulator-name = "8941_l10"; |
| 1100 | reg = <0x4900 0x100>; |
| 1101 | compatible = "qcom,qpnp-regulator"; |
| 1102 | status = "disabled"; |
| 1103 | }; |
| 1104 | |
| 1105 | regulator@4a00 { |
| 1106 | regulator-name = "8941_l11"; |
| 1107 | reg = <0x4a00 0x100>; |
| 1108 | compatible = "qcom,qpnp-regulator"; |
| 1109 | status = "disabled"; |
| 1110 | }; |
| 1111 | |
| 1112 | regulator@4b00 { |
| 1113 | regulator-name = "8941_l12"; |
| 1114 | reg = <0x4b00 0x100>; |
| 1115 | compatible = "qcom,qpnp-regulator"; |
| 1116 | status = "disabled"; |
| 1117 | }; |
| 1118 | |
| 1119 | regulator@4c00 { |
| 1120 | regulator-name = "8941_l13"; |
| 1121 | reg = <0x4c00 0x100>; |
| 1122 | compatible = "qcom,qpnp-regulator"; |
| 1123 | status = "disabled"; |
| 1124 | }; |
| 1125 | |
| 1126 | regulator@4d00 { |
| 1127 | regulator-name = "8941_l14"; |
| 1128 | reg = <0x4d00 0x100>; |
| 1129 | compatible = "qcom,qpnp-regulator"; |
| 1130 | status = "disabled"; |
| 1131 | }; |
| 1132 | |
| 1133 | regulator@4e00 { |
| 1134 | regulator-name = "8941_l15"; |
| 1135 | reg = <0x4e00 0x100>; |
| 1136 | compatible = "qcom,qpnp-regulator"; |
| 1137 | status = "disabled"; |
| 1138 | }; |
| 1139 | |
| 1140 | regulator@4f00 { |
| 1141 | regulator-name = "8941_l16"; |
| 1142 | reg = <0x4f00 0x100>; |
| 1143 | compatible = "qcom,qpnp-regulator"; |
| 1144 | status = "disabled"; |
| 1145 | }; |
| 1146 | |
| 1147 | regulator@5000 { |
| 1148 | regulator-name = "8941_l17"; |
| 1149 | reg = <0x5000 0x100>; |
| 1150 | compatible = "qcom,qpnp-regulator"; |
| 1151 | status = "disabled"; |
| 1152 | }; |
| 1153 | |
| 1154 | regulator@5100 { |
| 1155 | regulator-name = "8941_l18"; |
| 1156 | reg = <0x5100 0x100>; |
| 1157 | compatible = "qcom,qpnp-regulator"; |
| 1158 | status = "disabled"; |
| 1159 | }; |
| 1160 | |
| 1161 | regulator@5200 { |
| 1162 | regulator-name = "8941_l19"; |
| 1163 | reg = <0x5200 0x100>; |
| 1164 | compatible = "qcom,qpnp-regulator"; |
| 1165 | status = "disabled"; |
| 1166 | }; |
| 1167 | |
| 1168 | regulator@5300 { |
| 1169 | regulator-name = "8941_l20"; |
| 1170 | reg = <0x5300 0x100>; |
| 1171 | compatible = "qcom,qpnp-regulator"; |
| 1172 | status = "disabled"; |
| 1173 | }; |
| 1174 | |
| 1175 | regulator@5400 { |
| 1176 | regulator-name = "8941_l21"; |
| 1177 | reg = <0x5400 0x100>; |
| 1178 | compatible = "qcom,qpnp-regulator"; |
| 1179 | status = "disabled"; |
| 1180 | }; |
| 1181 | |
| 1182 | regulator@5500 { |
| 1183 | regulator-name = "8941_l22"; |
| 1184 | reg = <0x5500 0x100>; |
| 1185 | compatible = "qcom,qpnp-regulator"; |
| 1186 | status = "disabled"; |
| 1187 | }; |
| 1188 | |
| 1189 | regulator@5600 { |
| 1190 | regulator-name = "8941_l23"; |
| 1191 | reg = <0x5600 0x100>; |
| 1192 | compatible = "qcom,qpnp-regulator"; |
| 1193 | status = "disabled"; |
| 1194 | }; |
| 1195 | |
| 1196 | regulator@5700 { |
| 1197 | regulator-name = "8941_l24"; |
| 1198 | reg = <0x5700 0x100>; |
| 1199 | compatible = "qcom,qpnp-regulator"; |
| 1200 | status = "disabled"; |
| 1201 | }; |
| 1202 | |
| 1203 | regulator@8000 { |
| 1204 | regulator-name = "8941_lvs1"; |
| 1205 | reg = <0x8000 0x100>; |
| 1206 | compatible = "qcom,qpnp-regulator"; |
| 1207 | status = "disabled"; |
| 1208 | }; |
| 1209 | |
| 1210 | regulator@8100 { |
| 1211 | regulator-name = "8941_lvs2"; |
| 1212 | reg = <0x8100 0x100>; |
| 1213 | compatible = "qcom,qpnp-regulator"; |
| 1214 | status = "disabled"; |
| 1215 | }; |
| 1216 | |
| 1217 | regulator@8200 { |
| 1218 | regulator-name = "8941_lvs3"; |
| 1219 | reg = <0x8200 0x100>; |
| 1220 | compatible = "qcom,qpnp-regulator"; |
| 1221 | status = "disabled"; |
| 1222 | }; |
| 1223 | |
| 1224 | regulator@8300 { |
| 1225 | regulator-name = "8941_mvs1"; |
| 1226 | reg = <0x8300 0x100>; |
| 1227 | compatible = "qcom,qpnp-regulator"; |
| 1228 | status = "disabled"; |
| 1229 | }; |
| 1230 | |
| 1231 | regulator@8400 { |
| 1232 | regulator-name = "8941_mvs2"; |
| 1233 | reg = <0x8400 0x100>; |
| 1234 | compatible = "qcom,qpnp-regulator"; |
| 1235 | status = "disabled"; |
| 1236 | }; |
| 1237 | |
| 1238 | qcom,vibrator@c000 { |
| 1239 | compatible = "qcom,qpnp-vibrator"; |
| 1240 | reg = <0xc000 0x100>; |
| 1241 | label = "vibrator"; |
| 1242 | status = "disabled"; |
| 1243 | }; |
| 1244 | |
| 1245 | qcom,leds@d000 { |
| 1246 | compatible = "qcom,leds-qpnp"; |
| 1247 | reg = <0xd000 0x100>; |
| 1248 | label = "rgb"; |
| 1249 | }; |
| 1250 | |
| 1251 | qcom,leds@d100 { |
| 1252 | compatible = "qcom,leds-qpnp"; |
| 1253 | reg = <0xd100 0x100>; |
| 1254 | label = "rgb"; |
| 1255 | }; |
| 1256 | |
| 1257 | qcom,leds@d200 { |
| 1258 | compatible = "qcom,leds-qpnp"; |
| 1259 | reg = <0xd200 0x100>; |
| 1260 | label = "rgb"; |
| 1261 | }; |
| 1262 | |
| 1263 | qcom,leds@d300 { |
| 1264 | compatible = "qcom,leds-qpnp"; |
| 1265 | reg = <0xd300 0x100>; |
| 1266 | label = "flash"; |
Chun Zhang | 0d6ca07 | 2013-07-30 21:08:39 -0700 | [diff] [blame] | 1267 | flash-boost-supply = <&pm8941_chg_boost>; |
| 1268 | torch-boost-supply = <&pm8941_boost>; |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 1269 | }; |
| 1270 | |
| 1271 | qcom,leds@d400 { |
| 1272 | compatible = "qcom,leds-qpnp"; |
| 1273 | reg = <0xd400 0x100>; |
| 1274 | label = "flash"; |
| 1275 | }; |
| 1276 | |
| 1277 | qcom,leds@d500 { |
| 1278 | compatible = "qcom,leds-qpnp"; |
| 1279 | reg = <0xd500 0x100>; |
| 1280 | label = "flash"; |
| 1281 | }; |
| 1282 | |
| 1283 | qcom,leds@d600 { |
| 1284 | compatible = "qcom,leds-qpnp"; |
| 1285 | reg = <0xd600 0x100>; |
| 1286 | label = "flash"; |
| 1287 | }; |
| 1288 | |
| 1289 | qcom,leds@d700 { |
| 1290 | compatible = "qcom,leds-qpnp"; |
| 1291 | reg = <0xd700 0x100>; |
| 1292 | label = "flash"; |
| 1293 | }; |
| 1294 | |
| 1295 | qcom,leds@d800 { |
| 1296 | compatible = "qcom,leds-qpnp"; |
| 1297 | reg = <0xd800 0x100>; |
| 1298 | label = "wled"; |
| 1299 | }; |
| 1300 | |
| 1301 | qcom,leds@d900 { |
| 1302 | compatible = "qcom,leds-qpnp"; |
| 1303 | reg = <0xd900 0x100>; |
| 1304 | label = "wled"; |
| 1305 | }; |
| 1306 | |
| 1307 | qcom,leds@da00 { |
| 1308 | compatible = "qcom,leds-qpnp"; |
| 1309 | reg = <0xda00 0x100>; |
| 1310 | label = "wled"; |
| 1311 | }; |
| 1312 | |
| 1313 | qcom,leds@db00 { |
| 1314 | compatible = "qcom,leds-qpnp"; |
| 1315 | reg = <0xdb00 0x100>; |
| 1316 | label = "wled"; |
| 1317 | }; |
| 1318 | |
| 1319 | qcom,leds@dc00 { |
| 1320 | compatible = "qcom,leds-qpnp"; |
| 1321 | reg = <0xdc00 0x100>; |
| 1322 | label = "wled"; |
| 1323 | }; |
| 1324 | |
| 1325 | qcom,leds@dd00 { |
| 1326 | compatible = "qcom,leds-qpnp"; |
| 1327 | reg = <0xdd00 0x100>; |
| 1328 | label = "wled"; |
| 1329 | }; |
| 1330 | |
| 1331 | qcom,leds@de00 { |
| 1332 | compatible = "qcom,leds-qpnp"; |
| 1333 | reg = <0xde00 0x100>; |
| 1334 | label = "wled"; |
| 1335 | }; |
| 1336 | |
| 1337 | qcom,leds@df00 { |
| 1338 | compatible = "qcom,leds-qpnp"; |
| 1339 | reg = <0xdf00 0x100>; |
| 1340 | label = "wled"; |
| 1341 | }; |
| 1342 | |
| 1343 | qcom,leds@e000 { |
| 1344 | compatible = "qcom,leds-qpnp"; |
| 1345 | reg = <0xe000 0x100>; |
| 1346 | label = "wled"; |
| 1347 | }; |
| 1348 | |
| 1349 | qcom,leds@e100 { |
| 1350 | compatible = "qcom,leds-qpnp"; |
| 1351 | reg = <0xe100 0x100>; |
| 1352 | label = "wled"; |
| 1353 | }; |
| 1354 | |
Mohan Pallaka | 6e8ba21 | 2013-04-25 11:43:45 +0530 | [diff] [blame] | 1355 | qcom,leds@e200 { |
| 1356 | compatible = "qcom,leds-qpnp"; |
| 1357 | reg = <0xe200 0x100>; |
| 1358 | label = "kpdbl"; |
| 1359 | }; |
| 1360 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 1361 | pwm@b100 { |
| 1362 | compatible = "qcom,qpnp-pwm"; |
| 1363 | reg = <0xb100 0x100>, |
| 1364 | <0xb042 0x7e>; |
| 1365 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1366 | qcom,channel-id = <0>; |
| 1367 | }; |
| 1368 | |
| 1369 | pwm@b200 { |
| 1370 | compatible = "qcom,qpnp-pwm"; |
| 1371 | reg = <0xb200 0x100>, |
| 1372 | <0xb042 0x7e>; |
| 1373 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1374 | qcom,channel-id = <1>; |
| 1375 | }; |
| 1376 | |
| 1377 | pwm@b300 { |
| 1378 | compatible = "qcom,qpnp-pwm"; |
| 1379 | reg = <0xb300 0x100>, |
| 1380 | <0xb042 0x7e>; |
| 1381 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1382 | qcom,channel-id = <2>; |
| 1383 | }; |
| 1384 | |
| 1385 | pwm@b400 { |
| 1386 | compatible = "qcom,qpnp-pwm"; |
| 1387 | reg = <0xb400 0x100>, |
| 1388 | <0xb042 0x7e>; |
| 1389 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1390 | qcom,channel-id = <3>; |
| 1391 | }; |
| 1392 | |
| 1393 | pwm@b500 { |
| 1394 | compatible = "qcom,qpnp-pwm"; |
| 1395 | reg = <0xb500 0x100>, |
| 1396 | <0xb042 0x7e>; |
| 1397 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1398 | qcom,channel-id = <4>; |
| 1399 | }; |
| 1400 | |
| 1401 | pwm@b600 { |
| 1402 | compatible = "qcom,qpnp-pwm"; |
| 1403 | reg = <0xb600 0x100>, |
| 1404 | <0xb042 0x7e>; |
| 1405 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1406 | qcom,channel-id = <5>; |
| 1407 | }; |
| 1408 | |
| 1409 | pwm@b700 { |
| 1410 | compatible = "qcom,qpnp-pwm"; |
| 1411 | reg = <0xb700 0x100>, |
| 1412 | <0xb042 0x7e>; |
| 1413 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1414 | qcom,channel-id = <6>; |
| 1415 | }; |
| 1416 | |
| 1417 | pwm@b800 { |
| 1418 | compatible = "qcom,qpnp-pwm"; |
| 1419 | reg = <0xb800 0x100>, |
| 1420 | <0xb042 0x7e>; |
| 1421 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1422 | qcom,channel-id = <7>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 1423 | }; |
Mohan Pallaka | 6e8ba21 | 2013-04-25 11:43:45 +0530 | [diff] [blame] | 1424 | |
| 1425 | pwm@e400 { |
| 1426 | compatible = "qcom,qpnp-pwm"; |
| 1427 | reg = <0xe400 0x100>, |
| 1428 | <0xe342 0x1e>; |
| 1429 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1430 | qcom,channel-id = <8>; |
| 1431 | }; |
| 1432 | |
| 1433 | pwm@e500 { |
| 1434 | compatible = "qcom,qpnp-pwm"; |
| 1435 | reg = <0xe500 0x100>, |
| 1436 | <0xe342 0x1e>; |
| 1437 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1438 | qcom,channel-id = <9>; |
| 1439 | }; |
| 1440 | |
| 1441 | pwm@e600 { |
| 1442 | compatible = "qcom,qpnp-pwm"; |
| 1443 | reg = <0xe600 0x100>, |
| 1444 | <0xe342 0x1e>; |
| 1445 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1446 | qcom,channel-id = <10>; |
| 1447 | }; |
| 1448 | |
| 1449 | pwm@e700 { |
| 1450 | compatible = "qcom,qpnp-pwm"; |
| 1451 | reg = <0xe700 0x100>, |
| 1452 | <0xe342 0x1e>; |
| 1453 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1454 | qcom,channel-id = <11>; |
| 1455 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 1456 | }; |