Xiaozhe Shi | 3d0e366 | 2012-08-23 18:00:04 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2012, 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 | 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 | |
David Collins | faafdf5 | 2012-10-10 17:10:22 -0700 | [diff] [blame] | 25 | qcom,temp-alarm@2400 { |
| 26 | compatible = "qcom,qpnp-temp-alarm"; |
| 27 | reg = <0x2400 0x100>; |
| 28 | interrupts = <0x0 0x24 0x0>; |
| 29 | label = "pm8941_tz"; |
| 30 | qcom,channel-num = <8>; |
| 31 | qcom,threshold-set = <0>; |
| 32 | }; |
| 33 | |
Anirudh Ghayal | 19cf498 | 2012-07-16 11:10:17 +0530 | [diff] [blame] | 34 | qcom,power-on@800 { |
| 35 | compatible = "qcom,qpnp-power-on"; |
| 36 | reg = <0x800 0x100>; |
Anirudh Ghayal | d44f5aa | 2012-08-02 11:49:04 +0530 | [diff] [blame] | 37 | interrupts = <0x0 0x8 0x0>, |
| 38 | <0x0 0x8 0x1>, |
| 39 | <0x0 0x8 0x4>; |
| 40 | interrupt-names = "kpdpwr", "resin", "resin-bark"; |
| 41 | qcom,pon-dbc-delay = <15625>; |
Michael Bohan | e720422 | 2012-09-07 10:21:18 -0700 | [diff] [blame] | 42 | qcom,system-reset; |
Anirudh Ghayal | d44f5aa | 2012-08-02 11:49:04 +0530 | [diff] [blame] | 43 | |
| 44 | qcom,pon_1 { |
| 45 | qcom,pon-type = <0>; |
| 46 | qcom,pull-up = <1>; |
| 47 | linux,code = <116>; |
| 48 | }; |
| 49 | |
| 50 | qcom,pon_2 { |
| 51 | qcom,pon-type = <1>; |
Anirudh Ghayal | 57970966 | 2012-08-13 12:57:05 +0530 | [diff] [blame] | 52 | qcom,support-reset = <1>; |
Anirudh Ghayal | d44f5aa | 2012-08-02 11:49:04 +0530 | [diff] [blame] | 53 | qcom,pull-up = <1>; |
Anirudh Ghayal | 57970966 | 2012-08-13 12:57:05 +0530 | [diff] [blame] | 54 | qcom,s1-timer = <0>; |
| 55 | qcom,s2-timer = <2000>; |
| 56 | qcom,s2-type = <1>; |
Anirudh Ghayal | d44f5aa | 2012-08-02 11:49:04 +0530 | [diff] [blame] | 57 | linux,code = <114>; |
| 58 | }; |
Anirudh Ghayal | 19cf498 | 2012-07-16 11:10:17 +0530 | [diff] [blame] | 59 | }; |
| 60 | |
Xiaozhe Shi | 3d0e366 | 2012-08-23 18:00:04 -0700 | [diff] [blame] | 61 | bms@4000 { |
| 62 | #address-cells = <1>; |
| 63 | #size-cells = <1>; |
| 64 | |
| 65 | compatible = "qcom,qpnp-bms"; |
| 66 | reg = <0x4000 0x100>; |
| 67 | |
| 68 | interrupts = <0x0 0x40 0x0>, |
| 69 | <0x0 0x40 0x1>, |
| 70 | <0x0 0x40 0x2>, |
| 71 | <0x0 0x40 0x3>, |
| 72 | <0x0 0x40 0x4>, |
| 73 | <0x0 0x40 0x5>, |
| 74 | <0x0 0x40 0x6>, |
| 75 | <0x0 0x40 0x7>; |
| 76 | |
| 77 | interrupt-names = "vsense_for_r", |
| 78 | "vsense_avg", |
| 79 | "sw_cc_thr", |
| 80 | "ocv_thr", |
| 81 | "charge_begin", |
| 82 | "good_ocv", |
| 83 | "ocv_for_r", |
| 84 | "cc_thr"; |
| 85 | |
| 86 | qcom,bms-r-sense-mohm = <10>; |
| 87 | qcom,bms-v-cutoff-uv = <3400000>; |
| 88 | qcom,bms-max-voltage-uv = <4200000>; |
| 89 | qcom,bms-r-conn-mohm = <18>; |
| 90 | qcom,bms-shutdown-soc-valid-limit = <20>; |
| 91 | qcom,bms-adjust-soc-low-threshold = <25>; |
| 92 | qcom,bms-adjust-soc-high-threshold = <45>; |
| 93 | qcom,bms-chg-term-ua = <100000>; |
| 94 | }; |
| 95 | |
Michael Bohan | ee1f8fe | 2012-08-03 18:32:16 -0700 | [diff] [blame] | 96 | clkdiv@5b00 { |
| 97 | reg = <0x5b00 0x100>; |
| 98 | compatible = "qcom,qpnp-clkdiv"; |
| 99 | qcom,cxo-freq = <19200000>; |
| 100 | }; |
| 101 | |
| 102 | clkdiv@5c00 { |
| 103 | reg = <0x5c00 0x100>; |
| 104 | compatible = "qcom,qpnp-clkdiv"; |
| 105 | qcom,cxo-freq = <19200000>; |
| 106 | }; |
| 107 | |
| 108 | clkdiv@5d00 { |
| 109 | reg = <0x5d00 0x1000>; |
| 110 | compatible = "qcom,qpnp-clkdiv"; |
| 111 | qcom,cxo-freq = <19200000>; |
| 112 | }; |
| 113 | |
David Keitel | a7a7173 | 2012-09-24 12:30:44 -0700 | [diff] [blame] | 114 | pm8941_chg: qcom,charger { |
David Keitel | 6adff10 | 2012-07-27 14:24:00 -0700 | [diff] [blame] | 115 | spmi-dev-container; |
| 116 | compatible = "qcom,qpnp-charger"; |
| 117 | #address-cells = <1>; |
| 118 | #size-cells = <1>; |
David Keitel | a7a7173 | 2012-09-24 12:30:44 -0700 | [diff] [blame] | 119 | status = "disabled"; |
David Keitel | 6adff10 | 2012-07-27 14:24:00 -0700 | [diff] [blame] | 120 | |
| 121 | qcom,chg-vddmax-mv = <4200>; |
| 122 | qcom,chg-vddsafe-mv = <4200>; |
| 123 | qcom,chg-vinmin-mv = <4200>; |
| 124 | qcom,chg-ibatmax-ma = <1500>; |
| 125 | qcom,chg-ibatterm-ma = <200>; |
| 126 | |
| 127 | qcom,chg-chgr@1000 { |
David Keitel | a7a7173 | 2012-09-24 12:30:44 -0700 | [diff] [blame] | 128 | status = "disabled"; |
David Keitel | 6adff10 | 2012-07-27 14:24:00 -0700 | [diff] [blame] | 129 | reg = <0x1000 0x100>; |
| 130 | interrupts = <0x0 0x10 0x0>, |
| 131 | <0x0 0x10 0x1>, |
| 132 | <0x0 0x10 0x2>, |
| 133 | <0x0 0x10 0x3>, |
| 134 | <0x0 0x10 0x4>, |
| 135 | <0x0 0x10 0x5>, |
| 136 | <0x0 0x10 0x6>, |
| 137 | <0x0 0x10 0x7>; |
| 138 | |
| 139 | interrupt-names = "chg-done", |
| 140 | "chg-failed", |
| 141 | "fast-chg-on", |
| 142 | "trkl-chg-on", |
| 143 | "state-change", |
| 144 | "chgwdog", |
| 145 | "vbat-det-hi", |
| 146 | "vbat-det-lo"; |
| 147 | }; |
| 148 | |
| 149 | qcom,chg-buck@1100 { |
David Keitel | a7a7173 | 2012-09-24 12:30:44 -0700 | [diff] [blame] | 150 | status = "disabled"; |
David Keitel | 6adff10 | 2012-07-27 14:24:00 -0700 | [diff] [blame] | 151 | reg = <0x1100 0x100>; |
| 152 | interrupts = <0x0 0x11 0x0>, |
| 153 | <0x0 0x11 0x1>, |
| 154 | <0x0 0x11 0x2>, |
| 155 | <0x0 0x11 0x3>, |
| 156 | <0x0 0x11 0x4>, |
| 157 | <0x0 0x11 0x5>, |
| 158 | <0x0 0x11 0x6>; |
| 159 | |
| 160 | interrupt-names = "vdd-loop", |
| 161 | "ibat-loop", |
| 162 | "ichg-loop", |
| 163 | "vchg-loop", |
| 164 | "overtemp", |
| 165 | "vref-ov", |
| 166 | "vbat-ov"; |
| 167 | }; |
| 168 | |
| 169 | qcom,chg-bat-if@1200 { |
David Keitel | a7a7173 | 2012-09-24 12:30:44 -0700 | [diff] [blame] | 170 | status = "disabled"; |
David Keitel | 6adff10 | 2012-07-27 14:24:00 -0700 | [diff] [blame] | 171 | reg = <0x1200 0x100>; |
| 172 | interrupts = <0x0 0x12 0x0>, |
| 173 | <0x0 0x12 0x1>, |
| 174 | <0x0 0x12 0x2>, |
| 175 | <0x0 0x12 0x3>, |
| 176 | <0x0 0x12 0x4>; |
| 177 | |
| 178 | interrupt-names = "psi", |
| 179 | "vcp-on", |
| 180 | "bat-fet-on", |
| 181 | "bat-temp-ok", |
| 182 | "batt-pres"; |
| 183 | }; |
| 184 | |
| 185 | qcom,chg-usb-chgpth@1300 { |
David Keitel | a7a7173 | 2012-09-24 12:30:44 -0700 | [diff] [blame] | 186 | status = "disabled"; |
David Keitel | 6adff10 | 2012-07-27 14:24:00 -0700 | [diff] [blame] | 187 | reg = <0x1300 0x100>; |
| 188 | interrupts = <0 0x13 0x0>, |
| 189 | <0 0x13 0x1>, |
| 190 | <0x0 0x13 0x2>; |
| 191 | |
David Keitel | 4429b1f | 2012-10-18 10:42:50 -0700 | [diff] [blame] | 192 | interrupt-names = "coarse-det-usb", |
| 193 | "usbin-valid", |
David Keitel | 6adff10 | 2012-07-27 14:24:00 -0700 | [diff] [blame] | 194 | "chg-gone"; |
| 195 | }; |
| 196 | |
| 197 | qcom,chg-dc-chgpth@1400 { |
David Keitel | a7a7173 | 2012-09-24 12:30:44 -0700 | [diff] [blame] | 198 | status = "disabled"; |
David Keitel | 6adff10 | 2012-07-27 14:24:00 -0700 | [diff] [blame] | 199 | reg = <0x1400 0x100>; |
| 200 | interrupts = <0x0 0x14 0x0>, |
| 201 | <0x0 0x14 0x1>; |
| 202 | |
| 203 | interrupt-names = "dcin-valid", |
| 204 | "coarse-det-dc"; |
| 205 | }; |
| 206 | |
| 207 | qcom,chg-boost@1500 { |
David Keitel | a7a7173 | 2012-09-24 12:30:44 -0700 | [diff] [blame] | 208 | status = "disabled"; |
David Keitel | 6adff10 | 2012-07-27 14:24:00 -0700 | [diff] [blame] | 209 | reg = <0x1500 0x100>; |
| 210 | interrupts = <0x0 0x15 0x0>, |
| 211 | <0x0 0x15 0x1>; |
| 212 | |
| 213 | interrupt-names = "limit-error", |
| 214 | "boost-pwr-ok"; |
| 215 | }; |
| 216 | |
| 217 | qcom,chg-misc@1600 { |
David Keitel | a7a7173 | 2012-09-24 12:30:44 -0700 | [diff] [blame] | 218 | status = "disabled"; |
David Keitel | 6adff10 | 2012-07-27 14:24:00 -0700 | [diff] [blame] | 219 | reg = <0x1600 0x100>; |
| 220 | }; |
| 221 | }; |
| 222 | |
Michael Bohan | d5ea724 | 2012-10-01 18:01:51 -0700 | [diff] [blame] | 223 | pm8941_gpios: gpios { |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 224 | spmi-dev-container; |
| 225 | compatible = "qcom,qpnp-pin"; |
| 226 | gpio-controller; |
| 227 | #gpio-cells = <2>; |
Michael Bohan | 8b909b4 | 2012-04-18 17:39:12 -0700 | [diff] [blame] | 228 | #address-cells = <1>; |
| 229 | #size-cells = <1>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 230 | label = "pm8941-gpio"; |
Michael Bohan | 8b909b4 | 2012-04-18 17:39:12 -0700 | [diff] [blame] | 231 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 232 | gpio@c000 { |
| 233 | reg = <0xc000 0x100>; |
| 234 | qcom,pin-num = <1>; |
Michael Bohan | 8b909b4 | 2012-04-18 17:39:12 -0700 | [diff] [blame] | 235 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 236 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 237 | gpio@c100 { |
| 238 | reg = <0xc100 0x100>; |
| 239 | qcom,pin-num = <2>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 240 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 241 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 242 | gpio@c200 { |
| 243 | reg = <0xc200 0x100>; |
| 244 | qcom,pin-num = <3>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 245 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 246 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 247 | gpio@c300 { |
| 248 | reg = <0xc300 0x100>; |
| 249 | qcom,pin-num = <4>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 250 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 251 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 252 | gpio@c400 { |
| 253 | reg = <0xc400 0x100>; |
| 254 | qcom,pin-num = <5>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 255 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 256 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 257 | gpio@c500 { |
| 258 | reg = <0xc500 0x100>; |
| 259 | qcom,pin-num = <6>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 260 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 261 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 262 | gpio@c600 { |
| 263 | reg = <0xc600 0x100>; |
| 264 | qcom,pin-num = <7>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 265 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 266 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 267 | gpio@c700 { |
| 268 | reg = <0xc700 0x100>; |
| 269 | qcom,pin-num = <8>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 270 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 271 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 272 | gpio@c800 { |
| 273 | reg = <0xc800 0x100>; |
| 274 | qcom,pin-num = <9>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 275 | }; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 276 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 277 | gpio@c900 { |
| 278 | reg = <0xc900 0x100>; |
| 279 | qcom,pin-num = <10>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 280 | }; |
| 281 | |
| 282 | gpio@ca00 { |
| 283 | reg = <0xca00 0x100>; |
| 284 | qcom,pin-num = <11>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 285 | }; |
| 286 | |
| 287 | gpio@cb00 { |
| 288 | reg = <0xcb00 0x100>; |
| 289 | qcom,pin-num = <12>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 290 | }; |
| 291 | |
| 292 | gpio@cc00 { |
| 293 | reg = <0xcc00 0x100>; |
| 294 | qcom,pin-num = <13>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 295 | }; |
| 296 | |
| 297 | gpio@cd00 { |
| 298 | reg = <0xcd00 0x100>; |
| 299 | qcom,pin-num = <14>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 300 | }; |
| 301 | |
| 302 | gpio@ce00 { |
| 303 | reg = <0xce00 0x100>; |
| 304 | qcom,pin-num = <15>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 305 | }; |
| 306 | |
| 307 | gpio@cf00 { |
| 308 | reg = <0xcf00 0x100>; |
| 309 | qcom,pin-num = <16>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 310 | }; |
| 311 | |
| 312 | gpio@d000 { |
| 313 | reg = <0xd000 0x100>; |
| 314 | qcom,pin-num = <17>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 315 | }; |
| 316 | |
| 317 | gpio@d100 { |
| 318 | reg = <0xd100 0x100>; |
| 319 | qcom,pin-num = <18>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 320 | }; |
| 321 | |
| 322 | gpio@d200 { |
| 323 | reg = <0xd200 0x100>; |
| 324 | qcom,pin-num = <19>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 325 | }; |
| 326 | |
| 327 | gpio@d300 { |
| 328 | reg = <0xd300 0x100>; |
| 329 | qcom,pin-num = <20>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 330 | }; |
| 331 | |
| 332 | gpio@d400 { |
| 333 | reg = <0xd400 0x100>; |
| 334 | qcom,pin-num = <21>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 335 | }; |
| 336 | |
| 337 | gpio@d500 { |
| 338 | reg = <0xd500 0x100>; |
| 339 | qcom,pin-num = <22>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 340 | }; |
| 341 | |
| 342 | gpio@d600 { |
| 343 | reg = <0xd600 0x100>; |
| 344 | qcom,pin-num = <23>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 345 | }; |
| 346 | |
| 347 | gpio@d700 { |
| 348 | reg = <0xd700 0x100>; |
| 349 | qcom,pin-num = <24>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 350 | }; |
| 351 | |
| 352 | gpio@d800 { |
| 353 | reg = <0xd800 0x100>; |
| 354 | qcom,pin-num = <25>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 355 | }; |
| 356 | |
| 357 | gpio@d900 { |
| 358 | reg = <0xd900 0x100>; |
| 359 | qcom,pin-num = <26>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 360 | }; |
| 361 | |
| 362 | gpio@da00 { |
| 363 | reg = <0xda00 0x100>; |
| 364 | qcom,pin-num = <27>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 365 | }; |
| 366 | |
| 367 | gpio@db00 { |
| 368 | reg = <0xdb00 0x100>; |
| 369 | qcom,pin-num = <28>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 370 | }; |
| 371 | |
| 372 | gpio@dc00 { |
| 373 | reg = <0xdc00 0x100>; |
| 374 | qcom,pin-num = <29>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 375 | }; |
| 376 | |
| 377 | gpio@dd00 { |
| 378 | reg = <0xdd00 0x100>; |
| 379 | qcom,pin-num = <30>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 380 | }; |
| 381 | |
| 382 | gpio@de00 { |
| 383 | reg = <0xde00 0x100>; |
| 384 | qcom,pin-num = <31>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 385 | }; |
| 386 | |
| 387 | gpio@df00 { |
| 388 | reg = <0xdf00 0x100>; |
| 389 | qcom,pin-num = <32>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 390 | }; |
| 391 | |
| 392 | gpio@e000 { |
| 393 | reg = <0xe000 0x100>; |
| 394 | qcom,pin-num = <33>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 395 | }; |
| 396 | |
| 397 | gpio@e100 { |
| 398 | reg = <0xe100 0x100>; |
| 399 | qcom,pin-num = <34>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 400 | }; |
| 401 | |
| 402 | gpio@e200 { |
| 403 | reg = <0xe200 0x100>; |
| 404 | qcom,pin-num = <35>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 405 | }; |
| 406 | |
| 407 | gpio@e300 { |
| 408 | reg = <0xe300 0x100>; |
| 409 | qcom,pin-num = <36>; |
Michael Bohan | 5085a05 | 2012-06-11 13:27:34 -0700 | [diff] [blame] | 410 | }; |
Michael Bohan | 8b909b4 | 2012-04-18 17:39:12 -0700 | [diff] [blame] | 411 | }; |
| 412 | |
Michael Bohan | d5ea724 | 2012-10-01 18:01:51 -0700 | [diff] [blame] | 413 | pm8941_mpps: mpps { |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 414 | spmi-dev-container; |
| 415 | compatible = "qcom,qpnp-pin"; |
| 416 | gpio-controller; |
| 417 | #gpio-cells = <2>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 418 | #address-cells = <1>; |
| 419 | #size-cells = <1>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 420 | label = "pm8941-mpp"; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 421 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 422 | mpp@a000 { |
David Collins | 32f825f | 2012-06-06 09:49:24 -0700 | [diff] [blame] | 423 | reg = <0xa000 0x100>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 424 | qcom,pin-num = <1>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 425 | }; |
| 426 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 427 | mpp@a100 { |
| 428 | reg = <0xa100 0x100>; |
| 429 | qcom,pin-num = <2>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 430 | }; |
| 431 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 432 | mpp@a200 { |
| 433 | reg = <0xa200 0x100>; |
| 434 | qcom,pin-num = <3>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 435 | }; |
| 436 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 437 | mpp@a300 { |
| 438 | reg = <0xa300 0x100>; |
| 439 | qcom,pin-num = <4>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 440 | }; |
| 441 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 442 | mpp@a400 { |
| 443 | reg = <0xa400 0x100>; |
| 444 | qcom,pin-num = <5>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 445 | }; |
| 446 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 447 | mpp@a500 { |
| 448 | reg = <0xa500 0x100>; |
| 449 | qcom,pin-num = <6>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 450 | }; |
| 451 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 452 | mpp@a600 { |
| 453 | reg = <0xa600 0x100>; |
| 454 | qcom,pin-num = <7>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 455 | }; |
| 456 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 457 | mpp@a700 { |
| 458 | reg = <0xa700 0x100>; |
| 459 | qcom,pin-num = <8>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 460 | }; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 461 | }; |
Ashay Jaiswal | 93ad970 | 2012-07-17 15:12:33 +0530 | [diff] [blame] | 462 | |
| 463 | qcom,pm8941_rtc { |
| 464 | spmi-dev-container; |
| 465 | compatible = "qcom,qpnp-rtc"; |
| 466 | #address-cells = <1>; |
| 467 | #size-cells = <1>; |
| 468 | qcom,qpnp-rtc-write = <0>; |
| 469 | qcom,qpnp-rtc-alarm-pwrup = <0>; |
| 470 | |
| 471 | qcom,pm8941_rtc_rw@6000 { |
| 472 | reg = <0x6000 0x100>; |
| 473 | }; |
| 474 | qcom,pm8941_rtc_alarm@6100 { |
| 475 | reg = <0x6100 0x100>; |
| 476 | interrupts = <0x0 0x61 0x1>; |
| 477 | }; |
| 478 | }; |
Siddartha Mohanadoss | 3696ee8 | 2012-07-20 14:47:04 -0700 | [diff] [blame] | 479 | |
| 480 | vadc@3100 { |
| 481 | compatible = "qcom,qpnp-vadc"; |
| 482 | reg = <0x3100 0x100>; |
| 483 | interrupts = <0x0 0x31 0x0>; |
| 484 | qcom,adc-bit-resolution = <15>; |
| 485 | qcom,adc-vdd-reference = <1800>; |
| 486 | |
| 487 | chan@0 { |
| 488 | label = "usb_in"; |
| 489 | qcom,channel-num = <0>; |
| 490 | qcom,decimation = <0>; |
Siddartha Mohanadoss | f536767 | 2012-09-04 22:09:31 -0700 | [diff] [blame] | 491 | qcom,pre-div-channel-scaling = <4>; |
Siddartha Mohanadoss | 3696ee8 | 2012-07-20 14:47:04 -0700 | [diff] [blame] | 492 | qcom,calibration-type = "absolute"; |
| 493 | qcom,scale-function = <0>; |
| 494 | qcom,hw-settle-time = <0>; |
| 495 | qcom,fast-avg-setup = <0>; |
| 496 | }; |
Siddartha Mohanadoss | e6440cf | 2012-08-08 17:08:18 -0700 | [diff] [blame] | 497 | |
Siddartha Mohanadoss | 5a5d551 | 2012-09-06 20:25:42 -0700 | [diff] [blame] | 498 | chan@1 { |
| 499 | label = "dc_in"; |
| 500 | qcom,channel-num = <1>; |
| 501 | qcom,decimation = <0>; |
| 502 | qcom,pre-div-channel-scaling = <4>; |
| 503 | qcom,calibration-type = "absolute"; |
| 504 | qcom,scale-function = <0>; |
| 505 | qcom,hw-settle-time = <0>; |
| 506 | qcom,fast-avg-setup = <0>; |
| 507 | }; |
| 508 | |
Siddartha Mohanadoss | e6440cf | 2012-08-08 17:08:18 -0700 | [diff] [blame] | 509 | chan@2 { |
| 510 | label = "vchg_sns"; |
| 511 | qcom,channel-num = <2>; |
| 512 | qcom,decimation = <0>; |
Siddartha Mohanadoss | f536767 | 2012-09-04 22:09:31 -0700 | [diff] [blame] | 513 | qcom,pre-div-channel-scaling = <3>; |
Siddartha Mohanadoss | e6440cf | 2012-08-08 17:08:18 -0700 | [diff] [blame] | 514 | qcom,calibration-type = "absolute"; |
| 515 | qcom,scale-function = <0>; |
| 516 | qcom,hw-settle-time = <0>; |
| 517 | qcom,fast-avg-setup = <0>; |
| 518 | }; |
| 519 | |
Siddartha Mohanadoss | 5a5d551 | 2012-09-06 20:25:42 -0700 | [diff] [blame] | 520 | chan@3 { |
| 521 | label = "spare1"; |
| 522 | qcom,channel-num = <3>; |
| 523 | qcom,decimation = <0>; |
| 524 | qcom,pre-div-channel-scaling = <6>; |
| 525 | qcom,calibration-type = "absolute"; |
| 526 | qcom,scale-function = <0>; |
| 527 | qcom,hw-settle-time = <0>; |
| 528 | qcom,fast-avg-setup = <0>; |
| 529 | }; |
| 530 | |
| 531 | chan@4 { |
| 532 | label = "spare2"; |
| 533 | qcom,channel-num = <4>; |
| 534 | qcom,decimation = <0>; |
| 535 | qcom,pre-div-channel-scaling = <6>; |
| 536 | qcom,calibration-type = "absolute"; |
| 537 | qcom,scale-function = <0>; |
| 538 | qcom,hw-settle-time = <0>; |
| 539 | qcom,fast-avg-setup = <0>; |
| 540 | }; |
| 541 | |
Siddartha Mohanadoss | e6440cf | 2012-08-08 17:08:18 -0700 | [diff] [blame] | 542 | chan@5 { |
| 543 | label = "vcoin"; |
| 544 | qcom,channel-num = <5>; |
| 545 | qcom,decimation = <0>; |
Siddartha Mohanadoss | f536767 | 2012-09-04 22:09:31 -0700 | [diff] [blame] | 546 | qcom,pre-div-channel-scaling = <1>; |
Siddartha Mohanadoss | e6440cf | 2012-08-08 17:08:18 -0700 | [diff] [blame] | 547 | qcom,calibration-type = "absolute"; |
| 548 | qcom,scale-function = <0>; |
| 549 | qcom,hw-settle-time = <0>; |
| 550 | qcom,fast-avg-setup = <0>; |
| 551 | }; |
| 552 | |
| 553 | chan@6 { |
| 554 | label = "vbat_sns"; |
| 555 | qcom,channel-num = <6>; |
| 556 | qcom,decimation = <0>; |
Siddartha Mohanadoss | f536767 | 2012-09-04 22:09:31 -0700 | [diff] [blame] | 557 | qcom,pre-div-channel-scaling = <1>; |
Siddartha Mohanadoss | e6440cf | 2012-08-08 17:08:18 -0700 | [diff] [blame] | 558 | qcom,calibration-type = "absolute"; |
| 559 | qcom,scale-function = <0>; |
| 560 | qcom,hw-settle-time = <0>; |
| 561 | qcom,fast-avg-setup = <0>; |
| 562 | }; |
| 563 | |
| 564 | chan@7 { |
| 565 | label = "vph_pwr"; |
| 566 | qcom,channel-num = <7>; |
| 567 | qcom,decimation = <0>; |
Siddartha Mohanadoss | f536767 | 2012-09-04 22:09:31 -0700 | [diff] [blame] | 568 | qcom,pre-div-channel-scaling = <1>; |
Siddartha Mohanadoss | e6440cf | 2012-08-08 17:08:18 -0700 | [diff] [blame] | 569 | qcom,calibration-type = "absolute"; |
| 570 | qcom,scale-function = <0>; |
| 571 | qcom,hw-settle-time = <0>; |
| 572 | qcom,fast-avg-setup = <0>; |
| 573 | }; |
| 574 | |
Siddartha Mohanadoss | 5a5d551 | 2012-09-06 20:25:42 -0700 | [diff] [blame] | 575 | chan@8 { |
| 576 | label = "die_temp"; |
| 577 | qcom,channel-num = <8>; |
| 578 | qcom,decimation = <0>; |
| 579 | qcom,pre-div-channel-scaling = <0>; |
| 580 | qcom,calibration-type = "absolute"; |
| 581 | qcom,scale-function = <3>; |
| 582 | qcom,hw-settle-time = <0>; |
| 583 | qcom,fast-avg-setup = <0>; |
| 584 | }; |
| 585 | |
Siddartha Mohanadoss | e6440cf | 2012-08-08 17:08:18 -0700 | [diff] [blame] | 586 | chan@9 { |
| 587 | label = "ref_625mv"; |
| 588 | qcom,channel-num = <9>; |
| 589 | qcom,decimation = <0>; |
Siddartha Mohanadoss | f536767 | 2012-09-04 22:09:31 -0700 | [diff] [blame] | 590 | qcom,pre-div-channel-scaling = <0>; |
Siddartha Mohanadoss | e6440cf | 2012-08-08 17:08:18 -0700 | [diff] [blame] | 591 | qcom,calibration-type = "absolute"; |
| 592 | qcom,scale-function = <0>; |
| 593 | qcom,hw-settle-time = <0>; |
| 594 | qcom,fast-avg-setup = <0>; |
| 595 | }; |
| 596 | |
| 597 | chan@10 { |
Siddartha Mohanadoss | f536767 | 2012-09-04 22:09:31 -0700 | [diff] [blame] | 598 | label = "ref_1250v"; |
Siddartha Mohanadoss | e6440cf | 2012-08-08 17:08:18 -0700 | [diff] [blame] | 599 | qcom,channel-num = <10>; |
| 600 | qcom,decimation = <0>; |
Siddartha Mohanadoss | f536767 | 2012-09-04 22:09:31 -0700 | [diff] [blame] | 601 | qcom,pre-div-channel-scaling = <0>; |
Siddartha Mohanadoss | e6440cf | 2012-08-08 17:08:18 -0700 | [diff] [blame] | 602 | qcom,calibration-type = "absolute"; |
| 603 | qcom,scale-function = <0>; |
| 604 | qcom,hw-settle-time = <0>; |
| 605 | qcom,fast-avg-setup = <0>; |
| 606 | }; |
Siddartha Mohanadoss | 5a5d551 | 2012-09-06 20:25:42 -0700 | [diff] [blame] | 607 | |
| 608 | chan@48 { |
| 609 | label = "batt_therm"; |
| 610 | qcom,channel-num = <48>; |
| 611 | qcom,decimation = <0>; |
| 612 | qcom,pre-div-channel-scaling = <0>; |
| 613 | qcom,calibration-type = "ratiometric"; |
| 614 | qcom,scale-function = <1>; |
| 615 | qcom,hw-settle-time = <0>; |
| 616 | qcom,fast-avg-setup = <0>; |
| 617 | }; |
| 618 | |
| 619 | chan@49 { |
| 620 | label = "batt_id"; |
| 621 | qcom,channel-num = <49>; |
| 622 | qcom,decimation = <0>; |
| 623 | qcom,pre-div-channel-scaling = <0>; |
| 624 | qcom,calibration-type = "ratiometric"; |
| 625 | qcom,scale-function = <0>; |
| 626 | qcom,hw-settle-time = <0>; |
| 627 | qcom,fast-avg-setup = <0>; |
| 628 | }; |
| 629 | |
Siddartha Mohanadoss | 3601d23 | 2012-09-14 16:01:39 -0700 | [diff] [blame] | 630 | chan@178 { |
| 631 | label = "xo_therm_pu2"; |
| 632 | qcom,channel-num = <178>; |
Siddartha Mohanadoss | 5a5d551 | 2012-09-06 20:25:42 -0700 | [diff] [blame] | 633 | qcom,decimation = <0>; |
| 634 | qcom,pre-div-channel-scaling = <0>; |
| 635 | qcom,calibration-type = "ratiometric"; |
| 636 | qcom,scale-function = <4>; |
| 637 | qcom,hw-settle-time = <0>; |
| 638 | qcom,fast-avg-setup = <0>; |
| 639 | }; |
Siddartha Mohanadoss | 0a91856 | 2012-09-13 14:26:54 -0700 | [diff] [blame] | 640 | |
| 641 | chan@179 { |
| 642 | label = "msm_therm"; |
| 643 | qcom,channel-num = <179>; |
| 644 | qcom,decimation = <0>; |
| 645 | qcom,pre-div-channel-scaling = <0>; |
| 646 | qcom,calibration-type = "ratiometric"; |
| 647 | qcom,scale-function = <2>; |
| 648 | qcom,hw-settle-time = <0>; |
| 649 | qcom,fast-avg-setup = <0>; |
| 650 | }; |
| 651 | |
| 652 | chan@180 { |
| 653 | label = "emmc_therm"; |
| 654 | qcom,channel-num = <180>; |
| 655 | qcom,decimation = <0>; |
| 656 | qcom,pre-div-channel-scaling = <0>; |
| 657 | qcom,calibration-type = "ratiometric"; |
| 658 | qcom,scale-function = <2>; |
| 659 | qcom,hw-settle-time = <0>; |
| 660 | qcom,fast-avg-setup = <0>; |
| 661 | }; |
| 662 | |
| 663 | chan@181 { |
| 664 | label = "pa_therm1"; |
| 665 | qcom,channel-num = <181>; |
| 666 | qcom,decimation = <0>; |
| 667 | qcom,pre-div-channel-scaling = <0>; |
| 668 | qcom,calibration-type = "ratiometric"; |
| 669 | qcom,scale-function = <2>; |
| 670 | qcom,hw-settle-time = <0>; |
| 671 | qcom,fast-avg-setup = <0>; |
| 672 | }; |
| 673 | |
| 674 | chan@183 { |
| 675 | label = "pa_therm2"; |
| 676 | qcom,channel-num = <183>; |
| 677 | qcom,decimation = <0>; |
| 678 | qcom,pre-div-channel-scaling = <0>; |
| 679 | qcom,calibration-type = "ratiometric"; |
| 680 | qcom,scale-function = <2>; |
| 681 | qcom,hw-settle-time = <0>; |
| 682 | qcom,fast-avg-setup = <0>; |
| 683 | }; |
| 684 | |
| 685 | chan@184 { |
| 686 | label = "quiet_therm"; |
| 687 | qcom,channel-num = <184>; |
| 688 | qcom,decimation = <0>; |
| 689 | qcom,pre-div-channel-scaling = <0>; |
| 690 | qcom,calibration-type = "ratiometric"; |
| 691 | qcom,scale-function = <2>; |
| 692 | qcom,hw-settle-time = <0>; |
| 693 | qcom,fast-avg-setup = <0>; |
| 694 | }; |
Siddartha Mohanadoss | 3696ee8 | 2012-07-20 14:47:04 -0700 | [diff] [blame] | 695 | }; |
Siddartha Mohanadoss | b11538e | 2012-07-27 12:06:22 -0700 | [diff] [blame] | 696 | |
| 697 | iadc@3600 { |
| 698 | compatible = "qcom,qpnp-iadc"; |
| 699 | reg = <0x3600 0x100>; |
| 700 | interrupts = <0x0 0x36 0x0>; |
| 701 | qcom,adc-bit-resolution = <16>; |
| 702 | qcom,adc-vdd-reference = <1800>; |
| 703 | qcom,rsense = <1500>; |
| 704 | |
| 705 | chan@0 { |
| 706 | label = "internal_rsense"; |
| 707 | qcom,channel-num = <0>; |
| 708 | qcom,decimation = <0>; |
| 709 | qcom,pre-div-channel-scaling = <1>; |
| 710 | qcom,calibration-type = "absolute"; |
| 711 | qcom,scale-function = <0>; |
| 712 | qcom,hw-settle-time = <0>; |
| 713 | qcom,fast-avg-setup = <0>; |
| 714 | }; |
| 715 | }; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 716 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 717 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 718 | qcom,pm8941@1 { |
| 719 | spmi-slave-container; |
| 720 | reg = <0x1>; |
| 721 | #address-cells = <1>; |
| 722 | #size-cells = <1>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 723 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 724 | regulator@1400 { |
| 725 | regulator-name = "8941_s1"; |
| 726 | spmi-dev-container; |
| 727 | #address-cells = <1>; |
| 728 | #size-cells = <1>; |
| 729 | compatible = "qcom,qpnp-regulator"; |
| 730 | reg = <0x1400 0x300>; |
| 731 | status = "disabled"; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 732 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 733 | qcom,ctl@1400 { |
| 734 | reg = <0x1400 0x100>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 735 | }; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 736 | qcom,ps@1500 { |
| 737 | reg = <0x1500 0x100>; |
| 738 | }; |
| 739 | qcom,freq@1600 { |
| 740 | reg = <0x1600 0x100>; |
| 741 | }; |
| 742 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 743 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 744 | regulator@1700 { |
| 745 | regulator-name = "8941_s2"; |
| 746 | spmi-dev-container; |
| 747 | #address-cells = <1>; |
| 748 | #size-cells = <1>; |
| 749 | compatible = "qcom,qpnp-regulator"; |
| 750 | reg = <0x1700 0x300>; |
| 751 | status = "disabled"; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 752 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 753 | qcom,ctl@1700 { |
| 754 | reg = <0x1700 0x100>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 755 | }; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 756 | qcom,ps@1800 { |
| 757 | reg = <0x1800 0x100>; |
| 758 | }; |
| 759 | qcom,freq@1900 { |
| 760 | reg = <0x1900 0x100>; |
| 761 | }; |
| 762 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 763 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 764 | regulator@1a00 { |
| 765 | regulator-name = "8941_s3"; |
| 766 | spmi-dev-container; |
| 767 | #address-cells = <1>; |
| 768 | #size-cells = <1>; |
| 769 | compatible = "qcom,qpnp-regulator"; |
Michael Bohan | d3253c7 | 2012-08-09 11:34:49 -0700 | [diff] [blame] | 770 | reg = <0x1a00 0x300>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 771 | status = "disabled"; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 772 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 773 | qcom,ctl@1a00 { |
| 774 | reg = <0x1a00 0x100>; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 775 | }; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 776 | qcom,ps@1b00 { |
| 777 | reg = <0x1b00 0x100>; |
| 778 | }; |
| 779 | qcom,freq@1c00 { |
| 780 | reg = <0x1c00 0x100>; |
| 781 | }; |
| 782 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 783 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 784 | regulator@a000 { |
| 785 | regulator-name = "8941_boost"; |
| 786 | reg = <0xa000 0x100>; |
| 787 | compatible = "qcom,qpnp-regulator"; |
| 788 | status = "disabled"; |
| 789 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 790 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 791 | regulator@4000 { |
| 792 | regulator-name = "8941_l1"; |
| 793 | reg = <0x4000 0x100>; |
| 794 | compatible = "qcom,qpnp-regulator"; |
| 795 | status = "disabled"; |
| 796 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 797 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 798 | regulator@4100 { |
| 799 | regulator-name = "8941_l2"; |
| 800 | reg = <0x4100 0x100>; |
| 801 | compatible = "qcom,qpnp-regulator"; |
| 802 | status = "disabled"; |
| 803 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 804 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 805 | regulator@4200 { |
| 806 | regulator-name = "8941_l3"; |
| 807 | reg = <0x4200 0x100>; |
| 808 | compatible = "qcom,qpnp-regulator"; |
| 809 | status = "disabled"; |
| 810 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 811 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 812 | regulator@4300 { |
| 813 | regulator-name = "8941_l4"; |
| 814 | reg = <0x4300 0x100>; |
| 815 | compatible = "qcom,qpnp-regulator"; |
| 816 | status = "disabled"; |
| 817 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 818 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 819 | regulator@4400 { |
| 820 | regulator-name = "8941_l5"; |
| 821 | reg = <0x4400 0x100>; |
| 822 | compatible = "qcom,qpnp-regulator"; |
Michael Bohan | e18bf88 | 2012-08-09 15:00:23 -0700 | [diff] [blame] | 823 | qcom,force-type = <0x04 0x10>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 824 | status = "disabled"; |
| 825 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 826 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 827 | regulator@4500 { |
| 828 | regulator-name = "8941_l6"; |
| 829 | reg = <0x4500 0x100>; |
| 830 | compatible = "qcom,qpnp-regulator"; |
| 831 | status = "disabled"; |
| 832 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 833 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 834 | regulator@4600 { |
| 835 | regulator-name = "8941_l7"; |
| 836 | reg = <0x4600 0x100>; |
| 837 | compatible = "qcom,qpnp-regulator"; |
Michael Bohan | e18bf88 | 2012-08-09 15:00:23 -0700 | [diff] [blame] | 838 | qcom,force-type = <0x04 0x10>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 839 | status = "disabled"; |
| 840 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 841 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 842 | regulator@4700 { |
| 843 | regulator-name = "8941_l8"; |
| 844 | reg = <0x4700 0x100>; |
| 845 | compatible = "qcom,qpnp-regulator"; |
| 846 | status = "disabled"; |
| 847 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 848 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 849 | regulator@4800 { |
| 850 | regulator-name = "8941_l9"; |
| 851 | reg = <0x4800 0x100>; |
| 852 | compatible = "qcom,qpnp-regulator"; |
| 853 | status = "disabled"; |
| 854 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 855 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 856 | regulator@4900 { |
| 857 | regulator-name = "8941_l10"; |
| 858 | reg = <0x4900 0x100>; |
| 859 | compatible = "qcom,qpnp-regulator"; |
| 860 | status = "disabled"; |
| 861 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 862 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 863 | regulator@4a00 { |
| 864 | regulator-name = "8941_l11"; |
| 865 | reg = <0x4a00 0x100>; |
| 866 | compatible = "qcom,qpnp-regulator"; |
| 867 | status = "disabled"; |
| 868 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 869 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 870 | regulator@4b00 { |
| 871 | regulator-name = "8941_l12"; |
| 872 | reg = <0x4b00 0x100>; |
| 873 | compatible = "qcom,qpnp-regulator"; |
| 874 | status = "disabled"; |
| 875 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 876 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 877 | regulator@4c00 { |
| 878 | regulator-name = "8941_l13"; |
| 879 | reg = <0x4c00 0x100>; |
| 880 | compatible = "qcom,qpnp-regulator"; |
| 881 | status = "disabled"; |
| 882 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 883 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 884 | regulator@4d00 { |
| 885 | regulator-name = "8941_l14"; |
| 886 | reg = <0x4d00 0x100>; |
| 887 | compatible = "qcom,qpnp-regulator"; |
| 888 | status = "disabled"; |
| 889 | }; |
| 890 | |
| 891 | regulator@4e00 { |
| 892 | regulator-name = "8941_l15"; |
| 893 | reg = <0x4e00 0x100>; |
| 894 | compatible = "qcom,qpnp-regulator"; |
| 895 | status = "disabled"; |
| 896 | }; |
| 897 | |
| 898 | regulator@4f00 { |
| 899 | regulator-name = "8941_l16"; |
| 900 | reg = <0x4f00 0x100>; |
| 901 | compatible = "qcom,qpnp-regulator"; |
| 902 | status = "disabled"; |
| 903 | }; |
| 904 | |
| 905 | regulator@5000 { |
| 906 | regulator-name = "8941_l17"; |
| 907 | reg = <0x5000 0x100>; |
| 908 | compatible = "qcom,qpnp-regulator"; |
| 909 | status = "disabled"; |
| 910 | }; |
| 911 | |
| 912 | regulator@5100 { |
| 913 | regulator-name = "8941_l18"; |
| 914 | reg = <0x5100 0x100>; |
| 915 | compatible = "qcom,qpnp-regulator"; |
| 916 | status = "disabled"; |
| 917 | }; |
| 918 | |
| 919 | regulator@5200 { |
| 920 | regulator-name = "8941_l19"; |
| 921 | reg = <0x5200 0x100>; |
| 922 | compatible = "qcom,qpnp-regulator"; |
| 923 | status = "disabled"; |
| 924 | }; |
| 925 | |
| 926 | regulator@5300 { |
| 927 | regulator-name = "8941_l20"; |
| 928 | reg = <0x5300 0x100>; |
| 929 | compatible = "qcom,qpnp-regulator"; |
| 930 | status = "disabled"; |
| 931 | }; |
| 932 | |
| 933 | regulator@5400 { |
| 934 | regulator-name = "8941_l21"; |
| 935 | reg = <0x5400 0x100>; |
| 936 | compatible = "qcom,qpnp-regulator"; |
| 937 | status = "disabled"; |
| 938 | }; |
| 939 | |
| 940 | regulator@5500 { |
| 941 | regulator-name = "8941_l22"; |
| 942 | reg = <0x5500 0x100>; |
| 943 | compatible = "qcom,qpnp-regulator"; |
| 944 | status = "disabled"; |
| 945 | }; |
| 946 | |
| 947 | regulator@5600 { |
| 948 | regulator-name = "8941_l23"; |
| 949 | reg = <0x5600 0x100>; |
| 950 | compatible = "qcom,qpnp-regulator"; |
| 951 | status = "disabled"; |
| 952 | }; |
| 953 | |
| 954 | regulator@5700 { |
| 955 | regulator-name = "8941_l24"; |
| 956 | reg = <0x5700 0x100>; |
| 957 | compatible = "qcom,qpnp-regulator"; |
| 958 | status = "disabled"; |
| 959 | }; |
| 960 | |
| 961 | regulator@8000 { |
| 962 | regulator-name = "8941_lvs1"; |
| 963 | reg = <0x8000 0x100>; |
| 964 | compatible = "qcom,qpnp-regulator"; |
| 965 | status = "disabled"; |
| 966 | }; |
| 967 | |
| 968 | regulator@8100 { |
| 969 | regulator-name = "8941_lvs2"; |
| 970 | reg = <0x8100 0x100>; |
| 971 | compatible = "qcom,qpnp-regulator"; |
| 972 | status = "disabled"; |
| 973 | }; |
| 974 | |
| 975 | regulator@8200 { |
| 976 | regulator-name = "8941_lvs3"; |
| 977 | reg = <0x8200 0x100>; |
| 978 | compatible = "qcom,qpnp-regulator"; |
| 979 | status = "disabled"; |
| 980 | }; |
| 981 | |
| 982 | regulator@8300 { |
| 983 | regulator-name = "8941_mvs1"; |
| 984 | reg = <0x8300 0x100>; |
| 985 | compatible = "qcom,qpnp-regulator"; |
| 986 | status = "disabled"; |
| 987 | }; |
| 988 | |
| 989 | regulator@8400 { |
| 990 | regulator-name = "8941_mvs2"; |
| 991 | reg = <0x8400 0x100>; |
| 992 | compatible = "qcom,qpnp-regulator"; |
| 993 | status = "disabled"; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 994 | }; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 995 | |
Amy Maloche | 4f0b046 | 2012-09-17 12:09:49 -0700 | [diff] [blame^] | 996 | qcom,leds@d000 { |
| 997 | compatible = "qcom,leds-qpnp"; |
| 998 | reg = <0xd000 0x100>; |
| 999 | label = "rgb"; |
| 1000 | }; |
| 1001 | |
| 1002 | qcom,leds@d100 { |
| 1003 | compatible = "qcom,leds-qpnp"; |
| 1004 | reg = <0xd100 0x100>; |
| 1005 | label = "rgb"; |
| 1006 | }; |
| 1007 | |
| 1008 | qcom,leds@d200 { |
| 1009 | compatible = "qcom,leds-qpnp"; |
| 1010 | reg = <0xd200 0x100>; |
| 1011 | label = "rgb"; |
| 1012 | }; |
| 1013 | |
Amy Maloche | 2b8b79b | 2012-10-22 10:36:04 -0700 | [diff] [blame] | 1014 | qcom,leds@d300 { |
| 1015 | compatible = "qcom,leds-qpnp"; |
| 1016 | reg = <0xd300 0x100>; |
| 1017 | label = "flash"; |
| 1018 | }; |
| 1019 | |
| 1020 | qcom,leds@d400 { |
| 1021 | compatible = "qcom,leds-qpnp"; |
| 1022 | reg = <0xd400 0x100>; |
| 1023 | label = "flash"; |
| 1024 | }; |
| 1025 | |
| 1026 | qcom,leds@d500 { |
| 1027 | compatible = "qcom,leds-qpnp"; |
| 1028 | reg = <0xd500 0x100>; |
| 1029 | label = "flash"; |
| 1030 | }; |
| 1031 | |
| 1032 | qcom,leds@d600 { |
| 1033 | compatible = "qcom,leds-qpnp"; |
| 1034 | reg = <0xd600 0x100>; |
| 1035 | label = "flash"; |
| 1036 | }; |
| 1037 | |
| 1038 | qcom,leds@d700 { |
| 1039 | compatible = "qcom,leds-qpnp"; |
| 1040 | reg = <0xd700 0x100>; |
| 1041 | label = "flash"; |
| 1042 | }; |
| 1043 | |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 1044 | qcom,leds@d800 { |
| 1045 | compatible = "qcom,leds-qpnp"; |
| 1046 | reg = <0xd800 0x100>; |
Amy Maloche | a5ca555 | 2012-10-23 13:34:46 -0700 | [diff] [blame] | 1047 | label = "wled"; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 1048 | }; |
| 1049 | |
| 1050 | qcom,leds@d900 { |
| 1051 | compatible = "qcom,leds-qpnp"; |
| 1052 | reg = <0xd900 0x100>; |
Amy Maloche | a5ca555 | 2012-10-23 13:34:46 -0700 | [diff] [blame] | 1053 | label = "wled"; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 1054 | }; |
| 1055 | |
| 1056 | qcom,leds@da00 { |
| 1057 | compatible = "qcom,leds-qpnp"; |
| 1058 | reg = <0xda00 0x100>; |
Amy Maloche | a5ca555 | 2012-10-23 13:34:46 -0700 | [diff] [blame] | 1059 | label = "wled"; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 1060 | }; |
| 1061 | |
| 1062 | qcom,leds@db00 { |
| 1063 | compatible = "qcom,leds-qpnp"; |
| 1064 | reg = <0xdb00 0x100>; |
Amy Maloche | a5ca555 | 2012-10-23 13:34:46 -0700 | [diff] [blame] | 1065 | label = "wled"; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 1066 | }; |
| 1067 | |
| 1068 | qcom,leds@dc00 { |
| 1069 | compatible = "qcom,leds-qpnp"; |
| 1070 | reg = <0xdc00 0x100>; |
Amy Maloche | a5ca555 | 2012-10-23 13:34:46 -0700 | [diff] [blame] | 1071 | label = "wled"; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 1072 | }; |
| 1073 | |
| 1074 | qcom,leds@dd00 { |
| 1075 | compatible = "qcom,leds-qpnp"; |
| 1076 | reg = <0xdd00 0x100>; |
Amy Maloche | a5ca555 | 2012-10-23 13:34:46 -0700 | [diff] [blame] | 1077 | label = "wled"; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 1078 | }; |
| 1079 | |
| 1080 | qcom,leds@de00 { |
| 1081 | compatible = "qcom,leds-qpnp"; |
| 1082 | reg = <0xde00 0x100>; |
Amy Maloche | a5ca555 | 2012-10-23 13:34:46 -0700 | [diff] [blame] | 1083 | label = "wled"; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 1084 | }; |
| 1085 | |
| 1086 | qcom,leds@df00 { |
| 1087 | compatible = "qcom,leds-qpnp"; |
| 1088 | reg = <0xdf00 0x100>; |
Amy Maloche | a5ca555 | 2012-10-23 13:34:46 -0700 | [diff] [blame] | 1089 | label = "wled"; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 1090 | }; |
| 1091 | |
| 1092 | qcom,leds@e000 { |
| 1093 | compatible = "qcom,leds-qpnp"; |
| 1094 | reg = <0xe000 0x100>; |
Amy Maloche | a5ca555 | 2012-10-23 13:34:46 -0700 | [diff] [blame] | 1095 | label = "wled"; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 1096 | }; |
| 1097 | |
| 1098 | qcom,leds@e100 { |
| 1099 | compatible = "qcom,leds-qpnp"; |
| 1100 | reg = <0xe100 0x100>; |
Amy Maloche | a5ca555 | 2012-10-23 13:34:46 -0700 | [diff] [blame] | 1101 | label = "wled"; |
Amy Maloche | 02a5eae | 2012-08-10 21:33:59 -0700 | [diff] [blame] | 1102 | }; |
| 1103 | |
Jay Chokshi | 6254a16 | 2012-05-07 12:38:14 -0700 | [diff] [blame] | 1104 | pwm@b100 { |
| 1105 | compatible = "qcom,qpnp-pwm"; |
| 1106 | reg = <0xb100 0x100>, |
| 1107 | <0xb042 0x7e>; |
| 1108 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1109 | qcom,channel-id = <0>; |
| 1110 | }; |
| 1111 | |
| 1112 | pwm@b200 { |
| 1113 | compatible = "qcom,qpnp-pwm"; |
| 1114 | reg = <0xb200 0x100>, |
| 1115 | <0xb042 0x7e>; |
| 1116 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1117 | qcom,channel-id = <1>; |
| 1118 | }; |
| 1119 | |
| 1120 | pwm@b300 { |
| 1121 | compatible = "qcom,qpnp-pwm"; |
| 1122 | reg = <0xb300 0x100>, |
| 1123 | <0xb042 0x7e>; |
| 1124 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1125 | qcom,channel-id = <2>; |
| 1126 | }; |
| 1127 | |
| 1128 | pwm@b400 { |
| 1129 | compatible = "qcom,qpnp-pwm"; |
| 1130 | reg = <0xb400 0x100>, |
| 1131 | <0xb042 0x7e>; |
| 1132 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1133 | qcom,channel-id = <3>; |
| 1134 | }; |
| 1135 | |
| 1136 | pwm@b500 { |
| 1137 | compatible = "qcom,qpnp-pwm"; |
| 1138 | reg = <0xb500 0x100>, |
| 1139 | <0xb042 0x7e>; |
| 1140 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1141 | qcom,channel-id = <4>; |
| 1142 | }; |
| 1143 | |
| 1144 | pwm@b600 { |
| 1145 | compatible = "qcom,qpnp-pwm"; |
| 1146 | reg = <0xb600 0x100>, |
| 1147 | <0xb042 0x7e>; |
| 1148 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1149 | qcom,channel-id = <5>; |
| 1150 | }; |
| 1151 | |
| 1152 | pwm@b700 { |
| 1153 | compatible = "qcom,qpnp-pwm"; |
| 1154 | reg = <0xb700 0x100>, |
| 1155 | <0xb042 0x7e>; |
| 1156 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1157 | qcom,channel-id = <6>; |
| 1158 | }; |
| 1159 | |
| 1160 | pwm@b800 { |
| 1161 | compatible = "qcom,qpnp-pwm"; |
| 1162 | reg = <0xb800 0x100>, |
| 1163 | <0xb042 0x7e>; |
| 1164 | reg-names = "qpnp-lpg-channel-base", "qpnp-lpg-lut-base"; |
| 1165 | qcom,channel-id = <7>; |
| 1166 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 1167 | }; |
| 1168 | }; |