blob: 9184dfe2c9046815b6090608fb6506a63491084f [file] [log] [blame]
David Collins56b41122012-09-24 17:09:23 -07001/* Copyright (c) 2012, Linux Foundation. All rights reserved.
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
David Collinsf4a0f1e2012-09-28 13:18:20 -070013&rpm_bus {
14 rpm-regulator-smpa1 {
15 status = "okay";
16 pm8019_s1: regulator-s1 {
David Collins56b41122012-09-24 17:09:23 -070017 regulator-min-microvolt = <800000>;
18 regulator-max-microvolt = <1050000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -070019 qcom,init-voltage = <1050000>;
David Collins56b41122012-09-24 17:09:23 -070020 status = "okay";
21 };
David Collinsf4a0f1e2012-09-28 13:18:20 -070022 };
David Collins56b41122012-09-24 17:09:23 -070023
David Collinsf4a0f1e2012-09-28 13:18:20 -070024 rpm-regulator-smpa2 {
25 status = "okay";
26 qcom,allow-atomic = <1>;
27 pm8019_s2: regulator-s2 {
David Collins56b41122012-09-24 17:09:23 -070028 regulator-min-microvolt = <1250000>;
29 regulator-max-microvolt = <1250000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -070030 qcom,init-voltage = <1250000>;
31 qcom,init-current = <100>;
David Collins56b41122012-09-24 17:09:23 -070032 qcom,system-load = <100000>;
David Collins56b41122012-09-24 17:09:23 -070033 regulator-always-on;
34 status = "okay";
35 };
David Collinsf4a0f1e2012-09-28 13:18:20 -070036 };
David Collins56b41122012-09-24 17:09:23 -070037
David Collinsf4a0f1e2012-09-28 13:18:20 -070038 rpm-regulator-smpa3 {
39 status = "okay";
40 pm8019_s3: regulator-s3 {
41 regulator-min-microvolt = <1000000>;
David Collins56b41122012-09-24 17:09:23 -070042 regulator-max-microvolt = <1100000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -070043 qcom,init-voltage = <1100000>;
44 qcom,init-current = <100>;
David Collins56b41122012-09-24 17:09:23 -070045 qcom,system-load = <100000>;
David Collins56b41122012-09-24 17:09:23 -070046 regulator-always-on;
47 status = "okay";
48 };
David Collinsf4a0f1e2012-09-28 13:18:20 -070049 pm8019_s3_ao: regulator-s3-ao {
50 compatible = "qcom,rpm-regulator-smd";
51 regulator-name = "8019_s3_ao";
52 qcom,set = <1>;
53 regulator-min-microvolt = <1000000>;
54 regulator-max-microvolt = <1100000>;
55 status = "okay";
56 };
57 };
David Collins56b41122012-09-24 17:09:23 -070058
David Collinsf4a0f1e2012-09-28 13:18:20 -070059 rpm-regulator-smpa4 {
60 status = "okay";
61 pm8019_s4: regulator-s4 {
David Collins56b41122012-09-24 17:09:23 -070062 regulator-min-microvolt = <1800000>;
63 regulator-max-microvolt = <2075000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -070064 qcom,init-voltage = <2075000>;
65 qcom,init-current = <100>;
David Collins56b41122012-09-24 17:09:23 -070066 qcom,system-load = <100000>;
David Collins56b41122012-09-24 17:09:23 -070067 regulator-always-on;
68 status = "okay";
69 };
David Collinsf4a0f1e2012-09-28 13:18:20 -070070 };
David Collins56b41122012-09-24 17:09:23 -070071
David Collinsf4a0f1e2012-09-28 13:18:20 -070072 rpm-regulator-ldoa1 {
73 status = "okay";
74 pm8019_l1: regulator-l1 {
David Collins56b41122012-09-24 17:09:23 -070075 parent-supply = <&pm8019_s2>;
76 regulator-min-microvolt = <1225000>;
77 regulator-max-microvolt = <1225000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -070078 qcom,init-voltage = <1225000>;
David Collins56b41122012-09-24 17:09:23 -070079 status = "okay";
80 };
David Collinsf4a0f1e2012-09-28 13:18:20 -070081 };
David Collins56b41122012-09-24 17:09:23 -070082
David Collinsf4a0f1e2012-09-28 13:18:20 -070083 rpm-regulator-ldoa2 {
84 status = "okay";
85 pm8019_l2: regulator-l2 {
David Collins56b41122012-09-24 17:09:23 -070086 parent-supply = <&pm8019_s4>;
87 regulator-min-microvolt = <1800000>;
88 regulator-max-microvolt = <1800000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -070089 qcom,init-voltage = <1800000>;
David Collins56b41122012-09-24 17:09:23 -070090 status = "okay";
91 };
David Collinsf4a0f1e2012-09-28 13:18:20 -070092 };
David Collins56b41122012-09-24 17:09:23 -070093
David Collinsf4a0f1e2012-09-28 13:18:20 -070094 rpm-regulator-ldoa3 {
95 status = "okay";
96 pm8019_l3: regulator-l3 {
David Collins56b41122012-09-24 17:09:23 -070097 parent-supply = <&pm8019_s4>;
98 regulator-min-microvolt = <1800000>;
99 regulator-max-microvolt = <1800000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700100 qcom,init-voltage = <1800000>;
David Collins56b41122012-09-24 17:09:23 -0700101 status = "okay";
102 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700103 };
David Collins56b41122012-09-24 17:09:23 -0700104
David Collinsf4a0f1e2012-09-28 13:18:20 -0700105 rpm-regulator-ldoa4 {
106 status = "okay";
107 pm8019_l4: regulator-l4 {
David Collins56b41122012-09-24 17:09:23 -0700108 regulator-min-microvolt = <3075000>;
109 regulator-max-microvolt = <3075000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700110 qcom,init-voltage = <3075000>;
David Collins56b41122012-09-24 17:09:23 -0700111 status = "okay";
112 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700113 };
David Collins56b41122012-09-24 17:09:23 -0700114
David Collinsf4a0f1e2012-09-28 13:18:20 -0700115 rpm-regulator-ldoa5 {
116 status = "okay";
117 pm8019_l5: regulator-l5 {
David Collins56b41122012-09-24 17:09:23 -0700118 regulator-min-microvolt = <1800000>;
119 regulator-max-microvolt = <2850000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700120 qcom,init-voltage = <1800000>;
David Collins56b41122012-09-24 17:09:23 -0700121 status = "okay";
122 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700123 };
David Collins56b41122012-09-24 17:09:23 -0700124
David Collinsf4a0f1e2012-09-28 13:18:20 -0700125 rpm-regulator-ldoa6 {
126 status = "okay";
127 pm8019_l6: regulator-l6 {
David Collins56b41122012-09-24 17:09:23 -0700128 regulator-min-microvolt = <1800000>;
129 regulator-max-microvolt = <2850000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700130 qcom,init-voltage = <1800000>;
David Collins56b41122012-09-24 17:09:23 -0700131 status = "okay";
132 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700133 };
David Collins56b41122012-09-24 17:09:23 -0700134
David Collinsf4a0f1e2012-09-28 13:18:20 -0700135 rpm-regulator-ldoa7 {
136 status = "okay";
137 pm8019_l7: regulator-l7 {
David Collins56b41122012-09-24 17:09:23 -0700138 parent-supply = <&pm8019_s4>;
139 regulator-min-microvolt = <1800000>;
140 regulator-max-microvolt = <1800000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700141 qcom,init-voltage = <1800000>;
David Collins56b41122012-09-24 17:09:23 -0700142 status = "okay";
143 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700144 };
David Collins56b41122012-09-24 17:09:23 -0700145
David Collinsf4a0f1e2012-09-28 13:18:20 -0700146 rpm-regulator-ldoa8 {
147 status = "okay";
148 pm8019_l8: regulator-l8 {
David Collins56b41122012-09-24 17:09:23 -0700149 parent-supply = <&pm8019_s4>;
150 regulator-min-microvolt = <2050000>;
151 regulator-max-microvolt = <2050000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700152 qcom,init-voltage = <2050000>;
David Collins56b41122012-09-24 17:09:23 -0700153 status = "okay";
154 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700155 };
David Collins56b41122012-09-24 17:09:23 -0700156
David Collinsf4a0f1e2012-09-28 13:18:20 -0700157 rpm-regulator-ldoa9 {
158 status = "okay";
159 pm8019_l9: regulator-l9 {
David Collins56b41122012-09-24 17:09:23 -0700160 parent-supply = <&pm8019_s2>;
161 regulator-min-microvolt = <1200000>;
162 regulator-max-microvolt = <1200000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700163 qcom,init-voltage = <1200000>;
164 qcom,init-current = <10>;
David Collins56b41122012-09-24 17:09:23 -0700165 qcom,system-load = <10000>;
David Collins56b41122012-09-24 17:09:23 -0700166 regulator-always-on;
167 status = "okay";
168 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700169 };
David Collins56b41122012-09-24 17:09:23 -0700170
David Collinsf4a0f1e2012-09-28 13:18:20 -0700171 rpm-regulator-ldoa10 {
172 status = "okay";
173 pm8019_l10: regulator-l10 {
David Collins56b41122012-09-24 17:09:23 -0700174 parent-supply = <&pm8019_s3>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700175 regulator-min-microvolt = <500000>;
David Collins56b41122012-09-24 17:09:23 -0700176 regulator-max-microvolt = <1050000>;
David Collins56b41122012-09-24 17:09:23 -0700177 status = "okay";
178 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700179 pm8019_l10_corner: regulator-l10-corner {
180 compatible = "qcom,rpm-regulator-smd";
181 regulator-name = "8019_l10_corner";
182 qcom,set = <3>;
183 regulator-min-microvolt = <1>;
184 regulator-max-microvolt = <7>;
185 qcom,use-voltage-corner;
186 status = "okay";
187 };
188 pm8019_l10_corner_ao: regulator-l10-corner-ao {
189 compatible = "qcom,rpm-regulator-smd";
190 regulator-name = "8019_l10_corner_ao";
191 qcom,set = <1>;
192 regulator-min-microvolt = <1>;
193 regulator-max-microvolt = <7>;
194 qcom,use-voltage-corner;
195 status = "okay";
196 };
197 };
David Collins56b41122012-09-24 17:09:23 -0700198
David Collinsf4a0f1e2012-09-28 13:18:20 -0700199 rpm-regulator-ldoa11 {
200 status = "okay";
201 pm8019_l11: regulator-l11 {
David Collins56b41122012-09-24 17:09:23 -0700202 parent-supply = <&pm8019_s4>;
203 regulator-min-microvolt = <1800000>;
204 regulator-max-microvolt = <1800000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700205 qcom,init-voltage = <1800000>;
206 qcom,init-current = <10>;
David Collins56b41122012-09-24 17:09:23 -0700207 qcom,system-load = <10000>;
David Collins56b41122012-09-24 17:09:23 -0700208 regulator-always-on;
209 status = "okay";
210 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700211 };
David Collins56b41122012-09-24 17:09:23 -0700212
David Collinsf4a0f1e2012-09-28 13:18:20 -0700213 rpm-regulator-ldoa12 {
214 status = "okay";
215 pm8019_l12: regulator-l12 {
David Collins56b41122012-09-24 17:09:23 -0700216 parent-supply = <&pm8019_s3>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700217 regulator-min-microvolt = <750000>;
David Collins56b41122012-09-24 17:09:23 -0700218 regulator-max-microvolt = <1050000>;
David Collins56b41122012-09-24 17:09:23 -0700219 status = "okay";
220 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700221 pm8019_l12_ao: regulator-l12-ao {
222 compatible = "qcom,rpm-regulator-smd";
223 regulator-name = "8019_l12_ao";
224 qcom,set = <1>;
225 parent-supply = <&pm8019_s3_ao>;
226 regulator-min-microvolt = <750000>;
227 regulator-max-microvolt = <1050000>;
228 status = "okay";
229 };
230 };
David Collins56b41122012-09-24 17:09:23 -0700231
David Collinsf4a0f1e2012-09-28 13:18:20 -0700232 rpm-regulator-ldoa13 {
233 status = "okay";
234 pm8019_l13: regulator-l13 {
David Collins56b41122012-09-24 17:09:23 -0700235 regulator-min-microvolt = <1800000>;
236 regulator-max-microvolt = <2950000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700237 qcom,init-voltage = <2950000>;
David Collins56b41122012-09-24 17:09:23 -0700238 status = "okay";
239 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700240 };
David Collins56b41122012-09-24 17:09:23 -0700241
David Collinsf4a0f1e2012-09-28 13:18:20 -0700242 rpm-regulator-ldoa14 {
243 status = "okay";
244 pm8019_l14: regulator-l14 {
David Collins56b41122012-09-24 17:09:23 -0700245 regulator-min-microvolt = <2700000>;
246 regulator-max-microvolt = <2700000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700247 qcom,init-voltage = <2700000>;
David Collins56b41122012-09-24 17:09:23 -0700248 status = "okay";
249 };
250 };
251};