blob: 28766cf5aa84ec5236b34afd8e771048f8eadc1a [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 };
Ashay Jaiswalad1db362013-04-01 11:11:41 +053091
92 qcom,pm8110_rtc {
93 spmi-dev-container;
94 compatible = "qcom,qpnp-rtc";
95 #address-cells = <1>;
96 #size-cells = <1>;
97 qcom,qpnp-rtc-write = <0>;
98 qcom,qpnp-rtc-alarm-pwrup = <0>;
99
100 qcom,pm8110_rtc_rw@6000 {
101 reg = <0x6000 0x100>;
102 };
103
104 qcom,pm8110_rtc_alarm@6100 {
105 reg = <0x6100 0x100>;
106 interrupts = <0x0 0x61 0x1>;
107 };
108 };
Xiaozhe Shifaa942c2013-02-21 10:52:03 -0800109 };
110
111 qcom,pm8110@1 {
112 spmi-slave-container;
113 reg = <0x1>;
114 #address-cells = <1>;
115 #size-cells = <1>;
Xiaozhe Shia9571ca2013-02-21 10:52:03 -0800116
117 regulator@1400 {
118 compatible = "qcom,qpnp-regulator";
119 regulator-name = "8110_s1";
120 spmi-dev-container;
121 #address-cells = <1>;
122 #size-cells = <1>;
123 reg = <0x1400 0x300>;
124 status = "disabled";
125
126 qcom,ctl@1400 {
127 reg = <0x1400 0x100>;
128 };
129 qcom,ps@1500 {
130 reg = <0x1500 0x100>;
131 };
132 qcom,freq@1600 {
133 reg = <0x1600 0x100>;
134 };
135 };
136
137 regulator@1700 {
138 compatible = "qcom,qpnp-regulator";
139 regulator-name = "8110_s2";
140 spmi-dev-container;
141 #address-cells = <1>;
142 #size-cells = <1>;
143 reg = <0x1700 0x300>;
144 status = "disabled";
145
146 qcom,ctl@1700 {
147 reg = <0x1700 0x100>;
148 };
149 qcom,ps@1800 {
150 reg = <0x1800 0x100>;
151 };
152 qcom,freq@1900 {
153 reg = <0x1900 0x100>;
154 };
155 };
156
157 regulator@1a00 {
158 compatible = "qcom,qpnp-regulator";
159 regulator-name = "8110_s3";
160 spmi-dev-container;
161 #address-cells = <1>;
162 #size-cells = <1>;
163 reg = <0x1a00 0x300>;
164 status = "disabled";
165
166 qcom,ctl@1a00 {
167 reg = <0x1a00 0x100>;
168 };
169 qcom,ps@1b00 {
170 reg = <0x1b00 0x100>;
171 };
172 qcom,freq@1c00 {
173 reg = <0x1c00 0x100>;
174 };
175 };
176
177 regulator@1d00 {
178 compatible = "qcom,qpnp-regulator";
179 regulator-name = "8110_s4";
180 spmi-dev-container;
181 #address-cells = <1>;
182 #size-cells = <1>;
183 reg = <0x1d00 0x300>;
184 status = "disabled";
185
186 qcom,ctl@1d00 {
187 reg = <0x1d00 0x100>;
188 };
189 qcom,ps@1e00 {
190 reg = <0x1e00 0x100>;
191 };
192 qcom,freq@1f00 {
193 reg = <0x1f00 0x100>;
194 };
195 };
196
197 regulator@4000 {
198 compatible = "qcom,qpnp-regulator";
199 regulator-name = "8110_l1";
200 reg = <0x4000 0x100>;
201 status = "disabled";
202 };
203
204 regulator@4100 {
205 compatible = "qcom,qpnp-regulator";
206 regulator-name = "8110_l2";
207 reg = <0x4100 0x100>;
208 status = "disabled";
209 };
210
211 regulator@4200 {
212 compatible = "qcom,qpnp-regulator";
213 regulator-name = "8110_l3";
214 reg = <0x4200 0x100>;
215 status = "disabled";
216 };
217
218 regulator@4300 {
219 compatible = "qcom,qpnp-regulator";
220 regulator-name = "8110_l4";
221 reg = <0x4300 0x100>;
222 status = "disabled";
223 };
224
225 regulator@4400 {
226 compatible = "qcom,qpnp-regulator";
227 regulator-name = "8110_l5";
228 reg = <0x4400 0x100>;
229 status = "disabled";
230 };
231
232 regulator@4500 {
233 compatible = "qcom,qpnp-regulator";
234 regulator-name = "8110_l6";
235 reg = <0x4500 0x100>;
236 status = "disabled";
237 };
238
239 regulator@4600 {
240 compatible = "qcom,qpnp-regulator";
241 regulator-name = "8110_l7";
242 reg = <0x4600 0x100>;
243 status = "disabled";
244 };
245
246 regulator@4700 {
247 compatible = "qcom,qpnp-regulator";
248 regulator-name = "8110_l8";
249 reg = <0x4700 0x100>;
250 status = "disabled";
251 };
252
253 regulator@4800 {
254 compatible = "qcom,qpnp-regulator";
255 regulator-name = "8110_l9";
256 reg = <0x4800 0x100>;
257 status = "disabled";
258 };
259
260 regulator@4900 {
261 compatible = "qcom,qpnp-regulator";
262 regulator-name = "8110_l10";
263 reg = <0x4900 0x100>;
264 status = "disabled";
265 };
266
267 regulator@4b00 {
268 compatible = "qcom,qpnp-regulator";
269 regulator-name = "8110_l12";
270 reg = <0x4b00 0x100>;
271 status = "disabled";
272 };
273
274 regulator@4d00 {
275 compatible = "qcom,qpnp-regulator";
276 regulator-name = "8110_l14";
277 reg = <0x4d00 0x100>;
278 status = "disabled";
279 };
280
281 regulator@4e00 {
282 compatible = "qcom,qpnp-regulator";
283 regulator-name = "8110_l15";
284 reg = <0x4e00 0x100>;
285 status = "disabled";
286 };
287
288 regulator@4f00 {
289 compatible = "qcom,qpnp-regulator";
290 regulator-name = "8110_l16";
291 reg = <0x4f00 0x100>;
292 status = "disabled";
293 };
294
295 regulator@5000 {
296 compatible = "qcom,qpnp-regulator";
297 regulator-name = "8110_l17";
298 reg = <0x5000 0x100>;
299 status = "disabled";
300 };
301
302 regulator@5100 {
303 compatible = "qcom,qpnp-regulator";
304 regulator-name = "8110_l18";
305 reg = <0x5100 0x100>;
306 status = "disabled";
307 };
308
309 regulator@5200 {
310 compatible = "qcom,qpnp-regulator";
311 regulator-name = "8110_l19";
312 reg = <0x5200 0x100>;
313 status = "disabled";
314 };
315
316 regulator@5300 {
317 compatible = "qcom,qpnp-regulator";
318 regulator-name = "8110_l20";
319 reg = <0x5300 0x100>;
320 status = "disabled";
321 };
322
323 regulator@5400 {
324 compatible = "qcom,qpnp-regulator";
325 regulator-name = "8110_l21";
326 reg = <0x5400 0x100>;
327 status = "disabled";
328 };
329
330 regulator@5500 {
331 compatible = "qcom,qpnp-regulator";
332 regulator-name = "8110_l22";
333 reg = <0x5500 0x100>;
334 status = "disabled";
335 };
Xiaozhe Shifaa942c2013-02-21 10:52:03 -0800336 };
Kenneth Heitkedb6e1b12012-11-20 15:24:42 -0700337};