David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2012, Code Aurora Forum. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
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 | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 18 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 19 | qcom,pm8941@0 { |
| 20 | spmi-slave-container; |
| 21 | reg = <0x0>; |
| 22 | #address-cells = <1>; |
| 23 | #size-cells = <1>; |
| 24 | |
Anirudh Ghayal | 19cf498 | 2012-07-16 11:10:17 +0530 | [diff] [blame] | 25 | qcom,power-on@800 { |
| 26 | compatible = "qcom,qpnp-power-on"; |
| 27 | reg = <0x800 0x100>; |
| 28 | interrupts = <0x0 0x8 0x0>; |
| 29 | interrupt-names = "power-key"; |
| 30 | qcom,pon-key-enable = <1>; |
| 31 | qcom,pon-key-dbc-delay = <15625>; |
| 32 | qcom,pon-key-pull-up = <1>; |
| 33 | }; |
| 34 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 35 | pm8941_gpios { |
| 36 | spmi-dev-container; |
| 37 | compatible = "qcom,qpnp-pin"; |
| 38 | gpio-controller; |
| 39 | #gpio-cells = <2>; |
Michael Bohan | 8b909b4 | 2012-04-18 17:39:12 -0700 | [diff] [blame] | 40 | #address-cells = <1>; |
| 41 | #size-cells = <1>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 42 | label = "pm8941-gpio"; |
Michael Bohan | 8b909b4 | 2012-04-18 17:39:12 -0700 | [diff] [blame] | 43 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 44 | gpio@c000 { |
| 45 | reg = <0xc000 0x100>; |
| 46 | qcom,pin-num = <1>; |
| 47 | status = "disabled"; |
Michael Bohan | 8b909b4 | 2012-04-18 17:39:12 -0700 | [diff] [blame] | 48 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 49 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 50 | gpio@c100 { |
| 51 | reg = <0xc100 0x100>; |
| 52 | qcom,pin-num = <2>; |
| 53 | status = "disabled"; |
| 54 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 55 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 56 | gpio@c200 { |
| 57 | reg = <0xc200 0x100>; |
| 58 | qcom,pin-num = <3>; |
| 59 | status = "disabled"; |
| 60 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 61 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 62 | gpio@c300 { |
| 63 | reg = <0xc300 0x100>; |
| 64 | qcom,pin-num = <4>; |
| 65 | status = "disabled"; |
| 66 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 67 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 68 | gpio@c400 { |
| 69 | reg = <0xc400 0x100>; |
| 70 | qcom,pin-num = <5>; |
| 71 | status = "disabled"; |
| 72 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 73 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 74 | gpio@c500 { |
| 75 | reg = <0xc500 0x100>; |
| 76 | qcom,pin-num = <6>; |
| 77 | status = "disabled"; |
| 78 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 79 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 80 | gpio@c600 { |
| 81 | reg = <0xc600 0x100>; |
| 82 | qcom,pin-num = <7>; |
| 83 | status = "disabled"; |
| 84 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 85 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 86 | gpio@c700 { |
| 87 | reg = <0xc700 0x100>; |
| 88 | qcom,pin-num = <8>; |
| 89 | status = "disabled"; |
| 90 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 91 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 92 | gpio@c800 { |
| 93 | reg = <0xc800 0x100>; |
| 94 | qcom,pin-num = <9>; |
| 95 | status = "disabled"; |
| 96 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 97 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 98 | gpio@c900 { |
| 99 | reg = <0xc900 0x100>; |
| 100 | qcom,pin-num = <10>; |
| 101 | status = "disabled"; |
| 102 | }; |
| 103 | |
| 104 | gpio@ca00 { |
| 105 | reg = <0xca00 0x100>; |
| 106 | qcom,pin-num = <11>; |
| 107 | status = "disabled"; |
| 108 | }; |
| 109 | |
| 110 | gpio@cb00 { |
| 111 | reg = <0xcb00 0x100>; |
| 112 | qcom,pin-num = <12>; |
| 113 | status = "disabled"; |
| 114 | }; |
| 115 | |
| 116 | gpio@cc00 { |
| 117 | reg = <0xcc00 0x100>; |
| 118 | qcom,pin-num = <13>; |
| 119 | status = "disabled"; |
| 120 | }; |
| 121 | |
| 122 | gpio@cd00 { |
| 123 | reg = <0xcd00 0x100>; |
| 124 | qcom,pin-num = <14>; |
| 125 | status = "disabled"; |
| 126 | }; |
| 127 | |
| 128 | gpio@ce00 { |
| 129 | reg = <0xce00 0x100>; |
| 130 | qcom,pin-num = <15>; |
| 131 | status = "disabled"; |
| 132 | }; |
| 133 | |
| 134 | gpio@cf00 { |
| 135 | reg = <0xcf00 0x100>; |
| 136 | qcom,pin-num = <16>; |
| 137 | status = "disabled"; |
| 138 | }; |
| 139 | |
| 140 | gpio@d000 { |
| 141 | reg = <0xd000 0x100>; |
| 142 | qcom,pin-num = <17>; |
| 143 | status = "disabled"; |
| 144 | }; |
| 145 | |
| 146 | gpio@d100 { |
| 147 | reg = <0xd100 0x100>; |
| 148 | qcom,pin-num = <18>; |
| 149 | status = "disabled"; |
| 150 | }; |
| 151 | |
| 152 | gpio@d200 { |
| 153 | reg = <0xd200 0x100>; |
| 154 | qcom,pin-num = <19>; |
| 155 | status = "disabled"; |
| 156 | }; |
| 157 | |
| 158 | gpio@d300 { |
| 159 | reg = <0xd300 0x100>; |
| 160 | qcom,pin-num = <20>; |
| 161 | status = "disabled"; |
| 162 | }; |
| 163 | |
| 164 | gpio@d400 { |
| 165 | reg = <0xd400 0x100>; |
| 166 | qcom,pin-num = <21>; |
| 167 | status = "disabled"; |
| 168 | }; |
| 169 | |
| 170 | gpio@d500 { |
| 171 | reg = <0xd500 0x100>; |
| 172 | qcom,pin-num = <22>; |
| 173 | status = "disabled"; |
| 174 | }; |
| 175 | |
| 176 | gpio@d600 { |
| 177 | reg = <0xd600 0x100>; |
| 178 | qcom,pin-num = <23>; |
| 179 | status = "disabled"; |
| 180 | }; |
| 181 | |
| 182 | gpio@d700 { |
| 183 | reg = <0xd700 0x100>; |
| 184 | qcom,pin-num = <24>; |
| 185 | status = "disabled"; |
| 186 | }; |
| 187 | |
| 188 | gpio@d800 { |
| 189 | reg = <0xd800 0x100>; |
| 190 | qcom,pin-num = <25>; |
| 191 | status = "disabled"; |
| 192 | }; |
| 193 | |
| 194 | gpio@d900 { |
| 195 | reg = <0xd900 0x100>; |
| 196 | qcom,pin-num = <26>; |
| 197 | status = "disabled"; |
| 198 | }; |
| 199 | |
| 200 | gpio@da00 { |
| 201 | reg = <0xda00 0x100>; |
| 202 | qcom,pin-num = <27>; |
| 203 | status = "disabled"; |
| 204 | }; |
| 205 | |
| 206 | gpio@db00 { |
| 207 | reg = <0xdb00 0x100>; |
| 208 | qcom,pin-num = <28>; |
| 209 | status = "disabled"; |
| 210 | }; |
| 211 | |
| 212 | gpio@dc00 { |
| 213 | reg = <0xdc00 0x100>; |
| 214 | qcom,pin-num = <29>; |
| 215 | status = "disabled"; |
| 216 | }; |
| 217 | |
| 218 | gpio@dd00 { |
| 219 | reg = <0xdd00 0x100>; |
| 220 | qcom,pin-num = <30>; |
| 221 | status = "disabled"; |
| 222 | }; |
| 223 | |
| 224 | gpio@de00 { |
| 225 | reg = <0xde00 0x100>; |
| 226 | qcom,pin-num = <31>; |
| 227 | status = "disabled"; |
| 228 | }; |
| 229 | |
| 230 | gpio@df00 { |
| 231 | reg = <0xdf00 0x100>; |
| 232 | qcom,pin-num = <32>; |
| 233 | status = "disabled"; |
| 234 | }; |
| 235 | |
| 236 | gpio@e000 { |
| 237 | reg = <0xe000 0x100>; |
| 238 | qcom,pin-num = <33>; |
| 239 | status = "disabled"; |
| 240 | }; |
| 241 | |
| 242 | gpio@e100 { |
| 243 | reg = <0xe100 0x100>; |
| 244 | qcom,pin-num = <34>; |
| 245 | status = "disabled"; |
| 246 | }; |
| 247 | |
| 248 | gpio@e200 { |
| 249 | reg = <0xe200 0x100>; |
| 250 | qcom,pin-num = <35>; |
| 251 | status = "disabled"; |
| 252 | }; |
| 253 | |
| 254 | gpio@e300 { |
| 255 | reg = <0xe300 0x100>; |
| 256 | qcom,pin-num = <36>; |
| 257 | status = "disabled"; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 258 | }; |
Michael Bohan | 8b909b4 | 2012-04-18 17:39:12 -0700 | [diff] [blame] | 259 | }; |
| 260 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 261 | pm8941_mpps { |
| 262 | spmi-dev-container; |
| 263 | compatible = "qcom,qpnp-pin"; |
| 264 | gpio-controller; |
| 265 | #gpio-cells = <2>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 266 | #address-cells = <1>; |
| 267 | #size-cells = <1>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 268 | label = "pm8941-mpp"; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 269 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 270 | mpp@a000 { |
David Collins | 32f825f | 2012-06-06 09:49:24 -0700 | [diff] [blame] | 271 | reg = <0xa000 0x100>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 272 | qcom,pin-num = <1>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 273 | status = "disabled"; |
| 274 | }; |
| 275 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 276 | mpp@a100 { |
| 277 | reg = <0xa100 0x100>; |
| 278 | qcom,pin-num = <2>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 279 | status = "disabled"; |
| 280 | }; |
| 281 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 282 | mpp@a200 { |
| 283 | reg = <0xa200 0x100>; |
| 284 | qcom,pin-num = <3>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 285 | status = "disabled"; |
| 286 | }; |
| 287 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 288 | mpp@a300 { |
| 289 | reg = <0xa300 0x100>; |
| 290 | qcom,pin-num = <4>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 291 | status = "disabled"; |
| 292 | }; |
| 293 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 294 | mpp@a400 { |
| 295 | reg = <0xa400 0x100>; |
| 296 | qcom,pin-num = <5>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 297 | status = "disabled"; |
| 298 | }; |
| 299 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 300 | mpp@a500 { |
| 301 | reg = <0xa500 0x100>; |
| 302 | qcom,pin-num = <6>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 303 | status = "disabled"; |
| 304 | }; |
| 305 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 306 | mpp@a600 { |
| 307 | reg = <0xa600 0x100>; |
| 308 | qcom,pin-num = <7>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 309 | status = "disabled"; |
| 310 | }; |
| 311 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 312 | mpp@a700 { |
| 313 | reg = <0xa700 0x100>; |
| 314 | qcom,pin-num = <8>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 315 | status = "disabled"; |
| 316 | }; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 317 | }; |
Ashay Jaiswal | 93ad970 | 2012-07-17 15:12:33 +0530 | [diff] [blame] | 318 | |
| 319 | qcom,pm8941_rtc { |
| 320 | spmi-dev-container; |
| 321 | compatible = "qcom,qpnp-rtc"; |
| 322 | #address-cells = <1>; |
| 323 | #size-cells = <1>; |
| 324 | qcom,qpnp-rtc-write = <0>; |
| 325 | qcom,qpnp-rtc-alarm-pwrup = <0>; |
| 326 | |
| 327 | qcom,pm8941_rtc_rw@6000 { |
| 328 | reg = <0x6000 0x100>; |
| 329 | }; |
| 330 | qcom,pm8941_rtc_alarm@6100 { |
| 331 | reg = <0x6100 0x100>; |
| 332 | interrupts = <0x0 0x61 0x1>; |
| 333 | }; |
| 334 | }; |
Siddartha Mohanadoss | 3696ee8 | 2012-07-20 14:47:04 -0700 | [diff] [blame] | 335 | |
| 336 | vadc@3100 { |
| 337 | compatible = "qcom,qpnp-vadc"; |
| 338 | reg = <0x3100 0x100>; |
| 339 | interrupts = <0x0 0x31 0x0>; |
| 340 | qcom,adc-bit-resolution = <15>; |
| 341 | qcom,adc-vdd-reference = <1800>; |
| 342 | |
| 343 | chan@0 { |
| 344 | label = "usb_in"; |
| 345 | qcom,channel-num = <0>; |
| 346 | qcom,decimation = <0>; |
| 347 | qcom,pre-div-channel-scaling = <20>; |
| 348 | qcom,calibration-type = "absolute"; |
| 349 | qcom,scale-function = <0>; |
| 350 | qcom,hw-settle-time = <0>; |
| 351 | qcom,fast-avg-setup = <0>; |
| 352 | }; |
Siddartha Mohanadoss | e6440cf | 2012-08-08 17:08:18 -0700 | [diff] [blame] | 353 | |
| 354 | chan@2 { |
| 355 | label = "vchg_sns"; |
| 356 | qcom,channel-num = <2>; |
| 357 | qcom,decimation = <0>; |
| 358 | qcom,pre-div-channel-scaling = <6>; |
| 359 | qcom,calibration-type = "absolute"; |
| 360 | qcom,scale-function = <0>; |
| 361 | qcom,hw-settle-time = <0>; |
| 362 | qcom,fast-avg-setup = <0>; |
| 363 | }; |
| 364 | |
| 365 | chan@5 { |
| 366 | label = "vcoin"; |
| 367 | qcom,channel-num = <5>; |
| 368 | qcom,decimation = <0>; |
| 369 | qcom,pre-div-channel-scaling = <3>; |
| 370 | qcom,calibration-type = "absolute"; |
| 371 | qcom,scale-function = <0>; |
| 372 | qcom,hw-settle-time = <0>; |
| 373 | qcom,fast-avg-setup = <0>; |
| 374 | }; |
| 375 | |
| 376 | chan@6 { |
| 377 | label = "vbat_sns"; |
| 378 | qcom,channel-num = <6>; |
| 379 | qcom,decimation = <0>; |
| 380 | qcom,pre-div-channel-scaling = <3>; |
| 381 | qcom,calibration-type = "absolute"; |
| 382 | qcom,scale-function = <0>; |
| 383 | qcom,hw-settle-time = <0>; |
| 384 | qcom,fast-avg-setup = <0>; |
| 385 | }; |
| 386 | |
| 387 | chan@7 { |
| 388 | label = "vph_pwr"; |
| 389 | qcom,channel-num = <7>; |
| 390 | qcom,decimation = <0>; |
| 391 | qcom,pre-div-channel-scaling = <3>; |
| 392 | qcom,calibration-type = "absolute"; |
| 393 | qcom,scale-function = <0>; |
| 394 | qcom,hw-settle-time = <0>; |
| 395 | qcom,fast-avg-setup = <0>; |
| 396 | }; |
| 397 | |
| 398 | chan@9 { |
| 399 | label = "ref_625mv"; |
| 400 | qcom,channel-num = <9>; |
| 401 | qcom,decimation = <0>; |
| 402 | qcom,pre-div-channel-scaling = <1>; |
| 403 | qcom,calibration-type = "absolute"; |
| 404 | qcom,scale-function = <0>; |
| 405 | qcom,hw-settle-time = <0>; |
| 406 | qcom,fast-avg-setup = <0>; |
| 407 | }; |
| 408 | |
| 409 | chan@10 { |
| 410 | label = "ref_1125v"; |
| 411 | qcom,channel-num = <10>; |
| 412 | qcom,decimation = <0>; |
| 413 | qcom,pre-div-channel-scaling = <1>; |
| 414 | qcom,calibration-type = "absolute"; |
| 415 | qcom,scale-function = <0>; |
| 416 | qcom,hw-settle-time = <0>; |
| 417 | qcom,fast-avg-setup = <0>; |
| 418 | }; |
Siddartha Mohanadoss | 3696ee8 | 2012-07-20 14:47:04 -0700 | [diff] [blame] | 419 | }; |
Siddartha Mohanadoss | b11538e | 2012-07-27 12:06:22 -0700 | [diff] [blame] | 420 | |
| 421 | iadc@3600 { |
| 422 | compatible = "qcom,qpnp-iadc"; |
| 423 | reg = <0x3600 0x100>; |
| 424 | interrupts = <0x0 0x36 0x0>; |
| 425 | qcom,adc-bit-resolution = <16>; |
| 426 | qcom,adc-vdd-reference = <1800>; |
| 427 | qcom,rsense = <1500>; |
| 428 | |
| 429 | chan@0 { |
| 430 | label = "internal_rsense"; |
| 431 | qcom,channel-num = <0>; |
| 432 | qcom,decimation = <0>; |
| 433 | qcom,pre-div-channel-scaling = <1>; |
| 434 | qcom,calibration-type = "absolute"; |
| 435 | qcom,scale-function = <0>; |
| 436 | qcom,hw-settle-time = <0>; |
| 437 | qcom,fast-avg-setup = <0>; |
| 438 | }; |
| 439 | }; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 440 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 441 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 442 | qcom,pm8941@1 { |
| 443 | spmi-slave-container; |
| 444 | reg = <0x1>; |
| 445 | #address-cells = <1>; |
| 446 | #size-cells = <1>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 447 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 448 | regulator@1400 { |
| 449 | regulator-name = "8941_s1"; |
| 450 | spmi-dev-container; |
| 451 | #address-cells = <1>; |
| 452 | #size-cells = <1>; |
| 453 | compatible = "qcom,qpnp-regulator"; |
| 454 | reg = <0x1400 0x300>; |
| 455 | status = "disabled"; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 456 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 457 | qcom,ctl@1400 { |
| 458 | reg = <0x1400 0x100>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 459 | }; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 460 | qcom,ps@1500 { |
| 461 | reg = <0x1500 0x100>; |
| 462 | }; |
| 463 | qcom,freq@1600 { |
| 464 | reg = <0x1600 0x100>; |
| 465 | }; |
| 466 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 467 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 468 | regulator@1700 { |
| 469 | regulator-name = "8941_s2"; |
| 470 | spmi-dev-container; |
| 471 | #address-cells = <1>; |
| 472 | #size-cells = <1>; |
| 473 | compatible = "qcom,qpnp-regulator"; |
| 474 | reg = <0x1700 0x300>; |
| 475 | status = "disabled"; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 476 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 477 | qcom,ctl@1700 { |
| 478 | reg = <0x1700 0x100>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 479 | }; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 480 | qcom,ps@1800 { |
| 481 | reg = <0x1800 0x100>; |
| 482 | }; |
| 483 | qcom,freq@1900 { |
| 484 | reg = <0x1900 0x100>; |
| 485 | }; |
| 486 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 487 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 488 | regulator@1a00 { |
| 489 | regulator-name = "8941_s3"; |
| 490 | spmi-dev-container; |
| 491 | #address-cells = <1>; |
| 492 | #size-cells = <1>; |
| 493 | compatible = "qcom,qpnp-regulator"; |
Michael Bohan | d3253c7 | 2012-08-09 11:34:49 -0700 | [diff] [blame] | 494 | reg = <0x1a00 0x300>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 495 | status = "disabled"; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 496 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 497 | qcom,ctl@1a00 { |
| 498 | reg = <0x1a00 0x100>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 499 | }; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 500 | qcom,ps@1b00 { |
| 501 | reg = <0x1b00 0x100>; |
| 502 | }; |
| 503 | qcom,freq@1c00 { |
| 504 | reg = <0x1c00 0x100>; |
| 505 | }; |
| 506 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 507 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 508 | regulator@a000 { |
| 509 | regulator-name = "8941_boost"; |
| 510 | reg = <0xa000 0x100>; |
| 511 | compatible = "qcom,qpnp-regulator"; |
| 512 | status = "disabled"; |
| 513 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 514 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 515 | regulator@4000 { |
| 516 | regulator-name = "8941_l1"; |
| 517 | reg = <0x4000 0x100>; |
| 518 | compatible = "qcom,qpnp-regulator"; |
| 519 | status = "disabled"; |
| 520 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 521 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 522 | regulator@4100 { |
| 523 | regulator-name = "8941_l2"; |
| 524 | reg = <0x4100 0x100>; |
| 525 | compatible = "qcom,qpnp-regulator"; |
| 526 | status = "disabled"; |
| 527 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 528 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 529 | regulator@4200 { |
| 530 | regulator-name = "8941_l3"; |
| 531 | reg = <0x4200 0x100>; |
| 532 | compatible = "qcom,qpnp-regulator"; |
| 533 | status = "disabled"; |
| 534 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 535 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 536 | regulator@4300 { |
| 537 | regulator-name = "8941_l4"; |
| 538 | reg = <0x4300 0x100>; |
| 539 | compatible = "qcom,qpnp-regulator"; |
| 540 | status = "disabled"; |
| 541 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 542 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 543 | regulator@4400 { |
| 544 | regulator-name = "8941_l5"; |
| 545 | reg = <0x4400 0x100>; |
| 546 | compatible = "qcom,qpnp-regulator"; |
Michael Bohan | e18bf88 | 2012-08-09 15:00:23 -0700 | [diff] [blame] | 547 | qcom,force-type = <0x04 0x10>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 548 | status = "disabled"; |
| 549 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 550 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 551 | regulator@4500 { |
| 552 | regulator-name = "8941_l6"; |
| 553 | reg = <0x4500 0x100>; |
| 554 | compatible = "qcom,qpnp-regulator"; |
| 555 | status = "disabled"; |
| 556 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 557 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 558 | regulator@4600 { |
| 559 | regulator-name = "8941_l7"; |
| 560 | reg = <0x4600 0x100>; |
| 561 | compatible = "qcom,qpnp-regulator"; |
Michael Bohan | e18bf88 | 2012-08-09 15:00:23 -0700 | [diff] [blame] | 562 | qcom,force-type = <0x04 0x10>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 563 | status = "disabled"; |
| 564 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 565 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 566 | regulator@4700 { |
| 567 | regulator-name = "8941_l8"; |
| 568 | reg = <0x4700 0x100>; |
| 569 | compatible = "qcom,qpnp-regulator"; |
| 570 | status = "disabled"; |
| 571 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 572 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 573 | regulator@4800 { |
| 574 | regulator-name = "8941_l9"; |
| 575 | reg = <0x4800 0x100>; |
| 576 | compatible = "qcom,qpnp-regulator"; |
| 577 | status = "disabled"; |
| 578 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 579 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 580 | regulator@4900 { |
| 581 | regulator-name = "8941_l10"; |
| 582 | reg = <0x4900 0x100>; |
| 583 | compatible = "qcom,qpnp-regulator"; |
| 584 | status = "disabled"; |
| 585 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 586 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 587 | regulator@4a00 { |
| 588 | regulator-name = "8941_l11"; |
| 589 | reg = <0x4a00 0x100>; |
| 590 | compatible = "qcom,qpnp-regulator"; |
| 591 | status = "disabled"; |
| 592 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 593 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 594 | regulator@4b00 { |
| 595 | regulator-name = "8941_l12"; |
| 596 | reg = <0x4b00 0x100>; |
| 597 | compatible = "qcom,qpnp-regulator"; |
| 598 | status = "disabled"; |
| 599 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 600 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 601 | regulator@4c00 { |
| 602 | regulator-name = "8941_l13"; |
| 603 | reg = <0x4c00 0x100>; |
| 604 | compatible = "qcom,qpnp-regulator"; |
| 605 | status = "disabled"; |
| 606 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 607 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 608 | regulator@4d00 { |
| 609 | regulator-name = "8941_l14"; |
| 610 | reg = <0x4d00 0x100>; |
| 611 | compatible = "qcom,qpnp-regulator"; |
| 612 | status = "disabled"; |
| 613 | }; |
| 614 | |
| 615 | regulator@4e00 { |
| 616 | regulator-name = "8941_l15"; |
| 617 | reg = <0x4e00 0x100>; |
| 618 | compatible = "qcom,qpnp-regulator"; |
| 619 | status = "disabled"; |
| 620 | }; |
| 621 | |
| 622 | regulator@4f00 { |
| 623 | regulator-name = "8941_l16"; |
| 624 | reg = <0x4f00 0x100>; |
| 625 | compatible = "qcom,qpnp-regulator"; |
| 626 | status = "disabled"; |
| 627 | }; |
| 628 | |
| 629 | regulator@5000 { |
| 630 | regulator-name = "8941_l17"; |
| 631 | reg = <0x5000 0x100>; |
| 632 | compatible = "qcom,qpnp-regulator"; |
| 633 | status = "disabled"; |
| 634 | }; |
| 635 | |
| 636 | regulator@5100 { |
| 637 | regulator-name = "8941_l18"; |
| 638 | reg = <0x5100 0x100>; |
| 639 | compatible = "qcom,qpnp-regulator"; |
| 640 | status = "disabled"; |
| 641 | }; |
| 642 | |
| 643 | regulator@5200 { |
| 644 | regulator-name = "8941_l19"; |
| 645 | reg = <0x5200 0x100>; |
| 646 | compatible = "qcom,qpnp-regulator"; |
| 647 | status = "disabled"; |
| 648 | }; |
| 649 | |
| 650 | regulator@5300 { |
| 651 | regulator-name = "8941_l20"; |
| 652 | reg = <0x5300 0x100>; |
| 653 | compatible = "qcom,qpnp-regulator"; |
| 654 | status = "disabled"; |
| 655 | }; |
| 656 | |
| 657 | regulator@5400 { |
| 658 | regulator-name = "8941_l21"; |
| 659 | reg = <0x5400 0x100>; |
| 660 | compatible = "qcom,qpnp-regulator"; |
| 661 | status = "disabled"; |
| 662 | }; |
| 663 | |
| 664 | regulator@5500 { |
| 665 | regulator-name = "8941_l22"; |
| 666 | reg = <0x5500 0x100>; |
| 667 | compatible = "qcom,qpnp-regulator"; |
| 668 | status = "disabled"; |
| 669 | }; |
| 670 | |
| 671 | regulator@5600 { |
| 672 | regulator-name = "8941_l23"; |
| 673 | reg = <0x5600 0x100>; |
| 674 | compatible = "qcom,qpnp-regulator"; |
| 675 | status = "disabled"; |
| 676 | }; |
| 677 | |
| 678 | regulator@5700 { |
| 679 | regulator-name = "8941_l24"; |
| 680 | reg = <0x5700 0x100>; |
| 681 | compatible = "qcom,qpnp-regulator"; |
| 682 | status = "disabled"; |
| 683 | }; |
| 684 | |
| 685 | regulator@8000 { |
| 686 | regulator-name = "8941_lvs1"; |
| 687 | reg = <0x8000 0x100>; |
| 688 | compatible = "qcom,qpnp-regulator"; |
| 689 | status = "disabled"; |
| 690 | }; |
| 691 | |
| 692 | regulator@8100 { |
| 693 | regulator-name = "8941_lvs2"; |
| 694 | reg = <0x8100 0x100>; |
| 695 | compatible = "qcom,qpnp-regulator"; |
| 696 | status = "disabled"; |
| 697 | }; |
| 698 | |
| 699 | regulator@8200 { |
| 700 | regulator-name = "8941_lvs3"; |
| 701 | reg = <0x8200 0x100>; |
| 702 | compatible = "qcom,qpnp-regulator"; |
| 703 | status = "disabled"; |
| 704 | }; |
| 705 | |
| 706 | regulator@8300 { |
| 707 | regulator-name = "8941_mvs1"; |
| 708 | reg = <0x8300 0x100>; |
| 709 | compatible = "qcom,qpnp-regulator"; |
| 710 | status = "disabled"; |
| 711 | }; |
| 712 | |
| 713 | regulator@8400 { |
| 714 | regulator-name = "8941_mvs2"; |
| 715 | reg = <0x8400 0x100>; |
| 716 | compatible = "qcom,qpnp-regulator"; |
| 717 | status = "disabled"; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 718 | }; |
| 719 | }; |
| 720 | }; |