blob: ec42cfc77accb2238ed2372bf26c50126544ba5b [file] [log] [blame]
Xiaozhe Shifaa942c2013-02-21 10:52:03 -08001/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Kenneth Heitkedb6e1b12012-11-20 15:24:42 -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
13&spmi_bus {
14 #address-cells = <1>;
15 #size-cells = <0>;
16 interrupt-controller;
17 #interrupt-cells = <3>;
Xiaozhe Shifaa942c2013-02-21 10:52:03 -080018
19 qcom,pm8110@0 {
20 spmi-slave-container;
21 reg = <0x0>;
22 #address-cells = <1>;
23 #size-cells = <1>;
Siddartha Mohanadoss0f664a82013-03-11 22:52:01 -070024
25 pm8110_vadc: vadc@3100 {
26 compatible = "qcom,qpnp-vadc";
27 reg = <0x3100 0x100>;
28 #address-cells = <1>;
29 #size-cells = <0>;
30 interrupts = <0x0 0x31 0x0>;
31 interrupt-names = "eoc-int-en-set";
32 qcom,adc-bit-resolution = <15>;
33 qcom,adc-vdd-reference = <1800>;
34
35 chan@8 {
36 label = "die_temp";
37 reg = <8>;
38 qcom,decimation = <0>;
39 qcom,pre-div-channel-scaling = <0>;
40 qcom,calibration-type = "absolute";
41 qcom,scale-function = <3>;
42 qcom,hw-settle-time = <0>;
43 qcom,fast-avg-setup = <0>;
44 };
45
46 chan@9 {
47 label = "ref_625mv";
48 reg = <9>;
49 qcom,decimation = <0>;
50 qcom,pre-div-channel-scaling = <0>;
51 qcom,calibration-type = "absolute";
52 qcom,scale-function = <0>;
53 qcom,hw-settle-time = <0>;
54 qcom,fast-avg-setup = <0>;
55 };
56
57 chan@a {
58 label = "ref_1250v";
59 reg = <0xa>;
60 qcom,decimation = <0>;
61 qcom,pre-div-channel-scaling = <0>;
62 qcom,calibration-type = "absolute";
63 qcom,scale-function = <0>;
64 qcom,hw-settle-time = <0>;
65 qcom,fast-avg-setup = <0>;
66 };
67 };
68
69 iadc@3600 {
70 compatible = "qcom,qpnp-iadc";
71 reg = <0x3600 0x100>;
72 #address-cells = <1>;
73 #size-cells = <0>;
74 interrupts = <0x0 0x36 0x0>;
75 interrupt-names = "eoc-int-en-set";
76 qcom,adc-bit-resolution = <16>;
77 qcom,adc-vdd-reference = <1800>;
78 qcom,rsense = <1500>;
79
80 chan@0 {
81 label = "internal_rsense";
82 reg = <0>;
83 qcom,decimation = <0>;
84 qcom,pre-div-channel-scaling = <1>;
85 qcom,calibration-type = "absolute";
86 qcom,scale-function = <0>;
87 qcom,hw-settle-time = <0>;
88 qcom,fast-avg-setup = <0>;
89 };
90 };
Xiaozhe Shifaa942c2013-02-21 10:52:03 -080091 };
92
93 qcom,pm8110@1 {
94 spmi-slave-container;
95 reg = <0x1>;
96 #address-cells = <1>;
97 #size-cells = <1>;
Xiaozhe Shia9571ca2013-02-21 10:52:03 -080098
99 regulator@1400 {
100 compatible = "qcom,qpnp-regulator";
101 regulator-name = "8110_s1";
102 spmi-dev-container;
103 #address-cells = <1>;
104 #size-cells = <1>;
105 reg = <0x1400 0x300>;
106 status = "disabled";
107
108 qcom,ctl@1400 {
109 reg = <0x1400 0x100>;
110 };
111 qcom,ps@1500 {
112 reg = <0x1500 0x100>;
113 };
114 qcom,freq@1600 {
115 reg = <0x1600 0x100>;
116 };
117 };
118
119 regulator@1700 {
120 compatible = "qcom,qpnp-regulator";
121 regulator-name = "8110_s2";
122 spmi-dev-container;
123 #address-cells = <1>;
124 #size-cells = <1>;
125 reg = <0x1700 0x300>;
126 status = "disabled";
127
128 qcom,ctl@1700 {
129 reg = <0x1700 0x100>;
130 };
131 qcom,ps@1800 {
132 reg = <0x1800 0x100>;
133 };
134 qcom,freq@1900 {
135 reg = <0x1900 0x100>;
136 };
137 };
138
139 regulator@1a00 {
140 compatible = "qcom,qpnp-regulator";
141 regulator-name = "8110_s3";
142 spmi-dev-container;
143 #address-cells = <1>;
144 #size-cells = <1>;
145 reg = <0x1a00 0x300>;
146 status = "disabled";
147
148 qcom,ctl@1a00 {
149 reg = <0x1a00 0x100>;
150 };
151 qcom,ps@1b00 {
152 reg = <0x1b00 0x100>;
153 };
154 qcom,freq@1c00 {
155 reg = <0x1c00 0x100>;
156 };
157 };
158
159 regulator@1d00 {
160 compatible = "qcom,qpnp-regulator";
161 regulator-name = "8110_s4";
162 spmi-dev-container;
163 #address-cells = <1>;
164 #size-cells = <1>;
165 reg = <0x1d00 0x300>;
166 status = "disabled";
167
168 qcom,ctl@1d00 {
169 reg = <0x1d00 0x100>;
170 };
171 qcom,ps@1e00 {
172 reg = <0x1e00 0x100>;
173 };
174 qcom,freq@1f00 {
175 reg = <0x1f00 0x100>;
176 };
177 };
178
179 regulator@4000 {
180 compatible = "qcom,qpnp-regulator";
181 regulator-name = "8110_l1";
182 reg = <0x4000 0x100>;
183 status = "disabled";
184 };
185
186 regulator@4100 {
187 compatible = "qcom,qpnp-regulator";
188 regulator-name = "8110_l2";
189 reg = <0x4100 0x100>;
190 status = "disabled";
191 };
192
193 regulator@4200 {
194 compatible = "qcom,qpnp-regulator";
195 regulator-name = "8110_l3";
196 reg = <0x4200 0x100>;
197 status = "disabled";
198 };
199
200 regulator@4300 {
201 compatible = "qcom,qpnp-regulator";
202 regulator-name = "8110_l4";
203 reg = <0x4300 0x100>;
204 status = "disabled";
205 };
206
207 regulator@4400 {
208 compatible = "qcom,qpnp-regulator";
209 regulator-name = "8110_l5";
210 reg = <0x4400 0x100>;
211 status = "disabled";
212 };
213
214 regulator@4500 {
215 compatible = "qcom,qpnp-regulator";
216 regulator-name = "8110_l6";
217 reg = <0x4500 0x100>;
218 status = "disabled";
219 };
220
221 regulator@4600 {
222 compatible = "qcom,qpnp-regulator";
223 regulator-name = "8110_l7";
224 reg = <0x4600 0x100>;
225 status = "disabled";
226 };
227
228 regulator@4700 {
229 compatible = "qcom,qpnp-regulator";
230 regulator-name = "8110_l8";
231 reg = <0x4700 0x100>;
232 status = "disabled";
233 };
234
235 regulator@4800 {
236 compatible = "qcom,qpnp-regulator";
237 regulator-name = "8110_l9";
238 reg = <0x4800 0x100>;
239 status = "disabled";
240 };
241
242 regulator@4900 {
243 compatible = "qcom,qpnp-regulator";
244 regulator-name = "8110_l10";
245 reg = <0x4900 0x100>;
246 status = "disabled";
247 };
248
249 regulator@4b00 {
250 compatible = "qcom,qpnp-regulator";
251 regulator-name = "8110_l12";
252 reg = <0x4b00 0x100>;
253 status = "disabled";
254 };
255
256 regulator@4d00 {
257 compatible = "qcom,qpnp-regulator";
258 regulator-name = "8110_l14";
259 reg = <0x4d00 0x100>;
260 status = "disabled";
261 };
262
263 regulator@4e00 {
264 compatible = "qcom,qpnp-regulator";
265 regulator-name = "8110_l15";
266 reg = <0x4e00 0x100>;
267 status = "disabled";
268 };
269
270 regulator@4f00 {
271 compatible = "qcom,qpnp-regulator";
272 regulator-name = "8110_l16";
273 reg = <0x4f00 0x100>;
274 status = "disabled";
275 };
276
277 regulator@5000 {
278 compatible = "qcom,qpnp-regulator";
279 regulator-name = "8110_l17";
280 reg = <0x5000 0x100>;
281 status = "disabled";
282 };
283
284 regulator@5100 {
285 compatible = "qcom,qpnp-regulator";
286 regulator-name = "8110_l18";
287 reg = <0x5100 0x100>;
288 status = "disabled";
289 };
290
291 regulator@5200 {
292 compatible = "qcom,qpnp-regulator";
293 regulator-name = "8110_l19";
294 reg = <0x5200 0x100>;
295 status = "disabled";
296 };
297
298 regulator@5300 {
299 compatible = "qcom,qpnp-regulator";
300 regulator-name = "8110_l20";
301 reg = <0x5300 0x100>;
302 status = "disabled";
303 };
304
305 regulator@5400 {
306 compatible = "qcom,qpnp-regulator";
307 regulator-name = "8110_l21";
308 reg = <0x5400 0x100>;
309 status = "disabled";
310 };
311
312 regulator@5500 {
313 compatible = "qcom,qpnp-regulator";
314 regulator-name = "8110_l22";
315 reg = <0x5500 0x100>;
316 status = "disabled";
317 };
Xiaozhe Shifaa942c2013-02-21 10:52:03 -0800318 };
Kenneth Heitkedb6e1b12012-11-20 15:24:42 -0700319};