blob: 67eee5c3bfc301399a26ecefdffd654fffae7df9 [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;
69 qcom,consumer-supplies = "vdd_dig", "", "vdd_sr2_dig", "";
70 };
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;
79 };
80 };
81
82 rpm-regulator-smpa3 {
83 status = "okay";
84 pm8110_s3: regulator-s3 {
85 regulator-min-microvolt = <1200000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -080086 regulator-max-microvolt = <1350000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -070087 qcom,init-voltage = <1200000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -080088 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -070089 };
90 };
91
92 rpm-regulator-smpa4 {
93 status = "okay";
94 pm8110_s4: regulator-s4 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -080095 regulator-min-microvolt = <2150000>;
96 regulator-max-microvolt = <2150000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -070097 qcom,init-voltage = <2150000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -080098 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -070099 };
100 };
101
102 rpm-regulator-ldoa1 {
103 status = "okay";
104 pm8110_l1: regulator-l1 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800105 regulator-min-microvolt = <1225000>;
106 regulator-max-microvolt = <1225000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700107 qcom,init-voltage = <1225000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800108 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700109 };
110 };
111
112 rpm-regulator-ldoa2 {
113 status = "okay";
114 pm8110_l2: regulator-l2 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800115 regulator-min-microvolt = <1200000>;
116 regulator-max-microvolt = <1200000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700117 qcom,init-voltage = <1200000>;
118 status = "okay";
119 };
120 };
121
122 rpm-regulator-ldoa3 {
123 status = "okay";
124 pm8110_l3: regulator-l3 {
125 regulator-min-microvolt = <750000>;
126 regulator-max-microvolt = <1275000>;
127 status = "okay";
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800128 };
David Collinsc6b34832012-10-24 12:57:57 -0700129
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700130 pm8110_l3_ao: regulator-l3-ao {
131 compatible = "qcom,rpm-regulator-smd";
132 regulator-name = "8110_l3_ao";
133 qcom,set = <1>;
134 regulator-min-microvolt = <750000>;
135 regulator-max-microvolt = <1275000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800136 status = "okay";
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800137 };
David Collinsc6b34832012-10-24 12:57:57 -0700138
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700139 pm8110_l3_so: regulator-l3-so {
140 compatible = "qcom,rpm-regulator-smd";
141 regulator-name = "8110_l3_so";
142 qcom,set = <2>;
143 regulator-min-microvolt = <750000>;
144 regulator-max-microvolt = <1275000>;
145 qcom,init-voltage = <750000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800146 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700147 };
148 };
149
150 rpm-regulator-ldoa4 {
151 status = "okay";
152 pm8110_l4: regulator-l4 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800153 regulator-min-microvolt = <1200000>;
154 regulator-max-microvolt = <1200000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700155 qcom,init-voltage = <1200000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800156 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700157 };
158 };
159
160 rpm-regulator-ldoa5 {
161 status = "okay";
162 pm8110_l5: regulator-l5 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800163 regulator-min-microvolt = <1300000>;
164 regulator-max-microvolt = <1300000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700165 qcom,init-voltage = <1300000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800166 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700167 };
168 };
169
170 rpm-regulator-ldoa6 {
171 status = "okay";
172 pm8110_l6: regulator-l6 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800173 regulator-min-microvolt = <1800000>;
174 regulator-max-microvolt = <1800000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700175 qcom,init-voltage = <1800000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800176 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700177 };
178 };
179
180 rpm-regulator-ldoa7 {
181 status = "okay";
182 pm8110_l7: regulator-l7 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800183 regulator-min-microvolt = <2050000>;
184 regulator-max-microvolt = <2050000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700185 qcom,init-voltage = <2050000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800186 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700187 };
188 };
189
190 rpm-regulator-ldoa8 {
191 status = "okay";
192 pm8110_l8: regulator-l8 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800193 regulator-min-microvolt = <1800000>;
194 regulator-max-microvolt = <1800000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700195 qcom,init-voltage = <1800000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800196 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700197 };
198 };
199
200 rpm-regulator-ldoa9 {
201 status = "okay";
202 pm8110_l9: regulator-l9 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800203 regulator-min-microvolt = <2050000>;
204 regulator-max-microvolt = <2050000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700205 qcom,init-voltage = <2050000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800206 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700207 };
208 };
209
210 rpm-regulator-ldoa10 {
211 status = "okay";
212 pm8110_l10: regulator-l10 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800213 regulator-min-microvolt = <1800000>;
214 regulator-max-microvolt = <1800000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700215 qcom,init-voltage = <1800000>;
216 status = "okay";
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800217 qcom,consumer-supplies = "vdd_sr2_pll", "";
218 };
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700219 };
David Collinsc6b34832012-10-24 12:57:57 -0700220
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700221 rpm-regulator-ldoa12 {
222 status = "okay";
223 pm8110_l12: regulator-l12 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800224 regulator-min-microvolt = <1800000>;
225 regulator-max-microvolt = <3300000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700226 qcom,init-voltage = <3300000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800227 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700228 };
229 };
230
231 rpm-regulator-ldoa14 {
232 status = "okay";
233 pm8110_l14: regulator-l14 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800234 regulator-min-microvolt = <1800000>;
235 regulator-max-microvolt = <1800000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700236 qcom,init-voltage = <1800000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800237 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700238 };
239 };
240
241 rpm-regulator-ldoa15 {
242 status = "okay";
243 pm8110_l15: regulator-l15 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800244 regulator-min-microvolt = <1800000>;
245 regulator-max-microvolt = <3300000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700246 qcom,init-voltage = <3300000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800247 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700248 };
249 };
250
251 rpm-regulator-ldoa16 {
252 status = "okay";
253 pm8110_l16: regulator-l16 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800254 regulator-min-microvolt = <3000000>;
255 regulator-max-microvolt = <3000000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700256 qcom,init-voltage = <3000000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800257 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700258 };
259 };
260
261 rpm-regulator-ldoa17 {
262 status = "okay";
263 pm8110_l17: regulator-l17 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800264 regulator-min-microvolt = <2900000>;
265 regulator-max-microvolt = <2900000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700266 qcom,init-voltage = <2900000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800267 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700268 };
269 };
270
271 rpm-regulator-ldoa18 {
272 status = "okay";
273 pm8110_l18: regulator-l18 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800274 regulator-min-microvolt = <1800000>;
275 regulator-max-microvolt = <2950000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700276 qcom,init-voltage = <2950000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800277 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700278 };
279 };
280
281 rpm-regulator-ldoa19 {
282 status = "okay";
283 pm8110_l19: regulator-l19 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800284 regulator-min-microvolt = <2850000>;
285 regulator-max-microvolt = <2850000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700286 qcom,init-voltage = <2850000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800287 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700288 };
289 };
290
291 rpm-regulator-ldoa20 {
292 status = "okay";
293 pm8110_l20: regulator-l20 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800294 regulator-min-microvolt = <3075000>;
295 regulator-max-microvolt = <3075000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700296 qcom,init-voltage = <3075000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800297 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700298 };
299 };
300
301 rpm-regulator-ldoa21 {
302 status = "okay";
303 pm8110_l21: regulator-l21 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800304 regulator-min-microvolt = <1800000>;
305 regulator-max-microvolt = <2950000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700306 qcom,init-voltage = <2950000>;
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800307 status = "okay";
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700308 };
309 };
310
311 rpm-regulator-ldoa22 {
312 status = "okay";
313 pm8110_l22: regulator-l22 {
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800314 regulator-min-microvolt = <1800000>;
315 regulator-max-microvolt = <3300000>;
Xiaozhe Shi350baa92013-04-09 18:13:50 -0700316 qcom,init-voltage = <3300000>;
317 status = "okay";
Xiaozhe Shi1581a7b2013-02-21 15:17:57 -0800318 };
David Collinsc6b34832012-10-24 12:57:57 -0700319 };
320};