| 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 | |
| 13 | / { |
| 14 | qcom,spmi@fc4c0000 { |
| 15 | #address-cells = <1>; |
| 16 | #size-cells = <0>; |
| 17 | interrupt-controller; |
| 18 | #interrupt-cells = <3>; |
| 19 | |
| Michael Bohan | 8b909b4 | 2012-04-18 17:39:12 -0700 | [diff] [blame] | 20 | qcom,pm8941@0 { |
| 21 | spmi-slave-container; |
| 22 | reg = <0x0>; |
| 23 | #address-cells = <1>; |
| 24 | #size-cells = <1>; |
| 25 | |
| 26 | pm8941_gpios { |
| 27 | spmi-dev-container; |
| 28 | compatible = "qcom,qpnp-gpio"; |
| 29 | gpio-controller; |
| 30 | #gpio-cells = <2>; |
| 31 | #address-cells = <1>; |
| 32 | #size-cells = <1>; |
| 33 | |
| 34 | gpio@c000 { |
| 35 | reg = <0xc000 0x100>; |
| 36 | qcom,gpio-num = <1>; |
| 37 | status = "disabled"; |
| 38 | }; |
| 39 | |
| 40 | gpio@c100 { |
| 41 | reg = <0xc100 0x100>; |
| 42 | qcom,gpio-num = <2>; |
| 43 | status = "disabled"; |
| 44 | }; |
| 45 | |
| 46 | gpio@c200 { |
| 47 | reg = <0xc200 0x100>; |
| 48 | qcom,gpio-num = <3>; |
| 49 | status = "disabled"; |
| 50 | }; |
| 51 | |
| 52 | gpio@c300 { |
| 53 | reg = <0xc300 0x100>; |
| 54 | qcom,gpio-num = <4>; |
| 55 | status = "disabled"; |
| 56 | }; |
| 57 | |
| 58 | gpio@c400 { |
| 59 | reg = <0xc400 0x100>; |
| 60 | qcom,gpio-num = <5>; |
| 61 | status = "disabled"; |
| 62 | }; |
| 63 | |
| 64 | gpio@c500 { |
| 65 | reg = <0xc500 0x100>; |
| 66 | qcom,gpio-num = <6>; |
| 67 | status = "disabled"; |
| 68 | }; |
| 69 | |
| 70 | gpio@c600 { |
| 71 | reg = <0xc600 0x100>; |
| 72 | qcom,gpio-num = <7>; |
| 73 | status = "disabled"; |
| 74 | }; |
| 75 | |
| 76 | gpio@c700 { |
| 77 | reg = <0xc700 0x100>; |
| 78 | qcom,gpio-num = <8>; |
| 79 | status = "disabled"; |
| 80 | }; |
| 81 | |
| 82 | gpio@c800 { |
| 83 | reg = <0xc800 0x100>; |
| 84 | qcom,gpio-num = <9>; |
| 85 | status = "disabled"; |
| 86 | }; |
| 87 | |
| 88 | gpio@c900 { |
| 89 | reg = <0xc900 0x100>; |
| 90 | qcom,gpio-num = <10>; |
| 91 | status = "disabled"; |
| 92 | }; |
| 93 | |
| 94 | gpio@ca00 { |
| 95 | reg = <0xca00 0x100>; |
| 96 | qcom,gpio-num = <11>; |
| 97 | status = "disabled"; |
| 98 | }; |
| 99 | |
| 100 | gpio@cb00 { |
| 101 | reg = <0xcb00 0x100>; |
| 102 | qcom,gpio-num = <12>; |
| 103 | status = "disabled"; |
| 104 | }; |
| 105 | |
| 106 | gpio@cc00 { |
| 107 | reg = <0xcc00 0x100>; |
| 108 | qcom,gpio-num = <13>; |
| 109 | status = "disabled"; |
| 110 | }; |
| 111 | |
| 112 | gpio@cd00 { |
| 113 | reg = <0xcd00 0x100>; |
| 114 | qcom,gpio-num = <14>; |
| 115 | status = "disabled"; |
| 116 | }; |
| 117 | |
| 118 | gpio@ce00 { |
| 119 | reg = <0xce00 0x100>; |
| 120 | qcom,gpio-num = <15>; |
| 121 | status = "disabled"; |
| 122 | }; |
| 123 | |
| 124 | gpio@cf00 { |
| 125 | reg = <0xcf00 0x100>; |
| 126 | qcom,gpio-num = <16>; |
| 127 | status = "disabled"; |
| 128 | }; |
| 129 | |
| 130 | gpio@d000 { |
| 131 | reg = <0xd000 0x100>; |
| 132 | qcom,gpio-num = <17>; |
| 133 | status = "disabled"; |
| 134 | }; |
| 135 | |
| 136 | gpio@d100 { |
| 137 | reg = <0xd100 0x100>; |
| 138 | qcom,gpio-num = <18>; |
| 139 | status = "disabled"; |
| 140 | }; |
| 141 | |
| 142 | gpio@d200 { |
| 143 | reg = <0xd200 0x100>; |
| 144 | qcom,gpio-num = <19>; |
| 145 | status = "disabled"; |
| 146 | }; |
| 147 | |
| 148 | gpio@d300 { |
| 149 | reg = <0xd300 0x100>; |
| 150 | qcom,gpio-num = <20>; |
| 151 | status = "disabled"; |
| 152 | }; |
| 153 | |
| 154 | gpio@d400 { |
| 155 | reg = <0xd400 0x100>; |
| 156 | qcom,gpio-num = <21>; |
| 157 | status = "disabled"; |
| 158 | }; |
| 159 | |
| 160 | gpio@d500 { |
| 161 | reg = <0xd500 0x100>; |
| 162 | qcom,gpio-num = <22>; |
| 163 | status = "disabled"; |
| 164 | }; |
| 165 | |
| 166 | gpio@d600 { |
| 167 | reg = <0xd600 0x100>; |
| 168 | qcom,gpio-num = <23>; |
| 169 | status = "disabled"; |
| 170 | }; |
| 171 | |
| 172 | gpio@d700 { |
| 173 | reg = <0xd700 0x100>; |
| 174 | qcom,gpio-num = <24>; |
| 175 | status = "disabled"; |
| 176 | }; |
| 177 | |
| 178 | gpio@d800 { |
| 179 | reg = <0xd800 0x100>; |
| 180 | qcom,gpio-num = <25>; |
| 181 | status = "disabled"; |
| 182 | }; |
| 183 | |
| 184 | gpio@d900 { |
| 185 | reg = <0xd900 0x100>; |
| 186 | qcom,gpio-num = <26>; |
| 187 | status = "disabled"; |
| 188 | }; |
| 189 | |
| 190 | gpio@da00 { |
| 191 | reg = <0xda00 0x100>; |
| 192 | qcom,gpio-num = <27>; |
| 193 | status = "disabled"; |
| 194 | }; |
| 195 | |
| 196 | gpio@db00 { |
| 197 | reg = <0xdb00 0x100>; |
| 198 | qcom,gpio-num = <28>; |
| 199 | status = "disabled"; |
| 200 | }; |
| 201 | |
| 202 | gpio@dc00 { |
| 203 | reg = <0xdc00 0x100>; |
| 204 | qcom,gpio-num = <29>; |
| 205 | status = "disabled"; |
| 206 | }; |
| 207 | |
| 208 | gpio@dd00 { |
| 209 | reg = <0xdd00 0x100>; |
| 210 | qcom,gpio-num = <30>; |
| 211 | status = "disabled"; |
| 212 | }; |
| 213 | |
| 214 | gpio@de00 { |
| 215 | reg = <0xde00 0x100>; |
| 216 | qcom,gpio-num = <31>; |
| 217 | status = "disabled"; |
| 218 | }; |
| 219 | |
| 220 | gpio@df00 { |
| 221 | reg = <0xdf00 0x100>; |
| 222 | qcom,gpio-num = <32>; |
| 223 | status = "disabled"; |
| 224 | }; |
| 225 | |
| 226 | gpio@e000 { |
| 227 | reg = <0xe000 0x100>; |
| 228 | qcom,gpio-num = <33>; |
| 229 | status = "disabled"; |
| 230 | }; |
| 231 | |
| 232 | gpio@e100 { |
| 233 | reg = <0xe100 0x100>; |
| 234 | qcom,gpio-num = <34>; |
| 235 | status = "disabled"; |
| 236 | }; |
| 237 | |
| 238 | gpio@e200 { |
| 239 | reg = <0xe200 0x100>; |
| 240 | qcom,gpio-num = <35>; |
| 241 | status = "disabled"; |
| 242 | }; |
| 243 | |
| 244 | gpio@e300 { |
| 245 | reg = <0xe300 0x100>; |
| 246 | qcom,gpio-num = <36>; |
| 247 | status = "disabled"; |
| 248 | }; |
| 249 | }; |
| 250 | }; |
| 251 | |
| David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 252 | qcom,pm8941@1 { |
| 253 | spmi-slave-container; |
| 254 | reg = <0x1>; |
| 255 | #address-cells = <1>; |
| 256 | #size-cells = <1>; |
| 257 | |
| 258 | regulator@1400 { |
| 259 | regulator-name = "8941_s1"; |
| 260 | spmi-dev-container; |
| 261 | #address-cells = <1>; |
| 262 | #size-cells = <1>; |
| 263 | compatible = "qcom,qpnp-regulator"; |
| 264 | reg = <0x1400 0x300>; |
| 265 | status = "disabled"; |
| 266 | |
| 267 | qcom,ctl@1400 { |
| 268 | reg = <0x1400 0x100>; |
| 269 | }; |
| 270 | qcom,ps@1500 { |
| 271 | reg = <0x1500 0x100>; |
| 272 | }; |
| 273 | qcom,freq@1600 { |
| 274 | reg = <0x1600 0x100>; |
| 275 | }; |
| 276 | }; |
| 277 | |
| 278 | regulator@1700 { |
| 279 | regulator-name = "8941_s2"; |
| 280 | spmi-dev-container; |
| 281 | #address-cells = <1>; |
| 282 | #size-cells = <1>; |
| 283 | compatible = "qcom,qpnp-regulator"; |
| 284 | reg = <0x1700 0x300>; |
| 285 | status = "disabled"; |
| 286 | |
| 287 | qcom,ctl@1700 { |
| 288 | reg = <0x1700 0x100>; |
| 289 | }; |
| 290 | qcom,ps@1800 { |
| 291 | reg = <0x1800 0x100>; |
| 292 | }; |
| 293 | qcom,freq@1900 { |
| 294 | reg = <0x1900 0x100>; |
| 295 | }; |
| 296 | }; |
| 297 | |
| 298 | regulator@1a00 { |
| 299 | regulator-name = "8941_s3"; |
| 300 | spmi-dev-container; |
| 301 | #address-cells = <1>; |
| 302 | #size-cells = <1>; |
| 303 | compatible = "qcom,qpnp-regulator"; |
| 304 | reg = <0x1400 0x300>; |
| 305 | status = "disabled"; |
| 306 | |
| 307 | qcom,ctl@1a00 { |
| 308 | reg = <0x1a00 0x100>; |
| 309 | }; |
| 310 | qcom,ps@1b00 { |
| 311 | reg = <0x1b00 0x100>; |
| 312 | }; |
| 313 | qcom,freq@1c00 { |
| 314 | reg = <0x1c00 0x100>; |
| 315 | }; |
| 316 | }; |
| 317 | |
| 318 | regulator@1d00 { |
| 319 | regulator-name = "8941_boost"; |
| 320 | reg = <0x1d00 0x100>; |
| 321 | compatible = "qcom,qpnp-regulator"; |
| 322 | status = "disabled"; |
| 323 | }; |
| 324 | |
| 325 | regulator@4000 { |
| 326 | regulator-name = "8941_l1"; |
| 327 | reg = <0x4000 0x100>; |
| 328 | compatible = "qcom,qpnp-regulator"; |
| 329 | status = "disabled"; |
| 330 | }; |
| 331 | |
| 332 | regulator@4100 { |
| 333 | regulator-name = "8941_l2"; |
| 334 | reg = <0x4100 0x100>; |
| 335 | compatible = "qcom,qpnp-regulator"; |
| 336 | status = "disabled"; |
| 337 | }; |
| 338 | |
| 339 | regulator@4200 { |
| 340 | regulator-name = "8941_l3"; |
| 341 | reg = <0x4200 0x100>; |
| 342 | compatible = "qcom,qpnp-regulator"; |
| 343 | status = "disabled"; |
| 344 | }; |
| 345 | |
| 346 | regulator@4300 { |
| 347 | regulator-name = "8941_l4"; |
| 348 | reg = <0x4300 0x100>; |
| 349 | compatible = "qcom,qpnp-regulator"; |
| 350 | status = "disabled"; |
| 351 | }; |
| 352 | |
| 353 | regulator@4400 { |
| 354 | regulator-name = "8941_l5"; |
| 355 | reg = <0x4400 0x100>; |
| 356 | compatible = "qcom,qpnp-regulator"; |
| 357 | status = "disabled"; |
| 358 | }; |
| 359 | |
| 360 | regulator@4500 { |
| 361 | regulator-name = "8941_l6"; |
| 362 | reg = <0x4500 0x100>; |
| 363 | compatible = "qcom,qpnp-regulator"; |
| 364 | status = "disabled"; |
| 365 | }; |
| 366 | |
| 367 | regulator@4600 { |
| 368 | regulator-name = "8941_l7"; |
| 369 | reg = <0x4600 0x100>; |
| 370 | compatible = "qcom,qpnp-regulator"; |
| 371 | status = "disabled"; |
| 372 | }; |
| 373 | |
| 374 | regulator@4700 { |
| 375 | regulator-name = "8941_l8"; |
| 376 | reg = <0x4700 0x100>; |
| 377 | compatible = "qcom,qpnp-regulator"; |
| 378 | status = "disabled"; |
| 379 | }; |
| 380 | |
| 381 | regulator@4800 { |
| 382 | regulator-name = "8941_l9"; |
| 383 | reg = <0x4800 0x100>; |
| 384 | compatible = "qcom,qpnp-regulator"; |
| 385 | status = "disabled"; |
| 386 | }; |
| 387 | |
| 388 | regulator@4900 { |
| 389 | regulator-name = "8941_l10"; |
| 390 | reg = <0x4900 0x100>; |
| 391 | compatible = "qcom,qpnp-regulator"; |
| 392 | status = "disabled"; |
| 393 | }; |
| 394 | |
| 395 | regulator@4a00 { |
| 396 | regulator-name = "8941_l11"; |
| 397 | reg = <0x4a00 0x100>; |
| 398 | compatible = "qcom,qpnp-regulator"; |
| 399 | status = "disabled"; |
| 400 | }; |
| 401 | |
| 402 | regulator@4b00 { |
| 403 | regulator-name = "8941_l12"; |
| 404 | reg = <0x4b00 0x100>; |
| 405 | compatible = "qcom,qpnp-regulator"; |
| 406 | status = "disabled"; |
| 407 | }; |
| 408 | |
| 409 | regulator@4c00 { |
| 410 | regulator-name = "8941_l13"; |
| 411 | reg = <0x4c00 0x100>; |
| 412 | compatible = "qcom,qpnp-regulator"; |
| 413 | status = "disabled"; |
| 414 | }; |
| 415 | |
| 416 | regulator@4d00 { |
| 417 | regulator-name = "8941_l14"; |
| 418 | reg = <0x4d00 0x100>; |
| 419 | compatible = "qcom,qpnp-regulator"; |
| 420 | status = "disabled"; |
| 421 | }; |
| 422 | |
| 423 | regulator@4e00 { |
| 424 | regulator-name = "8941_l15"; |
| 425 | reg = <0x4e00 0x100>; |
| 426 | compatible = "qcom,qpnp-regulator"; |
| 427 | status = "disabled"; |
| 428 | }; |
| 429 | |
| 430 | regulator@4f00 { |
| 431 | regulator-name = "8941_l16"; |
| 432 | reg = <0x4f00 0x100>; |
| 433 | compatible = "qcom,qpnp-regulator"; |
| 434 | status = "disabled"; |
| 435 | }; |
| 436 | |
| 437 | regulator@5000 { |
| 438 | regulator-name = "8941_l17"; |
| 439 | reg = <0x5000 0x100>; |
| 440 | compatible = "qcom,qpnp-regulator"; |
| 441 | status = "disabled"; |
| 442 | }; |
| 443 | |
| 444 | regulator@5100 { |
| 445 | regulator-name = "8941_l18"; |
| 446 | reg = <0x5100 0x100>; |
| 447 | compatible = "qcom,qpnp-regulator"; |
| 448 | status = "disabled"; |
| 449 | }; |
| 450 | |
| 451 | regulator@5200 { |
| 452 | regulator-name = "8941_l19"; |
| 453 | reg = <0x5200 0x100>; |
| 454 | compatible = "qcom,qpnp-regulator"; |
| 455 | status = "disabled"; |
| 456 | }; |
| 457 | |
| 458 | regulator@5300 { |
| 459 | regulator-name = "8941_l20"; |
| 460 | reg = <0x5300 0x100>; |
| 461 | compatible = "qcom,qpnp-regulator"; |
| 462 | status = "disabled"; |
| 463 | }; |
| 464 | |
| 465 | regulator@5400 { |
| 466 | regulator-name = "8941_l21"; |
| 467 | reg = <0x5400 0x100>; |
| 468 | compatible = "qcom,qpnp-regulator"; |
| 469 | status = "disabled"; |
| 470 | }; |
| 471 | |
| 472 | regulator@5500 { |
| 473 | regulator-name = "8941_l22"; |
| 474 | reg = <0x5500 0x100>; |
| 475 | compatible = "qcom,qpnp-regulator"; |
| 476 | status = "disabled"; |
| 477 | }; |
| 478 | |
| 479 | regulator@5600 { |
| 480 | regulator-name = "8941_l23"; |
| 481 | reg = <0x5600 0x100>; |
| 482 | compatible = "qcom,qpnp-regulator"; |
| 483 | status = "disabled"; |
| 484 | }; |
| 485 | |
| 486 | regulator@5700 { |
| 487 | regulator-name = "8941_l24"; |
| 488 | reg = <0x5700 0x100>; |
| 489 | compatible = "qcom,qpnp-regulator"; |
| 490 | status = "disabled"; |
| 491 | }; |
| 492 | |
| 493 | regulator@8000 { |
| 494 | regulator-name = "8941_lvs1"; |
| 495 | reg = <0x8000 0x100>; |
| 496 | compatible = "qcom,qpnp-regulator"; |
| 497 | status = "disabled"; |
| 498 | }; |
| 499 | |
| 500 | regulator@8100 { |
| 501 | regulator-name = "8941_lvs2"; |
| 502 | reg = <0x8100 0x100>; |
| 503 | compatible = "qcom,qpnp-regulator"; |
| 504 | status = "disabled"; |
| 505 | }; |
| 506 | |
| 507 | regulator@8200 { |
| 508 | regulator-name = "8941_lvs3"; |
| 509 | reg = <0x8200 0x100>; |
| 510 | compatible = "qcom,qpnp-regulator"; |
| 511 | status = "disabled"; |
| 512 | }; |
| 513 | |
| 514 | regulator@8300 { |
| 515 | regulator-name = "8941_mvs1"; |
| 516 | reg = <0x8300 0x100>; |
| 517 | compatible = "qcom,qpnp-regulator"; |
| 518 | status = "disabled"; |
| 519 | }; |
| 520 | |
| 521 | regulator@8400 { |
| 522 | regulator-name = "8941_mvs2"; |
| 523 | reg = <0x8400 0x100>; |
| 524 | compatible = "qcom,qpnp-regulator"; |
| 525 | status = "disabled"; |
| 526 | }; |
| 527 | }; |
| 528 | }; |
| 529 | }; |