blob: 1e594c64320c83c25daa35b1862be186bfeb376e [file] [log] [blame]
Kiran Gunda0954f392017-10-16 16:24:55 +05301/*
2 * Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14&rpm_bus {
15 rpm-regulator-smpa1 {
16 compatible = "qcom,rpm-smd-regulator-resource";
17 qcom,resource-name = "smpa";
18 qcom,resource-id = <1>;
19 qcom,regulator-type = <1>;
20 qcom,hpm-min-load = <100000>;
21 status = "disabled";
22
23 regulator-s1 {
24 compatible = "qcom,rpm-smd-regulator";
25 regulator-name = "pm8953_s1";
26 qcom,set = <3>;
27 status = "disabled";
28 };
29 };
30
31 rpm-regulator-smpa2 {
32 compatible = "qcom,rpm-smd-regulator-resource";
33 qcom,resource-name = "smpa";
34 qcom,resource-id = <2>;
35 qcom,regulator-type = <1>;
36 qcom,hpm-min-load = <100000>;
37 status = "disabled";
38
39 regulator-s2 {
40 compatible = "qcom,rpm-smd-regulator";
41 regulator-name = "pm8953_s2";
42 qcom,set = <3>;
43 status = "disabled";
44 };
45 };
46
47 rpm-regulator-smpa3 {
48 compatible = "qcom,rpm-smd-regulator-resource";
49 qcom,resource-name = "smpa";
50 qcom,resource-id = <3>;
51 qcom,regulator-type = <1>;
52 qcom,hpm-min-load = <100000>;
53 status = "disabled";
54
55 regulator-s3 {
56 compatible = "qcom,rpm-smd-regulator";
57 regulator-name = "pm8953_s3";
58 qcom,set = <3>;
59 status = "disabled";
60 };
61 };
62
63 rpm-regulator-smpa4 {
64 compatible = "qcom,rpm-smd-regulator-resource";
65 qcom,resource-name = "smpa";
66 qcom,resource-id = <4>;
67 qcom,regulator-type = <1>;
68 qcom,hpm-min-load = <100000>;
69 status = "disabled";
70
71 regulator-s4 {
72 compatible = "qcom,rpm-smd-regulator";
73 regulator-name = "pm8953_s4";
74 qcom,set = <3>;
75 status = "disabled";
76 };
77 };
78
79 rpm-regulator-smpa7 {
80 compatible = "qcom,rpm-smd-regulator-resource";
81 qcom,resource-name = "smpa";
82 qcom,resource-id = <7>;
83 qcom,regulator-type = <1>;
84 qcom,hpm-min-load = <100000>;
85 status = "disabled";
86
87 regulator-s7 {
88 compatible = "qcom,rpm-smd-regulator";
89 regulator-name = "pm8953_s7";
90 qcom,set = <3>;
91 status = "disabled";
92 };
93 };
94
95 rpm-regulator-ldoa1 {
96 compatible = "qcom,rpm-smd-regulator-resource";
97 qcom,resource-name = "ldoa";
98 qcom,resource-id = <1>;
99 qcom,regulator-type = <0>;
100 qcom,hpm-min-load = <10000>;
101 status = "disabled";
102
103 regulator-l1 {
104 compatible = "qcom,rpm-smd-regulator";
105 regulator-name = "pm8953_l1";
106 qcom,set = <3>;
107 status = "disabled";
108 };
109 };
110
111 rpm-regulator-ldoa2 {
112 compatible = "qcom,rpm-smd-regulator-resource";
113 qcom,resource-name = "ldoa";
114 qcom,resource-id = <2>;
115 qcom,regulator-type = <0>;
116 qcom,hpm-min-load = <10000>;
117 status = "disabled";
118
119 regulator-l2 {
120 compatible = "qcom,rpm-smd-regulator";
121 regulator-name = "pm8953_l2";
122 qcom,set = <3>;
123 status = "disabled";
124 };
125 };
126
127 rpm-regulator-ldoa3 {
128 compatible = "qcom,rpm-smd-regulator-resource";
129 qcom,resource-name = "ldoa";
130 qcom,resource-id = <3>;
131 qcom,regulator-type = <0>;
132 qcom,hpm-min-load = <10000>;
133 status = "disabled";
134
135 regulator-l3 {
136 compatible = "qcom,rpm-smd-regulator";
137 regulator-name = "pm8953_l3";
138 qcom,set = <3>;
139 status = "disabled";
140 };
141 };
142
143 rpm-regulator-ldoa5 {
144 compatible = "qcom,rpm-smd-regulator-resource";
145 qcom,resource-name = "ldoa";
146 qcom,resource-id = <5>;
147 qcom,regulator-type = <0>;
148 qcom,hpm-min-load = <10000>;
149 status = "disabled";
150
151 regulator-l5 {
152 compatible = "qcom,rpm-smd-regulator";
153 regulator-name = "pm8953_l5";
154 qcom,set = <3>;
155 status = "disabled";
156 };
157 };
158
159 rpm-regulator-ldoa6 {
160 compatible = "qcom,rpm-smd-regulator-resource";
161 qcom,resource-name = "ldoa";
162 qcom,resource-id = <6>;
163 qcom,regulator-type = <0>;
164 qcom,hpm-min-load = <10000>;
165 status = "disabled";
166
167 regulator-l6 {
168 compatible = "qcom,rpm-smd-regulator";
169 regulator-name = "pm8953_l6";
170 qcom,set = <3>;
171 status = "disabled";
172 };
173 };
174
175 rpm-regulator-ldoa7 {
176 compatible = "qcom,rpm-smd-regulator-resource";
177 qcom,resource-name = "ldoa";
178 qcom,resource-id = <7>;
179 qcom,regulator-type = <0>;
180 qcom,hpm-min-load = <10000>;
181 status = "disabled";
182
183 regulator-l7 {
184 compatible = "qcom,rpm-smd-regulator";
185 regulator-name = "pm8953_l7";
186 qcom,set = <3>;
187 status = "disabled";
188 };
189 };
190
191 rpm-regulator-ldoa8 {
192 compatible = "qcom,rpm-smd-regulator-resource";
193 qcom,resource-name = "ldoa";
194 qcom,resource-id = <8>;
195 qcom,regulator-type = <0>;
196 qcom,hpm-min-load = <10000>;
197 status = "disabled";
198
199 regulator-l8 {
200 compatible = "qcom,rpm-smd-regulator";
201 regulator-name = "pm8953_l8";
202 qcom,set = <3>;
203 status = "disabled";
204 };
205 };
206
207 rpm-regulator-ldoa9 {
208 compatible = "qcom,rpm-smd-regulator-resource";
209 qcom,resource-name = "ldoa";
210 qcom,resource-id = <9>;
211 qcom,regulator-type = <0>;
212 qcom,hpm-min-load = <10000>;
213 status = "disabled";
214
215 regulator-l9 {
216 compatible = "qcom,rpm-smd-regulator";
217 regulator-name = "pm8953_l9";
218 qcom,set = <3>;
219 status = "disabled";
220 };
221 };
222
223 rpm-regulator-ldoa10 {
224 compatible = "qcom,rpm-smd-regulator-resource";
225 qcom,resource-name = "ldoa";
226 qcom,resource-id = <10>;
227 qcom,regulator-type = <0>;
228 qcom,hpm-min-load = <10000>;
229 status = "disabled";
230
231 regulator-l10 {
232 compatible = "qcom,rpm-smd-regulator";
233 regulator-name = "pm8953_l10";
234 qcom,set = <3>;
235 status = "disabled";
236 };
237 };
238
239 rpm-regulator-ldoa11 {
240 compatible = "qcom,rpm-smd-regulator-resource";
241 qcom,resource-name = "ldoa";
242 qcom,resource-id = <11>;
243 qcom,regulator-type = <0>;
244 qcom,hpm-min-load = <10000>;
245 status = "disabled";
246
247 regulator-l11 {
248 compatible = "qcom,rpm-smd-regulator";
249 regulator-name = "pm8953_l11";
250 qcom,set = <3>;
251 status = "disabled";
252 };
253 };
254
255 rpm-regulator-ldoa12 {
256 compatible = "qcom,rpm-smd-regulator-resource";
257 qcom,resource-name = "ldoa";
258 qcom,resource-id = <12>;
259 qcom,regulator-type = <0>;
260 qcom,hpm-min-load = <10000>;
261 status = "disabled";
262
263 regulator-l12 {
264 compatible = "qcom,rpm-smd-regulator";
265 regulator-name = "pm8953_l12";
266 qcom,set = <3>;
267 status = "disabled";
268 };
269 };
270
271 rpm-regulator-ldoa13 {
272 compatible = "qcom,rpm-smd-regulator-resource";
273 qcom,resource-name = "ldoa";
274 qcom,resource-id = <13>;
275 qcom,regulator-type = <0>;
276 qcom,hpm-min-load = <5000>;
277 status = "disabled";
278
279 regulator-l13 {
280 compatible = "qcom,rpm-smd-regulator";
281 regulator-name = "pm8953_l13";
282 qcom,set = <3>;
283 status = "disabled";
284 };
285 };
286
287 rpm-regulator-ldoa16 {
288 compatible = "qcom,rpm-smd-regulator-resource";
289 qcom,resource-name = "ldoa";
290 qcom,resource-id = <16>;
291 qcom,regulator-type = <0>;
292 qcom,hpm-min-load = <5000>;
293 status = "disabled";
294
295 regulator-l16 {
296 compatible = "qcom,rpm-smd-regulator";
297 regulator-name = "pm8953_l16";
298 qcom,set = <3>;
299 status = "disabled";
300 };
301 };
302
303 rpm-regulator-ldoa17 {
304 compatible = "qcom,rpm-smd-regulator-resource";
305 qcom,resource-name = "ldoa";
306 qcom,resource-id = <17>;
307 qcom,regulator-type = <0>;
308 qcom,hpm-min-load = <10000>;
309 status = "disabled";
310
311 regulator-l17 {
312 compatible = "qcom,rpm-smd-regulator";
313 regulator-name = "pm8953_l17";
314 qcom,set = <3>;
315 status = "disabled";
316 };
317 };
318
319 rpm-regulator-ldoa19 {
320 compatible = "qcom,rpm-smd-regulator-resource";
321 qcom,resource-name = "ldoa";
322 qcom,resource-id = <19>;
323 qcom,regulator-type = <0>;
324 qcom,hpm-min-load = <10000>;
325 status = "disabled";
326
327 regulator-l19 {
328 compatible = "qcom,rpm-smd-regulator";
329 regulator-name = "pm8953_l19";
330 qcom,set = <3>;
331 status = "disabled";
332 };
333 };
334
335 rpm-regulator-ldoa22 {
336 compatible = "qcom,rpm-smd-regulator-resource";
337 qcom,resource-name = "ldoa";
338 qcom,resource-id = <22>;
339 qcom,regulator-type = <0>;
340 qcom,hpm-min-load = <10000>;
341 status = "disabled";
342
343 regulator-l22 {
344 compatible = "qcom,rpm-smd-regulator";
345 regulator-name = "pm8953_l22";
346 qcom,set = <3>;
347 status = "disabled";
348 };
349 };
350
351 rpm-regulator-ldoa23 {
352 compatible = "qcom,rpm-smd-regulator-resource";
353 qcom,resource-name = "ldoa";
354 qcom,resource-id = <23>;
355 qcom,regulator-type = <0>;
356 qcom,hpm-min-load = <10000>;
357 status = "disabled";
358
359 regulator-l23 {
360 compatible = "qcom,rpm-smd-regulator";
361 regulator-name = "pm8953_l23";
362 qcom,set = <3>;
363 status = "disabled";
364 };
365 };
366
367 /* Regulator to notify APC corner to RPM */
368 rpm-regulator-clk0 {
369 compatible = "qcom,rpm-smd-regulator-resource";
370 qcom,resource-name = "clk0";
371 qcom,resource-id = <3>;
372 qcom,regulator-type = <1>;
373 status = "disabled";
374
375 regulator-clk0 {
376 compatible = "qcom,rpm-smd-regulator";
377 regulator-name = "rpm_apc";
378 qcom,set = <3>;
379 status = "disabled";
380 };
381 };
382};