3 #include "skeleton.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/clock/qcom,gcc-msm8960.h>
6 #include <dt-bindings/reset/qcom,gcc-msm8960.h>
7 #include <dt-bindings/clock/qcom,mmcc-msm8960.h>
8 #include <dt-bindings/soc/qcom,gsbi.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 model = "Qualcomm APQ8064";
12 compatible = "qcom,apq8064";
13 interrupt-parent = <&intc>;
20 smem_region: smem@80000000 {
21 reg = <0x80000000 0x200000>;
31 compatible = "qcom,krait";
32 enable-method = "qcom,kpss-acc-v1";
35 next-level-cache = <&L2>;
38 cpu-idle-states = <&CPU_SPC>;
39 clocks = <&kraitcc 0>;
41 clock-latency = <100000>;
45 compatible = "qcom,krait";
46 enable-method = "qcom,kpss-acc-v1";
49 next-level-cache = <&L2>;
52 cpu-idle-states = <&CPU_SPC>;
53 clocks = <&kraitcc 1>;
55 clock-latency = <100000>;
59 compatible = "qcom,krait";
60 enable-method = "qcom,kpss-acc-v1";
63 next-level-cache = <&L2>;
66 cpu-idle-states = <&CPU_SPC>;
67 clocks = <&kraitcc 2>;
69 clock-latency = <100000>;
73 compatible = "qcom,krait";
74 enable-method = "qcom,kpss-acc-v1";
77 next-level-cache = <&L2>;
80 cpu-idle-states = <&CPU_SPC>;
81 clocks = <&kraitcc 3>;
83 clock-latency = <100000>;
93 compatible = "qcom,idle-state-spc",
95 entry-latency-us = <400>;
96 exit-latency-us = <900>;
97 min-residency-us = <3000>;
103 compatible = "qcom,krait-pmu";
104 interrupts = <1 10 0x304>;
109 compatible = "fixed-clock";
111 clock-frequency = <19200000>;
115 compatible = "fixed-clock";
117 clock-frequency = <27000000>;
121 compatible = "fixed-clock";
123 clock-frequency = <32768>;
127 sfpb_mutex: hwmutex {
128 compatible = "qcom,sfpb-mutex";
129 syscon = <&sfpb_wrapper_mutex 0x604 0x4>;
134 compatible = "qcom,smem";
135 memory-region = <&smem_region>;
137 hwlocks = <&sfpb_mutex 3>;
142 qcom,speed0-pvs0-bin-v0 =
143 < 384000000 950000 >,
144 < 486000000 975000 >,
145 < 594000000 1000000 >,
146 < 702000000 1025000 >,
147 < 810000000 1075000 >,
148 < 918000000 1100000 >,
149 < 1026000000 1125000 >,
150 < 1080000000 1175000 >,
151 < 1134000000 1175000 >,
152 < 1188000000 1200000 >,
153 < 1242000000 1200000 >,
154 < 1296000000 1225000 >,
155 < 1350000000 1225000 >,
156 < 1404000000 1237500 >,
157 < 1458000000 1237500 >,
158 < 1512000000 1250000 >;
160 qcom,speed0-pvs1-bin-v0 =
161 < 384000000 900000 >,
162 < 486000000 925000 >,
163 < 594000000 950000 >,
164 < 702000000 975000 >,
165 < 810000000 1025000 >,
166 < 918000000 1050000 >,
167 < 1026000000 1075000 >,
168 < 1080000000 1125000 >,
169 < 1134000000 1125000 >,
170 < 1188000000 1150000 >,
171 < 1242000000 1150000 >,
172 < 1296000000 1175000 >,
173 < 1350000000 1175000 >,
174 < 1404000000 1187500 >,
175 < 1458000000 1187500 >,
176 < 1512000000 1200000 >;
178 qcom,speed0-pvs3-bin-v0 =
179 < 384000000 850000 >,
180 < 486000000 875000 >,
181 < 594000000 900000 >,
182 < 702000000 925000 >,
183 < 810000000 975000 >,
184 < 918000000 1000000 >,
185 < 1026000000 1025000 >,
186 < 1080000000 1075000 >,
187 < 1134000000 1075000 >,
188 < 1188000000 1100000 >,
189 < 1242000000 1100000 >,
190 < 1296000000 1125000 >,
191 < 1350000000 1125000 >,
192 < 1404000000 1137500 >,
193 < 1458000000 1137500 >,
194 < 1512000000 1150000 >;
196 qcom,speed0-pvs4-bin-v0 =
197 < 384000000 850000 >,
198 < 486000000 875000 >,
199 < 594000000 900000 >,
200 < 702000000 925000 >,
201 < 810000000 962500 >,
202 < 918000000 975000 >,
203 < 1026000000 1000000 >,
204 < 1080000000 1050000 >,
205 < 1134000000 1050000 >,
206 < 1188000000 1075000 >,
207 < 1242000000 1075000 >,
208 < 1296000000 1100000 >,
209 < 1350000000 1100000 >,
210 < 1404000000 1112500 >,
211 < 1458000000 1112500 >,
212 < 1512000000 1125000 >;
214 qcom,speed1-pvs0-bin-v0 =
215 < 384000000 950000 >,
216 < 486000000 950000 >,
217 < 594000000 950000 >,
218 < 702000000 962500 >,
219 < 810000000 1000000 >,
220 < 918000000 1025000 >,
221 < 1026000000 1037500 >,
222 < 1134000000 1075000 >,
223 < 1242000000 1087500 >,
224 < 1350000000 1125000 >,
225 < 1458000000 1150000 >,
226 < 1566000000 1175000 >,
227 < 1674000000 1225000 >,
228 < 1728000000 1250000 >;
230 qcom,speed1-pvs1-bin-v0 =
231 < 384000000 950000 >,
232 < 486000000 950000 >,
233 < 594000000 950000 >,
234 < 702000000 962500 >,
235 < 810000000 975000 >,
236 < 918000000 1000000 >,
237 < 1026000000 1012500 >,
238 < 1134000000 1037500 >,
239 < 1242000000 1050000 >,
240 < 1350000000 1087500 >,
241 < 1458000000 1112500 >,
242 < 1566000000 1150000 >,
243 < 1674000000 1187500 >,
244 < 1728000000 1200000 >;
246 qcom,speed1-pvs2-bin-v0 =
247 < 384000000 925000 >,
248 < 486000000 925000 >,
249 < 594000000 925000 >,
250 < 702000000 925000 >,
251 < 810000000 937500 >,
252 < 918000000 950000 >,
253 < 1026000000 975000 >,
254 < 1134000000 1000000 >,
255 < 1242000000 1012500 >,
256 < 1350000000 1037500 >,
257 < 1458000000 1075000 >,
258 < 1566000000 1100000 >,
259 < 1674000000 1137500 >,
260 < 1728000000 1162500 >;
262 qcom,speed1-pvs3-bin-v0 =
263 < 384000000 900000 >,
264 < 486000000 900000 >,
265 < 594000000 900000 >,
266 < 702000000 900000 >,
267 < 810000000 900000 >,
268 < 918000000 925000 >,
269 < 1026000000 950000 >,
270 < 1134000000 975000 >,
271 < 1242000000 987500 >,
272 < 1350000000 1000000 >,
273 < 1458000000 1037500 >,
274 < 1566000000 1062500 >,
275 < 1674000000 1100000 >,
276 < 1728000000 1125000 >;
278 qcom,speed1-pvs4-bin-v0 =
279 < 384000000 875000 >,
280 < 486000000 875000 >,
281 < 594000000 875000 >,
282 < 702000000 875000 >,
283 < 810000000 887500 >,
284 < 918000000 900000 >,
285 < 1026000000 925000 >,
286 < 1134000000 950000 >,
287 < 1242000000 962500 >,
288 < 1350000000 975000 >,
289 < 1458000000 1000000 >,
290 < 1566000000 1037500 >,
291 < 1674000000 1075000 >,
292 < 1728000000 1100000 >;
294 qcom,speed1-pvs5-bin-v0 =
295 < 384000000 875000 >,
296 < 486000000 875000 >,
297 < 594000000 875000 >,
298 < 702000000 875000 >,
299 < 810000000 887500 >,
300 < 918000000 900000 >,
301 < 1026000000 925000 >,
302 < 1134000000 937500 >,
303 < 1242000000 950000 >,
304 < 1350000000 962500 >,
305 < 1458000000 987500 >,
306 < 1566000000 1012500 >,
307 < 1674000000 1050000 >,
308 < 1728000000 1075000 >;
310 qcom,speed1-pvs6-bin-v0 =
311 < 384000000 875000 >,
312 < 486000000 875000 >,
313 < 594000000 875000 >,
314 < 702000000 875000 >,
315 < 810000000 887500 >,
316 < 918000000 900000 >,
317 < 1026000000 925000 >,
318 < 1134000000 937500 >,
319 < 1242000000 950000 >,
320 < 1350000000 962500 >,
321 < 1458000000 975000 >,
322 < 1566000000 1000000 >,
323 < 1674000000 1025000 >,
324 < 1728000000 1050000 >;
326 qcom,speed2-pvs0-bin-v0 =
327 < 384000000 950000 >,
328 < 486000000 950000 >,
329 < 594000000 950000 >,
330 < 702000000 950000 >,
331 < 810000000 962500 >,
332 < 918000000 975000 >,
333 < 1026000000 1000000 >,
334 < 1134000000 1025000 >,
335 < 1242000000 1037500 >,
336 < 1350000000 1062500 >,
337 < 1458000000 1100000 >,
338 < 1566000000 1125000 >,
339 < 1674000000 1175000 >,
340 < 1782000000 1225000 >,
341 < 1890000000 1287500 >;
343 qcom,speed2-pvs1-bin-v0 =
344 < 384000000 925000 >,
345 < 486000000 925000 >,
346 < 594000000 925000 >,
347 < 702000000 925000 >,
348 < 810000000 937500 >,
349 < 918000000 950000 >,
350 < 1026000000 975000 >,
351 < 1134000000 1000000 >,
352 < 1242000000 1012500 >,
353 < 1350000000 1037500 >,
354 < 1458000000 1075000 >,
355 < 1566000000 1100000 >,
356 < 1674000000 1137500 >,
357 < 1782000000 1187500 >,
358 < 1890000000 1250000 >;
360 qcom,speed2-pvs2-bin-v0 =
361 < 384000000 900000 >,
362 < 486000000 900000 >,
363 < 594000000 900000 >,
364 < 702000000 900000 >,
365 < 810000000 912500 >,
366 < 918000000 925000 >,
367 < 1026000000 950000 >,
368 < 1134000000 975000 >,
369 < 1242000000 987500 >,
370 < 1350000000 1012500 >,
371 < 1458000000 1050000 >,
372 < 1566000000 1075000 >,
373 < 1674000000 1112500 >,
374 < 1782000000 1162500 >,
375 < 1890000000 1212500 >;
377 qcom,speed2-pvs3-bin-v0 =
378 < 384000000 900000 >,
379 < 486000000 900000 >,
380 < 594000000 900000 >,
381 < 702000000 900000 >,
382 < 810000000 900000 >,
383 < 918000000 912500 >,
384 < 1026000000 937500 >,
385 < 1134000000 962500 >,
386 < 1242000000 975000 >,
387 < 1350000000 1000000 >,
388 < 1458000000 1025000 >,
389 < 1566000000 1050000 >,
390 < 1674000000 1087500 >,
391 < 1782000000 1137500 >,
392 < 1890000000 1175000 >;
394 qcom,speed2-pvs4-bin-v0 =
395 < 384000000 875000 >,
396 < 486000000 875000 >,
397 < 594000000 875000 >,
398 < 702000000 875000 >,
399 < 810000000 887500 >,
400 < 918000000 900000 >,
401 < 1026000000 925000 >,
402 < 1134000000 950000 >,
403 < 1242000000 962500 >,
404 < 1350000000 975000 >,
405 < 1458000000 1000000 >,
406 < 1566000000 1037500 >,
407 < 1674000000 1075000 >,
408 < 1782000000 1112500 >,
409 < 1890000000 1150000 >;
411 qcom,speed2-pvs5-bin-v0 =
412 < 384000000 875000 >,
413 < 486000000 875000 >,
414 < 594000000 875000 >,
415 < 702000000 875000 >,
416 < 810000000 887500 >,
417 < 918000000 900000 >,
418 < 1026000000 925000 >,
419 < 1134000000 937500 >,
420 < 1242000000 950000 >,
421 < 1350000000 962500 >,
422 < 1458000000 987500 >,
423 < 1566000000 1012500 >,
424 < 1674000000 1050000 >,
425 < 1782000000 1087500 >,
426 < 1890000000 1125000 >;
428 qcom,speed2-pvs6-bin-v0 =
429 < 384000000 875000 >,
430 < 486000000 875000 >,
431 < 594000000 875000 >,
432 < 702000000 875000 >,
433 < 810000000 887500 >,
434 < 918000000 900000 >,
435 < 1026000000 925000 >,
436 < 1134000000 937500 >,
437 < 1242000000 950000 >,
438 < 1350000000 962500 >,
439 < 1458000000 975000 >,
440 < 1566000000 1000000 >,
441 < 1674000000 1025000 >,
442 < 1782000000 1062500 >,
443 < 1890000000 1100000 >;
445 qcom,speed14-pvs0-bin-v0 =
446 < 384000000 950000 >,
447 < 486000000 950000 >,
448 < 594000000 950000 >,
449 < 702000000 962500 >,
450 < 810000000 1000000 >,
451 < 918000000 1025000 >,
452 < 1026000000 1037500 >,
453 < 1134000000 1075000 >,
454 < 1242000000 1087500 >,
455 < 1350000000 1125000 >,
456 < 1458000000 1150000 >,
457 < 1512000000 1162500 >;
459 qcom,speed14-pvs1-bin-v0 =
460 < 384000000 950000 >,
461 < 486000000 950000 >,
462 < 594000000 950000 >,
463 < 702000000 962500 >,
464 < 810000000 975000 >,
465 < 918000000 1000000 >,
466 < 1026000000 1012500 >,
467 < 1134000000 1037500 >,
468 < 1242000000 1050000 >,
469 < 1350000000 1087500 >,
470 < 1458000000 1112500 >,
471 < 1512000000 1125000 >;
473 qcom,speed14-pvs2-bin-v0 =
474 < 384000000 925000 >,
475 < 486000000 925000 >,
476 < 594000000 925000 >,
477 < 702000000 925000 >,
478 < 810000000 937500 >,
479 < 918000000 950000 >,
480 < 1026000000 975000 >,
481 < 1134000000 1000000 >,
482 < 1242000000 1012500 >,
483 < 1350000000 1037500 >,
484 < 1458000000 1075000 >,
485 < 1512000000 1087500 >;
487 qcom,speed14-pvs3-bin-v0 =
488 < 384000000 900000 >,
489 < 486000000 900000 >,
490 < 594000000 900000 >,
491 < 702000000 900000 >,
492 < 810000000 900000 >,
493 < 918000000 925000 >,
494 < 1026000000 950000 >,
495 < 1134000000 975000 >,
496 < 1242000000 987500 >,
497 < 1350000000 1000000 >,
498 < 1458000000 1037500 >,
499 < 1512000000 1050000 >;
501 qcom,speed14-pvs4-bin-v0 =
502 < 384000000 875000 >,
503 < 486000000 875000 >,
504 < 594000000 875000 >,
505 < 702000000 875000 >,
506 < 810000000 887500 >,
507 < 918000000 900000 >,
508 < 1026000000 925000 >,
509 < 1134000000 950000 >,
510 < 1242000000 962500 >,
511 < 1350000000 975000 >,
512 < 1458000000 1000000 >,
513 < 1512000000 1012500 >;
515 qcom,speed14-pvs5-bin-v0 =
516 < 384000000 875000 >,
517 < 486000000 875000 >,
518 < 594000000 875000 >,
519 < 702000000 875000 >,
520 < 810000000 887500 >,
521 < 918000000 900000 >,
522 < 1026000000 925000 >,
523 < 1134000000 937500 >,
524 < 1242000000 950000 >,
525 < 1350000000 962500 >,
526 < 1458000000 987500 >,
527 < 1512000000 1000000 >;
529 qcom,speed14-pvs6-bin-v0 =
530 < 384000000 875000 >,
531 < 486000000 875000 >,
532 < 594000000 875000 >,
533 < 702000000 875000 >,
534 < 810000000 887500 >,
535 < 918000000 900000 >,
536 < 1026000000 925000 >,
537 < 1134000000 937500 >,
538 < 1242000000 950000 >,
539 < 1350000000 962500 >,
540 < 1458000000 975000 >,
541 < 1512000000 987500 >;
544 kraitcc: clock-controller {
545 compatible = "qcom,krait-cc-v1";
550 sleep_clk: sleep_clk {
551 compatible = "fixed-clock";
552 clock-frequency = <32768>;
558 #address-cells = <1>;
561 compatible = "simple-bus";
563 tlmm_pinmux: pinctrl@800000 {
564 compatible = "qcom,apq8064-pinctrl";
565 reg = <0x800000 0x4000>;
569 interrupt-controller;
570 #interrupt-cells = <2>;
571 interrupts = <0 16 IRQ_TYPE_LEVEL_HIGH>;
573 pinctrl-names = "default";
574 pinctrl-0 = <&ps_hold>;
576 sdc4_gpios: sdc4-gpios {
578 pins = "gpio63", "gpio64", "gpio65", "gpio66", "gpio67", "gpio68";
583 hdmi_pinctrl: hdmi-pinctrl {
585 pins = "gpio69", "gpio70", "gpio71";
588 drive-strength = <2>;
594 drive-strength = <16>;
600 function = "ps_hold";
606 pins = "gpio20", "gpio21";
613 pins = "gpio8", "gpio9";
618 gsbi6_uart_2pins: gsbi6_uart_2pins {
620 pins = "gpio14", "gpio15";
625 gsbi6_uart_4pins: gsbi6_uart_4pins {
627 pins = "gpio14", "gpio15", "gpio16", "gpio17";
632 gsbi7_uart_2pins: gsbi7_uart_2pins {
634 pins = "gpio82", "gpio83";
639 gsbi7_uart_4pins: gsbi7_uart_4pins {
641 pins = "gpio82", "gpio83", "gpio84", "gpio85";
647 sfpb_wrapper_mutex: syscon@1200000 {
648 compatible = "syscon";
649 reg = <0x01200000 0x8000>;
652 intc: interrupt-controller@2000000 {
653 compatible = "qcom,msm-qgic2";
654 interrupt-controller;
655 #interrupt-cells = <3>;
656 reg = <0x02000000 0x1000>,
661 compatible = "qcom,kpss-timer", "qcom,msm-timer";
662 interrupts = <1 1 0x301>,
665 reg = <0x0200a000 0x100>;
666 clock-frequency = <27000000>,
668 cpu-offset = <0x80000>;
672 compatible = "qcom,kpss-wdt-apq8064";
673 reg = <0x0208a038 0x40>;
674 clocks = <&sleep_clk>;
678 acc0: clock-controller@2088000 {
679 compatible = "qcom,kpss-acc-v1";
680 reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
681 clock-output-names = "acpu0_aux";
684 acc1: clock-controller@2098000 {
685 compatible = "qcom,kpss-acc-v1";
686 reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
687 clock-output-names = "acpu1_aux";
690 acc2: clock-controller@20a8000 {
691 compatible = "qcom,kpss-acc-v1";
692 reg = <0x020a8000 0x1000>, <0x02008000 0x1000>;
693 clock-output-names = "acpu2_aux";
696 acc3: clock-controller@20b8000 {
697 compatible = "qcom,kpss-acc-v1";
698 reg = <0x020b8000 0x1000>, <0x02008000 0x1000>;
699 clock-output-names = "acpu3_aux";
702 saw0: power-controller@2089000 {
703 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
704 reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
708 saw1: power-controller@2099000 {
709 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
710 reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
714 saw2: power-controller@20a9000 {
715 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
716 reg = <0x020a9000 0x1000>, <0x02009000 0x1000>;
720 saw3: power-controller@20b9000 {
721 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
722 reg = <0x020b9000 0x1000>, <0x02009000 0x1000>;
726 gsbi1: gsbi@12440000 {
728 compatible = "qcom,gsbi-v1.0.0";
730 reg = <0x12440000 0x100>;
731 clocks = <&gcc GSBI1_H_CLK>;
732 clock-names = "iface";
733 #address-cells = <1>;
737 syscon-tcsr = <&tcsr>;
740 compatible = "qcom,i2c-qup-v1.1.1";
741 pinctrl-0 = <&i2c1_pins>;
742 pinctrl-names = "default";
743 reg = <0x12460000 0x1000>;
744 interrupts = <0 194 IRQ_TYPE_NONE>;
745 clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
746 clock-names = "core", "iface";
747 #address-cells = <1>;
752 gsbi2: gsbi@12480000 {
754 compatible = "qcom,gsbi-v1.0.0";
756 reg = <0x12480000 0x100>;
757 clocks = <&gcc GSBI2_H_CLK>;
758 clock-names = "iface";
759 #address-cells = <1>;
763 syscon-tcsr = <&tcsr>;
766 compatible = "qcom,i2c-qup-v1.1.1";
767 reg = <0x124a0000 0x1000>;
768 interrupts = <0 196 IRQ_TYPE_NONE>;
769 clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>;
770 clock-names = "core", "iface";
771 #address-cells = <1>;
776 gsbi3: gsbi@16200000 {
778 compatible = "qcom,gsbi-v1.0.0";
780 reg = <0x16200000 0x100>;
781 clocks = <&gcc GSBI3_H_CLK>;
782 clock-names = "iface";
783 #address-cells = <1>;
787 compatible = "qcom,i2c-qup-v1.1.1";
788 pinctrl-0 = <&i2c3_pins>;
789 pinctrl-names = "default";
790 reg = <0x16280000 0x1000>;
791 interrupts = <GIC_SPI 151 IRQ_TYPE_NONE>;
792 clocks = <&gcc GSBI3_QUP_CLK>,
794 clock-names = "core", "iface";
798 gsbi5: gsbi@1a200000 {
800 compatible = "qcom,gsbi-v1.0.0";
802 reg = <0x1a200000 0x03>;
803 clocks = <&gcc GSBI5_H_CLK>;
804 clock-names = "iface";
805 #address-cells = <1>;
809 gsbi5_serial: serial@1a240000 {
810 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
811 reg = <0x1a240000 0x100>,
813 interrupts = <0 154 0x0>;
814 clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
815 clock-names = "core", "iface";
820 gsbi6: gsbi@16500000 {
822 compatible = "qcom,gsbi-v1.0.0";
824 reg = <0x16500000 0x03>;
825 clocks = <&gcc GSBI6_H_CLK>;
826 clock-names = "iface";
827 #address-cells = <1>;
831 gsbi6_serial: serial@16540000 {
832 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
833 reg = <0x16540000 0x100>,
835 interrupts = <0 156 0x0>;
836 clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
837 clock-names = "core", "iface";
842 gsbi7: gsbi@16600000 {
844 compatible = "qcom,gsbi-v1.0.0";
846 reg = <0x16600000 0x100>;
847 clocks = <&gcc GSBI7_H_CLK>;
848 clock-names = "iface";
849 #address-cells = <1>;
852 syscon-tcsr = <&tcsr>;
854 gsbi7_serial: serial@16640000 {
855 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
856 reg = <0x16640000 0x1000>,
858 interrupts = <0 158 0x0>;
859 clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
860 clock-names = "core", "iface";
866 compatible = "qcom,prng";
867 reg = <0x1a500000 0x200>;
868 clocks = <&gcc PRNG_CLK>;
869 clock-names = "core";
873 compatible = "qcom,ssbi";
874 reg = <0x00500000 0x1000>;
875 qcom,controller-type = "pmic-arbiter";
878 compatible = "qcom,pm8921";
879 interrupt-parent = <&tlmm_pinmux>;
881 #interrupt-cells = <2>;
882 interrupt-controller;
883 #address-cells = <1>;
886 pm8921_gpio: gpio@150 {
888 compatible = "qcom,pm8921-gpio",
891 interrupts = <192 1>, <193 1>, <194 1>,
892 <195 1>, <196 1>, <197 1>,
893 <198 1>, <199 1>, <200 1>,
894 <201 1>, <202 1>, <203 1>,
895 <204 1>, <205 1>, <206 1>,
896 <207 1>, <208 1>, <209 1>,
897 <210 1>, <211 1>, <212 1>,
898 <213 1>, <214 1>, <215 1>,
899 <216 1>, <217 1>, <218 1>,
900 <219 1>, <220 1>, <221 1>,
901 <222 1>, <223 1>, <224 1>,
902 <225 1>, <226 1>, <227 1>,
903 <228 1>, <229 1>, <230 1>,
904 <231 1>, <232 1>, <233 1>,
912 pm8921_mpps: mpps@50 {
913 compatible = "qcom,pm8921-mpp",
919 <128 1>, <129 1>, <130 1>, <131 1>,
920 <132 1>, <133 1>, <134 1>, <135 1>,
921 <136 1>, <137 1>, <138 1>, <139 1>;
925 compatible = "qcom,pm8921-rtc";
926 interrupt-parent = <&pmicintc>;
933 compatible = "qcom,pm8921-pwrkey";
935 interrupt-parent = <&pmicintc>;
936 interrupts = <50 1>, <51 1>;
943 gcc: clock-controller@900000 {
944 compatible = "qcom,gcc-apq8064";
945 reg = <0x00900000 0x4000>;
950 lcc: clock-controller@28000000 {
951 compatible = "qcom,lcc-apq8064";
952 reg = <0x28000000 0x1000>;
957 mmcc: clock-controller@4000000 {
958 compatible = "qcom,mmcc-apq8064";
959 reg = <0x4000000 0x1000>;
964 l2cc: clock-controller@2011000 {
965 compatible = "syscon";
966 reg = <0x2011000 0x1000>;
970 compatible = "qcom,rpm-apq8064";
971 reg = <0x108000 0x1000>;
972 qcom,ipc = <&l2cc 0x8 2>;
974 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
975 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
976 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
977 interrupt-names = "ack", "err", "wakeup";
980 compatible = "qcom,rpm-pm8921-regulators";
1016 pm8921_lvs1: lvs1 {};
1017 pm8921_lvs2: lvs2 {};
1018 pm8921_lvs3: lvs3 {};
1019 pm8921_lvs4: lvs4 {};
1020 pm8921_lvs5: lvs5 {};
1021 pm8921_lvs6: lvs6 {};
1022 pm8921_lvs7: lvs7 {};
1024 pm8921_usb_switch: usb-switch {};
1026 pm8921_hdmi_switch: hdmi-switch {
1034 usb1_phy: phy@12500000 {
1035 compatible = "qcom,usb-otg-ci";
1036 reg = <0x12500000 0x400>;
1037 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
1038 status = "disabled";
1041 clocks = <&gcc USB_HS1_XCVR_CLK>,
1042 <&gcc USB_HS1_H_CLK>;
1043 clock-names = "core", "iface";
1045 resets = <&gcc USB_HS1_RESET>;
1046 reset-names = "link";
1049 usb3_phy: phy@12520000 {
1050 compatible = "qcom,usb-otg-ci";
1051 reg = <0x12520000 0x400>;
1052 interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>;
1053 status = "disabled";
1056 clocks = <&gcc USB_HS3_XCVR_CLK>,
1057 <&gcc USB_HS3_H_CLK>;
1058 clock-names = "core", "iface";
1060 resets = <&gcc USB_HS3_RESET>;
1061 reset-names = "link";
1064 usb4_phy: phy@12530000 {
1065 compatible = "qcom,usb-otg-ci";
1066 reg = <0x12530000 0x400>;
1067 interrupts = <GIC_SPI 215 IRQ_TYPE_NONE>;
1068 status = "disabled";
1071 clocks = <&gcc USB_HS4_XCVR_CLK>,
1072 <&gcc USB_HS4_H_CLK>;
1073 clock-names = "core", "iface";
1075 resets = <&gcc USB_HS4_RESET>;
1076 reset-names = "link";
1079 gadget1: gadget@12500000 {
1080 compatible = "qcom,ci-hdrc";
1081 reg = <0x12500000 0x400>;
1082 status = "disabled";
1083 dr_mode = "peripheral";
1084 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
1085 usb-phy = <&usb1_phy>;
1088 usb1: usb@12500000 {
1089 compatible = "qcom,ehci-host";
1090 reg = <0x12500000 0x400>;
1091 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
1092 status = "disabled";
1093 usb-phy = <&usb1_phy>;
1096 usb3: usb@12520000 {
1097 compatible = "qcom,ehci-host";
1098 reg = <0x12520000 0x400>;
1099 interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>;
1100 status = "disabled";
1101 usb-phy = <&usb3_phy>;
1104 usb4: usb@12530000 {
1105 compatible = "qcom,ehci-host";
1106 reg = <0x12530000 0x400>;
1107 interrupts = <GIC_SPI 215 IRQ_TYPE_NONE>;
1108 status = "disabled";
1109 usb-phy = <&usb4_phy>;
1112 sata_phy0: phy@1b400000 {
1113 compatible = "qcom,apq8064-sata-phy";
1114 status = "disabled";
1115 reg = <0x1b400000 0x200>;
1116 reg-names = "phy_mem";
1117 clocks = <&gcc SATA_PHY_CFG_CLK>;
1118 clock-names = "cfg";
1122 sata0: sata@29000000 {
1123 compatible = "generic-ahci";
1124 status = "disabled";
1125 reg = <0x29000000 0x180>;
1126 interrupts = <GIC_SPI 209 IRQ_TYPE_NONE>;
1128 clocks = <&gcc SFAB_SATA_S_H_CLK>,
1131 <&gcc SATA_RXOOB_CLK>,
1132 <&gcc SATA_PMALIVE_CLK>;
1133 clock-names = "slave_iface",
1139 assigned-clocks = <&gcc SATA_RXOOB_CLK>,
1140 <&gcc SATA_PMALIVE_CLK>;
1141 assigned-clock-rates = <100000000>, <100000000>;
1143 phys = <&sata_phy0>;
1144 phy-names = "sata-phy";
1147 /* Temporary fixed regulator */
1148 sdcc1bam:dma@12402000{
1149 compatible = "qcom,bam-v1.3.0";
1150 reg = <0x12402000 0x8000>;
1151 interrupts = <0 98 0>;
1152 clocks = <&gcc SDC1_H_CLK>;
1153 clock-names = "bam_clk";
1158 sdcc3bam:dma@12182000{
1159 compatible = "qcom,bam-v1.3.0";
1160 reg = <0x12182000 0x8000>;
1161 interrupts = <0 96 0>;
1162 clocks = <&gcc SDC3_H_CLK>;
1163 clock-names = "bam_clk";
1168 sdcc4bam:dma@121c2000{
1169 compatible = "qcom,bam-v1.3.0";
1170 reg = <0x121c2000 0x8000>;
1171 interrupts = <0 95 0>;
1172 clocks = <&gcc SDC4_H_CLK>;
1173 clock-names = "bam_clk";
1179 compatible = "arm,amba-bus";
1180 #address-cells = <1>;
1183 sdcc1: sdcc@12400000 {
1184 status = "disabled";
1185 compatible = "arm,pl18x", "arm,primecell";
1186 arm,primecell-periphid = <0x00051180>;
1187 reg = <0x12400000 0x2000>;
1188 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
1189 interrupt-names = "cmd_irq";
1190 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
1191 clock-names = "mclk", "apb_pclk";
1193 max-frequency = <96000000>;
1197 dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
1198 dma-names = "tx", "rx";
1201 sdcc3: sdcc@12180000 {
1202 compatible = "arm,pl18x", "arm,primecell";
1203 arm,primecell-periphid = <0x00051180>;
1204 status = "disabled";
1205 reg = <0x12180000 0x2000>;
1206 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1207 interrupt-names = "cmd_irq";
1208 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
1209 clock-names = "mclk", "apb_pclk";
1213 max-frequency = <192000000>;
1215 dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
1216 dma-names = "tx", "rx";
1219 sdcc4: sdcc@121c0000 {
1220 compatible = "arm,pl18x", "arm,primecell";
1221 arm,primecell-periphid = <0x00051180>;
1222 status = "disabled";
1223 reg = <0x121c0000 0x2000>;
1224 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1225 interrupt-names = "cmd_irq";
1226 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
1227 clock-names = "mclk", "apb_pclk";
1231 max-frequency = <48000000>;
1232 dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
1233 dma-names = "tx", "rx";
1234 pinctrl-names = "default";
1235 pinctrl-0 = <&sdc4_gpios>;
1239 tcsr: syscon@1a400000 {
1240 compatible = "qcom,tcsr-apq8064", "syscon";
1241 reg = <0x1a400000 0x100>;
1244 pcie: pci@1b500000 {
1245 compatible = "qcom,pcie-apq8064", "snps,dw-pcie";
1246 reg = <0x1b500000 0x1000
1249 0x0ff00000 0x100000>;
1250 reg-names = "dbi", "elbi", "parf", "config";
1251 device_type = "pci";
1252 linux,pci-domain = <0>;
1253 bus-range = <0x00 0xff>;
1255 #address-cells = <3>;
1257 ranges = <0x81000000 0 0 0x0fe00000 0 0x00100000 /* I/O */
1258 0x82000000 0 0 0x08000000 0 0x07e00000>; /* memory */
1259 interrupts = <GIC_SPI 238 IRQ_TYPE_NONE>;
1260 interrupt-names = "msi";
1261 #interrupt-cells = <1>;
1262 interrupt-map-mask = <0 0 0 0x7>;
1263 interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1264 <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1265 <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1266 <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1267 clocks = <&gcc PCIE_A_CLK>,
1269 <&gcc PCIE_PHY_REF_CLK>;
1270 clock-names = "core", "iface", "phy";
1271 resets = <&gcc PCIE_ACLK_RESET>,
1272 <&gcc PCIE_HCLK_RESET>,
1273 <&gcc PCIE_POR_RESET>,
1274 <&gcc PCIE_PCI_RESET>,
1275 <&gcc PCIE_PHY_RESET>;
1276 reset-names = "axi", "ahb", "por", "pci", "phy";
1277 status = "disabled";
1280 hdmi: qcom,hdmi-tx@4a00000 {
1281 compatible = "qcom,hdmi-tx-8960";
1282 reg-names = "core_physical";
1283 reg = <0x04a00000 0x1000>;
1284 interrupts = <GIC_SPI 79 0>;
1290 <&mmcc HDMI_APP_CLK>,
1291 <&mmcc HDMI_M_AHB_CLK>,
1292 <&mmcc HDMI_S_AHB_CLK>;
1293 qcom,hdmi-tx-ddc-clk = <&tlmm_pinmux 70 GPIO_ACTIVE_HIGH>;
1294 qcom,hdmi-tx-ddc-data = <&tlmm_pinmux 71 GPIO_ACTIVE_HIGH>;
1295 qcom,hdmi-tx-hpd = <&tlmm_pinmux 72 GPIO_ACTIVE_HIGH>;
1296 pinctrl-names = "default";
1297 pinctrl-0 = <&hdmi_pinctrl>;
1300 gpu: qcom,adreno-3xx@4300000 {
1301 compatible = "qcom,adreno-3xx";
1302 reg = <0x04300000 0x20000>;
1303 reg-names = "kgsl_3d0_reg_memory";
1304 interrupts = <GIC_SPI 80 0>;
1305 interrupt-names = "kgsl_3d0_irq";
1313 <&mmcc GFX3D_AHB_CLK>,
1314 <&mmcc GFX3D_AXI_CLK>,
1315 <&mmcc MMSS_IMEM_AHB_CLK>;
1316 qcom,chipid = <0x03020002>;
1318 iommus = <&gfx3d 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1319 &gfx3d 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
1320 &gfx3d1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1321 &gfx3d1 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31>;
1323 qcom,gpu-pwrlevels {
1324 compatible = "qcom,gpu-pwrlevels";
1325 qcom,gpu-pwrlevel@0 {
1326 qcom,gpu-freq = <450000000>;
1328 qcom,gpu-pwrlevel@1 {
1329 qcom,gpu-freq = <27000000>;
1334 mdp: qcom,mdp@5100000 {
1335 compatible = "qcom,mdp";
1336 reg = <0x05100000 0xf0000>;
1337 interrupts = <GIC_SPI 75 0>;
1338 connectors = <&hdmi>;
1350 <&mmcc MDP_AHB_CLK>,
1351 <&mmcc MDP_LUT_CLK>,
1353 <&mmcc HDMI_TV_CLK>,
1355 <&mmcc MDP_AXI_CLK>;
1357 iommus = <&mdp_port0 0 2
1361 mdp_port0: qcom,iommu@7500000 {
1362 compatible = "qcom,iommu-v0";
1368 <&mmcc SMMU_AHB_CLK>,
1369 <&mmcc MDP_AXI_CLK>;
1370 reg = <0x07500000 0x100000>;
1377 mdp_port1: qcom,iommu@7600000 {
1378 compatible = "qcom,iommu";
1384 <&mmcc SMMU_AHB_CLK>,
1385 <&mmcc MDP_AXI_CLK>;
1386 reg = <0x07600000 0x100000>;
1393 gfx3d: qcom,iommu@7c00000 {
1394 compatible = "qcom,iommu-v0";
1395 #iommu-cells = <16>;
1400 <&mmcc SMMU_AHB_CLK>,
1401 <&mmcc GFX3D_AXI_CLK>;
1402 reg = <0x07c00000 0x100000>;
1409 gfx3d1: qcom,iommu@7d00000 {
1410 compatible = "qcom,iommu-v0";
1411 #iommu-cells = <16>;
1416 <&mmcc SMMU_AHB_CLK>,
1417 <&mmcc GFX3D_AXI_CLK>;
1418 reg = <0x07d00000 0x100000>;