blob: b128648292b9cd12511af3585849d0444f902a01 [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";
Tianyi Gou9fed1c12012-10-09 13:15:15 -0700187 qcom,consumer-supplies = "vdd_dig", "";
David Collinsf4a0f1e2012-09-28 13:18:20 -0700188 };
189 pm8019_l10_corner_ao: regulator-l10-corner-ao {
190 compatible = "qcom,rpm-regulator-smd";
191 regulator-name = "8019_l10_corner_ao";
192 qcom,set = <1>;
193 regulator-min-microvolt = <1>;
194 regulator-max-microvolt = <7>;
195 qcom,use-voltage-corner;
196 status = "okay";
197 };
198 };
David Collins56b41122012-09-24 17:09:23 -0700199
David Collinsf4a0f1e2012-09-28 13:18:20 -0700200 rpm-regulator-ldoa11 {
201 status = "okay";
202 pm8019_l11: regulator-l11 {
David Collins56b41122012-09-24 17:09:23 -0700203 parent-supply = <&pm8019_s4>;
204 regulator-min-microvolt = <1800000>;
205 regulator-max-microvolt = <1800000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700206 qcom,init-voltage = <1800000>;
207 qcom,init-current = <10>;
David Collins56b41122012-09-24 17:09:23 -0700208 qcom,system-load = <10000>;
David Collins56b41122012-09-24 17:09:23 -0700209 regulator-always-on;
210 status = "okay";
211 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700212 };
David Collins56b41122012-09-24 17:09:23 -0700213
David Collinsf4a0f1e2012-09-28 13:18:20 -0700214 rpm-regulator-ldoa12 {
215 status = "okay";
216 pm8019_l12: regulator-l12 {
David Collins56b41122012-09-24 17:09:23 -0700217 parent-supply = <&pm8019_s3>;
David Collins0f4f6402012-10-25 11:10:03 -0700218 regulator-min-microvolt = <675000>;
David Collins56b41122012-09-24 17:09:23 -0700219 regulator-max-microvolt = <1050000>;
David Collins56b41122012-09-24 17:09:23 -0700220 status = "okay";
221 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700222 pm8019_l12_ao: regulator-l12-ao {
223 compatible = "qcom,rpm-regulator-smd";
224 regulator-name = "8019_l12_ao";
225 qcom,set = <1>;
226 parent-supply = <&pm8019_s3_ao>;
David Collins0f4f6402012-10-25 11:10:03 -0700227 regulator-min-microvolt = <675000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700228 regulator-max-microvolt = <1050000>;
229 status = "okay";
230 };
David Collins0f4f6402012-10-25 11:10:03 -0700231 pm8019_l12_so: regulator-l12-so {
232 compatible = "qcom,rpm-regulator-smd";
233 regulator-name = "8019_l12_so";
234 qcom,set = <2>;
235 parent-supply = <&pm8019_s3>;
236 regulator-min-microvolt = <675000>;
237 regulator-max-microvolt = <1050000>;
238 qcom,init-voltage = <675000>;
239 status = "okay";
240 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700241 };
David Collins56b41122012-09-24 17:09:23 -0700242
David Collinsf4a0f1e2012-09-28 13:18:20 -0700243 rpm-regulator-ldoa13 {
244 status = "okay";
245 pm8019_l13: regulator-l13 {
David Collins56b41122012-09-24 17:09:23 -0700246 regulator-min-microvolt = <1800000>;
247 regulator-max-microvolt = <2950000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700248 qcom,init-voltage = <2950000>;
David Collins56b41122012-09-24 17:09:23 -0700249 status = "okay";
250 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700251 };
David Collins56b41122012-09-24 17:09:23 -0700252
David Collinsf4a0f1e2012-09-28 13:18:20 -0700253 rpm-regulator-ldoa14 {
254 status = "okay";
255 pm8019_l14: regulator-l14 {
David Collins56b41122012-09-24 17:09:23 -0700256 regulator-min-microvolt = <2700000>;
257 regulator-max-microvolt = <2700000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700258 qcom,init-voltage = <2700000>;
David Collins56b41122012-09-24 17:09:23 -0700259 status = "okay";
260 };
261 };
262};
Oluwafemi Adeyemiba1ea0c2012-10-12 16:04:48 -0700263
264/ {
265 ext_2p95v: regulator-isl80101 {
266 compatible = "regulator-fixed";
267 regulator-name = "ext_2p95v";
268 gpio = <&pm8019_gpios 4 0>;
269 enable-active-high;
270 };
David Collins84d39b22012-11-01 14:40:08 -0700271
272 usb_vbus: regulator-usb-vbus {
273 compatible = "regulator-fixed";
274 regulator-name = "usb_vbus";
275 };
Oluwafemi Adeyemiba1ea0c2012-10-12 16:04:48 -0700276};