blob: f5d01e022f77ec0812e0f767252899c666c936a8 [file] [log] [blame]
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -08001/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
David Collinsc6b34832012-10-24 12:57:57 -07002 *
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
David Collins852ab682013-03-20 17:05:01 -070013/* SPM controlled regulators */
14
15&spmi_bus {
16 qcom,pm8110@1 {
17 pm8110_s2: spm-regulator@1700 {
18 compatible = "qcom,spm-regulator";
19 regulator-name = "8110_s2";
20 reg = <0x1700 0x100>;
21 regulator-min-microvolt = <900000>;
22 regulator-max-microvolt = <1350000>;
23 };
24 };
25};
26
Willie Ruan101c9792013-03-27 17:03:40 -070027/* CPR controlled regulator */
28
29/ {
30 apc_vreg_corner: regulator@f9018000 {
31 status = "okay";
32 compatible = "qcom,cpr-regulator";
33 reg = <0xf9018000 0x1000>,
34 <0xfc4b80b0 8>;
35 reg-names = "rbcpr", "efuse_phys";
36 regulator-name = "apc_corner";
37 regulator-min-microvolt = <1>;
38 regulator-max-microvolt = <4>;
39 qcom,num-efuse-bits = <5>;
40 qcom,efuse-bit-pos = <6 7 8 9 10>;
41 qcom,pvs-bin-process = <0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2
42 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>;
43 qcom,pvs-corner-ceiling-slow = <1050000 1150000 1275000 1350000>;
44 qcom,pvs-corner-ceiling-nom = <975000 1075000 1200000 1200000>;
45 qcom,pvs-corner-ceiling-fast = <900000 1000000 1140000 1140000>;
46 vdd-apc-supply = <&pm8110_s2>;
47 };
48};
49
Xiaozhe Shi350baa92013-04-09 18:13:50 -070050/* RPM controlled regulators: */
David Collinsc6b34832012-10-24 12:57:57 -070051
Xiaozhe Shi350baa92013-04-09 18:13:50 -070052&rpm_bus {
David Collinsc6b34832012-10-24 12:57:57 -070053
Xiaozhe Shi350baa92013-04-09 18:13:50 -070054 rpm-regulator-smpa1 {
55 status = "okay";
56 pm8110_s1: regulator-s1 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -080057 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -070058 regulator-min-microvolt = <500000>;
59 regulator-max-microvolt = <1275000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -080060 };
David Collinsc6b34832012-10-24 12:57:57 -070061
Xiaozhe Shi350baa92013-04-09 18:13:50 -070062 pm8110_s1_corner: regulator-s1-corner {
63 compatible = "qcom,rpm-regulator-smd";
64 regulator-name = "8110_s1_corner";
65 qcom,set = <3>;
66 regulator-min-microvolt = <1>;
67 regulator-max-microvolt = <7>;
68 qcom,use-voltage-corner;
Patrick Daly4c4452a2013-04-29 12:25:05 -070069 qcom,consumer-supplies = "vdd_dig", "";
Xiaozhe Shi350baa92013-04-09 18:13:50 -070070 };
71
72 pm8110_s1_corner_ao: regulator-s1-corner-ao {
73 compatible = "qcom,rpm-regulator-smd";
74 regulator-name = "8110_s1_corner_ao";
75 qcom,set = <1>;
76 regulator-min-microvolt = <1>;
77 regulator-max-microvolt = <7>;
78 qcom,use-voltage-corner;
Patrick Daly4c4452a2013-04-29 12:25:05 -070079 qcom,consumer-supplies = "vdd_sr2_dig", "";
Xiaozhe Shi350baa92013-04-09 18:13:50 -070080 };
81 };
82
83 rpm-regulator-smpa3 {
84 status = "okay";
85 pm8110_s3: regulator-s3 {
86 regulator-min-microvolt = <1200000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -080087 regulator-max-microvolt = <1350000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -070088 qcom,init-voltage = <1200000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -080089 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -070090 };
91 };
92
93 rpm-regulator-smpa4 {
94 status = "okay";
95 pm8110_s4: regulator-s4 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -080096 regulator-min-microvolt = <2150000>;
97 regulator-max-microvolt = <2150000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -070098 qcom,init-voltage = <2150000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -080099 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700100 };
101 };
102
103 rpm-regulator-ldoa1 {
104 status = "okay";
105 pm8110_l1: regulator-l1 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800106 regulator-min-microvolt = <1225000>;
107 regulator-max-microvolt = <1225000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700108 qcom,init-voltage = <1225000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800109 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700110 };
111 };
112
113 rpm-regulator-ldoa2 {
114 status = "okay";
115 pm8110_l2: regulator-l2 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800116 regulator-min-microvolt = <1200000>;
117 regulator-max-microvolt = <1200000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700118 qcom,init-voltage = <1200000>;
119 status = "okay";
120 };
121 };
122
123 rpm-regulator-ldoa3 {
124 status = "okay";
125 pm8110_l3: regulator-l3 {
126 regulator-min-microvolt = <750000>;
127 regulator-max-microvolt = <1275000>;
128 status = "okay";
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800129 };
David Collinsc6b34832012-10-24 12:57:57 -0700130
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700131 pm8110_l3_ao: regulator-l3-ao {
132 compatible = "qcom,rpm-regulator-smd";
133 regulator-name = "8110_l3_ao";
134 qcom,set = <1>;
135 regulator-min-microvolt = <750000>;
136 regulator-max-microvolt = <1275000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800137 status = "okay";
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800138 };
David Collinsc6b34832012-10-24 12:57:57 -0700139
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700140 pm8110_l3_so: regulator-l3-so {
141 compatible = "qcom,rpm-regulator-smd";
142 regulator-name = "8110_l3_so";
143 qcom,set = <2>;
144 regulator-min-microvolt = <750000>;
145 regulator-max-microvolt = <1275000>;
146 qcom,init-voltage = <750000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800147 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700148 };
149 };
150
151 rpm-regulator-ldoa4 {
152 status = "okay";
153 pm8110_l4: regulator-l4 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800154 regulator-min-microvolt = <1200000>;
155 regulator-max-microvolt = <1200000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700156 qcom,init-voltage = <1200000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800157 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700158 };
159 };
160
161 rpm-regulator-ldoa5 {
162 status = "okay";
163 pm8110_l5: regulator-l5 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800164 regulator-min-microvolt = <1300000>;
165 regulator-max-microvolt = <1300000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700166 qcom,init-voltage = <1300000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800167 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700168 };
169 };
170
171 rpm-regulator-ldoa6 {
172 status = "okay";
173 pm8110_l6: regulator-l6 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800174 regulator-min-microvolt = <1800000>;
175 regulator-max-microvolt = <1800000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700176 qcom,init-voltage = <1800000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800177 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700178 };
179 };
180
181 rpm-regulator-ldoa7 {
182 status = "okay";
183 pm8110_l7: regulator-l7 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800184 regulator-min-microvolt = <2050000>;
185 regulator-max-microvolt = <2050000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700186 qcom,init-voltage = <2050000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800187 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700188 };
189 };
190
191 rpm-regulator-ldoa8 {
192 status = "okay";
193 pm8110_l8: regulator-l8 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800194 regulator-min-microvolt = <1800000>;
195 regulator-max-microvolt = <1800000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700196 qcom,init-voltage = <1800000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800197 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700198 };
199 };
200
201 rpm-regulator-ldoa9 {
202 status = "okay";
203 pm8110_l9: regulator-l9 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800204 regulator-min-microvolt = <2050000>;
205 regulator-max-microvolt = <2050000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700206 qcom,init-voltage = <2050000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800207 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700208 };
209 };
210
211 rpm-regulator-ldoa10 {
212 status = "okay";
213 pm8110_l10: regulator-l10 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800214 regulator-min-microvolt = <1800000>;
215 regulator-max-microvolt = <1800000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700216 qcom,init-voltage = <1800000>;
217 status = "okay";
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800218 qcom,consumer-supplies = "vdd_sr2_pll", "";
219 };
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700220 };
David Collinsc6b34832012-10-24 12:57:57 -0700221
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700222 rpm-regulator-ldoa12 {
223 status = "okay";
224 pm8110_l12: regulator-l12 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800225 regulator-min-microvolt = <1800000>;
226 regulator-max-microvolt = <3300000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700227 qcom,init-voltage = <3300000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800228 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700229 };
230 };
231
232 rpm-regulator-ldoa14 {
233 status = "okay";
234 pm8110_l14: regulator-l14 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800235 regulator-min-microvolt = <1800000>;
236 regulator-max-microvolt = <1800000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700237 qcom,init-voltage = <1800000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800238 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700239 };
240 };
241
242 rpm-regulator-ldoa15 {
243 status = "okay";
244 pm8110_l15: regulator-l15 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800245 regulator-min-microvolt = <1800000>;
246 regulator-max-microvolt = <3300000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700247 qcom,init-voltage = <3300000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800248 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700249 };
250 };
251
252 rpm-regulator-ldoa16 {
253 status = "okay";
254 pm8110_l16: regulator-l16 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800255 regulator-min-microvolt = <3000000>;
256 regulator-max-microvolt = <3000000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700257 qcom,init-voltage = <3000000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800258 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700259 };
260 };
261
262 rpm-regulator-ldoa17 {
263 status = "okay";
264 pm8110_l17: regulator-l17 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800265 regulator-min-microvolt = <2900000>;
266 regulator-max-microvolt = <2900000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700267 qcom,init-voltage = <2900000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800268 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700269 };
270 };
271
272 rpm-regulator-ldoa18 {
273 status = "okay";
274 pm8110_l18: regulator-l18 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800275 regulator-min-microvolt = <1800000>;
276 regulator-max-microvolt = <2950000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700277 qcom,init-voltage = <2950000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800278 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700279 };
280 };
281
282 rpm-regulator-ldoa19 {
283 status = "okay";
284 pm8110_l19: regulator-l19 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800285 regulator-min-microvolt = <2850000>;
286 regulator-max-microvolt = <2850000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700287 qcom,init-voltage = <2850000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800288 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700289 };
290 };
291
292 rpm-regulator-ldoa20 {
293 status = "okay";
294 pm8110_l20: regulator-l20 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800295 regulator-min-microvolt = <3075000>;
296 regulator-max-microvolt = <3075000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700297 qcom,init-voltage = <3075000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800298 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700299 };
300 };
301
302 rpm-regulator-ldoa21 {
303 status = "okay";
304 pm8110_l21: regulator-l21 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800305 regulator-min-microvolt = <1800000>;
306 regulator-max-microvolt = <2950000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700307 qcom,init-voltage = <2950000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800308 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700309 };
310 };
311
312 rpm-regulator-ldoa22 {
313 status = "okay";
314 pm8110_l22: regulator-l22 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800315 regulator-min-microvolt = <1800000>;
316 regulator-max-microvolt = <3300000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700317 qcom,init-voltage = <3300000>;
318 status = "okay";
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800319 };
David Collinsc6b34832012-10-24 12:57:57 -0700320 };
321};