blob: eb56d1c6acf210541e081e0d9ddb1e4aa450110b [file] [log] [blame]
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -07001/* Copyright (c) 2012-2013, Linux Foundation. All rights reserved.
David Collins56b41122012-09-24 17:09:23 -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 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";
David Collinsf4a0f1e2012-09-28 13:18:20 -070026 pm8019_s2: regulator-s2 {
David Collins56b41122012-09-24 17:09:23 -070027 regulator-min-microvolt = <1250000>;
28 regulator-max-microvolt = <1250000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -070029 qcom,init-voltage = <1250000>;
30 qcom,init-current = <100>;
David Collins56b41122012-09-24 17:09:23 -070031 qcom,system-load = <100000>;
David Collins56b41122012-09-24 17:09:23 -070032 regulator-always-on;
33 status = "okay";
34 };
David Collinsf4a0f1e2012-09-28 13:18:20 -070035 };
David Collins56b41122012-09-24 17:09:23 -070036
David Collinsf4a0f1e2012-09-28 13:18:20 -070037 rpm-regulator-smpa3 {
38 status = "okay";
39 pm8019_s3: regulator-s3 {
40 regulator-min-microvolt = <1000000>;
David Collins56b41122012-09-24 17:09:23 -070041 regulator-max-microvolt = <1100000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -070042 qcom,init-voltage = <1100000>;
43 qcom,init-current = <100>;
David Collins56b41122012-09-24 17:09:23 -070044 qcom,system-load = <100000>;
David Collins56b41122012-09-24 17:09:23 -070045 regulator-always-on;
46 status = "okay";
47 };
David Collinsf4a0f1e2012-09-28 13:18:20 -070048 pm8019_s3_ao: regulator-s3-ao {
49 compatible = "qcom,rpm-regulator-smd";
50 regulator-name = "8019_s3_ao";
51 qcom,set = <1>;
52 regulator-min-microvolt = <1000000>;
53 regulator-max-microvolt = <1100000>;
54 status = "okay";
55 };
56 };
David Collins56b41122012-09-24 17:09:23 -070057
David Collinsf4a0f1e2012-09-28 13:18:20 -070058 rpm-regulator-smpa4 {
59 status = "okay";
60 pm8019_s4: regulator-s4 {
David Collins56b41122012-09-24 17:09:23 -070061 regulator-min-microvolt = <1800000>;
62 regulator-max-microvolt = <2075000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -070063 qcom,init-voltage = <2075000>;
64 qcom,init-current = <100>;
David Collins56b41122012-09-24 17:09:23 -070065 qcom,system-load = <100000>;
David Collins56b41122012-09-24 17:09:23 -070066 regulator-always-on;
67 status = "okay";
68 };
David Collinsf4a0f1e2012-09-28 13:18:20 -070069 };
David Collins56b41122012-09-24 17:09:23 -070070
David Collinsf4a0f1e2012-09-28 13:18:20 -070071 rpm-regulator-ldoa1 {
72 status = "okay";
73 pm8019_l1: regulator-l1 {
David Collins56b41122012-09-24 17:09:23 -070074 parent-supply = <&pm8019_s2>;
75 regulator-min-microvolt = <1225000>;
76 regulator-max-microvolt = <1225000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -070077 qcom,init-voltage = <1225000>;
David Collins56b41122012-09-24 17:09:23 -070078 status = "okay";
79 };
David Collinsf4a0f1e2012-09-28 13:18:20 -070080 };
David Collins56b41122012-09-24 17:09:23 -070081
David Collinsf4a0f1e2012-09-28 13:18:20 -070082 rpm-regulator-ldoa2 {
83 status = "okay";
84 pm8019_l2: regulator-l2 {
David Collins56b41122012-09-24 17:09:23 -070085 parent-supply = <&pm8019_s4>;
86 regulator-min-microvolt = <1800000>;
87 regulator-max-microvolt = <1800000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -070088 qcom,init-voltage = <1800000>;
David Collins56b41122012-09-24 17:09:23 -070089 status = "okay";
90 };
David Collinsf4a0f1e2012-09-28 13:18:20 -070091 };
David Collins56b41122012-09-24 17:09:23 -070092
David Collinsf4a0f1e2012-09-28 13:18:20 -070093 rpm-regulator-ldoa3 {
94 status = "okay";
95 pm8019_l3: regulator-l3 {
David Collins56b41122012-09-24 17:09:23 -070096 parent-supply = <&pm8019_s4>;
97 regulator-min-microvolt = <1800000>;
98 regulator-max-microvolt = <1800000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -070099 qcom,init-voltage = <1800000>;
David Collins56b41122012-09-24 17:09:23 -0700100 status = "okay";
101 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700102 };
David Collins56b41122012-09-24 17:09:23 -0700103
David Collinsf4a0f1e2012-09-28 13:18:20 -0700104 rpm-regulator-ldoa4 {
105 status = "okay";
106 pm8019_l4: regulator-l4 {
David Collins56b41122012-09-24 17:09:23 -0700107 regulator-min-microvolt = <3075000>;
108 regulator-max-microvolt = <3075000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700109 qcom,init-voltage = <3075000>;
David Collins56b41122012-09-24 17:09:23 -0700110 status = "okay";
111 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700112 };
David Collins56b41122012-09-24 17:09:23 -0700113
David Collinsf4a0f1e2012-09-28 13:18:20 -0700114 rpm-regulator-ldoa5 {
115 status = "okay";
116 pm8019_l5: regulator-l5 {
David Collins56b41122012-09-24 17:09:23 -0700117 regulator-min-microvolt = <1800000>;
118 regulator-max-microvolt = <2850000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700119 qcom,init-voltage = <1800000>;
David Collins56b41122012-09-24 17:09:23 -0700120 status = "okay";
121 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700122 };
David Collins56b41122012-09-24 17:09:23 -0700123
David Collinsf4a0f1e2012-09-28 13:18:20 -0700124 rpm-regulator-ldoa6 {
125 status = "okay";
126 pm8019_l6: regulator-l6 {
David Collins56b41122012-09-24 17:09:23 -0700127 regulator-min-microvolt = <1800000>;
128 regulator-max-microvolt = <2850000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700129 qcom,init-voltage = <1800000>;
David Collins56b41122012-09-24 17:09:23 -0700130 status = "okay";
131 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700132 };
David Collins56b41122012-09-24 17:09:23 -0700133
David Collinsf4a0f1e2012-09-28 13:18:20 -0700134 rpm-regulator-ldoa7 {
135 status = "okay";
136 pm8019_l7: regulator-l7 {
David Collins56b41122012-09-24 17:09:23 -0700137 parent-supply = <&pm8019_s4>;
138 regulator-min-microvolt = <1800000>;
139 regulator-max-microvolt = <1800000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700140 qcom,init-voltage = <1800000>;
David Collins56b41122012-09-24 17:09:23 -0700141 status = "okay";
142 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700143 };
David Collins56b41122012-09-24 17:09:23 -0700144
David Collinsf4a0f1e2012-09-28 13:18:20 -0700145 rpm-regulator-ldoa8 {
146 status = "okay";
147 pm8019_l8: regulator-l8 {
David Collins56b41122012-09-24 17:09:23 -0700148 parent-supply = <&pm8019_s4>;
149 regulator-min-microvolt = <2050000>;
150 regulator-max-microvolt = <2050000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700151 qcom,init-voltage = <2050000>;
David Collins56b41122012-09-24 17:09:23 -0700152 status = "okay";
153 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700154 };
David Collins56b41122012-09-24 17:09:23 -0700155
David Collinsf4a0f1e2012-09-28 13:18:20 -0700156 rpm-regulator-ldoa9 {
157 status = "okay";
158 pm8019_l9: regulator-l9 {
David Collins56b41122012-09-24 17:09:23 -0700159 parent-supply = <&pm8019_s2>;
160 regulator-min-microvolt = <1200000>;
161 regulator-max-microvolt = <1200000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700162 qcom,init-voltage = <1200000>;
163 qcom,init-current = <10>;
David Collins56b41122012-09-24 17:09:23 -0700164 qcom,system-load = <10000>;
David Collins56b41122012-09-24 17:09:23 -0700165 regulator-always-on;
166 status = "okay";
167 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700168 };
David Collins56b41122012-09-24 17:09:23 -0700169
David Collinsf4a0f1e2012-09-28 13:18:20 -0700170 rpm-regulator-ldoa10 {
171 status = "okay";
172 pm8019_l10: regulator-l10 {
David Collins56b41122012-09-24 17:09:23 -0700173 parent-supply = <&pm8019_s3>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700174 regulator-min-microvolt = <500000>;
David Collins56b41122012-09-24 17:09:23 -0700175 regulator-max-microvolt = <1050000>;
David Collins56b41122012-09-24 17:09:23 -0700176 status = "okay";
177 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700178 pm8019_l10_corner: regulator-l10-corner {
179 compatible = "qcom,rpm-regulator-smd";
180 regulator-name = "8019_l10_corner";
181 qcom,set = <3>;
182 regulator-min-microvolt = <1>;
183 regulator-max-microvolt = <7>;
184 qcom,use-voltage-corner;
185 status = "okay";
Tianyi Gou9fed1c12012-10-09 13:15:15 -0700186 qcom,consumer-supplies = "vdd_dig", "";
David Collinsf4a0f1e2012-09-28 13:18:20 -0700187 };
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 };
Jennifer Liu2adbf0d2013-07-12 15:05:15 -0700197 pm8019_l10_floor_corner: regulator-l10-floor-corner {
198 compatible = "qcom,rpm-regulator-smd";
199 regulator-name = "8019_l10_floor_corner";
200 qcom,set = <3>;
201 regulator-min-microvolt = <1>;
202 regulator-max-microvolt = <7>;
203 qcom,use-voltage-floor-corner;
204 qcom,always-send-voltage;
205 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700206 };
David Collins56b41122012-09-24 17:09:23 -0700207
David Collinsf4a0f1e2012-09-28 13:18:20 -0700208 rpm-regulator-ldoa11 {
209 status = "okay";
210 pm8019_l11: regulator-l11 {
David Collins56b41122012-09-24 17:09:23 -0700211 parent-supply = <&pm8019_s4>;
212 regulator-min-microvolt = <1800000>;
213 regulator-max-microvolt = <1800000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700214 qcom,init-voltage = <1800000>;
215 qcom,init-current = <10>;
David Collins56b41122012-09-24 17:09:23 -0700216 qcom,system-load = <10000>;
David Collins56b41122012-09-24 17:09:23 -0700217 regulator-always-on;
218 status = "okay";
219 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700220 };
David Collins56b41122012-09-24 17:09:23 -0700221
David Collinsf4a0f1e2012-09-28 13:18:20 -0700222 rpm-regulator-ldoa12 {
223 status = "okay";
224 pm8019_l12: regulator-l12 {
David Collins56b41122012-09-24 17:09:23 -0700225 parent-supply = <&pm8019_s3>;
David Collins0f4f6402012-10-25 11:10:03 -0700226 regulator-min-microvolt = <675000>;
David Collins56b41122012-09-24 17:09:23 -0700227 regulator-max-microvolt = <1050000>;
David Collins56b41122012-09-24 17:09:23 -0700228 status = "okay";
229 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700230 pm8019_l12_ao: regulator-l12-ao {
231 compatible = "qcom,rpm-regulator-smd";
232 regulator-name = "8019_l12_ao";
233 qcom,set = <1>;
234 parent-supply = <&pm8019_s3_ao>;
David Collins0f4f6402012-10-25 11:10:03 -0700235 regulator-min-microvolt = <675000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700236 regulator-max-microvolt = <1050000>;
237 status = "okay";
238 };
David Collins0f4f6402012-10-25 11:10:03 -0700239 pm8019_l12_so: regulator-l12-so {
240 compatible = "qcom,rpm-regulator-smd";
241 regulator-name = "8019_l12_so";
242 qcom,set = <2>;
243 parent-supply = <&pm8019_s3>;
244 regulator-min-microvolt = <675000>;
245 regulator-max-microvolt = <1050000>;
246 qcom,init-voltage = <675000>;
247 status = "okay";
248 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700249 };
David Collins56b41122012-09-24 17:09:23 -0700250
David Collinsf4a0f1e2012-09-28 13:18:20 -0700251 rpm-regulator-ldoa13 {
252 status = "okay";
253 pm8019_l13: regulator-l13 {
David Collins56b41122012-09-24 17:09:23 -0700254 regulator-min-microvolt = <1800000>;
255 regulator-max-microvolt = <2950000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700256 qcom,init-voltage = <2950000>;
David Collins56b41122012-09-24 17:09:23 -0700257 status = "okay";
258 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700259 };
David Collins56b41122012-09-24 17:09:23 -0700260
David Collinsf4a0f1e2012-09-28 13:18:20 -0700261 rpm-regulator-ldoa14 {
262 status = "okay";
263 pm8019_l14: regulator-l14 {
David Collins56b41122012-09-24 17:09:23 -0700264 regulator-min-microvolt = <2700000>;
265 regulator-max-microvolt = <2700000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700266 qcom,init-voltage = <2700000>;
David Collins56b41122012-09-24 17:09:23 -0700267 status = "okay";
268 };
269 };
270};
Oluwafemi Adeyemiba1ea0c2012-10-12 16:04:48 -0700271
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -0700272&soc {
Oluwafemi Adeyemiba1ea0c2012-10-12 16:04:48 -0700273 ext_2p95v: regulator-isl80101 {
274 compatible = "regulator-fixed";
275 regulator-name = "ext_2p95v";
276 gpio = <&pm8019_gpios 4 0>;
277 enable-active-high;
278 };
David Collins84d39b22012-11-01 14:40:08 -0700279
280 usb_vbus: regulator-usb-vbus {
281 compatible = "regulator-fixed";
282 regulator-name = "usb_vbus";
283 };
Oluwafemi Adeyemiba1ea0c2012-10-12 16:04:48 -0700284};