blob: 24f616d7445695c2677e02e16dfdf2a5509a25b8 [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";
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 };
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 Collins0f4f6402012-10-25 11:10:03 -0700217 regulator-min-microvolt = <675000>;
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>;
David Collins0f4f6402012-10-25 11:10:03 -0700226 regulator-min-microvolt = <675000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700227 regulator-max-microvolt = <1050000>;
228 status = "okay";
229 };
David Collins0f4f6402012-10-25 11:10:03 -0700230 pm8019_l12_so: regulator-l12-so {
231 compatible = "qcom,rpm-regulator-smd";
232 regulator-name = "8019_l12_so";
233 qcom,set = <2>;
234 parent-supply = <&pm8019_s3>;
235 regulator-min-microvolt = <675000>;
236 regulator-max-microvolt = <1050000>;
237 qcom,init-voltage = <675000>;
238 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-ldoa13 {
243 status = "okay";
244 pm8019_l13: regulator-l13 {
David Collins56b41122012-09-24 17:09:23 -0700245 regulator-min-microvolt = <1800000>;
246 regulator-max-microvolt = <2950000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700247 qcom,init-voltage = <2950000>;
David Collins56b41122012-09-24 17:09:23 -0700248 status = "okay";
249 };
David Collinsf4a0f1e2012-09-28 13:18:20 -0700250 };
David Collins56b41122012-09-24 17:09:23 -0700251
David Collinsf4a0f1e2012-09-28 13:18:20 -0700252 rpm-regulator-ldoa14 {
253 status = "okay";
254 pm8019_l14: regulator-l14 {
David Collins56b41122012-09-24 17:09:23 -0700255 regulator-min-microvolt = <2700000>;
256 regulator-max-microvolt = <2700000>;
David Collinsf4a0f1e2012-09-28 13:18:20 -0700257 qcom,init-voltage = <2700000>;
David Collins56b41122012-09-24 17:09:23 -0700258 status = "okay";
259 };
260 };
261};
Oluwafemi Adeyemiba1ea0c2012-10-12 16:04:48 -0700262
263/ {
264 ext_2p95v: regulator-isl80101 {
265 compatible = "regulator-fixed";
266 regulator-name = "ext_2p95v";
267 gpio = <&pm8019_gpios 4 0>;
268 enable-active-high;
269 };
David Collins84d39b22012-11-01 14:40:08 -0700270
271 usb_vbus: regulator-usb-vbus {
272 compatible = "regulator-fixed";
273 regulator-name = "usb_vbus";
274 };
Oluwafemi Adeyemiba1ea0c2012-10-12 16:04:48 -0700275};