Siddartha Mohanadoss | 18c4b9f | 2014-01-23 16:13:31 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. |
Kenneth Heitke | db6e1b1 | 2012-11-20 15:24:42 -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 | |
| 13 | &spmi_bus { |
| 14 | #address-cells = <1>; |
| 15 | #size-cells = <0>; |
| 16 | interrupt-controller; |
| 17 | #interrupt-cells = <3>; |
Xiaozhe Shi | faa942c | 2013-02-21 10:52:03 -0800 | [diff] [blame] | 18 | |
| 19 | qcom,pm8110@0 { |
| 20 | spmi-slave-container; |
| 21 | reg = <0x0>; |
| 22 | #address-cells = <1>; |
| 23 | #size-cells = <1>; |
Siddartha Mohanadoss | 0f664a8 | 2013-03-11 22:52:01 -0700 | [diff] [blame] | 24 | |
Xiaozhe Shi | a0e6c23 | 2013-03-06 15:22:05 -0800 | [diff] [blame] | 25 | qcom,revid@100 { |
| 26 | compatible = "qcom,qpnp-revid"; |
| 27 | reg = <0x100 0x100>; |
| 28 | }; |
| 29 | |
Amy Maloche | e4aaca2 | 2013-04-01 20:34:09 -0700 | [diff] [blame] | 30 | qcom,power-on@800 { |
| 31 | compatible = "qcom,qpnp-power-on"; |
| 32 | reg = <0x800 0x100>; |
| 33 | interrupts = <0x0 0x8 0x0>, |
| 34 | <0x0 0x8 0x1>, |
| 35 | <0x0 0x8 0x4>; |
| 36 | interrupt-names = "kpdpwr", "resin", "resin-bark"; |
| 37 | qcom,pon-dbc-delay = <15625>; |
| 38 | qcom,system-reset; |
| 39 | |
| 40 | qcom,pon_1 { |
| 41 | qcom,pon-type = <0>; |
| 42 | qcom,pull-up = <1>; |
| 43 | linux,code = <116>; |
| 44 | }; |
| 45 | |
| 46 | qcom,pon_2 { |
| 47 | qcom,pon-type = <1>; |
| 48 | qcom,pull-up = <1>; |
| 49 | linux,code = <114>; |
| 50 | }; |
| 51 | }; |
| 52 | |
Xiaozhe Shi | f7d9daf | 2013-04-08 15:29:55 -0700 | [diff] [blame] | 53 | pm8110_chg: qcom,charger { |
| 54 | spmi-dev-container; |
| 55 | compatible = "qcom,qpnp-charger"; |
| 56 | #address-cells = <1>; |
| 57 | #size-cells = <1>; |
| 58 | status = "disabled"; |
| 59 | |
Xiaozhe Shi | 8bc042a | 2013-04-18 15:44:08 -0700 | [diff] [blame] | 60 | qcom,vddmax-mv = <4200>; |
Xiaozhe Shi | 22aa0cd | 2013-05-28 10:45:12 -0700 | [diff] [blame] | 61 | qcom,vddsafe-mv = <4230>; |
Xiaozhe Shi | 555dffd | 2013-07-25 17:21:10 -0700 | [diff] [blame] | 62 | qcom,vinmin-mv = <4300>; |
Xiaozhe Shi | 8bc042a | 2013-04-18 15:44:08 -0700 | [diff] [blame] | 63 | qcom,vbatdet-mv = <4100>; |
| 64 | qcom,ibatmax-ma = <1500>; |
Xiaozhe Shi | a797f94 | 2013-07-12 10:45:55 -0700 | [diff] [blame] | 65 | qcom,ibatterm-ma = <100>; |
Xiaozhe Shi | 8bc042a | 2013-04-18 15:44:08 -0700 | [diff] [blame] | 66 | qcom,ibatsafe-ma = <1500>; |
| 67 | qcom,thermal-mitigation = <1500 700 600 325>; |
Xiaozhe Shi | c220bf8 | 2013-07-25 17:15:57 -0700 | [diff] [blame] | 68 | qcom,vbatdet-delta-mv = <100>; |
Xiaozhe Shi | 1acc092 | 2013-07-12 10:55:21 -0700 | [diff] [blame] | 69 | qcom,resume-soc = <99>; |
Xiaozhe Shi | 8b502bc | 2013-04-18 15:55:56 -0700 | [diff] [blame] | 70 | qcom,tchg-mins = <150>; |
Siddartha Mohanadoss | 3cb2b6b | 2013-06-21 12:07:05 -0700 | [diff] [blame] | 71 | qcom,chg-vadc = <&pm8110_vadc>; |
Siddartha Mohanadoss | 88a3fde | 2013-06-24 16:18:52 -0700 | [diff] [blame] | 72 | qcom,chg-adc_tm = <&pm8110_adc_tm>; |
Xiaozhe Shi | f7d9daf | 2013-04-08 15:29:55 -0700 | [diff] [blame] | 73 | |
Xiaozhe Shi | 8bc042a | 2013-04-18 15:44:08 -0700 | [diff] [blame] | 74 | qcom,chgr@1000 { |
Xiaozhe Shi | f7d9daf | 2013-04-08 15:29:55 -0700 | [diff] [blame] | 75 | status = "disabled"; |
| 76 | reg = <0x1000 0x100>; |
| 77 | interrupts = <0x0 0x10 0x0>, |
| 78 | <0x0 0x10 0x1>, |
| 79 | <0x0 0x10 0x2>, |
| 80 | <0x0 0x10 0x3>, |
| 81 | <0x0 0x10 0x4>, |
| 82 | <0x0 0x10 0x5>, |
| 83 | <0x0 0x10 0x6>, |
| 84 | <0x0 0x10 0x7>; |
| 85 | |
| 86 | interrupt-names = "vbat-det-lo", |
| 87 | "vbat-det-hi", |
| 88 | "chgwdog", |
| 89 | "state-change", |
| 90 | "trkl-chg-on", |
| 91 | "fast-chg-on", |
| 92 | "chg-failed", |
| 93 | "chg-done"; |
| 94 | }; |
| 95 | |
Xiaozhe Shi | 8bc042a | 2013-04-18 15:44:08 -0700 | [diff] [blame] | 96 | qcom,buck@1100 { |
Xiaozhe Shi | f7d9daf | 2013-04-08 15:29:55 -0700 | [diff] [blame] | 97 | status = "disabled"; |
| 98 | reg = <0x1100 0x100>; |
| 99 | interrupts = <0x0 0x11 0x0>, |
| 100 | <0x0 0x11 0x1>, |
| 101 | <0x0 0x11 0x2>, |
| 102 | <0x0 0x11 0x3>, |
| 103 | <0x0 0x11 0x4>, |
| 104 | <0x0 0x11 0x5>, |
| 105 | <0x0 0x11 0x6>; |
| 106 | |
| 107 | interrupt-names = "vbat-ov", |
| 108 | "vreg-ov", |
| 109 | "overtemp", |
| 110 | "vchg-loop", |
| 111 | "ichg-loop", |
| 112 | "ibat-loop", |
| 113 | "vdd-loop"; |
| 114 | }; |
| 115 | |
Abhijeet Dharmapurikar | 6ba9076 | 2013-08-05 12:50:21 -0700 | [diff] [blame] | 116 | pm8110_chg_batif: qcom,bat-if@1200 { |
Xiaozhe Shi | f7d9daf | 2013-04-08 15:29:55 -0700 | [diff] [blame] | 117 | status = "disabled"; |
| 118 | reg = <0x1200 0x100>; |
| 119 | interrupts = <0x0 0x12 0x0>, |
| 120 | <0x0 0x12 0x1>, |
| 121 | <0x0 0x12 0x2>, |
| 122 | <0x0 0x12 0x3>, |
| 123 | <0x0 0x12 0x4>; |
| 124 | |
| 125 | interrupt-names = "batt-pres", |
| 126 | "bat-temp-ok", |
| 127 | "bat-fet-on", |
| 128 | "vcp-on", |
| 129 | "psi"; |
| 130 | }; |
| 131 | |
Xiaozhe Shi | 8bc042a | 2013-04-18 15:44:08 -0700 | [diff] [blame] | 132 | qcom,usb-chgpth@1300 { |
Xiaozhe Shi | f7d9daf | 2013-04-08 15:29:55 -0700 | [diff] [blame] | 133 | status = "disabled"; |
| 134 | reg = <0x1300 0x100>; |
| 135 | interrupts = <0 0x13 0x0>, |
| 136 | <0 0x13 0x1>, |
David Keitel | 0b62bdd | 2013-07-10 17:30:51 -0700 | [diff] [blame] | 137 | <0x0 0x13 0x2>, |
| 138 | <0x0 0x13 0x3>; |
Xiaozhe Shi | f7d9daf | 2013-04-08 15:29:55 -0700 | [diff] [blame] | 139 | |
| 140 | interrupt-names = "coarse-det-usb", |
| 141 | "usbin-valid", |
David Keitel | 0b62bdd | 2013-07-10 17:30:51 -0700 | [diff] [blame] | 142 | "chg-gone", |
| 143 | "usb-ocp"; |
Xiaozhe Shi | f7d9daf | 2013-04-08 15:29:55 -0700 | [diff] [blame] | 144 | }; |
| 145 | |
| 146 | qcom,chg-misc@1600 { |
| 147 | status = "disabled"; |
| 148 | reg = <0x1600 0x100>; |
| 149 | }; |
| 150 | }; |
| 151 | |
Xiaozhe Shi | 67ba76b | 2013-04-18 18:20:05 -0700 | [diff] [blame] | 152 | pm8110_gpios: gpios { |
| 153 | spmi-dev-container; |
| 154 | compatible = "qcom,qpnp-pin"; |
| 155 | gpio-controller; |
| 156 | #gpio-cells = <2>; |
| 157 | #address-cells = <1>; |
| 158 | #size-cells = <1>; |
| 159 | label = "pm8110-gpio"; |
| 160 | |
| 161 | gpio@c000 { |
| 162 | reg = <0xc000 0x100>; |
| 163 | qcom,pin-num = <1>; |
| 164 | }; |
| 165 | |
| 166 | gpio@c100 { |
| 167 | reg = <0xc100 0x100>; |
| 168 | qcom,pin-num = <2>; |
| 169 | }; |
| 170 | |
| 171 | gpio@c200 { |
| 172 | reg = <0xc200 0x100>; |
| 173 | qcom,pin-num = <3>; |
| 174 | }; |
| 175 | |
| 176 | gpio@c300 { |
| 177 | reg = <0xc300 0x100>; |
| 178 | qcom,pin-num = <4>; |
| 179 | }; |
| 180 | }; |
| 181 | |
| 182 | pm8110_mpps: mpps { |
| 183 | spmi-dev-container; |
| 184 | compatible = "qcom,qpnp-pin"; |
| 185 | gpio-controller; |
| 186 | #gpio-cells = <2>; |
| 187 | #address-cells = <1>; |
| 188 | #size-cells = <1>; |
| 189 | label = "pm8110-mpp"; |
| 190 | |
| 191 | mpp@a000 { |
| 192 | reg = <0xa000 0x100>; |
| 193 | qcom,pin-num = <1>; |
| 194 | }; |
| 195 | |
| 196 | mpp@a100 { |
| 197 | reg = <0xa100 0x100>; |
| 198 | qcom,pin-num = <2>; |
| 199 | }; |
| 200 | |
| 201 | mpp@a200 { |
| 202 | reg = <0xa200 0x100>; |
| 203 | qcom,pin-num = <3>; |
| 204 | }; |
| 205 | |
| 206 | mpp@a300 { |
| 207 | reg = <0xa300 0x100>; |
| 208 | qcom,pin-num = <4>; |
| 209 | }; |
| 210 | }; |
| 211 | |
Siddartha Mohanadoss | 0f664a8 | 2013-03-11 22:52:01 -0700 | [diff] [blame] | 212 | pm8110_vadc: vadc@3100 { |
| 213 | compatible = "qcom,qpnp-vadc"; |
| 214 | reg = <0x3100 0x100>; |
| 215 | #address-cells = <1>; |
| 216 | #size-cells = <0>; |
| 217 | interrupts = <0x0 0x31 0x0>; |
| 218 | interrupt-names = "eoc-int-en-set"; |
| 219 | qcom,adc-bit-resolution = <15>; |
| 220 | qcom,adc-vdd-reference = <1800>; |
Siddartha Mohanadoss | a3f2130 | 2013-08-01 13:32:40 -0700 | [diff] [blame] | 221 | qcom,vadc-poll-eoc; |
Siddartha Mohanadoss | 0f664a8 | 2013-03-11 22:52:01 -0700 | [diff] [blame] | 222 | |
| 223 | chan@8 { |
| 224 | label = "die_temp"; |
| 225 | reg = <8>; |
| 226 | qcom,decimation = <0>; |
| 227 | qcom,pre-div-channel-scaling = <0>; |
| 228 | qcom,calibration-type = "absolute"; |
| 229 | qcom,scale-function = <3>; |
| 230 | qcom,hw-settle-time = <0>; |
| 231 | qcom,fast-avg-setup = <0>; |
| 232 | }; |
| 233 | |
| 234 | chan@9 { |
| 235 | label = "ref_625mv"; |
| 236 | reg = <9>; |
| 237 | qcom,decimation = <0>; |
| 238 | qcom,pre-div-channel-scaling = <0>; |
| 239 | qcom,calibration-type = "absolute"; |
| 240 | qcom,scale-function = <0>; |
| 241 | qcom,hw-settle-time = <0>; |
| 242 | qcom,fast-avg-setup = <0>; |
| 243 | }; |
| 244 | |
| 245 | chan@a { |
| 246 | label = "ref_1250v"; |
| 247 | reg = <0xa>; |
| 248 | qcom,decimation = <0>; |
| 249 | qcom,pre-div-channel-scaling = <0>; |
| 250 | qcom,calibration-type = "absolute"; |
| 251 | qcom,scale-function = <0>; |
| 252 | qcom,hw-settle-time = <0>; |
| 253 | qcom,fast-avg-setup = <0>; |
| 254 | }; |
| 255 | }; |
| 256 | |
Siddartha Mohanadoss | 55d0bca | 2013-06-24 08:29:34 -0700 | [diff] [blame] | 257 | pm8110_iadc: iadc@3600 { |
Siddartha Mohanadoss | 0f664a8 | 2013-03-11 22:52:01 -0700 | [diff] [blame] | 258 | compatible = "qcom,qpnp-iadc"; |
Siddartha Mohanadoss | 18c4b9f | 2014-01-23 16:13:31 -0800 | [diff] [blame] | 259 | reg = <0x3600 0x100>, |
| 260 | <0x12f1 0x1>; |
| 261 | reg-names = "iadc-base", "batt-id-trim-cnst-rds"; |
Siddartha Mohanadoss | 0f664a8 | 2013-03-11 22:52:01 -0700 | [diff] [blame] | 262 | #address-cells = <1>; |
| 263 | #size-cells = <0>; |
| 264 | interrupts = <0x0 0x36 0x0>; |
| 265 | interrupt-names = "eoc-int-en-set"; |
| 266 | qcom,adc-bit-resolution = <16>; |
| 267 | qcom,adc-vdd-reference = <1800>; |
Siddartha Mohanadoss | 3cb2b6b | 2013-06-21 12:07:05 -0700 | [diff] [blame] | 268 | qcom,iadc-vadc = <&pm8110_vadc>; |
Siddartha Mohanadoss | a3f2130 | 2013-08-01 13:32:40 -0700 | [diff] [blame] | 269 | qcom,iadc-poll-eoc; |
Siddartha Mohanadoss | 18c4b9f | 2014-01-23 16:13:31 -0800 | [diff] [blame] | 270 | qcom,use-default-rds-trim = <1>; |
Siddartha Mohanadoss | 0f664a8 | 2013-03-11 22:52:01 -0700 | [diff] [blame] | 271 | |
| 272 | chan@0 { |
| 273 | label = "internal_rsense"; |
| 274 | reg = <0>; |
| 275 | qcom,decimation = <0>; |
| 276 | qcom,pre-div-channel-scaling = <1>; |
| 277 | qcom,calibration-type = "absolute"; |
| 278 | qcom,scale-function = <0>; |
| 279 | qcom,hw-settle-time = <0>; |
| 280 | qcom,fast-avg-setup = <0>; |
| 281 | }; |
| 282 | }; |
Ashay Jaiswal | ad1db36 | 2013-04-01 11:11:41 +0530 | [diff] [blame] | 283 | |
Siddartha Mohanadoss | 236e095 | 2013-05-13 10:40:26 -0700 | [diff] [blame] | 284 | pm8110_adc_tm: vadc@3400 { |
| 285 | compatible = "qcom,qpnp-adc-tm"; |
| 286 | reg = <0x3400 0x100>; |
| 287 | #address-cells = <1>; |
| 288 | #size-cells = <0>; |
| 289 | interrupts = <0x0 0x34 0x0>, |
| 290 | <0x0 0x34 0x3>, |
| 291 | <0x0 0x34 0x4>; |
| 292 | interrupt-names = "eoc-int-en-set", |
| 293 | "high-thr-en-set", |
| 294 | "low-thr-en-set"; |
| 295 | qcom,adc-bit-resolution = <15>; |
| 296 | qcom,adc-vdd-reference = <1800>; |
Siddartha Mohanadoss | 3cb2b6b | 2013-06-21 12:07:05 -0700 | [diff] [blame] | 297 | qcom,adc_tm-vadc = <&pm8110_vadc>; |
Siddartha Mohanadoss | 236e095 | 2013-05-13 10:40:26 -0700 | [diff] [blame] | 298 | }; |
| 299 | |
David Collins | 7799635 | 2013-05-20 14:27:51 -0700 | [diff] [blame] | 300 | qcom,temp-alarm@2400 { |
| 301 | compatible = "qcom,qpnp-temp-alarm"; |
| 302 | reg = <0x2400 0x100>; |
| 303 | interrupts = <0x0 0x24 0x0>; |
| 304 | label = "pm8110_tz"; |
| 305 | qcom,channel-num = <8>; |
| 306 | qcom,threshold-set = <0>; |
Siddartha Mohanadoss | 3cb2b6b | 2013-06-21 12:07:05 -0700 | [diff] [blame] | 307 | qcom,temp_alarm-vadc = <&pm8110_vadc>; |
David Collins | 7799635 | 2013-05-20 14:27:51 -0700 | [diff] [blame] | 308 | }; |
| 309 | |
Xiaozhe Shi | 294c7e2 | 2013-04-17 14:59:15 -0700 | [diff] [blame] | 310 | pm8110_bms: qcom,bms { |
| 311 | spmi-dev-container; |
| 312 | compatible = "qcom,qpnp-bms"; |
| 313 | #address-cells = <1>; |
| 314 | #size-cells = <1>; |
| 315 | status = "disabled"; |
| 316 | |
| 317 | qcom,r-sense-uohm = <10000>; |
| 318 | qcom,v-cutoff-uv = <3400000>; |
| 319 | qcom,max-voltage-uv = <4200000>; |
| 320 | qcom,r-conn-mohm = <0>; |
Xiaozhe Shi | 8e1fe4c | 2013-09-11 10:53:59 -0700 | [diff] [blame] | 321 | qcom,shutdown-soc-valid-limit = <100>; |
Xiaozhe Shi | 294c7e2 | 2013-04-17 14:59:15 -0700 | [diff] [blame] | 322 | qcom,adjust-soc-low-threshold = <15>; |
| 323 | qcom,ocv-voltage-high-threshold-uv = <3750000>; |
| 324 | qcom,ocv-voltage-low-threshold-uv = <3650000>; |
| 325 | qcom,low-soc-calculate-soc-threshold = <15>; |
Xiaozhe Shi | cb487b1 | 2013-10-14 17:42:07 -0700 | [diff] [blame] | 326 | qcom,low-voltage-calculate-soc-ms = <1000>; |
Xiaozhe Shi | 294c7e2 | 2013-04-17 14:59:15 -0700 | [diff] [blame] | 327 | qcom,low-soc-calculate-soc-ms = <5000>; |
| 328 | qcom,calculate-soc-ms = <20000>; |
| 329 | qcom,chg-term-ua = <100000>; |
| 330 | qcom,batt-type = <0>; |
| 331 | qcom,low-voltage-threshold = <3420000>; |
Xiaozhe Shi | 535494d | 2013-04-05 12:27:51 -0700 | [diff] [blame] | 332 | qcom,tm-temp-margin = <5000>; |
Xiaozhe Shi | 294c7e2 | 2013-04-17 14:59:15 -0700 | [diff] [blame] | 333 | qcom,low-ocv-correction-limit-uv = <100>; |
Xiaozhe Shi | 4b7d0d2 | 2013-11-11 10:29:11 -0800 | [diff] [blame] | 334 | qcom,high-ocv-correction-limit-uv = <250>; |
Xiaozhe Shi | 294c7e2 | 2013-04-17 14:59:15 -0700 | [diff] [blame] | 335 | qcom,hold-soc-est = <3>; |
Siddartha Mohanadoss | 3cb2b6b | 2013-06-21 12:07:05 -0700 | [diff] [blame] | 336 | qcom,bms-vadc = <&pm8110_vadc>; |
Siddartha Mohanadoss | 55d0bca | 2013-06-24 08:29:34 -0700 | [diff] [blame] | 337 | qcom,bms-iadc = <&pm8110_iadc>; |
Siddartha Mohanadoss | 88a3fde | 2013-06-24 16:18:52 -0700 | [diff] [blame] | 338 | qcom,bms-adc_tm = <&pm8110_adc_tm>; |
Xiaozhe Shi | 294c7e2 | 2013-04-17 14:59:15 -0700 | [diff] [blame] | 339 | |
| 340 | qcom,bms-iadc@3800 { |
| 341 | reg = <0x3800 0x100>; |
| 342 | }; |
| 343 | |
| 344 | qcom,bms-bms@4000 { |
| 345 | reg = <0x4000 0x100>; |
| 346 | interrupts = <0x0 0x40 0x0>, |
| 347 | <0x0 0x40 0x1>, |
| 348 | <0x0 0x40 0x2>, |
| 349 | <0x0 0x40 0x3>, |
| 350 | <0x0 0x40 0x4>, |
| 351 | <0x0 0x40 0x5>, |
| 352 | <0x0 0x40 0x6>, |
| 353 | <0x0 0x40 0x7>; |
| 354 | |
Xiaozhe Shi | c4c04ee | 2013-07-29 10:41:48 -0700 | [diff] [blame] | 355 | interrupt-names = "cc_thr", |
Xiaozhe Shi | 294c7e2 | 2013-04-17 14:59:15 -0700 | [diff] [blame] | 356 | "ocv_for_r", |
Xiaozhe Shi | c4c04ee | 2013-07-29 10:41:48 -0700 | [diff] [blame] | 357 | "good_ocv", |
| 358 | "charge_begin", |
| 359 | "ocv_thr", |
| 360 | "sw_cc_thr", |
| 361 | "vsense_avg", |
| 362 | "vsense_for_r"; |
Xiaozhe Shi | 294c7e2 | 2013-04-17 14:59:15 -0700 | [diff] [blame] | 363 | }; |
| 364 | }; |
| 365 | |
Ashay Jaiswal | ad1db36 | 2013-04-01 11:11:41 +0530 | [diff] [blame] | 366 | qcom,pm8110_rtc { |
| 367 | spmi-dev-container; |
| 368 | compatible = "qcom,qpnp-rtc"; |
| 369 | #address-cells = <1>; |
| 370 | #size-cells = <1>; |
| 371 | qcom,qpnp-rtc-write = <0>; |
| 372 | qcom,qpnp-rtc-alarm-pwrup = <0>; |
| 373 | |
| 374 | qcom,pm8110_rtc_rw@6000 { |
| 375 | reg = <0x6000 0x100>; |
| 376 | }; |
| 377 | |
| 378 | qcom,pm8110_rtc_alarm@6100 { |
| 379 | reg = <0x6100 0x100>; |
| 380 | interrupts = <0x0 0x61 0x1>; |
| 381 | }; |
| 382 | }; |
Amy Maloche | 9a113c1 | 2013-04-11 19:46:20 -0700 | [diff] [blame] | 383 | |
Chun Zhang | 9e808b8 | 2013-04-18 15:38:18 -0700 | [diff] [blame] | 384 | qcom,leds@a100 { |
| 385 | compatible = "qcom,leds-qpnp"; |
| 386 | reg = <0xa100 0x100>; |
| 387 | label = "mpp"; |
| 388 | }; |
| 389 | |
Amy Maloche | 9a113c1 | 2013-04-11 19:46:20 -0700 | [diff] [blame] | 390 | qcom,leds@a200 { |
| 391 | compatible = "qcom,leds-qpnp"; |
| 392 | reg = <0xa200 0x100>; |
| 393 | label = "mpp"; |
| 394 | }; |
Xiaozhe Shi | faa942c | 2013-02-21 10:52:03 -0800 | [diff] [blame] | 395 | }; |
| 396 | |
| 397 | qcom,pm8110@1 { |
| 398 | spmi-slave-container; |
| 399 | reg = <0x1>; |
| 400 | #address-cells = <1>; |
| 401 | #size-cells = <1>; |
Xiaozhe Shi | a9571ca | 2013-02-21 10:52:03 -0800 | [diff] [blame] | 402 | |
| 403 | regulator@1400 { |
| 404 | compatible = "qcom,qpnp-regulator"; |
| 405 | regulator-name = "8110_s1"; |
| 406 | spmi-dev-container; |
| 407 | #address-cells = <1>; |
| 408 | #size-cells = <1>; |
| 409 | reg = <0x1400 0x300>; |
| 410 | status = "disabled"; |
| 411 | |
| 412 | qcom,ctl@1400 { |
| 413 | reg = <0x1400 0x100>; |
| 414 | }; |
| 415 | qcom,ps@1500 { |
| 416 | reg = <0x1500 0x100>; |
| 417 | }; |
| 418 | qcom,freq@1600 { |
| 419 | reg = <0x1600 0x100>; |
| 420 | }; |
| 421 | }; |
| 422 | |
| 423 | regulator@1700 { |
| 424 | compatible = "qcom,qpnp-regulator"; |
| 425 | regulator-name = "8110_s2"; |
| 426 | spmi-dev-container; |
| 427 | #address-cells = <1>; |
| 428 | #size-cells = <1>; |
| 429 | reg = <0x1700 0x300>; |
| 430 | status = "disabled"; |
| 431 | |
| 432 | qcom,ctl@1700 { |
| 433 | reg = <0x1700 0x100>; |
| 434 | }; |
| 435 | qcom,ps@1800 { |
| 436 | reg = <0x1800 0x100>; |
| 437 | }; |
| 438 | qcom,freq@1900 { |
| 439 | reg = <0x1900 0x100>; |
| 440 | }; |
| 441 | }; |
| 442 | |
| 443 | regulator@1a00 { |
| 444 | compatible = "qcom,qpnp-regulator"; |
| 445 | regulator-name = "8110_s3"; |
| 446 | spmi-dev-container; |
| 447 | #address-cells = <1>; |
| 448 | #size-cells = <1>; |
| 449 | reg = <0x1a00 0x300>; |
| 450 | status = "disabled"; |
| 451 | |
| 452 | qcom,ctl@1a00 { |
| 453 | reg = <0x1a00 0x100>; |
| 454 | }; |
| 455 | qcom,ps@1b00 { |
| 456 | reg = <0x1b00 0x100>; |
| 457 | }; |
| 458 | qcom,freq@1c00 { |
| 459 | reg = <0x1c00 0x100>; |
| 460 | }; |
| 461 | }; |
| 462 | |
| 463 | regulator@1d00 { |
| 464 | compatible = "qcom,qpnp-regulator"; |
| 465 | regulator-name = "8110_s4"; |
| 466 | spmi-dev-container; |
| 467 | #address-cells = <1>; |
| 468 | #size-cells = <1>; |
| 469 | reg = <0x1d00 0x300>; |
| 470 | status = "disabled"; |
| 471 | |
| 472 | qcom,ctl@1d00 { |
| 473 | reg = <0x1d00 0x100>; |
| 474 | }; |
| 475 | qcom,ps@1e00 { |
| 476 | reg = <0x1e00 0x100>; |
| 477 | }; |
| 478 | qcom,freq@1f00 { |
| 479 | reg = <0x1f00 0x100>; |
| 480 | }; |
| 481 | }; |
| 482 | |
| 483 | regulator@4000 { |
| 484 | compatible = "qcom,qpnp-regulator"; |
| 485 | regulator-name = "8110_l1"; |
| 486 | reg = <0x4000 0x100>; |
| 487 | status = "disabled"; |
| 488 | }; |
| 489 | |
| 490 | regulator@4100 { |
| 491 | compatible = "qcom,qpnp-regulator"; |
| 492 | regulator-name = "8110_l2"; |
| 493 | reg = <0x4100 0x100>; |
| 494 | status = "disabled"; |
| 495 | }; |
| 496 | |
| 497 | regulator@4200 { |
| 498 | compatible = "qcom,qpnp-regulator"; |
| 499 | regulator-name = "8110_l3"; |
| 500 | reg = <0x4200 0x100>; |
| 501 | status = "disabled"; |
| 502 | }; |
| 503 | |
| 504 | regulator@4300 { |
| 505 | compatible = "qcom,qpnp-regulator"; |
| 506 | regulator-name = "8110_l4"; |
| 507 | reg = <0x4300 0x100>; |
| 508 | status = "disabled"; |
| 509 | }; |
| 510 | |
| 511 | regulator@4400 { |
| 512 | compatible = "qcom,qpnp-regulator"; |
| 513 | regulator-name = "8110_l5"; |
| 514 | reg = <0x4400 0x100>; |
| 515 | status = "disabled"; |
| 516 | }; |
| 517 | |
| 518 | regulator@4500 { |
| 519 | compatible = "qcom,qpnp-regulator"; |
| 520 | regulator-name = "8110_l6"; |
| 521 | reg = <0x4500 0x100>; |
| 522 | status = "disabled"; |
| 523 | }; |
| 524 | |
| 525 | regulator@4600 { |
| 526 | compatible = "qcom,qpnp-regulator"; |
| 527 | regulator-name = "8110_l7"; |
| 528 | reg = <0x4600 0x100>; |
| 529 | status = "disabled"; |
| 530 | }; |
| 531 | |
| 532 | regulator@4700 { |
| 533 | compatible = "qcom,qpnp-regulator"; |
| 534 | regulator-name = "8110_l8"; |
| 535 | reg = <0x4700 0x100>; |
| 536 | status = "disabled"; |
| 537 | }; |
| 538 | |
| 539 | regulator@4800 { |
| 540 | compatible = "qcom,qpnp-regulator"; |
| 541 | regulator-name = "8110_l9"; |
| 542 | reg = <0x4800 0x100>; |
| 543 | status = "disabled"; |
| 544 | }; |
| 545 | |
| 546 | regulator@4900 { |
| 547 | compatible = "qcom,qpnp-regulator"; |
| 548 | regulator-name = "8110_l10"; |
| 549 | reg = <0x4900 0x100>; |
| 550 | status = "disabled"; |
| 551 | }; |
| 552 | |
| 553 | regulator@4b00 { |
| 554 | compatible = "qcom,qpnp-regulator"; |
| 555 | regulator-name = "8110_l12"; |
| 556 | reg = <0x4b00 0x100>; |
| 557 | status = "disabled"; |
| 558 | }; |
| 559 | |
| 560 | regulator@4d00 { |
| 561 | compatible = "qcom,qpnp-regulator"; |
| 562 | regulator-name = "8110_l14"; |
| 563 | reg = <0x4d00 0x100>; |
| 564 | status = "disabled"; |
| 565 | }; |
| 566 | |
| 567 | regulator@4e00 { |
| 568 | compatible = "qcom,qpnp-regulator"; |
| 569 | regulator-name = "8110_l15"; |
| 570 | reg = <0x4e00 0x100>; |
| 571 | status = "disabled"; |
| 572 | }; |
| 573 | |
| 574 | regulator@4f00 { |
| 575 | compatible = "qcom,qpnp-regulator"; |
| 576 | regulator-name = "8110_l16"; |
| 577 | reg = <0x4f00 0x100>; |
| 578 | status = "disabled"; |
| 579 | }; |
| 580 | |
| 581 | regulator@5000 { |
| 582 | compatible = "qcom,qpnp-regulator"; |
| 583 | regulator-name = "8110_l17"; |
| 584 | reg = <0x5000 0x100>; |
| 585 | status = "disabled"; |
| 586 | }; |
| 587 | |
| 588 | regulator@5100 { |
| 589 | compatible = "qcom,qpnp-regulator"; |
| 590 | regulator-name = "8110_l18"; |
| 591 | reg = <0x5100 0x100>; |
| 592 | status = "disabled"; |
| 593 | }; |
| 594 | |
| 595 | regulator@5200 { |
| 596 | compatible = "qcom,qpnp-regulator"; |
| 597 | regulator-name = "8110_l19"; |
| 598 | reg = <0x5200 0x100>; |
| 599 | status = "disabled"; |
| 600 | }; |
| 601 | |
| 602 | regulator@5300 { |
| 603 | compatible = "qcom,qpnp-regulator"; |
| 604 | regulator-name = "8110_l20"; |
| 605 | reg = <0x5300 0x100>; |
| 606 | status = "disabled"; |
| 607 | }; |
| 608 | |
| 609 | regulator@5400 { |
| 610 | compatible = "qcom,qpnp-regulator"; |
| 611 | regulator-name = "8110_l21"; |
| 612 | reg = <0x5400 0x100>; |
| 613 | status = "disabled"; |
| 614 | }; |
| 615 | |
| 616 | regulator@5500 { |
| 617 | compatible = "qcom,qpnp-regulator"; |
| 618 | regulator-name = "8110_l22"; |
| 619 | reg = <0x5500 0x100>; |
| 620 | status = "disabled"; |
| 621 | }; |
Chun Zhang | 3450f83 | 2013-04-15 11:46:29 -0700 | [diff] [blame] | 622 | |
| 623 | qcom,vibrator@c000 { |
| 624 | compatible = "qcom,qpnp-vibrator"; |
| 625 | reg = <0xc000 0x100>; |
| 626 | label = "vibrator"; |
| 627 | status = "disabled"; |
| 628 | }; |
Jay Chokshi | 40b5f32 | 2013-05-01 17:18:12 -0700 | [diff] [blame] | 629 | |
| 630 | pwm@bc00 { |
| 631 | compatible = "qcom,qpnp-pwm"; |
| 632 | reg = <0xbc00 0x100>; |
| 633 | reg-names = "qpnp-lpg-channel-base"; |
| 634 | qcom,channel-id = <0>; |
| 635 | }; |
Xiaozhe Shi | faa942c | 2013-02-21 10:52:03 -0800 | [diff] [blame] | 636 | }; |
Kenneth Heitke | db6e1b1 | 2012-11-20 15:24:42 -0700 | [diff] [blame] | 637 | }; |