David Collins | 998e2a9 | 2014-01-09 12:20:49 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2012-2014, 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 | |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 13 | |
| 14 | /* QPNP controlled regulators: */ |
| 15 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 16 | &pm8941_lsid1 { |
| 17 | pm8941_boost: regulator@a000 { |
| 18 | regulator-min-microvolt = <5000000>; |
| 19 | regulator-max-microvolt = <5000000>; |
| 20 | qcom,enable-time = <500>; |
| 21 | status = "okay"; |
| 22 | }; |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 23 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 24 | pm8941_mvs1: regulator@8300 { |
| 25 | parent-supply = <&pm8941_chg_otg>; |
| 26 | qcom,enable-time = <1000>; |
| 27 | qcom,pull-down-enable = <1>; |
| 28 | interrupts = <0x1 0x83 0x2>; |
| 29 | interrupt-names = "ocp"; |
| 30 | qcom,ocp-enable = <1>; |
| 31 | qcom,ocp-max-retries = <10>; |
| 32 | qcom,ocp-retry-delay = <30>; |
| 33 | qcom,soft-start-enable = <1>; |
| 34 | qcom,vs-soft-start-strength = <0>; |
| 35 | qcom,hpm-enable = <1>; |
| 36 | qcom,auto-mode-enable = <0>; |
| 37 | status = "okay"; |
| 38 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 39 | |
David Collins | 73cdb63 | 2013-06-17 17:24:45 -0700 | [diff] [blame] | 40 | pm8941_mvs2: regulator@8400 { |
| 41 | parent-supply = <&pm8941_boost>; |
| 42 | qcom,enable-time = <1000>; |
| 43 | qcom,pull-down-enable = <1>; |
| 44 | interrupts = <0x1 0x84 0x2>; |
| 45 | interrupt-names = "ocp"; |
| 46 | qcom,ocp-enable = <1>; |
| 47 | qcom,ocp-max-retries = <10>; |
| 48 | qcom,ocp-retry-delay = <30>; |
| 49 | qcom,soft-start-enable = <1>; |
| 50 | qcom,vs-soft-start-strength = <0>; |
| 51 | qcom,hpm-enable = <1>; |
| 52 | qcom,auto-mode-enable = <0>; |
| 53 | status = "okay"; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 54 | }; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 55 | }; |
| 56 | |
David Collins | 1c91ea7 | 2012-05-03 16:17:35 -0700 | [diff] [blame] | 57 | /* RPM controlled regulators: */ |
| 58 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 59 | &rpm_bus { |
| 60 | rpm-regulator-smpb1 { |
| 61 | status = "okay"; |
| 62 | pm8841_s1: regulator-s1 { |
| 63 | regulator-min-microvolt = <675000>; |
| 64 | regulator-max-microvolt = <1050000>; |
David Collins | 1c91ea7 | 2012-05-03 16:17:35 -0700 | [diff] [blame] | 65 | status = "okay"; |
David Collins | 1c91ea7 | 2012-05-03 16:17:35 -0700 | [diff] [blame] | 66 | }; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 67 | pm8841_s1_ao: regulator-s1-ao { |
| 68 | regulator-name = "8841_s1_ao"; |
| 69 | qcom,set = <1>; |
| 70 | regulator-min-microvolt = <675000>; |
| 71 | regulator-max-microvolt = <1050000>; |
David Collins | 1c91ea7 | 2012-05-03 16:17:35 -0700 | [diff] [blame] | 72 | status = "okay"; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 73 | compatible = "qcom,rpm-regulator-smd"; |
David Collins | 1c91ea7 | 2012-05-03 16:17:35 -0700 | [diff] [blame] | 74 | }; |
David Collins | 00ab306 | 2012-08-28 09:56:28 -0700 | [diff] [blame] | 75 | pm8841_s1_so: regulator-s1-so { |
| 76 | regulator-name = "8841_s1_so"; |
| 77 | qcom,set = <2>; |
| 78 | regulator-min-microvolt = <675000>; |
| 79 | regulator-max-microvolt = <1050000>; |
| 80 | qcom,init-voltage = <675000>; |
| 81 | status = "okay"; |
| 82 | compatible = "qcom,rpm-regulator-smd"; |
| 83 | }; |
David Collins | 1c91ea7 | 2012-05-03 16:17:35 -0700 | [diff] [blame] | 84 | }; |
| 85 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 86 | rpm-regulator-smpb2 { |
| 87 | status = "okay"; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 88 | pm8841_s2: regulator-s2 { |
| 89 | regulator-min-microvolt = <500000>; |
| 90 | regulator-max-microvolt = <1050000>; |
| 91 | status = "okay"; |
| 92 | }; |
| 93 | pm8841_s2_corner: regulator-s2-corner { |
| 94 | regulator-name = "8841_s2_corner"; |
| 95 | qcom,set = <3>; |
| 96 | regulator-min-microvolt = <1>; |
David Collins | f3d8232 | 2012-07-18 11:29:48 -0700 | [diff] [blame] | 97 | regulator-max-microvolt = <7>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 98 | qcom,use-voltage-corner; |
| 99 | compatible = "qcom,rpm-regulator-smd"; |
| 100 | qcom,consumer-supplies = "vdd_dig", ""; |
| 101 | }; |
| 102 | pm8841_s2_corner_ao: regulator-s2-corner-ao { |
| 103 | regulator-name = "8841_s2_corner_ao"; |
| 104 | qcom,set = <1>; |
| 105 | regulator-min-microvolt = <1>; |
David Collins | f3d8232 | 2012-07-18 11:29:48 -0700 | [diff] [blame] | 106 | regulator-max-microvolt = <7>; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 107 | qcom,use-voltage-corner; |
| 108 | compatible = "qcom,rpm-regulator-smd"; |
| 109 | }; |
David Collins | 8bd6c97 | 2013-03-05 11:34:58 -0800 | [diff] [blame] | 110 | pm8841_s2_floor_corner: regulator-s2-floor-corner { |
| 111 | compatible = "qcom,rpm-regulator-smd"; |
| 112 | regulator-name = "8841_s2_floor_corner"; |
| 113 | qcom,set = <3>; |
| 114 | regulator-min-microvolt = <1>; |
| 115 | regulator-max-microvolt = <7>; |
| 116 | qcom,use-voltage-floor-corner; |
| 117 | qcom,always-send-voltage; |
| 118 | }; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 119 | }; |
| 120 | |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 121 | rpm-regulator-smpb3 { |
| 122 | status = "okay"; |
| 123 | pm8841_s3: regulator-s3 { |
| 124 | regulator-min-microvolt = <1050000>; |
| 125 | regulator-max-microvolt = <1050000>; |
| 126 | qcom,init-voltage = <1050000>; |
| 127 | status = "okay"; |
| 128 | }; |
| 129 | }; |
| 130 | |
| 131 | rpm-regulator-smpb4 { |
| 132 | status = "okay"; |
| 133 | pm8841_s4: regulator-s4 { |
David Collins | ff8e933 | 2012-12-05 12:16:37 -0800 | [diff] [blame] | 134 | regulator-min-microvolt = <815000>; |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 135 | regulator-max-microvolt = <900000>; |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 136 | status = "okay"; |
| 137 | }; |
David Collins | f886190 | 2013-01-10 15:38:09 -0800 | [diff] [blame] | 138 | pm8841_s4_corner: regulator-s4-corner { |
| 139 | compatible = "qcom,rpm-regulator-smd"; |
| 140 | regulator-name = "8841_s4_corner"; |
| 141 | qcom,set = <3>; |
| 142 | qcom,use-voltage-corner; |
| 143 | regulator-min-microvolt = <1>; |
| 144 | regulator-max-microvolt = <7>; |
| 145 | qcom,init-voltage-corner = <3>; /* SVS SOC */ |
| 146 | }; |
David Collins | 8bd6c97 | 2013-03-05 11:34:58 -0800 | [diff] [blame] | 147 | pm8841_s4_floor_corner: regulator-s4-floor-corner { |
| 148 | compatible = "qcom,rpm-regulator-smd"; |
| 149 | regulator-name = "8841_s4_floor_corner"; |
| 150 | qcom,set = <3>; |
| 151 | regulator-min-microvolt = <1>; |
| 152 | regulator-max-microvolt = <7>; |
| 153 | qcom,use-voltage-floor-corner; |
| 154 | qcom,always-send-voltage; |
| 155 | }; |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 156 | }; |
| 157 | |
| 158 | rpm-regulator-smpa1 { |
| 159 | status = "okay"; |
| 160 | pm8941_s1: regulator-s1 { |
| 161 | regulator-min-microvolt = <1300000>; |
| 162 | regulator-max-microvolt = <1300000>; |
| 163 | qcom,init-voltage = <1300000>; |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 164 | status = "okay"; |
| 165 | }; |
| 166 | }; |
| 167 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 168 | rpm-regulator-smpa2 { |
| 169 | status = "okay"; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 170 | pm8941_s2: regulator-s2 { |
| 171 | regulator-min-microvolt = <2150000>; |
| 172 | regulator-max-microvolt = <2150000>; |
| 173 | qcom,init-voltage = <2150000>; |
| 174 | status = "okay"; |
| 175 | }; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 176 | }; |
| 177 | |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 178 | rpm-regulator-smpa3 { |
| 179 | status = "okay"; |
| 180 | pm8941_s3: regulator-s3 { |
| 181 | regulator-min-microvolt = <1800000>; |
| 182 | regulator-max-microvolt = <1800000>; |
| 183 | qcom,init-voltage = <1800000>; |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 184 | status = "okay"; |
| 185 | }; |
| 186 | }; |
| 187 | |
| 188 | rpm-regulator-ldoa1 { |
| 189 | status = "okay"; |
| 190 | pm8941_l1: regulator-l1 { |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 191 | regulator-min-microvolt = <1225000>; |
| 192 | regulator-max-microvolt = <1225000>; |
| 193 | qcom,init-voltage = <1225000>; |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 194 | status = "okay"; |
| 195 | }; |
| 196 | }; |
| 197 | |
| 198 | rpm-regulator-ldoa2 { |
| 199 | status = "okay"; |
| 200 | pm8941_l2: regulator-l2 { |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 201 | regulator-min-microvolt = <1200000>; |
| 202 | regulator-max-microvolt = <1200000>; |
| 203 | qcom,init-voltage = <1200000>; |
| 204 | status = "okay"; |
| 205 | }; |
| 206 | }; |
| 207 | |
| 208 | rpm-regulator-ldoa3 { |
| 209 | status = "okay"; |
| 210 | pm8941_l3: regulator-l3 { |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 211 | regulator-min-microvolt = <1225000>; |
| 212 | regulator-max-microvolt = <1225000>; |
| 213 | qcom,init-voltage = <1225000>; |
| 214 | status = "okay"; |
| 215 | }; |
| 216 | }; |
| 217 | |
| 218 | rpm-regulator-ldoa4 { |
| 219 | status = "okay"; |
| 220 | pm8941_l4: regulator-l4 { |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 221 | regulator-min-microvolt = <1225000>; |
| 222 | regulator-max-microvolt = <1225000>; |
| 223 | qcom,init-voltage = <1225000>; |
| 224 | status = "okay"; |
| 225 | }; |
| 226 | }; |
| 227 | |
| 228 | rpm-regulator-ldoa5 { |
| 229 | status = "okay"; |
| 230 | pm8941_l5: regulator-l5 { |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 231 | regulator-min-microvolt = <1800000>; |
| 232 | regulator-max-microvolt = <1800000>; |
| 233 | qcom,init-voltage = <1800000>; |
| 234 | status = "okay"; |
| 235 | }; |
| 236 | }; |
| 237 | |
| 238 | rpm-regulator-ldoa6 { |
| 239 | status = "okay"; |
| 240 | pm8941_l6: regulator-l6 { |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 241 | regulator-min-microvolt = <1800000>; |
| 242 | regulator-max-microvolt = <1800000>; |
| 243 | qcom,init-voltage = <1800000>; |
| 244 | status = "okay"; |
| 245 | }; |
| 246 | }; |
| 247 | |
| 248 | rpm-regulator-ldoa7 { |
| 249 | status = "okay"; |
| 250 | pm8941_l7: regulator-l7 { |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 251 | regulator-min-microvolt = <1800000>; |
| 252 | regulator-max-microvolt = <1800000>; |
| 253 | qcom,init-voltage = <1800000>; |
| 254 | status = "okay"; |
| 255 | }; |
| 256 | }; |
| 257 | |
| 258 | rpm-regulator-ldoa8 { |
| 259 | status = "okay"; |
| 260 | pm8941_l8: regulator-l8 { |
| 261 | regulator-min-microvolt = <1800000>; |
| 262 | regulator-max-microvolt = <1800000>; |
| 263 | qcom,init-voltage = <1800000>; |
| 264 | status = "okay"; |
| 265 | }; |
| 266 | }; |
| 267 | |
| 268 | rpm-regulator-ldoa9 { |
| 269 | status = "okay"; |
| 270 | pm8941_l9: regulator-l9 { |
| 271 | regulator-min-microvolt = <1800000>; |
| 272 | regulator-max-microvolt = <2950000>; |
| 273 | qcom,init-voltage = <2950000>; |
| 274 | status = "okay"; |
| 275 | }; |
| 276 | }; |
| 277 | |
| 278 | rpm-regulator-ldoa10 { |
| 279 | status = "okay"; |
| 280 | pm8941_l10: regulator-l10 { |
| 281 | regulator-min-microvolt = <1800000>; |
| 282 | regulator-max-microvolt = <2950000>; |
| 283 | qcom,init-voltage = <2950000>; |
| 284 | status = "okay"; |
| 285 | }; |
| 286 | }; |
| 287 | |
| 288 | rpm-regulator-ldoa11 { |
| 289 | status = "okay"; |
| 290 | pm8941_l11: regulator-l11 { |
David Collins | 998e2a9 | 2014-01-09 12:20:49 -0800 | [diff] [blame] | 291 | regulator-min-microvolt = <1225000>; |
David Keitel | ede15c4 | 2013-10-21 13:33:41 -0700 | [diff] [blame] | 292 | regulator-max-microvolt = <1350000>; |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 293 | qcom,init-voltage = <1300000>; |
| 294 | status = "okay"; |
| 295 | }; |
| 296 | }; |
| 297 | |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 298 | rpm-regulator-ldoa12 { |
| 299 | status = "okay"; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 300 | pm8941_l12: regulator-l12 { |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 301 | regulator-min-microvolt = <1800000>; |
| 302 | regulator-max-microvolt = <1800000>; |
| 303 | status = "okay"; |
| 304 | }; |
| 305 | pm8941_l12_ao: regulator-l12-ao { |
| 306 | regulator-name = "8941_l12_ao"; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 307 | qcom,set = <1>; |
| 308 | regulator-min-microvolt = <1800000>; |
| 309 | regulator-max-microvolt = <1800000>; |
| 310 | status = "okay"; |
| 311 | compatible = "qcom,rpm-regulator-smd"; |
| 312 | }; |
| 313 | }; |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 314 | |
| 315 | rpm-regulator-ldoa13 { |
| 316 | status = "okay"; |
| 317 | pm8941_l13: regulator-l13 { |
| 318 | regulator-min-microvolt = <1800000>; |
| 319 | regulator-max-microvolt = <2950000>; |
| 320 | qcom,init-voltage = <2950000>; |
| 321 | status = "okay"; |
| 322 | }; |
| 323 | }; |
| 324 | |
| 325 | rpm-regulator-ldoa14 { |
| 326 | status = "okay"; |
| 327 | pm8941_l14: regulator-l14 { |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 328 | regulator-min-microvolt = <1800000>; |
| 329 | regulator-max-microvolt = <1800000>; |
| 330 | qcom,init-voltage = <1800000>; |
| 331 | status = "okay"; |
| 332 | }; |
| 333 | }; |
| 334 | |
| 335 | rpm-regulator-ldoa15 { |
| 336 | status = "okay"; |
| 337 | pm8941_l15: regulator-l15 { |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 338 | regulator-min-microvolt = <2050000>; |
| 339 | regulator-max-microvolt = <2050000>; |
| 340 | qcom,init-voltage = <2050000>; |
| 341 | status = "okay"; |
| 342 | }; |
| 343 | }; |
| 344 | |
| 345 | rpm-regulator-ldoa16 { |
| 346 | status = "okay"; |
| 347 | pm8941_l16: regulator-l16 { |
| 348 | regulator-min-microvolt = <2700000>; |
| 349 | regulator-max-microvolt = <2700000>; |
| 350 | qcom,init-voltage = <2700000>; |
| 351 | status = "okay"; |
| 352 | }; |
| 353 | }; |
| 354 | |
| 355 | rpm-regulator-ldoa17 { |
| 356 | status = "okay"; |
| 357 | pm8941_l17: regulator-l17 { |
| 358 | regulator-min-microvolt = <2850000>; |
| 359 | regulator-max-microvolt = <2850000>; |
| 360 | qcom,init-voltage = <2850000>; |
| 361 | status = "okay"; |
| 362 | }; |
| 363 | }; |
| 364 | |
| 365 | rpm-regulator-ldoa18 { |
| 366 | status = "okay"; |
| 367 | pm8941_l18: regulator-l18 { |
| 368 | regulator-min-microvolt = <2850000>; |
| 369 | regulator-max-microvolt = <2850000>; |
| 370 | qcom,init-voltage = <2850000>; |
| 371 | status = "okay"; |
| 372 | }; |
| 373 | }; |
| 374 | |
| 375 | rpm-regulator-ldoa19 { |
| 376 | status = "okay"; |
| 377 | pm8941_l19: regulator-l19 { |
| 378 | regulator-min-microvolt = <2900000>; |
David Keitel | ede15c4 | 2013-10-21 13:33:41 -0700 | [diff] [blame] | 379 | regulator-max-microvolt = <3350000>; |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 380 | qcom,init-voltage = <2900000>; |
| 381 | status = "okay"; |
| 382 | }; |
| 383 | }; |
| 384 | |
| 385 | rpm-regulator-ldoa20 { |
| 386 | status = "okay"; |
| 387 | pm8941_l20: regulator-l20 { |
| 388 | regulator-min-microvolt = <2950000>; |
| 389 | regulator-max-microvolt = <2950000>; |
| 390 | qcom,init-voltage = <2950000>; |
| 391 | status = "okay"; |
| 392 | }; |
| 393 | }; |
| 394 | |
| 395 | rpm-regulator-ldoa21 { |
| 396 | status = "okay"; |
| 397 | pm8941_l21: regulator-l21 { |
| 398 | regulator-min-microvolt = <2950000>; |
| 399 | regulator-max-microvolt = <2950000>; |
| 400 | qcom,init-voltage = <2950000>; |
| 401 | status = "okay"; |
| 402 | }; |
| 403 | }; |
| 404 | |
| 405 | rpm-regulator-ldoa22 { |
| 406 | status = "okay"; |
| 407 | pm8941_l22: regulator-l22 { |
| 408 | regulator-min-microvolt = <3000000>; |
| 409 | regulator-max-microvolt = <3000000>; |
| 410 | qcom,init-voltage = <3000000>; |
| 411 | status = "okay"; |
| 412 | }; |
| 413 | }; |
| 414 | |
| 415 | rpm-regulator-ldoa23 { |
| 416 | status = "okay"; |
| 417 | pm8941_l23: regulator-l23 { |
| 418 | regulator-min-microvolt = <3000000>; |
| 419 | regulator-max-microvolt = <3000000>; |
| 420 | qcom,init-voltage = <3000000>; |
| 421 | status = "okay"; |
| 422 | }; |
| 423 | }; |
| 424 | |
| 425 | rpm-regulator-ldoa24 { |
| 426 | status = "okay"; |
| 427 | pm8941_l24: regulator-l24 { |
| 428 | regulator-min-microvolt = <3075000>; |
| 429 | regulator-max-microvolt = <3075000>; |
| 430 | qcom,init-voltage = <3075000>; |
| 431 | status = "okay"; |
| 432 | }; |
| 433 | }; |
| 434 | |
| 435 | rpm-regulator-vsa1 { |
| 436 | status = "okay"; |
| 437 | pm8941_lvs1: regulator-lvs1 { |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 438 | status = "okay"; |
| 439 | }; |
| 440 | }; |
| 441 | |
| 442 | rpm-regulator-vsa2 { |
| 443 | status = "okay"; |
| 444 | pm8941_lvs2: regulator-lvs2 { |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 445 | status = "okay"; |
| 446 | }; |
| 447 | }; |
| 448 | |
| 449 | rpm-regulator-vsa3 { |
| 450 | status = "okay"; |
| 451 | pm8941_lvs3: regulator-lvs3 { |
Michael Bohan | c659a5e | 2012-08-21 16:50:52 -0700 | [diff] [blame] | 452 | status = "okay"; |
| 453 | }; |
| 454 | }; |
Varad Deshmukh | 18057ed | 2012-07-03 16:34:53 -0700 | [diff] [blame] | 455 | }; |
| 456 | |
Stepan Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 457 | &soc { |
Stepan Moskovchenko | 7663b78 | 2013-03-08 20:13:06 -0800 | [diff] [blame] | 458 | krait_pdn: krait-pdn@f9011000 { |
David Collins | b80db49 | 2013-04-26 15:05:41 -0700 | [diff] [blame] | 459 | reg = <0xf9011000 0x1000>, |
| 460 | <0xfc4b80b0 8>; |
| 461 | reg-names = "apcs_gcc", "phase-scaling-efuse"; |
Abhijeet Dharmapurikar | 46a7ad3 | 2013-02-23 12:50:19 -0800 | [diff] [blame] | 462 | compatible = "qcom,krait-pdn"; |
| 463 | #address-cells = <1>; |
| 464 | #size-cells = <1>; |
| 465 | ranges; |
Abhijeet Dharmapurikar | 414f688 | 2013-08-31 18:53:06 -0700 | [diff] [blame] | 466 | qcom,pfm-threshold = <76>; |
Abhijeet Dharmapurikar | a3f5a9c | 2013-06-25 10:49:59 -0700 | [diff] [blame] | 467 | qcom,use-phase-scaling-factor; |
Abhijeet Dharmapurikar | 5c50e2f | 2014-02-20 20:36:11 -0800 | [diff] [blame^] | 468 | qcom,phase-scaling-factor-bits-pos = <16>; |
| 469 | qcom,valid-scaling-factor-versions = <0 1 0 0>; |
Abhijeet Dharmapurikar | 90728b4 | 2012-05-10 14:07:24 -0700 | [diff] [blame] | 470 | |
Abhijeet Dharmapurikar | 46a7ad3 | 2013-02-23 12:50:19 -0800 | [diff] [blame] | 471 | krait0_vreg: regulator@f9088000 { |
| 472 | compatible = "qcom,krait-regulator"; |
| 473 | regulator-name = "krait0"; |
| 474 | reg = <0xf9088000 0x1000>, /* APCS_ALIAS0_KPSS_ACS */ |
| 475 | <0xf908a800 0x1000>; /* APCS_ALIAS0_KPSS_MDD */ |
| 476 | reg-names = "acs", "mdd"; |
| 477 | regulator-min-microvolt = <500000>; |
| 478 | regulator-max-microvolt = <1100000>; |
| 479 | qcom,headroom-voltage = <150000>; |
| 480 | qcom,retention-voltage = <675000>; |
| 481 | qcom,ldo-default-voltage = <750000>; |
| 482 | qcom,ldo-threshold-voltage = <850000>; |
| 483 | qcom,ldo-delta-voltage = <50000>; |
| 484 | qcom,cpu-num = <0>; |
| 485 | }; |
Abhijeet Dharmapurikar | 90728b4 | 2012-05-10 14:07:24 -0700 | [diff] [blame] | 486 | |
Abhijeet Dharmapurikar | 46a7ad3 | 2013-02-23 12:50:19 -0800 | [diff] [blame] | 487 | krait1_vreg: regulator@f9098000 { |
| 488 | compatible = "qcom,krait-regulator"; |
| 489 | regulator-name = "krait1"; |
| 490 | reg = <0xf9098000 0x1000>, /* APCS_ALIAS1_KPSS_ACS */ |
| 491 | <0xf909a800 0x1000>; /* APCS_ALIAS1_KPSS_MDD */ |
| 492 | reg-names = "acs", "mdd"; |
| 493 | regulator-min-microvolt = <500000>; |
| 494 | regulator-max-microvolt = <1100000>; |
| 495 | qcom,headroom-voltage = <150000>; |
| 496 | qcom,retention-voltage = <675000>; |
| 497 | qcom,ldo-default-voltage = <750000>; |
| 498 | qcom,ldo-threshold-voltage = <850000>; |
| 499 | qcom,ldo-delta-voltage = <50000>; |
| 500 | qcom,cpu-num = <1>; |
| 501 | }; |
Abhijeet Dharmapurikar | 90728b4 | 2012-05-10 14:07:24 -0700 | [diff] [blame] | 502 | |
Abhijeet Dharmapurikar | 46a7ad3 | 2013-02-23 12:50:19 -0800 | [diff] [blame] | 503 | krait2_vreg: regulator@f90a8000 { |
| 504 | compatible = "qcom,krait-regulator"; |
| 505 | regulator-name = "krait2"; |
| 506 | reg = <0xf90a8000 0x1000>, /* APCS_ALIAS2_KPSS_ACS */ |
| 507 | <0xf90aa800 0x1000>; /* APCS_ALIAS2_KPSS_MDD */ |
| 508 | reg-names = "acs", "mdd"; |
| 509 | regulator-min-microvolt = <500000>; |
| 510 | regulator-max-microvolt = <1100000>; |
| 511 | qcom,headroom-voltage = <150000>; |
| 512 | qcom,retention-voltage = <675000>; |
| 513 | qcom,ldo-default-voltage = <750000>; |
| 514 | qcom,ldo-threshold-voltage = <850000>; |
| 515 | qcom,ldo-delta-voltage = <50000>; |
| 516 | qcom,cpu-num = <2>; |
| 517 | }; |
| 518 | |
| 519 | krait3_vreg: regulator@f90b8000 { |
| 520 | compatible = "qcom,krait-regulator"; |
| 521 | regulator-name = "krait3"; |
| 522 | reg = <0xf90b8000 0x1000>, /* APCS_ALIAS3_KPSS_ACS */ |
| 523 | <0xf90ba800 0x1000>; /* APCS_ALIAS3_KPSS_MDD */ |
| 524 | reg-names = "acs", "mdd"; |
| 525 | regulator-min-microvolt = <500000>; |
| 526 | regulator-max-microvolt = <1100000>; |
| 527 | qcom,headroom-voltage = <150000>; |
| 528 | qcom,retention-voltage = <675000>; |
| 529 | qcom,ldo-default-voltage = <750000>; |
| 530 | qcom,ldo-threshold-voltage = <850000>; |
| 531 | qcom,ldo-delta-voltage = <50000>; |
| 532 | qcom,cpu-num = <3>; |
| 533 | }; |
Abhijeet Dharmapurikar | 90728b4 | 2012-05-10 14:07:24 -0700 | [diff] [blame] | 534 | }; |
Michael Bohan | a7da06f | 2012-08-11 12:12:33 -0700 | [diff] [blame] | 535 | |
| 536 | spi_eth_vreg: spi_eth_phy_vreg { |
| 537 | compatible = "regulator-fixed"; |
| 538 | regulator-name = "ethernet_phy"; |
| 539 | gpio = <&pm8941_mpps 5 0>; |
| 540 | enable-active-high; |
| 541 | }; |
David Collins | 2b28e94 | 2013-03-20 15:48:04 -0700 | [diff] [blame] | 542 | |
| 543 | /* |
| 544 | * vph_pwr_vreg represents the unregulated battery voltage supply |
| 545 | * VPH_PWR that is present whenever the device is powered on. |
| 546 | */ |
| 547 | vph_pwr_vreg: vph_pwr_vreg { |
| 548 | compatible = "regulator-fixed"; |
| 549 | status = "disabled"; |
| 550 | regulator-name = "vph_pwr"; |
| 551 | regulator-always-on; |
| 552 | }; |
David Collins | 153d45a | 2012-03-26 11:57:50 -0700 | [diff] [blame] | 553 | }; |
David Keitel | a2f8ef9 | 2013-05-16 19:32:52 -0700 | [diff] [blame] | 554 | |
| 555 | &pm8941_chg { |
| 556 | otg-parent-supply = <&pm8941_boost>; |
| 557 | }; |
| 558 | |
| 559 | &pm8941_chg_boost { |
| 560 | regulator-min-microvolt = <5000000>; |
| 561 | regulator-max-microvolt = <5000000>; |
| 562 | regulator-name = "8941_smbb_boost"; |
| 563 | }; |
| 564 | |
Abhijeet Dharmapurikar | 6ba9076 | 2013-08-05 12:50:21 -0700 | [diff] [blame] | 565 | &pm8941_chg_batif { |
| 566 | regulator-name = "batfet"; |
| 567 | }; |
| 568 | |
David Keitel | a2f8ef9 | 2013-05-16 19:32:52 -0700 | [diff] [blame] | 569 | &pm8941_chg_otg { |
| 570 | regulator-name = "8941_smbb_otg"; |
| 571 | }; |