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