]>
Commit | Line | Data |
---|---|---|
5d0769f0 AB |
1 | /* |
2 | * Copyright 2012 Linaro Ltd | |
3 | * | |
4 | * The code contained herein is licensed under the GNU General Public | |
5 | * License. You may obtain a copy of the GNU General Public License | |
6 | * Version 2 or later at the following locations: | |
7 | * | |
8 | * http://www.opensource.org/licenses/gpl-license.html | |
9 | * http://www.gnu.org/copyleft/gpl.html | |
10 | */ | |
11 | ||
12 | /include/ "skeleton.dtsi" | |
13 | ||
14 | / { | |
b1ba1439 | 15 | soc { |
5d0769f0 AB |
16 | #address-cells = <1>; |
17 | #size-cells = <1>; | |
7e0ce270 | 18 | compatible = "stericsson,db8500"; |
dab6487e | 19 | interrupt-parent = <&intc>; |
5d0769f0 | 20 | ranges; |
7e0ce270 | 21 | |
dab6487e LJ |
22 | intc: interrupt-controller@a0411000 { |
23 | compatible = "arm,cortex-a9-gic"; | |
24 | #interrupt-cells = <3>; | |
25 | #address-cells = <1>; | |
26 | interrupt-controller; | |
dab6487e LJ |
27 | reg = <0xa0411000 0x1000>, |
28 | <0xa0410100 0x100>; | |
29 | }; | |
30 | ||
f1949ea0 LJ |
31 | L2: l2-cache { |
32 | compatible = "arm,pl310-cache"; | |
33 | reg = <0xa0412000 0x1000>; | |
34 | interrupts = <0 13 4>; | |
35 | cache-unified; | |
36 | cache-level = <2>; | |
37 | }; | |
38 | ||
7e0ce270 LJ |
39 | pmu { |
40 | compatible = "arm,cortex-a9-pmu"; | |
41 | interrupts = <0 7 0x4>; | |
42 | }; | |
43 | ||
71de5c46 LJ |
44 | timer@a0410600 { |
45 | compatible = "arm,cortex-a9-twd-timer"; | |
46 | reg = <0xa0410600 0x20>; | |
47 | interrupts = <1 13 0x304>; | |
48 | }; | |
49 | ||
7e0ce270 | 50 | rtc@80154000 { |
ddb3b99c | 51 | compatible = "arm,rtc-pl031", "arm,primecell"; |
7e0ce270 LJ |
52 | reg = <0x80154000 0x1000>; |
53 | interrupts = <0 18 0x4>; | |
54 | }; | |
55 | ||
56 | gpio0: gpio@8012e000 { | |
57 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 58 | "st,nomadik-gpio"; |
7e0ce270 LJ |
59 | reg = <0x8012e000 0x80>; |
60 | interrupts = <0 119 0x4>; | |
93b5698a LJ |
61 | interrupt-controller; |
62 | #interrupt-cells = <2>; | |
61be4981 | 63 | st,supports-sleepmode; |
7e0ce270 | 64 | gpio-controller; |
c0b133bd LJ |
65 | #gpio-cells = <2>; |
66 | gpio-bank = <0>; | |
7e0ce270 LJ |
67 | }; |
68 | ||
69 | gpio1: gpio@8012e080 { | |
70 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 71 | "st,nomadik-gpio"; |
7e0ce270 LJ |
72 | reg = <0x8012e080 0x80>; |
73 | interrupts = <0 120 0x4>; | |
93b5698a LJ |
74 | interrupt-controller; |
75 | #interrupt-cells = <2>; | |
61be4981 | 76 | st,supports-sleepmode; |
7e0ce270 | 77 | gpio-controller; |
c0b133bd LJ |
78 | #gpio-cells = <2>; |
79 | gpio-bank = <1>; | |
7e0ce270 LJ |
80 | }; |
81 | ||
82 | gpio2: gpio@8000e000 { | |
83 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 84 | "st,nomadik-gpio"; |
7e0ce270 LJ |
85 | reg = <0x8000e000 0x80>; |
86 | interrupts = <0 121 0x4>; | |
93b5698a LJ |
87 | interrupt-controller; |
88 | #interrupt-cells = <2>; | |
61be4981 | 89 | st,supports-sleepmode; |
7e0ce270 | 90 | gpio-controller; |
c0b133bd LJ |
91 | #gpio-cells = <2>; |
92 | gpio-bank = <2>; | |
7e0ce270 LJ |
93 | }; |
94 | ||
95 | gpio3: gpio@8000e080 { | |
96 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 97 | "st,nomadik-gpio"; |
7e0ce270 LJ |
98 | reg = <0x8000e080 0x80>; |
99 | interrupts = <0 122 0x4>; | |
93b5698a LJ |
100 | interrupt-controller; |
101 | #interrupt-cells = <2>; | |
61be4981 | 102 | st,supports-sleepmode; |
7e0ce270 | 103 | gpio-controller; |
c0b133bd LJ |
104 | #gpio-cells = <2>; |
105 | gpio-bank = <3>; | |
7e0ce270 LJ |
106 | }; |
107 | ||
108 | gpio4: gpio@8000e100 { | |
109 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 110 | "st,nomadik-gpio"; |
7e0ce270 LJ |
111 | reg = <0x8000e100 0x80>; |
112 | interrupts = <0 123 0x4>; | |
93b5698a LJ |
113 | interrupt-controller; |
114 | #interrupt-cells = <2>; | |
61be4981 | 115 | st,supports-sleepmode; |
7e0ce270 | 116 | gpio-controller; |
c0b133bd LJ |
117 | #gpio-cells = <2>; |
118 | gpio-bank = <4>; | |
7e0ce270 LJ |
119 | }; |
120 | ||
121 | gpio5: gpio@8000e180 { | |
122 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 123 | "st,nomadik-gpio"; |
7e0ce270 LJ |
124 | reg = <0x8000e180 0x80>; |
125 | interrupts = <0 124 0x4>; | |
93b5698a LJ |
126 | interrupt-controller; |
127 | #interrupt-cells = <2>; | |
61be4981 | 128 | st,supports-sleepmode; |
7e0ce270 | 129 | gpio-controller; |
c0b133bd LJ |
130 | #gpio-cells = <2>; |
131 | gpio-bank = <5>; | |
7e0ce270 LJ |
132 | }; |
133 | ||
134 | gpio6: gpio@8011e000 { | |
135 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 136 | "st,nomadik-gpio"; |
7e0ce270 LJ |
137 | reg = <0x8011e000 0x80>; |
138 | interrupts = <0 125 0x4>; | |
93b5698a LJ |
139 | interrupt-controller; |
140 | #interrupt-cells = <2>; | |
61be4981 | 141 | st,supports-sleepmode; |
7e0ce270 | 142 | gpio-controller; |
c0b133bd LJ |
143 | #gpio-cells = <2>; |
144 | gpio-bank = <6>; | |
7e0ce270 LJ |
145 | }; |
146 | ||
147 | gpio7: gpio@8011e080 { | |
148 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 149 | "st,nomadik-gpio"; |
7e0ce270 LJ |
150 | reg = <0x8011e080 0x80>; |
151 | interrupts = <0 126 0x4>; | |
93b5698a LJ |
152 | interrupt-controller; |
153 | #interrupt-cells = <2>; | |
61be4981 | 154 | st,supports-sleepmode; |
7e0ce270 | 155 | gpio-controller; |
c0b133bd LJ |
156 | #gpio-cells = <2>; |
157 | gpio-bank = <7>; | |
7e0ce270 LJ |
158 | }; |
159 | ||
160 | gpio8: gpio@a03fe000 { | |
161 | compatible = "stericsson,db8500-gpio", | |
fd9a80b2 | 162 | "st,nomadik-gpio"; |
7e0ce270 LJ |
163 | reg = <0xa03fe000 0x80>; |
164 | interrupts = <0 127 0x4>; | |
93b5698a LJ |
165 | interrupt-controller; |
166 | #interrupt-cells = <2>; | |
61be4981 | 167 | st,supports-sleepmode; |
7e0ce270 | 168 | gpio-controller; |
c0b133bd LJ |
169 | #gpio-cells = <2>; |
170 | gpio-bank = <8>; | |
7e0ce270 LJ |
171 | }; |
172 | ||
8979cfef | 173 | pinctrl { |
627c1a82 | 174 | compatible = "stericsson,nmk-pinctrl"; |
8979cfef | 175 | prcm = <&prcmu>; |
5910de9e LJ |
176 | }; |
177 | ||
b32dc865 | 178 | usb_per5@a03e0000 { |
7e0ce270 LJ |
179 | compatible = "stericsson,db8500-musb", |
180 | "mentor,musb"; | |
181 | reg = <0xa03e0000 0x10000>; | |
182 | interrupts = <0 23 0x4>; | |
b32dc865 LJ |
183 | interrupt-names = "mc"; |
184 | ||
185 | dr_mode = "otg"; | |
186 | ||
187 | dmas = <&dma 38 0 0x2>, /* Logical - DevToMem */ | |
188 | <&dma 38 0 0x0>, /* Logical - MemToDev */ | |
189 | <&dma 37 0 0x2>, /* Logical - DevToMem */ | |
190 | <&dma 37 0 0x0>, /* Logical - MemToDev */ | |
191 | <&dma 36 0 0x2>, /* Logical - DevToMem */ | |
192 | <&dma 36 0 0x0>, /* Logical - MemToDev */ | |
193 | <&dma 19 0 0x2>, /* Logical - DevToMem */ | |
194 | <&dma 19 0 0x0>, /* Logical - MemToDev */ | |
195 | <&dma 18 0 0x2>, /* Logical - DevToMem */ | |
196 | <&dma 18 0 0x0>, /* Logical - MemToDev */ | |
197 | <&dma 17 0 0x2>, /* Logical - DevToMem */ | |
198 | <&dma 17 0 0x0>, /* Logical - MemToDev */ | |
199 | <&dma 16 0 0x2>, /* Logical - DevToMem */ | |
200 | <&dma 16 0 0x0>, /* Logical - MemToDev */ | |
201 | <&dma 39 0 0x2>, /* Logical - DevToMem */ | |
202 | <&dma 39 0 0x0>; /* Logical - MemToDev */ | |
203 | ||
204 | dma-names = "iep_1_9", "oep_1_9", | |
205 | "iep_2_10", "oep_2_10", | |
206 | "iep_3_11", "oep_3_11", | |
207 | "iep_4_12", "oep_4_12", | |
208 | "iep_5_13", "oep_5_13", | |
209 | "iep_6_14", "oep_6_14", | |
210 | "iep_7_15", "oep_7_15", | |
211 | "iep_8", "oep_8"; | |
7e0ce270 LJ |
212 | }; |
213 | ||
ba074aec LJ |
214 | dma: dma-controller@801C0000 { |
215 | compatible = "stericsson,db8500-dma40", "stericsson,dma40"; | |
7e0ce270 | 216 | reg = <0x801C0000 0x1000 0x40010000 0x800>; |
70d39a8d | 217 | reg-names = "base", "lcpa"; |
7e0ce270 | 218 | interrupts = <0 25 0x4>; |
ba074aec LJ |
219 | |
220 | #dma-cells = <3>; | |
d37fcdb6 | 221 | memcpy-channels = <56 57 58 59 60>; |
7e0ce270 LJ |
222 | }; |
223 | ||
8979cfef | 224 | prcmu: prcmu@80157000 { |
7e0ce270 | 225 | compatible = "stericsson,db8500-prcmu"; |
4d26aa30 | 226 | reg = <0x80157000 0x2000>, <0x801b0000 0x8000>, <0x801b8000 0x1000>; |
e73081d9 | 227 | reg-names = "prcmu", "prcmu-tcpm", "prcmu-tcdm"; |
ccf74f76 | 228 | interrupts = <0 47 0x4>; |
7e0ce270 | 229 | #address-cells = <1>; |
3de3d749 | 230 | #size-cells = <1>; |
c09090bb LJ |
231 | interrupt-controller; |
232 | #interrupt-cells = <2>; | |
3de3d749 LJ |
233 | ranges; |
234 | ||
ccf74f76 | 235 | prcmu-timer-4@80157450 { |
3de3d749 LJ |
236 | compatible = "stericsson,db8500-prcmu-timer-4"; |
237 | reg = <0x80157450 0xC>; | |
238 | }; | |
7e0ce270 | 239 | |
dc1956b5 | 240 | thermal@801573c0 { |
241 | compatible = "stericsson,db8500-thermal"; | |
242 | reg = <0x801573c0 0x40>; | |
243 | interrupts = <21 0x4>, <22 0x4>; | |
244 | interrupt-names = "IRQ_HOTMON_LOW", "IRQ_HOTMON_HIGH"; | |
245 | status = "disabled"; | |
246 | }; | |
247 | ||
e5999f28 LJ |
248 | db8500-prcmu-regulators { |
249 | compatible = "stericsson,db8500-prcmu-regulator"; | |
250 | ||
251 | // DB8500_REGULATOR_VAPE | |
252 | db8500_vape_reg: db8500_vape { | |
da26848a | 253 | regulator-compatible = "db8500_vape"; |
e5999f28 LJ |
254 | regulator-always-on; |
255 | }; | |
256 | ||
257 | // DB8500_REGULATOR_VARM | |
258 | db8500_varm_reg: db8500_varm { | |
da26848a | 259 | regulator-compatible = "db8500_varm"; |
e5999f28 LJ |
260 | }; |
261 | ||
262 | // DB8500_REGULATOR_VMODEM | |
263 | db8500_vmodem_reg: db8500_vmodem { | |
da26848a | 264 | regulator-compatible = "db8500_vmodem"; |
e5999f28 LJ |
265 | }; |
266 | ||
267 | // DB8500_REGULATOR_VPLL | |
268 | db8500_vpll_reg: db8500_vpll { | |
da26848a | 269 | regulator-compatible = "db8500_vpll"; |
e5999f28 LJ |
270 | }; |
271 | ||
272 | // DB8500_REGULATOR_VSMPS1 | |
273 | db8500_vsmps1_reg: db8500_vsmps1 { | |
da26848a | 274 | regulator-compatible = "db8500_vsmps1"; |
e5999f28 LJ |
275 | }; |
276 | ||
277 | // DB8500_REGULATOR_VSMPS2 | |
278 | db8500_vsmps2_reg: db8500_vsmps2 { | |
da26848a | 279 | regulator-compatible = "db8500_vsmps2"; |
e5999f28 LJ |
280 | }; |
281 | ||
282 | // DB8500_REGULATOR_VSMPS3 | |
283 | db8500_vsmps3_reg: db8500_vsmps3 { | |
da26848a | 284 | regulator-compatible = "db8500_vsmps3"; |
e5999f28 LJ |
285 | }; |
286 | ||
287 | // DB8500_REGULATOR_VRF1 | |
288 | db8500_vrf1_reg: db8500_vrf1 { | |
da26848a | 289 | regulator-compatible = "db8500_vrf1"; |
e5999f28 LJ |
290 | }; |
291 | ||
292 | // DB8500_REGULATOR_SWITCH_SVAMMDSP | |
293 | db8500_sva_mmdsp_reg: db8500_sva_mmdsp { | |
da26848a | 294 | regulator-compatible = "db8500_sva_mmdsp"; |
e5999f28 LJ |
295 | }; |
296 | ||
297 | // DB8500_REGULATOR_SWITCH_SVAMMDSPRET | |
298 | db8500_sva_mmdsp_ret_reg: db8500_sva_mmdsp_ret { | |
da26848a | 299 | regulator-compatible = "db8500_sva_mmdsp_ret"; |
e5999f28 LJ |
300 | }; |
301 | ||
302 | // DB8500_REGULATOR_SWITCH_SVAPIPE | |
303 | db8500_sva_pipe_reg: db8500_sva_pipe { | |
da26848a | 304 | regulator-compatible = "db8500_sva_pipe"; |
e5999f28 LJ |
305 | }; |
306 | ||
307 | // DB8500_REGULATOR_SWITCH_SIAMMDSP | |
308 | db8500_sia_mmdsp_reg: db8500_sia_mmdsp { | |
da26848a | 309 | regulator-compatible = "db8500_sia_mmdsp"; |
e5999f28 LJ |
310 | }; |
311 | ||
312 | // DB8500_REGULATOR_SWITCH_SIAMMDSPRET | |
313 | db8500_sia_mmdsp_ret_reg: db8500_sia_mmdsp_ret { | |
e5999f28 LJ |
314 | }; |
315 | ||
316 | // DB8500_REGULATOR_SWITCH_SIAPIPE | |
317 | db8500_sia_pipe_reg: db8500_sia_pipe { | |
da26848a | 318 | regulator-compatible = "db8500_sia_pipe"; |
e5999f28 LJ |
319 | }; |
320 | ||
321 | // DB8500_REGULATOR_SWITCH_SGA | |
322 | db8500_sga_reg: db8500_sga { | |
da26848a | 323 | regulator-compatible = "db8500_sga"; |
e5999f28 LJ |
324 | vin-supply = <&db8500_vape_reg>; |
325 | }; | |
326 | ||
327 | // DB8500_REGULATOR_SWITCH_B2R2_MCDE | |
328 | db8500_b2r2_mcde_reg: db8500_b2r2_mcde { | |
da26848a | 329 | regulator-compatible = "db8500_b2r2_mcde"; |
e5999f28 LJ |
330 | vin-supply = <&db8500_vape_reg>; |
331 | }; | |
332 | ||
333 | // DB8500_REGULATOR_SWITCH_ESRAM12 | |
334 | db8500_esram12_reg: db8500_esram12 { | |
da26848a | 335 | regulator-compatible = "db8500_esram12"; |
e5999f28 LJ |
336 | }; |
337 | ||
338 | // DB8500_REGULATOR_SWITCH_ESRAM12RET | |
339 | db8500_esram12_ret_reg: db8500_esram12_ret { | |
da26848a | 340 | regulator-compatible = "db8500_esram12_ret"; |
e5999f28 LJ |
341 | }; |
342 | ||
343 | // DB8500_REGULATOR_SWITCH_ESRAM34 | |
344 | db8500_esram34_reg: db8500_esram34 { | |
da26848a | 345 | regulator-compatible = "db8500_esram34"; |
e5999f28 LJ |
346 | }; |
347 | ||
348 | // DB8500_REGULATOR_SWITCH_ESRAM34RET | |
349 | db8500_esram34_ret_reg: db8500_esram34_ret { | |
da26848a | 350 | regulator-compatible = "db8500_esram34_ret"; |
e5999f28 LJ |
351 | }; |
352 | }; | |
353 | ||
d52701d3 | 354 | ab8500 { |
7e0ce270 | 355 | compatible = "stericsson,ab8500"; |
8d4c6d45 | 356 | interrupt-parent = <&intc>; |
7e0ce270 | 357 | interrupts = <0 40 0x4>; |
732973c8 LJ |
358 | interrupt-controller; |
359 | #interrupt-cells = <2>; | |
4a85c7fa | 360 | |
d4b29ac1 LJ |
361 | ab8500-rtc { |
362 | compatible = "stericsson,ab8500-rtc"; | |
363 | interrupts = <17 0x4 | |
364 | 18 0x4>; | |
365 | interrupt-names = "60S", "ALARM"; | |
366 | }; | |
367 | ||
4eda9129 LJ |
368 | ab8500-gpadc { |
369 | compatible = "stericsson,ab8500-gpadc"; | |
732973c8 LJ |
370 | interrupts = <32 0x4 |
371 | 39 0x4>; | |
4eda9129 LJ |
372 | interrupt-names = "HW_CONV_END", "SW_CONV_END"; |
373 | vddadc-supply = <&ab8500_ldo_tvout_reg>; | |
374 | }; | |
375 | ||
e0f1abeb R |
376 | ab8500_battery: ab8500_battery { |
377 | stericsson,battery-type = "LIPO"; | |
378 | thermistor-on-batctrl; | |
379 | }; | |
380 | ||
381 | ab8500_fg { | |
382 | compatible = "stericsson,ab8500-fg"; | |
383 | battery = <&ab8500_battery>; | |
384 | }; | |
385 | ||
bd9e8ab2 R |
386 | ab8500_btemp { |
387 | compatible = "stericsson,ab8500-btemp"; | |
388 | battery = <&ab8500_battery>; | |
389 | }; | |
390 | ||
4aef72db R |
391 | ab8500_charger { |
392 | compatible = "stericsson,ab8500-charger"; | |
393 | battery = <&ab8500_battery>; | |
394 | vddadc-supply = <&ab8500_ldo_tvout_reg>; | |
395 | }; | |
396 | ||
a12810ab R |
397 | ab8500_chargalg { |
398 | compatible = "stericsson,ab8500-chargalg"; | |
399 | battery = <&ab8500_battery>; | |
400 | }; | |
401 | ||
e0f1abeb | 402 | ab8500_usb { |
ee189cef | 403 | compatible = "stericsson,ab8500-usb"; |
732973c8 LJ |
404 | interrupts = < 90 0x4 |
405 | 96 0x4 | |
406 | 14 0x4 | |
407 | 15 0x4 | |
408 | 79 0x4 | |
409 | 74 0x4 | |
410 | 75 0x4>; | |
ee189cef LJ |
411 | interrupt-names = "ID_WAKEUP_R", |
412 | "ID_WAKEUP_F", | |
413 | "VBUS_DET_F", | |
414 | "VBUS_DET_R", | |
415 | "USB_LINK_STATUS", | |
416 | "USB_ADP_PROBE_PLUG", | |
417 | "USB_ADP_PROBE_UNPLUG"; | |
99b38eef | 418 | vddulpivio18-supply = <&ab8500_ldo_intcore_reg>; |
ee189cef LJ |
419 | v-ape-supply = <&db8500_vape_reg>; |
420 | musb_1v8-supply = <&db8500_vsmps2_reg>; | |
421 | }; | |
422 | ||
12cb7bd4 | 423 | ab8500-ponkey { |
74630706 | 424 | compatible = "stericsson,ab8500-poweron-key"; |
732973c8 LJ |
425 | interrupts = <6 0x4 |
426 | 7 0x4>; | |
12cb7bd4 LJ |
427 | interrupt-names = "ONKEY_DBF", "ONKEY_DBR"; |
428 | }; | |
429 | ||
401cd1b8 LJ |
430 | ab8500-sysctrl { |
431 | compatible = "stericsson,ab8500-sysctrl"; | |
432 | }; | |
433 | ||
78451de7 LJ |
434 | ab8500-pwm { |
435 | compatible = "stericsson,ab8500-pwm"; | |
436 | }; | |
437 | ||
215891ec LJ |
438 | ab8500-debugfs { |
439 | compatible = "stericsson,ab8500-debug"; | |
440 | }; | |
4a85c7fa | 441 | |
9c06af30 LJ |
442 | codec: ab8500-codec { |
443 | compatible = "stericsson,ab8500-codec"; | |
444 | ||
445 | stericsson,earpeice-cmv = <950>; /* Units in mV. */ | |
446 | }; | |
447 | ||
4a85c7fa LJ |
448 | ab8500-regulators { |
449 | compatible = "stericsson,ab8500-regulator"; | |
450 | ||
451 | // supplies to the display/camera | |
452 | ab8500_ldo_aux1_reg: ab8500_ldo_aux1 { | |
da26848a | 453 | regulator-compatible = "ab8500_ldo_aux1"; |
4a85c7fa LJ |
454 | regulator-min-microvolt = <2500000>; |
455 | regulator-max-microvolt = <2900000>; | |
456 | regulator-boot-on; | |
457 | /* BUG: If turned off MMC will be affected. */ | |
458 | regulator-always-on; | |
459 | }; | |
460 | ||
461 | // supplies to the on-board eMMC | |
462 | ab8500_ldo_aux2_reg: ab8500_ldo_aux2 { | |
da26848a | 463 | regulator-compatible = "ab8500_ldo_aux2"; |
4a85c7fa LJ |
464 | regulator-min-microvolt = <1100000>; |
465 | regulator-max-microvolt = <3300000>; | |
466 | }; | |
467 | ||
468 | // supply for VAUX3; SDcard slots | |
469 | ab8500_ldo_aux3_reg: ab8500_ldo_aux3 { | |
da26848a | 470 | regulator-compatible = "ab8500_ldo_aux3"; |
4a85c7fa LJ |
471 | regulator-min-microvolt = <1100000>; |
472 | regulator-max-microvolt = <3300000>; | |
473 | }; | |
474 | ||
475 | // supply for v-intcore12; VINTCORE12 LDO | |
99b38eef FB |
476 | ab8500_ldo_intcore_reg: ab8500_ldo_intcore { |
477 | regulator-compatible = "ab8500_ldo_intcore"; | |
4a85c7fa LJ |
478 | }; |
479 | ||
480 | // supply for tvout; gpadc; TVOUT LDO | |
481 | ab8500_ldo_tvout_reg: ab8500_ldo_tvout { | |
da26848a | 482 | regulator-compatible = "ab8500_ldo_tvout"; |
4a85c7fa LJ |
483 | }; |
484 | ||
485 | // supply for ab8500-usb; USB LDO | |
486 | ab8500_ldo_usb_reg: ab8500_ldo_usb { | |
da26848a | 487 | regulator-compatible = "ab8500_ldo_usb"; |
4a85c7fa LJ |
488 | }; |
489 | ||
490 | // supply for ab8500-vaudio; VAUDIO LDO | |
491 | ab8500_ldo_audio_reg: ab8500_ldo_audio { | |
da26848a | 492 | regulator-compatible = "ab8500_ldo_audio"; |
4a85c7fa LJ |
493 | }; |
494 | ||
495 | // supply for v-anamic1 VAMic1-LDO | |
496 | ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 { | |
da26848a | 497 | regulator-compatible = "ab8500_ldo_anamic1"; |
4a85c7fa LJ |
498 | }; |
499 | ||
500 | // supply for v-amic2; VAMIC2 LDO; reuse constants for AMIC1 | |
501 | ab8500_ldo_amamic2_reg: ab8500_ldo_amamic2 { | |
da26848a | 502 | regulator-compatible = "ab8500_ldo_amamic2"; |
4a85c7fa LJ |
503 | }; |
504 | ||
505 | // supply for v-dmic; VDMIC LDO | |
506 | ab8500_ldo_dmic_reg: ab8500_ldo_dmic { | |
da26848a | 507 | regulator-compatible = "ab8500_ldo_dmic"; |
4a85c7fa LJ |
508 | }; |
509 | ||
510 | // supply for U8500 CSI/DSI; VANA LDO | |
511 | ab8500_ldo_ana_reg: ab8500_ldo_ana { | |
da26848a | 512 | regulator-compatible = "ab8500_ldo_ana"; |
4a85c7fa LJ |
513 | }; |
514 | }; | |
7e0ce270 LJ |
515 | }; |
516 | }; | |
517 | ||
518 | i2c@80004000 { | |
d524fa7f | 519 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
7e0ce270 LJ |
520 | reg = <0x80004000 0x1000>; |
521 | interrupts = <0 21 0x4>; | |
35b33d23 LJ |
522 | arm,primecell-periphid = <0x180024>; |
523 | ||
7e0ce270 LJ |
524 | #address-cells = <1>; |
525 | #size-cells = <0>; | |
d524fa7f LJ |
526 | v-i2c-supply = <&db8500_vape_reg>; |
527 | ||
528 | clock-frequency = <400000>; | |
7e0ce270 LJ |
529 | }; |
530 | ||
531 | i2c@80122000 { | |
d524fa7f | 532 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
7e0ce270 LJ |
533 | reg = <0x80122000 0x1000>; |
534 | interrupts = <0 22 0x4>; | |
35b33d23 LJ |
535 | arm,primecell-periphid = <0x180024>; |
536 | ||
7e0ce270 LJ |
537 | #address-cells = <1>; |
538 | #size-cells = <0>; | |
d524fa7f LJ |
539 | v-i2c-supply = <&db8500_vape_reg>; |
540 | ||
541 | clock-frequency = <400000>; | |
7e0ce270 LJ |
542 | }; |
543 | ||
544 | i2c@80128000 { | |
d524fa7f | 545 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
7e0ce270 LJ |
546 | reg = <0x80128000 0x1000>; |
547 | interrupts = <0 55 0x4>; | |
35b33d23 LJ |
548 | arm,primecell-periphid = <0x180024>; |
549 | ||
7e0ce270 LJ |
550 | #address-cells = <1>; |
551 | #size-cells = <0>; | |
d524fa7f LJ |
552 | v-i2c-supply = <&db8500_vape_reg>; |
553 | ||
554 | clock-frequency = <400000>; | |
7e0ce270 LJ |
555 | }; |
556 | ||
557 | i2c@80110000 { | |
d524fa7f | 558 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
7e0ce270 LJ |
559 | reg = <0x80110000 0x1000>; |
560 | interrupts = <0 12 0x4>; | |
35b33d23 LJ |
561 | arm,primecell-periphid = <0x180024>; |
562 | ||
7e0ce270 LJ |
563 | #address-cells = <1>; |
564 | #size-cells = <0>; | |
d524fa7f LJ |
565 | v-i2c-supply = <&db8500_vape_reg>; |
566 | ||
567 | clock-frequency = <400000>; | |
7e0ce270 LJ |
568 | }; |
569 | ||
570 | i2c@8012a000 { | |
d524fa7f | 571 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
7e0ce270 LJ |
572 | reg = <0x8012a000 0x1000>; |
573 | interrupts = <0 51 0x4>; | |
35b33d23 LJ |
574 | arm,primecell-periphid = <0x180024>; |
575 | ||
7e0ce270 LJ |
576 | #address-cells = <1>; |
577 | #size-cells = <0>; | |
d524fa7f LJ |
578 | v-i2c-supply = <&db8500_vape_reg>; |
579 | ||
580 | clock-frequency = <400000>; | |
7e0ce270 LJ |
581 | }; |
582 | ||
583 | ssp@80002000 { | |
584 | compatible = "arm,pl022", "arm,primecell"; | |
c164fa62 | 585 | reg = <0x80002000 0x1000>; |
7e0ce270 LJ |
586 | interrupts = <0 14 0x4>; |
587 | #address-cells = <1>; | |
588 | #size-cells = <0>; | |
589 | status = "disabled"; | |
15daf691 LJ |
590 | |
591 | // Add one of these for each child device | |
93b5698a LJ |
592 | cs-gpios = <&gpio0 31 0x4 &gpio4 14 0x4 &gpio4 16 0x4 |
593 | &gpio6 22 0x4 &gpio7 0 0x4>; | |
15daf691 | 594 | |
7e0ce270 LJ |
595 | }; |
596 | ||
597 | uart@80120000 { | |
598 | compatible = "arm,pl011", "arm,primecell"; | |
599 | reg = <0x80120000 0x1000>; | |
600 | interrupts = <0 11 0x4>; | |
fbff01cc LJ |
601 | |
602 | dmas = <&dma 13 0 0x2>, /* Logical - DevToMem */ | |
603 | <&dma 13 0 0x0>; /* Logical - MemToDev */ | |
604 | dma-names = "rx", "tx"; | |
605 | ||
7e0ce270 LJ |
606 | status = "disabled"; |
607 | }; | |
fbff01cc | 608 | |
7e0ce270 LJ |
609 | uart@80121000 { |
610 | compatible = "arm,pl011", "arm,primecell"; | |
611 | reg = <0x80121000 0x1000>; | |
612 | interrupts = <0 19 0x4>; | |
fbff01cc LJ |
613 | |
614 | dmas = <&dma 12 0 0x2>, /* Logical - DevToMem */ | |
615 | <&dma 12 0 0x0>; /* Logical - MemToDev */ | |
616 | dma-names = "rx", "tx"; | |
617 | ||
7e0ce270 LJ |
618 | status = "disabled"; |
619 | }; | |
fbff01cc | 620 | |
7e0ce270 LJ |
621 | uart@80007000 { |
622 | compatible = "arm,pl011", "arm,primecell"; | |
623 | reg = <0x80007000 0x1000>; | |
624 | interrupts = <0 26 0x4>; | |
fbff01cc LJ |
625 | |
626 | dmas = <&dma 11 0 0x2>, /* Logical - DevToMem */ | |
627 | <&dma 11 0 0x0>; /* Logical - MemToDev */ | |
628 | dma-names = "rx", "tx"; | |
629 | ||
7e0ce270 LJ |
630 | status = "disabled"; |
631 | }; | |
632 | ||
81bf8c2e | 633 | sdi0_per1@80126000 { |
7e0ce270 LJ |
634 | compatible = "arm,pl18x", "arm,primecell"; |
635 | reg = <0x80126000 0x1000>; | |
636 | interrupts = <0 60 0x4>; | |
498315b9 LJ |
637 | |
638 | dmas = <&dma 29 0 0x2>, /* Logical - DevToMem */ | |
639 | <&dma 29 0 0x0>; /* Logical - MemToDev */ | |
640 | dma-names = "rx", "tx"; | |
641 | ||
7e0ce270 LJ |
642 | status = "disabled"; |
643 | }; | |
76ff4e43 | 644 | |
81bf8c2e | 645 | sdi1_per2@80118000 { |
7e0ce270 LJ |
646 | compatible = "arm,pl18x", "arm,primecell"; |
647 | reg = <0x80118000 0x1000>; | |
648 | interrupts = <0 50 0x4>; | |
498315b9 LJ |
649 | |
650 | dmas = <&dma 32 0 0x2>, /* Logical - DevToMem */ | |
651 | <&dma 32 0 0x0>; /* Logical - MemToDev */ | |
652 | dma-names = "rx", "tx"; | |
653 | ||
7e0ce270 LJ |
654 | status = "disabled"; |
655 | }; | |
76ff4e43 | 656 | |
81bf8c2e | 657 | sdi2_per3@80005000 { |
7e0ce270 LJ |
658 | compatible = "arm,pl18x", "arm,primecell"; |
659 | reg = <0x80005000 0x1000>; | |
660 | interrupts = <0 41 0x4>; | |
498315b9 LJ |
661 | |
662 | dmas = <&dma 28 0 0x2>, /* Logical - DevToMem */ | |
663 | <&dma 28 0 0x0>; /* Logical - MemToDev */ | |
664 | dma-names = "rx", "tx"; | |
665 | ||
7e0ce270 LJ |
666 | status = "disabled"; |
667 | }; | |
76ff4e43 | 668 | |
81bf8c2e | 669 | sdi3_per2@80119000 { |
7e0ce270 LJ |
670 | compatible = "arm,pl18x", "arm,primecell"; |
671 | reg = <0x80119000 0x1000>; | |
672 | interrupts = <0 59 0x4>; | |
673 | status = "disabled"; | |
674 | }; | |
76ff4e43 | 675 | |
81bf8c2e | 676 | sdi4_per2@80114000 { |
7e0ce270 LJ |
677 | compatible = "arm,pl18x", "arm,primecell"; |
678 | reg = <0x80114000 0x1000>; | |
679 | interrupts = <0 99 0x4>; | |
498315b9 LJ |
680 | |
681 | dmas = <&dma 42 0 0x2>, /* Logical - DevToMem */ | |
682 | <&dma 42 0 0x0>; /* Logical - MemToDev */ | |
683 | dma-names = "rx", "tx"; | |
684 | ||
7e0ce270 LJ |
685 | status = "disabled"; |
686 | }; | |
76ff4e43 | 687 | |
81bf8c2e | 688 | sdi5_per3@80008000 { |
7e0ce270 | 689 | compatible = "arm,pl18x", "arm,primecell"; |
76ff4e43 | 690 | reg = <0x80008000 0x1000>; |
7e0ce270 LJ |
691 | interrupts = <0 100 0x4>; |
692 | status = "disabled"; | |
693 | }; | |
bf76e062 | 694 | |
fe164529 LJ |
695 | msp0: msp@80123000 { |
696 | compatible = "stericsson,ux500-msp-i2s"; | |
697 | reg = <0x80123000 0x1000>; | |
698 | interrupts = <0 31 0x4>; | |
699 | v-ape-supply = <&db8500_vape_reg>; | |
700 | status = "disabled"; | |
701 | }; | |
702 | ||
703 | msp1: msp@80124000 { | |
704 | compatible = "stericsson,ux500-msp-i2s"; | |
705 | reg = <0x80124000 0x1000>; | |
706 | interrupts = <0 62 0x4>; | |
707 | v-ape-supply = <&db8500_vape_reg>; | |
708 | status = "disabled"; | |
709 | }; | |
710 | ||
711 | // HDMI sound | |
712 | msp2: msp@80117000 { | |
713 | compatible = "stericsson,ux500-msp-i2s"; | |
714 | reg = <0x80117000 0x1000>; | |
715 | interrupts = <0 98 0x4>; | |
716 | v-ape-supply = <&db8500_vape_reg>; | |
717 | status = "disabled"; | |
718 | }; | |
719 | ||
720 | msp3: msp@80125000 { | |
721 | compatible = "stericsson,ux500-msp-i2s"; | |
722 | reg = <0x80125000 0x1000>; | |
723 | interrupts = <0 62 0x4>; | |
724 | v-ape-supply = <&db8500_vape_reg>; | |
725 | status = "disabled"; | |
726 | }; | |
727 | ||
bf76e062 LJ |
728 | external-bus@50000000 { |
729 | compatible = "simple-bus"; | |
730 | reg = <0x50000000 0x4000000>; | |
731 | #address-cells = <1>; | |
732 | #size-cells = <1>; | |
733 | ranges = <0 0x50000000 0x4000000>; | |
734 | status = "disabled"; | |
735 | }; | |
dc1956b5 | 736 | |
737 | cpufreq-cooling { | |
738 | compatible = "stericsson,db8500-cpufreq-cooling"; | |
739 | status = "disabled"; | |
740 | }; | |
741 | ||
0563f638 LJ |
742 | vmmci: regulator-gpio { |
743 | compatible = "regulator-gpio"; | |
744 | ||
745 | regulator-min-microvolt = <1800000>; | |
4f902b42 | 746 | regulator-max-microvolt = <2900000>; |
0563f638 LJ |
747 | regulator-name = "mmci-reg"; |
748 | regulator-type = "voltage"; | |
749 | ||
874c9202 | 750 | startup-delay-us = <100>; |
e7bda303 LJ |
751 | enable-active-high; |
752 | ||
0563f638 LJ |
753 | states = <1800000 0x1 |
754 | 2900000 0x0>; | |
c94a4ab7 LJ |
755 | |
756 | status = "disabled"; | |
0563f638 | 757 | }; |
5d0769f0 AB |
758 | }; |
759 | }; |