ARM: dts: MSM8064 remove flags from SPMI/MPP IRQs
[deliverable/linux.git] / arch / arm / boot / dts / qcom-apq8064.dtsi
1 /dts-v1/;
2
3 #include "skeleton.dtsi"
4 #include <dt-bindings/clock/qcom,gcc-msm8960.h>
5 #include <dt-bindings/reset/qcom,gcc-msm8960.h>
6 #include <dt-bindings/clock/qcom,mmcc-msm8960.h>
7 #include <dt-bindings/soc/qcom,gsbi.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 / {
11 model = "Qualcomm APQ8064";
12 compatible = "qcom,apq8064";
13 interrupt-parent = <&intc>;
14
15 reserved-memory {
16 #address-cells = <1>;
17 #size-cells = <1>;
18 ranges;
19
20 smem_region: smem@80000000 {
21 reg = <0x80000000 0x200000>;
22 no-map;
23 };
24 };
25
26 cpus {
27 #address-cells = <1>;
28 #size-cells = <0>;
29
30 cpu@0 {
31 compatible = "qcom,krait";
32 enable-method = "qcom,kpss-acc-v1";
33 device_type = "cpu";
34 reg = <0>;
35 next-level-cache = <&L2>;
36 qcom,acc = <&acc0>;
37 qcom,saw = <&saw0>;
38 cpu-idle-states = <&CPU_SPC>;
39 };
40
41 cpu@1 {
42 compatible = "qcom,krait";
43 enable-method = "qcom,kpss-acc-v1";
44 device_type = "cpu";
45 reg = <1>;
46 next-level-cache = <&L2>;
47 qcom,acc = <&acc1>;
48 qcom,saw = <&saw1>;
49 cpu-idle-states = <&CPU_SPC>;
50 };
51
52 cpu@2 {
53 compatible = "qcom,krait";
54 enable-method = "qcom,kpss-acc-v1";
55 device_type = "cpu";
56 reg = <2>;
57 next-level-cache = <&L2>;
58 qcom,acc = <&acc2>;
59 qcom,saw = <&saw2>;
60 cpu-idle-states = <&CPU_SPC>;
61 };
62
63 cpu@3 {
64 compatible = "qcom,krait";
65 enable-method = "qcom,kpss-acc-v1";
66 device_type = "cpu";
67 reg = <3>;
68 next-level-cache = <&L2>;
69 qcom,acc = <&acc3>;
70 qcom,saw = <&saw3>;
71 cpu-idle-states = <&CPU_SPC>;
72 };
73
74 L2: l2-cache {
75 compatible = "cache";
76 cache-level = <2>;
77 };
78
79 idle-states {
80 CPU_SPC: spc {
81 compatible = "qcom,idle-state-spc",
82 "arm,idle-state";
83 entry-latency-us = <400>;
84 exit-latency-us = <900>;
85 min-residency-us = <3000>;
86 };
87 };
88 };
89
90 cpu-pmu {
91 compatible = "qcom,krait-pmu";
92 interrupts = <1 10 0x304>;
93 };
94
95 clocks {
96 cxo_board {
97 compatible = "fixed-clock";
98 #clock-cells = <0>;
99 clock-frequency = <19200000>;
100 };
101
102 pxo_board {
103 compatible = "fixed-clock";
104 #clock-cells = <0>;
105 clock-frequency = <27000000>;
106 };
107
108 sleep_clk {
109 compatible = "fixed-clock";
110 #clock-cells = <0>;
111 clock-frequency = <32768>;
112 };
113 };
114
115 sfpb_mutex: hwmutex {
116 compatible = "qcom,sfpb-mutex";
117 syscon = <&sfpb_wrapper_mutex 0x604 0x4>;
118 #hwlock-cells = <1>;
119 };
120
121 smem {
122 compatible = "qcom,smem";
123 memory-region = <&smem_region>;
124
125 hwlocks = <&sfpb_mutex 3>;
126 };
127
128 smd {
129 compatible = "qcom,smd";
130
131 modem@0 {
132 interrupts = <0 37 IRQ_TYPE_EDGE_RISING>;
133
134 qcom,ipc = <&l2cc 8 3>;
135 qcom,smd-edge = <0>;
136
137 status = "disabled";
138 };
139
140 q6@1 {
141 interrupts = <0 90 IRQ_TYPE_EDGE_RISING>;
142
143 qcom,ipc = <&l2cc 8 15>;
144 qcom,smd-edge = <1>;
145
146 status = "disabled";
147 };
148
149 dsps@3 {
150 interrupts = <0 138 IRQ_TYPE_EDGE_RISING>;
151
152 qcom,ipc = <&sps_sic_non_secure 0x4080 0>;
153 qcom,smd-edge = <3>;
154
155 status = "disabled";
156 };
157
158 riva@6 {
159 interrupts = <0 198 IRQ_TYPE_EDGE_RISING>;
160
161 qcom,ipc = <&l2cc 8 25>;
162 qcom,smd-edge = <6>;
163
164 status = "disabled";
165 };
166 };
167
168 smsm {
169 compatible = "qcom,smsm";
170
171 #address-cells = <1>;
172 #size-cells = <0>;
173
174 qcom,ipc-1 = <&l2cc 8 4>;
175 qcom,ipc-2 = <&l2cc 8 14>;
176 qcom,ipc-3 = <&l2cc 8 23>;
177 qcom,ipc-4 = <&sps_sic_non_secure 0x4094 0>;
178
179 apps_smsm: apps@0 {
180 reg = <0>;
181 #qcom,smem-state-cells = <1>;
182 };
183
184 modem_smsm: modem@1 {
185 reg = <1>;
186 interrupts = <0 38 IRQ_TYPE_EDGE_RISING>;
187
188 interrupt-controller;
189 #interrupt-cells = <2>;
190 };
191
192 q6_smsm: q6@2 {
193 reg = <2>;
194 interrupts = <0 89 IRQ_TYPE_EDGE_RISING>;
195
196 interrupt-controller;
197 #interrupt-cells = <2>;
198 };
199
200 wcnss_smsm: wcnss@3 {
201 reg = <3>;
202 interrupts = <0 204 IRQ_TYPE_EDGE_RISING>;
203
204 interrupt-controller;
205 #interrupt-cells = <2>;
206 };
207
208 dsps_smsm: dsps@4 {
209 reg = <4>;
210 interrupts = <0 137 IRQ_TYPE_EDGE_RISING>;
211
212 interrupt-controller;
213 #interrupt-cells = <2>;
214 };
215 };
216
217 firmware {
218 scm {
219 compatible = "qcom,scm-apq8064";
220 };
221 };
222
223 soc: soc {
224 #address-cells = <1>;
225 #size-cells = <1>;
226 ranges;
227 compatible = "simple-bus";
228
229 tlmm_pinmux: pinctrl@800000 {
230 compatible = "qcom,apq8064-pinctrl";
231 reg = <0x800000 0x4000>;
232
233 gpio-controller;
234 #gpio-cells = <2>;
235 interrupt-controller;
236 #interrupt-cells = <2>;
237 interrupts = <0 16 IRQ_TYPE_LEVEL_HIGH>;
238
239 pinctrl-names = "default";
240 pinctrl-0 = <&ps_hold>;
241 };
242
243 sfpb_wrapper_mutex: syscon@1200000 {
244 compatible = "syscon";
245 reg = <0x01200000 0x8000>;
246 };
247
248 intc: interrupt-controller@2000000 {
249 compatible = "qcom,msm-qgic2";
250 interrupt-controller;
251 #interrupt-cells = <3>;
252 reg = <0x02000000 0x1000>,
253 <0x02002000 0x1000>;
254 };
255
256 timer@200a000 {
257 compatible = "qcom,kpss-timer",
258 "qcom,kpss-wdt-apq8064", "qcom,msm-timer";
259 interrupts = <1 1 0x301>,
260 <1 2 0x301>,
261 <1 3 0x301>;
262 reg = <0x0200a000 0x100>;
263 clock-frequency = <27000000>,
264 <32768>;
265 cpu-offset = <0x80000>;
266 };
267
268 acc0: clock-controller@2088000 {
269 compatible = "qcom,kpss-acc-v1";
270 reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
271 };
272
273 acc1: clock-controller@2098000 {
274 compatible = "qcom,kpss-acc-v1";
275 reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
276 };
277
278 acc2: clock-controller@20a8000 {
279 compatible = "qcom,kpss-acc-v1";
280 reg = <0x020a8000 0x1000>, <0x02008000 0x1000>;
281 };
282
283 acc3: clock-controller@20b8000 {
284 compatible = "qcom,kpss-acc-v1";
285 reg = <0x020b8000 0x1000>, <0x02008000 0x1000>;
286 };
287
288 saw0: power-controller@2089000 {
289 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
290 reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
291 regulator;
292 };
293
294 saw1: power-controller@2099000 {
295 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
296 reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
297 regulator;
298 };
299
300 saw2: power-controller@20a9000 {
301 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
302 reg = <0x020a9000 0x1000>, <0x02009000 0x1000>;
303 regulator;
304 };
305
306 saw3: power-controller@20b9000 {
307 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
308 reg = <0x020b9000 0x1000>, <0x02009000 0x1000>;
309 regulator;
310 };
311
312 sps_sic_non_secure: sps-sic-non-secure@12100000 {
313 compatible = "syscon";
314 reg = <0x12100000 0x10000>;
315 };
316
317 gsbi1: gsbi@12440000 {
318 status = "disabled";
319 compatible = "qcom,gsbi-v1.0.0";
320 cell-index = <1>;
321 reg = <0x12440000 0x100>;
322 clocks = <&gcc GSBI1_H_CLK>;
323 clock-names = "iface";
324 #address-cells = <1>;
325 #size-cells = <1>;
326 ranges;
327
328 syscon-tcsr = <&tcsr>;
329
330 gsbi1_serial: serial@12450000 {
331 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
332 reg = <0x12450000 0x100>,
333 <0x12400000 0x03>;
334 interrupts = <0 193 0x0>;
335 clocks = <&gcc GSBI1_UART_CLK>, <&gcc GSBI1_H_CLK>;
336 clock-names = "core", "iface";
337 status = "disabled";
338 };
339
340 gsbi1_i2c: i2c@12460000 {
341 compatible = "qcom,i2c-qup-v1.1.1";
342 pinctrl-0 = <&i2c1_pins>;
343 pinctrl-1 = <&i2c1_pins_sleep>;
344 pinctrl-names = "default", "sleep";
345 reg = <0x12460000 0x1000>;
346 interrupts = <0 194 IRQ_TYPE_NONE>;
347 clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
348 clock-names = "core", "iface";
349 #address-cells = <1>;
350 #size-cells = <0>;
351 };
352
353 };
354
355 gsbi2: gsbi@12480000 {
356 status = "disabled";
357 compatible = "qcom,gsbi-v1.0.0";
358 cell-index = <2>;
359 reg = <0x12480000 0x100>;
360 clocks = <&gcc GSBI2_H_CLK>;
361 clock-names = "iface";
362 #address-cells = <1>;
363 #size-cells = <1>;
364 ranges;
365
366 syscon-tcsr = <&tcsr>;
367
368 gsbi2_i2c: i2c@124a0000 {
369 compatible = "qcom,i2c-qup-v1.1.1";
370 reg = <0x124a0000 0x1000>;
371 pinctrl-0 = <&i2c2_pins>;
372 pinctrl-1 = <&i2c2_pins_sleep>;
373 pinctrl-names = "default", "sleep";
374 interrupts = <0 196 IRQ_TYPE_NONE>;
375 clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>;
376 clock-names = "core", "iface";
377 #address-cells = <1>;
378 #size-cells = <0>;
379 };
380 };
381
382 gsbi3: gsbi@16200000 {
383 status = "disabled";
384 compatible = "qcom,gsbi-v1.0.0";
385 cell-index = <3>;
386 reg = <0x16200000 0x100>;
387 clocks = <&gcc GSBI3_H_CLK>;
388 clock-names = "iface";
389 #address-cells = <1>;
390 #size-cells = <1>;
391 ranges;
392 gsbi3_i2c: i2c@16280000 {
393 compatible = "qcom,i2c-qup-v1.1.1";
394 pinctrl-0 = <&i2c3_pins>;
395 pinctrl-1 = <&i2c3_pins_sleep>;
396 pinctrl-names = "default", "sleep";
397 reg = <0x16280000 0x1000>;
398 interrupts = <GIC_SPI 151 IRQ_TYPE_NONE>;
399 clocks = <&gcc GSBI3_QUP_CLK>,
400 <&gcc GSBI3_H_CLK>;
401 clock-names = "core", "iface";
402 #address-cells = <1>;
403 #size-cells = <0>;
404 };
405 };
406
407 gsbi4: gsbi@16300000 {
408 status = "disabled";
409 compatible = "qcom,gsbi-v1.0.0";
410 cell-index = <4>;
411 reg = <0x16300000 0x03>;
412 clocks = <&gcc GSBI4_H_CLK>;
413 clock-names = "iface";
414 #address-cells = <1>;
415 #size-cells = <1>;
416 ranges;
417
418 gsbi4_i2c: i2c@16380000 {
419 compatible = "qcom,i2c-qup-v1.1.1";
420 pinctrl-0 = <&i2c4_pins>;
421 pinctrl-1 = <&i2c4_pins_sleep>;
422 pinctrl-names = "default", "sleep";
423 reg = <0x16380000 0x1000>;
424 interrupts = <GIC_SPI 153 IRQ_TYPE_NONE>;
425 clocks = <&gcc GSBI4_QUP_CLK>,
426 <&gcc GSBI4_H_CLK>;
427 clock-names = "core", "iface";
428 };
429 };
430
431 gsbi5: gsbi@1a200000 {
432 status = "disabled";
433 compatible = "qcom,gsbi-v1.0.0";
434 cell-index = <5>;
435 reg = <0x1a200000 0x03>;
436 clocks = <&gcc GSBI5_H_CLK>;
437 clock-names = "iface";
438 #address-cells = <1>;
439 #size-cells = <1>;
440 ranges;
441
442 gsbi5_serial: serial@1a240000 {
443 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
444 reg = <0x1a240000 0x100>,
445 <0x1a200000 0x03>;
446 interrupts = <0 154 0x0>;
447 clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
448 clock-names = "core", "iface";
449 status = "disabled";
450 };
451
452 gsbi5_spi: spi@1a280000 {
453 compatible = "qcom,spi-qup-v1.1.1";
454 reg = <0x1a280000 0x1000>;
455 interrupts = <0 155 0>;
456 pinctrl-0 = <&spi5_default>;
457 pinctrl-1 = <&spi5_sleep>;
458 pinctrl-names = "default", "sleep";
459 clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>;
460 clock-names = "core", "iface";
461 status = "disabled";
462 #address-cells = <1>;
463 #size-cells = <0>;
464 };
465 };
466
467 gsbi6: gsbi@16500000 {
468 status = "disabled";
469 compatible = "qcom,gsbi-v1.0.0";
470 cell-index = <6>;
471 reg = <0x16500000 0x03>;
472 clocks = <&gcc GSBI6_H_CLK>;
473 clock-names = "iface";
474 #address-cells = <1>;
475 #size-cells = <1>;
476 ranges;
477
478 gsbi6_serial: serial@16540000 {
479 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
480 reg = <0x16540000 0x100>,
481 <0x16500000 0x03>;
482 interrupts = <0 156 0x0>;
483 clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
484 clock-names = "core", "iface";
485 status = "disabled";
486 };
487
488 gsbi6_i2c: i2c@16580000 {
489 compatible = "qcom,i2c-qup-v1.1.1";
490 pinctrl-0 = <&i2c6_pins>;
491 pinctrl-1 = <&i2c6_pins_sleep>;
492 pinctrl-names = "default", "sleep";
493 reg = <0x16580000 0x1000>;
494 interrupts = <GIC_SPI 157 IRQ_TYPE_NONE>;
495 clocks = <&gcc GSBI6_QUP_CLK>,
496 <&gcc GSBI6_H_CLK>;
497 clock-names = "core", "iface";
498 };
499 };
500
501 gsbi7: gsbi@16600000 {
502 status = "disabled";
503 compatible = "qcom,gsbi-v1.0.0";
504 cell-index = <7>;
505 reg = <0x16600000 0x100>;
506 clocks = <&gcc GSBI7_H_CLK>;
507 clock-names = "iface";
508 #address-cells = <1>;
509 #size-cells = <1>;
510 ranges;
511 syscon-tcsr = <&tcsr>;
512
513 gsbi7_serial: serial@16640000 {
514 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
515 reg = <0x16640000 0x1000>,
516 <0x16600000 0x1000>;
517 interrupts = <0 158 0x0>;
518 clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
519 clock-names = "core", "iface";
520 status = "disabled";
521 };
522
523 gsbi7_i2c: i2c@16680000 {
524 compatible = "qcom,i2c-qup-v1.1.1";
525 pinctrl-0 = <&i2c7_pins>;
526 pinctrl-1 = <&i2c7_pins_sleep>;
527 pinctrl-names = "default", "sleep";
528 reg = <0x16680000 0x1000>;
529 interrupts = <GIC_SPI 159 IRQ_TYPE_NONE>;
530 clocks = <&gcc GSBI7_QUP_CLK>,
531 <&gcc GSBI7_H_CLK>;
532 clock-names = "core", "iface";
533 status = "disabled";
534 };
535 };
536
537 rng@1a500000 {
538 compatible = "qcom,prng";
539 reg = <0x1a500000 0x200>;
540 clocks = <&gcc PRNG_CLK>;
541 clock-names = "core";
542 };
543
544 qcom,ssbi@500000 {
545 compatible = "qcom,ssbi";
546 reg = <0x00500000 0x1000>;
547 qcom,controller-type = "pmic-arbiter";
548
549 pmicintc: pmic@0 {
550 compatible = "qcom,pm8921";
551 interrupt-parent = <&tlmm_pinmux>;
552 interrupts = <74 8>;
553 #interrupt-cells = <2>;
554 interrupt-controller;
555 #address-cells = <1>;
556 #size-cells = <0>;
557
558 pm8921_gpio: gpio@150 {
559
560 compatible = "qcom,pm8921-gpio",
561 "qcom,ssbi-gpio";
562 reg = <0x150>;
563 interrupts = <192 IRQ_TYPE_NONE>,
564 <193 IRQ_TYPE_NONE>,
565 <194 IRQ_TYPE_NONE>,
566 <195 IRQ_TYPE_NONE>,
567 <196 IRQ_TYPE_NONE>,
568 <197 IRQ_TYPE_NONE>,
569 <198 IRQ_TYPE_NONE>,
570 <199 IRQ_TYPE_NONE>,
571 <200 IRQ_TYPE_NONE>,
572 <201 IRQ_TYPE_NONE>,
573 <202 IRQ_TYPE_NONE>,
574 <203 IRQ_TYPE_NONE>,
575 <204 IRQ_TYPE_NONE>,
576 <205 IRQ_TYPE_NONE>,
577 <206 IRQ_TYPE_NONE>,
578 <207 IRQ_TYPE_NONE>,
579 <208 IRQ_TYPE_NONE>,
580 <209 IRQ_TYPE_NONE>,
581 <210 IRQ_TYPE_NONE>,
582 <211 IRQ_TYPE_NONE>,
583 <212 IRQ_TYPE_NONE>,
584 <213 IRQ_TYPE_NONE>,
585 <214 IRQ_TYPE_NONE>,
586 <215 IRQ_TYPE_NONE>,
587 <216 IRQ_TYPE_NONE>,
588 <217 IRQ_TYPE_NONE>,
589 <218 IRQ_TYPE_NONE>,
590 <219 IRQ_TYPE_NONE>,
591 <220 IRQ_TYPE_NONE>,
592 <221 IRQ_TYPE_NONE>,
593 <222 IRQ_TYPE_NONE>,
594 <223 IRQ_TYPE_NONE>,
595 <224 IRQ_TYPE_NONE>,
596 <225 IRQ_TYPE_NONE>,
597 <226 IRQ_TYPE_NONE>,
598 <227 IRQ_TYPE_NONE>,
599 <228 IRQ_TYPE_NONE>,
600 <229 IRQ_TYPE_NONE>,
601 <230 IRQ_TYPE_NONE>,
602 <231 IRQ_TYPE_NONE>,
603 <232 IRQ_TYPE_NONE>,
604 <233 IRQ_TYPE_NONE>,
605 <234 IRQ_TYPE_NONE>,
606 <235 IRQ_TYPE_NONE>;
607 gpio-controller;
608 #gpio-cells = <2>;
609
610 };
611
612 pm8921_mpps: mpps@50 {
613 compatible = "qcom,pm8921-mpp",
614 "qcom,ssbi-mpp";
615 reg = <0x50>;
616 gpio-controller;
617 #gpio-cells = <2>;
618 interrupts =
619 <128 IRQ_TYPE_NONE>,
620 <129 IRQ_TYPE_NONE>,
621 <130 IRQ_TYPE_NONE>,
622 <131 IRQ_TYPE_NONE>,
623 <132 IRQ_TYPE_NONE>,
624 <133 IRQ_TYPE_NONE>,
625 <134 IRQ_TYPE_NONE>,
626 <135 IRQ_TYPE_NONE>,
627 <136 IRQ_TYPE_NONE>,
628 <137 IRQ_TYPE_NONE>,
629 <138 IRQ_TYPE_NONE>,
630 <139 IRQ_TYPE_NONE>;
631 };
632
633 rtc@11d {
634 compatible = "qcom,pm8921-rtc";
635 interrupt-parent = <&pmicintc>;
636 interrupts = <39 1>;
637 reg = <0x11d>;
638 allow-set-time;
639 };
640
641 pwrkey@1c {
642 compatible = "qcom,pm8921-pwrkey";
643 reg = <0x1c>;
644 interrupt-parent = <&pmicintc>;
645 interrupts = <50 1>, <51 1>;
646 debounce = <15625>;
647 pull-up;
648 };
649 };
650 };
651
652 gcc: clock-controller@900000 {
653 compatible = "qcom,gcc-apq8064";
654 reg = <0x00900000 0x4000>;
655 #clock-cells = <1>;
656 #reset-cells = <1>;
657 };
658
659 lcc: clock-controller@28000000 {
660 compatible = "qcom,lcc-apq8064";
661 reg = <0x28000000 0x1000>;
662 #clock-cells = <1>;
663 #reset-cells = <1>;
664 };
665
666 mmcc: clock-controller@4000000 {
667 compatible = "qcom,mmcc-apq8064";
668 reg = <0x4000000 0x1000>;
669 #clock-cells = <1>;
670 #reset-cells = <1>;
671 };
672
673 l2cc: clock-controller@2011000 {
674 compatible = "syscon";
675 reg = <0x2011000 0x1000>;
676 };
677
678 rpm@108000 {
679 compatible = "qcom,rpm-apq8064";
680 reg = <0x108000 0x1000>;
681 qcom,ipc = <&l2cc 0x8 2>;
682
683 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
684 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
685 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
686 interrupt-names = "ack", "err", "wakeup";
687
688 rpmcc: clock-controller {
689 compatible = "qcom,rpmcc-apq8064", "qcom,rpmcc";
690 #clock-cells = <1>;
691 };
692
693 regulators {
694 compatible = "qcom,rpm-pm8921-regulators";
695
696 pm8921_s1: s1 {};
697 pm8921_s2: s2 {};
698 pm8921_s3: s3 {};
699 pm8921_s4: s4 {};
700 pm8921_s7: s7 {};
701 pm8921_s8: s8 {};
702
703 pm8921_l1: l1 {};
704 pm8921_l2: l2 {};
705 pm8921_l3: l3 {};
706 pm8921_l4: l4 {};
707 pm8921_l5: l5 {};
708 pm8921_l6: l6 {};
709 pm8921_l7: l7 {};
710 pm8921_l8: l8 {};
711 pm8921_l9: l9 {};
712 pm8921_l10: l10 {};
713 pm8921_l11: l11 {};
714 pm8921_l12: l12 {};
715 pm8921_l14: l14 {};
716 pm8921_l15: l15 {};
717 pm8921_l16: l16 {};
718 pm8921_l17: l17 {};
719 pm8921_l18: l18 {};
720 pm8921_l21: l21 {};
721 pm8921_l22: l22 {};
722 pm8921_l23: l23 {};
723 pm8921_l24: l24 {};
724 pm8921_l25: l25 {};
725 pm8921_l26: l26 {};
726 pm8921_l27: l27 {};
727 pm8921_l28: l28 {};
728 pm8921_l29: l29 {};
729
730 pm8921_lvs1: lvs1 {};
731 pm8921_lvs2: lvs2 {};
732 pm8921_lvs3: lvs3 {};
733 pm8921_lvs4: lvs4 {};
734 pm8921_lvs5: lvs5 {};
735 pm8921_lvs6: lvs6 {};
736 pm8921_lvs7: lvs7 {};
737
738 pm8921_usb_switch: usb-switch {};
739
740 pm8921_hdmi_switch: hdmi-switch {
741 bias-pull-down;
742 };
743
744 pm8921_ncp: ncp {};
745 };
746 };
747
748 usb1_phy: phy@12500000 {
749 compatible = "qcom,usb-otg-ci";
750 reg = <0x12500000 0x400>;
751 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
752 status = "disabled";
753
754 clocks = <&gcc USB_HS1_XCVR_CLK>,
755 <&gcc USB_HS1_H_CLK>;
756 clock-names = "core", "iface";
757
758 resets = <&gcc USB_HS1_RESET>;
759 reset-names = "link";
760 };
761
762 usb3_phy: phy@12520000 {
763 compatible = "qcom,usb-otg-ci";
764 reg = <0x12520000 0x400>;
765 interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>;
766 status = "disabled";
767 dr_mode = "host";
768
769 clocks = <&gcc USB_HS3_XCVR_CLK>,
770 <&gcc USB_HS3_H_CLK>;
771 clock-names = "core", "iface";
772
773 resets = <&gcc USB_HS3_RESET>;
774 reset-names = "link";
775 };
776
777 usb4_phy: phy@12530000 {
778 compatible = "qcom,usb-otg-ci";
779 reg = <0x12530000 0x400>;
780 interrupts = <GIC_SPI 215 IRQ_TYPE_NONE>;
781 status = "disabled";
782 dr_mode = "host";
783
784 clocks = <&gcc USB_HS4_XCVR_CLK>,
785 <&gcc USB_HS4_H_CLK>;
786 clock-names = "core", "iface";
787
788 resets = <&gcc USB_HS4_RESET>;
789 reset-names = "link";
790 };
791
792 gadget1: gadget@12500000 {
793 compatible = "qcom,ci-hdrc";
794 reg = <0x12500000 0x400>;
795 status = "disabled";
796 dr_mode = "peripheral";
797 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
798 usb-phy = <&usb1_phy>;
799 };
800
801 usb1: usb@12500000 {
802 compatible = "qcom,ehci-host";
803 reg = <0x12500000 0x400>;
804 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
805 status = "disabled";
806 usb-phy = <&usb1_phy>;
807 };
808
809 usb3: usb@12520000 {
810 compatible = "qcom,ehci-host";
811 reg = <0x12520000 0x400>;
812 interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>;
813 status = "disabled";
814 usb-phy = <&usb3_phy>;
815 };
816
817 usb4: usb@12530000 {
818 compatible = "qcom,ehci-host";
819 reg = <0x12530000 0x400>;
820 interrupts = <GIC_SPI 215 IRQ_TYPE_NONE>;
821 status = "disabled";
822 usb-phy = <&usb4_phy>;
823 };
824
825 sata_phy0: phy@1b400000 {
826 compatible = "qcom,apq8064-sata-phy";
827 status = "disabled";
828 reg = <0x1b400000 0x200>;
829 reg-names = "phy_mem";
830 clocks = <&gcc SATA_PHY_CFG_CLK>;
831 clock-names = "cfg";
832 #phy-cells = <0>;
833 };
834
835 sata0: sata@29000000 {
836 compatible = "qcom,apq8064-ahci", "generic-ahci";
837 status = "disabled";
838 reg = <0x29000000 0x180>;
839 interrupts = <GIC_SPI 209 IRQ_TYPE_NONE>;
840
841 clocks = <&gcc SFAB_SATA_S_H_CLK>,
842 <&gcc SATA_H_CLK>,
843 <&gcc SATA_A_CLK>,
844 <&gcc SATA_RXOOB_CLK>,
845 <&gcc SATA_PMALIVE_CLK>;
846 clock-names = "slave_iface",
847 "iface",
848 "bus",
849 "rxoob",
850 "core_pmalive";
851
852 assigned-clocks = <&gcc SATA_RXOOB_CLK>,
853 <&gcc SATA_PMALIVE_CLK>;
854 assigned-clock-rates = <100000000>, <100000000>;
855
856 phys = <&sata_phy0>;
857 phy-names = "sata-phy";
858 ports-implemented = <0x1>;
859 };
860
861 /* Temporary fixed regulator */
862 sdcc1bam:dma@12402000{
863 compatible = "qcom,bam-v1.3.0";
864 reg = <0x12402000 0x8000>;
865 interrupts = <0 98 0>;
866 clocks = <&gcc SDC1_H_CLK>;
867 clock-names = "bam_clk";
868 #dma-cells = <1>;
869 qcom,ee = <0>;
870 };
871
872 sdcc3bam:dma@12182000{
873 compatible = "qcom,bam-v1.3.0";
874 reg = <0x12182000 0x8000>;
875 interrupts = <0 96 0>;
876 clocks = <&gcc SDC3_H_CLK>;
877 clock-names = "bam_clk";
878 #dma-cells = <1>;
879 qcom,ee = <0>;
880 };
881
882 sdcc4bam:dma@121c2000{
883 compatible = "qcom,bam-v1.3.0";
884 reg = <0x121c2000 0x8000>;
885 interrupts = <0 95 0>;
886 clocks = <&gcc SDC4_H_CLK>;
887 clock-names = "bam_clk";
888 #dma-cells = <1>;
889 qcom,ee = <0>;
890 };
891
892 amba {
893 compatible = "simple-bus";
894 #address-cells = <1>;
895 #size-cells = <1>;
896 ranges;
897 sdcc1: sdcc@12400000 {
898 status = "disabled";
899 compatible = "arm,pl18x", "arm,primecell";
900 pinctrl-names = "default";
901 pinctrl-0 = <&sdcc1_pins>;
902 arm,primecell-periphid = <0x00051180>;
903 reg = <0x12400000 0x2000>;
904 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
905 interrupt-names = "cmd_irq";
906 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
907 clock-names = "mclk", "apb_pclk";
908 bus-width = <8>;
909 max-frequency = <96000000>;
910 non-removable;
911 cap-sd-highspeed;
912 cap-mmc-highspeed;
913 dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
914 dma-names = "tx", "rx";
915 };
916
917 sdcc3: sdcc@12180000 {
918 compatible = "arm,pl18x", "arm,primecell";
919 arm,primecell-periphid = <0x00051180>;
920 status = "disabled";
921 reg = <0x12180000 0x2000>;
922 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
923 interrupt-names = "cmd_irq";
924 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
925 clock-names = "mclk", "apb_pclk";
926 bus-width = <4>;
927 cap-sd-highspeed;
928 cap-mmc-highspeed;
929 max-frequency = <192000000>;
930 no-1-8-v;
931 dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
932 dma-names = "tx", "rx";
933 };
934
935 sdcc4: sdcc@121c0000 {
936 compatible = "arm,pl18x", "arm,primecell";
937 arm,primecell-periphid = <0x00051180>;
938 status = "disabled";
939 reg = <0x121c0000 0x2000>;
940 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
941 interrupt-names = "cmd_irq";
942 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
943 clock-names = "mclk", "apb_pclk";
944 bus-width = <4>;
945 cap-sd-highspeed;
946 cap-mmc-highspeed;
947 max-frequency = <48000000>;
948 dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
949 dma-names = "tx", "rx";
950 pinctrl-names = "default";
951 pinctrl-0 = <&sdc4_gpios>;
952 };
953 };
954
955 tcsr: syscon@1a400000 {
956 compatible = "qcom,tcsr-apq8064", "syscon";
957 reg = <0x1a400000 0x100>;
958 };
959
960 pcie: pci@1b500000 {
961 compatible = "qcom,pcie-apq8064", "snps,dw-pcie";
962 reg = <0x1b500000 0x1000
963 0x1b502000 0x80
964 0x1b600000 0x100
965 0x0ff00000 0x100000>;
966 reg-names = "dbi", "elbi", "parf", "config";
967 device_type = "pci";
968 linux,pci-domain = <0>;
969 bus-range = <0x00 0xff>;
970 num-lanes = <1>;
971 #address-cells = <3>;
972 #size-cells = <2>;
973 ranges = <0x81000000 0 0 0x0fe00000 0 0x00100000 /* I/O */
974 0x82000000 0 0 0x08000000 0 0x07e00000>; /* memory */
975 interrupts = <GIC_SPI 238 IRQ_TYPE_NONE>;
976 interrupt-names = "msi";
977 #interrupt-cells = <1>;
978 interrupt-map-mask = <0 0 0 0x7>;
979 interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
980 <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
981 <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
982 <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
983 clocks = <&gcc PCIE_A_CLK>,
984 <&gcc PCIE_H_CLK>,
985 <&gcc PCIE_PHY_REF_CLK>;
986 clock-names = "core", "iface", "phy";
987 resets = <&gcc PCIE_ACLK_RESET>,
988 <&gcc PCIE_HCLK_RESET>,
989 <&gcc PCIE_POR_RESET>,
990 <&gcc PCIE_PCI_RESET>,
991 <&gcc PCIE_PHY_RESET>;
992 reset-names = "axi", "ahb", "por", "pci", "phy";
993 status = "disabled";
994 };
995 };
996 };
997 #include "qcom-apq8064-pins.dtsi"
This page took 0.051038 seconds and 5 git commands to generate.