ARM: ux500: Apply ab8500-debug node do the db8500 DT structure
[deliverable/linux.git] / arch / arm / boot / dts / db8500.dtsi
CommitLineData
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/ {
15 soc-u9500 {
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
LJ
50 rtc@80154000 {
51 compatible = "stericsson,db8500-rtc";
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>;
7e0ce270
LJ
63 supports-sleepmode;
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>;
7e0ce270
LJ
76 supports-sleepmode;
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>;
7e0ce270
LJ
89 supports-sleepmode;
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>;
7e0ce270
LJ
102 supports-sleepmode;
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>;
7e0ce270
LJ
115 supports-sleepmode;
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>;
7e0ce270
LJ
128 supports-sleepmode;
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>;
7e0ce270
LJ
141 supports-sleepmode;
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>;
7e0ce270
LJ
154 supports-sleepmode;
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>;
7e0ce270
LJ
167 supports-sleepmode;
168 gpio-controller;
c0b133bd
LJ
169 #gpio-cells = <2>;
170 gpio-bank = <8>;
7e0ce270
LJ
171 };
172
5910de9e
LJ
173 pinctrl {
174 compatible = "stericsson,nmk_pinctrl";
175 };
176
7e0ce270
LJ
177 usb@a03e0000 {
178 compatible = "stericsson,db8500-musb",
179 "mentor,musb";
180 reg = <0xa03e0000 0x10000>;
181 interrupts = <0 23 0x4>;
182 };
183
184 dma-controller@801C0000 {
185 compatible = "stericsson,db8500-dma40",
186 "stericsson,dma40";
187 reg = <0x801C0000 0x1000 0x40010000 0x800>;
188 interrupts = <0 25 0x4>;
189 };
190
191 prcmu@80157000 {
192 compatible = "stericsson,db8500-prcmu";
193 reg = <0x80157000 0x1000>;
ccf74f76 194 interrupts = <0 47 0x4>;
7e0ce270 195 #address-cells = <1>;
3de3d749
LJ
196 #size-cells = <1>;
197 ranges;
198
ccf74f76 199 prcmu-timer-4@80157450 {
3de3d749
LJ
200 compatible = "stericsson,db8500-prcmu-timer-4";
201 reg = <0x80157450 0xC>;
202 };
7e0ce270 203
e5999f28
LJ
204 db8500-prcmu-regulators {
205 compatible = "stericsson,db8500-prcmu-regulator";
206
207 // DB8500_REGULATOR_VAPE
208 db8500_vape_reg: db8500_vape {
209 regulator-name = "db8500-vape";
210 regulator-always-on;
211 };
212
213 // DB8500_REGULATOR_VARM
214 db8500_varm_reg: db8500_varm {
215 regulator-name = "db8500-varm";
216 };
217
218 // DB8500_REGULATOR_VMODEM
219 db8500_vmodem_reg: db8500_vmodem {
220 regulator-name = "db8500-vmodem";
221 };
222
223 // DB8500_REGULATOR_VPLL
224 db8500_vpll_reg: db8500_vpll {
225 regulator-name = "db8500-vpll";
226 };
227
228 // DB8500_REGULATOR_VSMPS1
229 db8500_vsmps1_reg: db8500_vsmps1 {
230 regulator-name = "db8500-vsmps1";
231 };
232
233 // DB8500_REGULATOR_VSMPS2
234 db8500_vsmps2_reg: db8500_vsmps2 {
235 regulator-name = "db8500-vsmps2";
236 };
237
238 // DB8500_REGULATOR_VSMPS3
239 db8500_vsmps3_reg: db8500_vsmps3 {
240 regulator-name = "db8500-vsmps3";
241 };
242
243 // DB8500_REGULATOR_VRF1
244 db8500_vrf1_reg: db8500_vrf1 {
245 regulator-name = "db8500-vrf1";
246 };
247
248 // DB8500_REGULATOR_SWITCH_SVAMMDSP
249 db8500_sva_mmdsp_reg: db8500_sva_mmdsp {
250 regulator-name = "db8500-sva-mmdsp";
251 };
252
253 // DB8500_REGULATOR_SWITCH_SVAMMDSPRET
254 db8500_sva_mmdsp_ret_reg: db8500_sva_mmdsp_ret {
255 regulator-name = "db8500-sva-mmdsp-ret";
256 };
257
258 // DB8500_REGULATOR_SWITCH_SVAPIPE
259 db8500_sva_pipe_reg: db8500_sva_pipe {
260 regulator-name = "db8500_sva_pipe";
261 };
262
263 // DB8500_REGULATOR_SWITCH_SIAMMDSP
264 db8500_sia_mmdsp_reg: db8500_sia_mmdsp {
265 regulator-name = "db8500_sia_mmdsp";
266 };
267
268 // DB8500_REGULATOR_SWITCH_SIAMMDSPRET
269 db8500_sia_mmdsp_ret_reg: db8500_sia_mmdsp_ret {
270 regulator-name = "db8500-sia-mmdsp-ret";
271 };
272
273 // DB8500_REGULATOR_SWITCH_SIAPIPE
274 db8500_sia_pipe_reg: db8500_sia_pipe {
275 regulator-name = "db8500-sia-pipe";
276 };
277
278 // DB8500_REGULATOR_SWITCH_SGA
279 db8500_sga_reg: db8500_sga {
280 regulator-name = "db8500-sga";
281 vin-supply = <&db8500_vape_reg>;
282 };
283
284 // DB8500_REGULATOR_SWITCH_B2R2_MCDE
285 db8500_b2r2_mcde_reg: db8500_b2r2_mcde {
286 regulator-name = "db8500-b2r2-mcde";
287 vin-supply = <&db8500_vape_reg>;
288 };
289
290 // DB8500_REGULATOR_SWITCH_ESRAM12
291 db8500_esram12_reg: db8500_esram12 {
292 regulator-name = "db8500-esram12";
293 };
294
295 // DB8500_REGULATOR_SWITCH_ESRAM12RET
296 db8500_esram12_ret_reg: db8500_esram12_ret {
297 regulator-name = "db8500-esram12-ret";
298 };
299
300 // DB8500_REGULATOR_SWITCH_ESRAM34
301 db8500_esram34_reg: db8500_esram34 {
302 regulator-name = "db8500-esram34";
303 };
304
305 // DB8500_REGULATOR_SWITCH_ESRAM34RET
306 db8500_esram34_ret_reg: db8500_esram34_ret {
307 regulator-name = "db8500-esram34-ret";
308 };
309 };
310
7e0ce270
LJ
311 ab8500@5 {
312 compatible = "stericsson,ab8500";
313 reg = <5>; /* mailbox 5 is i2c */
314 interrupts = <0 40 0x4>;
4a85c7fa 315
4eda9129
LJ
316 ab8500-gpadc {
317 compatible = "stericsson,ab8500-gpadc";
318 interrupts = <0 32 0x4
319 0 39 0x4>;
320 interrupt-names = "HW_CONV_END", "SW_CONV_END";
321 vddadc-supply = <&ab8500_ldo_tvout_reg>;
322 };
323
ee189cef
LJ
324 ab8500-usb {
325 compatible = "stericsson,ab8500-usb";
326 interrupts = < 0 90 0x4
327 0 96 0x4
328 0 14 0x4
329 0 15 0x4
330 0 79 0x4
331 0 74 0x4
332 0 75 0x4>;
333 interrupt-names = "ID_WAKEUP_R",
334 "ID_WAKEUP_F",
335 "VBUS_DET_F",
336 "VBUS_DET_R",
337 "USB_LINK_STATUS",
338 "USB_ADP_PROBE_PLUG",
339 "USB_ADP_PROBE_UNPLUG";
340 vddulpivio18-supply = <&ab8500_ldo_initcore_reg>;
341 v-ape-supply = <&db8500_vape_reg>;
342 musb_1v8-supply = <&db8500_vsmps2_reg>;
343 };
344
12cb7bd4
LJ
345 ab8500-ponkey {
346 compatible = "stericsson,ab8500-ponkey";
347 interrupts = <0 6 0x4
348 0 7 0x4>;
349 interrupt-names = "ONKEY_DBF", "ONKEY_DBR";
350 };
351
401cd1b8
LJ
352 ab8500-sysctrl {
353 compatible = "stericsson,ab8500-sysctrl";
354 };
355
78451de7
LJ
356 ab8500-pwm {
357 compatible = "stericsson,ab8500-pwm";
358 };
359
215891ec
LJ
360 ab8500-debugfs {
361 compatible = "stericsson,ab8500-debug";
362 };
363
4a85c7fa
LJ
364 ab8500-regulators {
365 compatible = "stericsson,ab8500-regulator";
366
367 // supplies to the display/camera
368 ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
369 regulator-name = "V-DISPLAY";
370 regulator-min-microvolt = <2500000>;
371 regulator-max-microvolt = <2900000>;
372 regulator-boot-on;
373 /* BUG: If turned off MMC will be affected. */
374 regulator-always-on;
375 };
376
377 // supplies to the on-board eMMC
378 ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
379 regulator-name = "V-eMMC1";
380 regulator-min-microvolt = <1100000>;
381 regulator-max-microvolt = <3300000>;
382 };
383
384 // supply for VAUX3; SDcard slots
385 ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
386 regulator-name = "V-MMC-SD";
387 regulator-min-microvolt = <1100000>;
388 regulator-max-microvolt = <3300000>;
389 };
390
391 // supply for v-intcore12; VINTCORE12 LDO
392 ab8500_ldo_initcore_reg: ab8500_ldo_initcore {
393 regulator-name = "V-INTCORE";
394 };
395
396 // supply for tvout; gpadc; TVOUT LDO
397 ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
398 regulator-name = "V-TVOUT";
399 };
400
401 // supply for ab8500-usb; USB LDO
402 ab8500_ldo_usb_reg: ab8500_ldo_usb {
403 regulator-name = "dummy";
404 };
405
406 // supply for ab8500-vaudio; VAUDIO LDO
407 ab8500_ldo_audio_reg: ab8500_ldo_audio {
408 regulator-name = "V-AUD";
409 };
410
411 // supply for v-anamic1 VAMic1-LDO
412 ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
413 regulator-name = "V-AMIC1";
414 };
415
416 // supply for v-amic2; VAMIC2 LDO; reuse constants for AMIC1
417 ab8500_ldo_amamic2_reg: ab8500_ldo_amamic2 {
418 regulator-name = "V-AMIC2";
419 };
420
421 // supply for v-dmic; VDMIC LDO
422 ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
423 regulator-name = "V-DMIC";
424 };
425
426 // supply for U8500 CSI/DSI; VANA LDO
427 ab8500_ldo_ana_reg: ab8500_ldo_ana {
428 regulator-name = "V-CSI/DSI";
429 };
430 };
7e0ce270
LJ
431 };
432 };
433
434 i2c@80004000 {
785834a1 435 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c";
7e0ce270
LJ
436 reg = <0x80004000 0x1000>;
437 interrupts = <0 21 0x4>;
438 #address-cells = <1>;
439 #size-cells = <0>;
440 };
441
442 i2c@80122000 {
785834a1 443 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c";
7e0ce270
LJ
444 reg = <0x80122000 0x1000>;
445 interrupts = <0 22 0x4>;
446 #address-cells = <1>;
447 #size-cells = <0>;
448 };
449
450 i2c@80128000 {
785834a1 451 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c";
7e0ce270
LJ
452 reg = <0x80128000 0x1000>;
453 interrupts = <0 55 0x4>;
454 #address-cells = <1>;
455 #size-cells = <0>;
456 };
457
458 i2c@80110000 {
785834a1 459 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c";
7e0ce270
LJ
460 reg = <0x80110000 0x1000>;
461 interrupts = <0 12 0x4>;
462 #address-cells = <1>;
463 #size-cells = <0>;
464 };
465
466 i2c@8012a000 {
785834a1 467 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c";
7e0ce270
LJ
468 reg = <0x8012a000 0x1000>;
469 interrupts = <0 51 0x4>;
470 #address-cells = <1>;
471 #size-cells = <0>;
472 };
473
474 ssp@80002000 {
475 compatible = "arm,pl022", "arm,primecell";
476 reg = <80002000 0x1000>;
477 interrupts = <0 14 0x4>;
478 #address-cells = <1>;
479 #size-cells = <0>;
480 status = "disabled";
15daf691
LJ
481
482 // Add one of these for each child device
93b5698a
LJ
483 cs-gpios = <&gpio0 31 0x4 &gpio4 14 0x4 &gpio4 16 0x4
484 &gpio6 22 0x4 &gpio7 0 0x4>;
15daf691 485
7e0ce270
LJ
486 };
487
488 uart@80120000 {
489 compatible = "arm,pl011", "arm,primecell";
490 reg = <0x80120000 0x1000>;
491 interrupts = <0 11 0x4>;
492 status = "disabled";
493 };
494 uart@80121000 {
495 compatible = "arm,pl011", "arm,primecell";
496 reg = <0x80121000 0x1000>;
497 interrupts = <0 19 0x4>;
498 status = "disabled";
499 };
500 uart@80007000 {
501 compatible = "arm,pl011", "arm,primecell";
502 reg = <0x80007000 0x1000>;
503 interrupts = <0 26 0x4>;
504 status = "disabled";
505 };
506
507 sdi@80126000 {
508 compatible = "arm,pl18x", "arm,primecell";
509 reg = <0x80126000 0x1000>;
510 interrupts = <0 60 0x4>;
511 status = "disabled";
512 };
513 sdi@80118000 {
514 compatible = "arm,pl18x", "arm,primecell";
515 reg = <0x80118000 0x1000>;
516 interrupts = <0 50 0x4>;
517 status = "disabled";
518 };
519 sdi@80005000 {
520 compatible = "arm,pl18x", "arm,primecell";
521 reg = <0x80005000 0x1000>;
522 interrupts = <0 41 0x4>;
523 status = "disabled";
524 };
525 sdi@80119000 {
526 compatible = "arm,pl18x", "arm,primecell";
527 reg = <0x80119000 0x1000>;
528 interrupts = <0 59 0x4>;
529 status = "disabled";
530 };
531 sdi@80114000 {
532 compatible = "arm,pl18x", "arm,primecell";
533 reg = <0x80114000 0x1000>;
534 interrupts = <0 99 0x4>;
535 status = "disabled";
536 };
537 sdi@80008000 {
538 compatible = "arm,pl18x", "arm,primecell";
539 reg = <0x80114000 0x1000>;
540 interrupts = <0 100 0x4>;
541 status = "disabled";
542 };
bf76e062
LJ
543
544 external-bus@50000000 {
545 compatible = "simple-bus";
546 reg = <0x50000000 0x4000000>;
547 #address-cells = <1>;
548 #size-cells = <1>;
549 ranges = <0 0x50000000 0x4000000>;
550 status = "disabled";
551 };
5d0769f0
AB
552 };
553};
This page took 0.064985 seconds and 5 git commands to generate.