1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/clock/qcom,gcc-msm8960.h>
5 #include <dt-bindings/clock/qcom,lcc-msm8960.h>
6 #include <dt-bindings/reset/qcom,gcc-msm8960.h>
7 #include <dt-bindings/clock/qcom,mmcc-msm8960.h>
8 #include <dt-bindings/clock/qcom,rpmcc.h>
9 #include <dt-bindings/soc/qcom,gsbi.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
15 model = "Qualcomm APQ8064";
16 compatible = "qcom,apq8064";
17 interrupt-parent = <&intc>;
24 smem_region: smem@80000000 {
25 reg = <0x80000000 0x200000>;
29 wcnss_mem: wcnss@8f000000 {
30 reg = <0x8f000000 0x700000>;
40 compatible = "qcom,krait";
41 enable-method = "qcom,kpss-acc-v1";
44 next-level-cache = <&L2>;
47 cpu-idle-states = <&CPU_SPC>;
51 compatible = "qcom,krait";
52 enable-method = "qcom,kpss-acc-v1";
55 next-level-cache = <&L2>;
58 cpu-idle-states = <&CPU_SPC>;
62 compatible = "qcom,krait";
63 enable-method = "qcom,kpss-acc-v1";
66 next-level-cache = <&L2>;
69 cpu-idle-states = <&CPU_SPC>;
73 compatible = "qcom,krait";
74 enable-method = "qcom,kpss-acc-v1";
77 next-level-cache = <&L2>;
80 cpu-idle-states = <&CPU_SPC>;
91 compatible = "qcom,idle-state-spc",
93 entry-latency-us = <400>;
94 exit-latency-us = <900>;
95 min-residency-us = <3000>;
101 device_type = "memory";
107 polling-delay-passive = <250>;
108 polling-delay = <1000>;
110 thermal-sensors = <&tsens 7>;
111 coefficients = <1199 0>;
115 temperature = <75000>;
120 temperature = <110000>;
128 polling-delay-passive = <250>;
129 polling-delay = <1000>;
131 thermal-sensors = <&tsens 8>;
132 coefficients = <1132 0>;
136 temperature = <75000>;
141 temperature = <110000>;
149 polling-delay-passive = <250>;
150 polling-delay = <1000>;
152 thermal-sensors = <&tsens 9>;
153 coefficients = <1199 0>;
157 temperature = <75000>;
162 temperature = <110000>;
170 polling-delay-passive = <250>;
171 polling-delay = <1000>;
173 thermal-sensors = <&tsens 10>;
174 coefficients = <1132 0>;
178 temperature = <75000>;
183 temperature = <110000>;
192 compatible = "qcom,krait-pmu";
193 interrupts = <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
197 cxo_board: cxo_board {
198 compatible = "fixed-clock";
200 clock-frequency = <19200000>;
203 pxo_board: pxo_board {
204 compatible = "fixed-clock";
206 clock-frequency = <27000000>;
209 sleep_clk: sleep_clk {
210 compatible = "fixed-clock";
212 clock-frequency = <32768>;
216 sfpb_mutex: hwmutex {
217 compatible = "qcom,sfpb-mutex";
218 syscon = <&sfpb_wrapper_mutex 0x604 0x4>;
223 compatible = "qcom,smem";
224 memory-region = <&smem_region>;
226 hwlocks = <&sfpb_mutex 3>;
230 compatible = "qcom,smsm";
232 #address-cells = <1>;
235 qcom,ipc-1 = <&l2cc 8 4>;
236 qcom,ipc-2 = <&l2cc 8 14>;
237 qcom,ipc-3 = <&l2cc 8 23>;
238 qcom,ipc-4 = <&sps_sic_non_secure 0x4094 0>;
242 #qcom,smem-state-cells = <1>;
245 modem_smsm: modem@1 {
247 interrupts = <GIC_SPI 38 IRQ_TYPE_EDGE_RISING>;
249 interrupt-controller;
250 #interrupt-cells = <2>;
255 interrupts = <GIC_SPI 89 IRQ_TYPE_EDGE_RISING>;
257 interrupt-controller;
258 #interrupt-cells = <2>;
261 wcnss_smsm: wcnss@3 {
263 interrupts = <GIC_SPI 204 IRQ_TYPE_EDGE_RISING>;
265 interrupt-controller;
266 #interrupt-cells = <2>;
271 interrupts = <GIC_SPI 137 IRQ_TYPE_EDGE_RISING>;
273 interrupt-controller;
274 #interrupt-cells = <2>;
280 compatible = "qcom,scm-apq8064", "qcom,scm";
282 clocks = <&rpmcc RPM_DAYTONA_FABRIC_CLK>;
283 clock-names = "core";
288 #address-cells = <1>;
291 compatible = "simple-bus";
293 tlmm_pinmux: pinctrl@800000 {
294 compatible = "qcom,apq8064-pinctrl";
295 reg = <0x800000 0x4000>;
298 gpio-ranges = <&tlmm_pinmux 0 0 90>;
300 interrupt-controller;
301 #interrupt-cells = <2>;
302 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
304 pinctrl-names = "default";
305 pinctrl-0 = <&ps_hold>;
308 sfpb_wrapper_mutex: syscon@1200000 {
309 compatible = "syscon";
310 reg = <0x01200000 0x8000>;
313 intc: interrupt-controller@2000000 {
314 compatible = "qcom,msm-qgic2";
315 interrupt-controller;
316 #interrupt-cells = <3>;
317 reg = <0x02000000 0x1000>,
322 compatible = "qcom,kpss-wdt-apq8064", "qcom,kpss-timer",
324 interrupts = <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>,
325 <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>,
326 <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>;
327 reg = <0x0200a000 0x100>;
328 clock-frequency = <27000000>;
329 cpu-offset = <0x80000>;
332 acc0: clock-controller@2088000 {
333 compatible = "qcom,kpss-acc-v1";
334 reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
335 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
336 clock-names = "pll8_vote", "pxo";
337 clock-output-names = "acpu0_aux";
341 acc1: clock-controller@2098000 {
342 compatible = "qcom,kpss-acc-v1";
343 reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
344 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
345 clock-names = "pll8_vote", "pxo";
346 clock-output-names = "acpu1_aux";
350 acc2: clock-controller@20a8000 {
351 compatible = "qcom,kpss-acc-v1";
352 reg = <0x020a8000 0x1000>, <0x02008000 0x1000>;
353 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
354 clock-names = "pll8_vote", "pxo";
355 clock-output-names = "acpu2_aux";
359 acc3: clock-controller@20b8000 {
360 compatible = "qcom,kpss-acc-v1";
361 reg = <0x020b8000 0x1000>, <0x02008000 0x1000>;
362 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
363 clock-names = "pll8_vote", "pxo";
364 clock-output-names = "acpu3_aux";
368 saw0: power-manager@2089000 {
369 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
370 reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
372 saw0_vreg: regulator {
373 regulator-min-microvolt = <850000>;
374 regulator-max-microvolt = <1300000>;
378 saw1: power-manager@2099000 {
379 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
380 reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
382 saw1_vreg: regulator {
383 regulator-min-microvolt = <850000>;
384 regulator-max-microvolt = <1300000>;
388 saw2: power-manager@20a9000 {
389 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
390 reg = <0x020a9000 0x1000>, <0x02009000 0x1000>;
392 saw2_vreg: regulator {
393 regulator-min-microvolt = <850000>;
394 regulator-max-microvolt = <1300000>;
398 saw3: power-manager@20b9000 {
399 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
400 reg = <0x020b9000 0x1000>, <0x02009000 0x1000>;
402 saw3_vreg: regulator {
403 regulator-min-microvolt = <850000>;
404 regulator-max-microvolt = <1300000>;
408 sps_sic_non_secure: sps-sic-non-secure@12100000 {
409 compatible = "syscon";
410 reg = <0x12100000 0x10000>;
413 gsbi1: gsbi@12440000 {
415 compatible = "qcom,gsbi-v1.0.0";
417 reg = <0x12440000 0x100>;
418 clocks = <&gcc GSBI1_H_CLK>;
419 clock-names = "iface";
420 #address-cells = <1>;
424 syscon-tcsr = <&tcsr>;
426 gsbi1_serial: serial@12450000 {
427 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
428 reg = <0x12450000 0x100>,
430 interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
431 clocks = <&gcc GSBI1_UART_CLK>, <&gcc GSBI1_H_CLK>;
432 clock-names = "core", "iface";
436 gsbi1_i2c: i2c@12460000 {
437 compatible = "qcom,i2c-qup-v1.1.1";
438 pinctrl-0 = <&i2c1_pins>;
439 pinctrl-1 = <&i2c1_pins_sleep>;
440 pinctrl-names = "default", "sleep";
441 reg = <0x12460000 0x1000>;
442 interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
443 clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
444 clock-names = "core", "iface";
445 #address-cells = <1>;
452 gsbi2: gsbi@12480000 {
454 compatible = "qcom,gsbi-v1.0.0";
456 reg = <0x12480000 0x100>;
457 clocks = <&gcc GSBI2_H_CLK>;
458 clock-names = "iface";
459 #address-cells = <1>;
463 syscon-tcsr = <&tcsr>;
465 gsbi2_i2c: i2c@124a0000 {
466 compatible = "qcom,i2c-qup-v1.1.1";
467 reg = <0x124a0000 0x1000>;
468 pinctrl-0 = <&i2c2_pins>;
469 pinctrl-1 = <&i2c2_pins_sleep>;
470 pinctrl-names = "default", "sleep";
471 interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>;
472 clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>;
473 clock-names = "core", "iface";
474 #address-cells = <1>;
480 gsbi3: gsbi@16200000 {
482 compatible = "qcom,gsbi-v1.0.0";
484 reg = <0x16200000 0x100>;
485 clocks = <&gcc GSBI3_H_CLK>;
486 clock-names = "iface";
487 #address-cells = <1>;
490 gsbi3_i2c: i2c@16280000 {
491 compatible = "qcom,i2c-qup-v1.1.1";
492 pinctrl-0 = <&i2c3_pins>;
493 pinctrl-1 = <&i2c3_pins_sleep>;
494 pinctrl-names = "default", "sleep";
495 reg = <0x16280000 0x1000>;
496 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
497 clocks = <&gcc GSBI3_QUP_CLK>,
499 clock-names = "core", "iface";
500 #address-cells = <1>;
506 gsbi4: gsbi@16300000 {
508 compatible = "qcom,gsbi-v1.0.0";
510 reg = <0x16300000 0x03>;
511 clocks = <&gcc GSBI4_H_CLK>;
512 clock-names = "iface";
513 #address-cells = <1>;
517 gsbi4_serial: serial@16340000 {
518 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
519 reg = <0x16340000 0x100>,
521 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
522 pinctrl-0 = <&gsbi4_uart_pin_a>;
523 pinctrl-names = "default";
524 clocks = <&gcc GSBI4_UART_CLK>, <&gcc GSBI4_H_CLK>;
525 clock-names = "core", "iface";
529 gsbi4_i2c: i2c@16380000 {
530 compatible = "qcom,i2c-qup-v1.1.1";
531 pinctrl-0 = <&i2c4_pins>;
532 pinctrl-1 = <&i2c4_pins_sleep>;
533 pinctrl-names = "default", "sleep";
534 reg = <0x16380000 0x1000>;
535 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
536 clocks = <&gcc GSBI4_QUP_CLK>,
538 clock-names = "core", "iface";
543 gsbi5: gsbi@1a200000 {
545 compatible = "qcom,gsbi-v1.0.0";
547 reg = <0x1a200000 0x03>;
548 clocks = <&gcc GSBI5_H_CLK>;
549 clock-names = "iface";
550 #address-cells = <1>;
554 gsbi5_serial: serial@1a240000 {
555 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
556 reg = <0x1a240000 0x100>,
558 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
559 clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
560 clock-names = "core", "iface";
564 gsbi5_spi: spi@1a280000 {
565 compatible = "qcom,spi-qup-v1.1.1";
566 reg = <0x1a280000 0x1000>;
567 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
568 pinctrl-0 = <&spi5_default>;
569 pinctrl-1 = <&spi5_sleep>;
570 pinctrl-names = "default", "sleep";
571 clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>;
572 clock-names = "core", "iface";
574 #address-cells = <1>;
579 gsbi6: gsbi@16500000 {
581 compatible = "qcom,gsbi-v1.0.0";
583 reg = <0x16500000 0x03>;
584 clocks = <&gcc GSBI6_H_CLK>;
585 clock-names = "iface";
586 #address-cells = <1>;
590 gsbi6_serial: serial@16540000 {
591 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
592 reg = <0x16540000 0x100>,
594 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
595 clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
596 clock-names = "core", "iface";
600 gsbi6_i2c: i2c@16580000 {
601 compatible = "qcom,i2c-qup-v1.1.1";
602 pinctrl-0 = <&i2c6_pins>;
603 pinctrl-1 = <&i2c6_pins_sleep>;
604 pinctrl-names = "default", "sleep";
605 reg = <0x16580000 0x1000>;
606 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
607 clocks = <&gcc GSBI6_QUP_CLK>,
609 clock-names = "core", "iface";
614 gsbi7: gsbi@16600000 {
616 compatible = "qcom,gsbi-v1.0.0";
618 reg = <0x16600000 0x100>;
619 clocks = <&gcc GSBI7_H_CLK>;
620 clock-names = "iface";
621 #address-cells = <1>;
624 syscon-tcsr = <&tcsr>;
626 gsbi7_serial: serial@16640000 {
627 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
628 reg = <0x16640000 0x1000>,
630 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
631 clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
632 clock-names = "core", "iface";
636 gsbi7_i2c: i2c@16680000 {
637 compatible = "qcom,i2c-qup-v1.1.1";
638 pinctrl-0 = <&i2c7_pins>;
639 pinctrl-1 = <&i2c7_pins_sleep>;
640 pinctrl-names = "default", "sleep";
641 reg = <0x16680000 0x1000>;
642 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
643 clocks = <&gcc GSBI7_QUP_CLK>,
645 clock-names = "core", "iface";
651 compatible = "qcom,prng";
652 reg = <0x1a500000 0x200>;
653 clocks = <&gcc PRNG_CLK>;
654 clock-names = "core";
658 compatible = "qcom,ssbi";
659 reg = <0x00c00000 0x1000>;
660 qcom,controller-type = "pmic-arbiter";
664 compatible = "qcom,ssbi";
665 reg = <0x00500000 0x1000>;
666 qcom,controller-type = "pmic-arbiter";
669 qfprom: qfprom@700000 {
670 compatible = "qcom,apq8064-qfprom", "qcom,qfprom";
671 reg = <0x00700000 0x1000>;
672 #address-cells = <1>;
675 tsens_calib: calib@404 {
678 tsens_backup: backup_calib@414 {
683 gcc: clock-controller@900000 {
684 compatible = "qcom,gcc-apq8064", "syscon";
685 reg = <0x00900000 0x4000>;
687 #power-domain-cells = <1>;
689 clocks = <&cxo_board>,
692 clock-names = "cxo", "pxo", "pll4";
694 tsens: thermal-sensor {
695 compatible = "qcom,msm8960-tsens";
697 nvmem-cells = <&tsens_calib>, <&tsens_backup>;
698 nvmem-cell-names = "calib", "calib_backup";
699 interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
700 interrupt-names = "uplow";
702 #qcom,sensors = <11>;
703 #thermal-sensor-cells = <1>;
707 lcc: clock-controller@28000000 {
708 compatible = "qcom,lcc-apq8064";
709 reg = <0x28000000 0x1000>;
712 clocks = <&pxo_board>,
721 "codec_i2s_mic_codec_clk",
722 "spare_i2s_mic_codec_clk",
723 "codec_i2s_spkr_codec_clk",
724 "spare_i2s_spkr_codec_clk",
728 mmcc: clock-controller@4000000 {
729 compatible = "qcom,mmcc-apq8064";
730 reg = <0x4000000 0x1000>;
732 #power-domain-cells = <1>;
734 clocks = <&pxo_board>,
752 l2cc: clock-controller@2011000 {
753 compatible = "qcom,kpss-gcc-apq8064", "qcom,kpss-gcc", "syscon";
754 reg = <0x2011000 0x1000>;
755 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
756 clock-names = "pll8_vote", "pxo";
761 compatible = "qcom,rpm-apq8064";
762 reg = <0x108000 0x1000>;
763 qcom,ipc = <&l2cc 0x8 2>;
765 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
766 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
767 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
768 interrupt-names = "ack", "err", "wakeup";
770 rpmcc: clock-controller {
771 compatible = "qcom,rpmcc-apq8064", "qcom,rpmcc";
773 clocks = <&pxo_board>, <&cxo_board>;
774 clock-names = "pxo", "cxo";
779 compatible = "qcom,ci-hdrc";
780 reg = <0x12500000 0x200>,
782 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
783 clocks = <&gcc USB_HS1_XCVR_CLK>, <&gcc USB_HS1_H_CLK>;
784 clock-names = "core", "iface";
785 assigned-clocks = <&gcc USB_HS1_XCVR_CLK>;
786 assigned-clock-rates = <60000000>;
787 resets = <&gcc USB_HS1_RESET>;
788 reset-names = "core";
790 ahb-burst-config = <0>;
791 phys = <&usb_hs1_phy>;
792 phy-names = "usb-phy";
798 compatible = "qcom,usb-hs-phy-apq8064",
800 clocks = <&sleep_clk>, <&cxo_board>;
801 clock-names = "sleep", "ref";
810 compatible = "qcom,ci-hdrc";
811 reg = <0x12520000 0x200>,
813 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
814 clocks = <&gcc USB_HS3_XCVR_CLK>, <&gcc USB_HS3_H_CLK>;
815 clock-names = "core", "iface";
816 assigned-clocks = <&gcc USB_HS3_XCVR_CLK>;
817 assigned-clock-rates = <60000000>;
818 resets = <&gcc USB_HS3_RESET>;
819 reset-names = "core";
821 ahb-burst-config = <0>;
822 phys = <&usb_hs3_phy>;
823 phy-names = "usb-phy";
829 compatible = "qcom,usb-hs-phy-apq8064",
832 clocks = <&sleep_clk>, <&cxo_board>;
833 clock-names = "sleep", "ref";
841 compatible = "qcom,ci-hdrc";
842 reg = <0x12530000 0x200>,
844 interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
845 clocks = <&gcc USB_HS4_XCVR_CLK>, <&gcc USB_HS4_H_CLK>;
846 clock-names = "core", "iface";
847 assigned-clocks = <&gcc USB_HS4_XCVR_CLK>;
848 assigned-clock-rates = <60000000>;
849 resets = <&gcc USB_HS4_RESET>;
850 reset-names = "core";
852 ahb-burst-config = <0>;
853 phys = <&usb_hs4_phy>;
854 phy-names = "usb-phy";
860 compatible = "qcom,usb-hs-phy-apq8064",
863 clocks = <&sleep_clk>, <&cxo_board>;
864 clock-names = "sleep", "ref";
871 sata_phy0: phy@1b400000 {
872 compatible = "qcom,apq8064-sata-phy";
874 reg = <0x1b400000 0x200>;
875 reg-names = "phy_mem";
876 clocks = <&gcc SATA_PHY_CFG_CLK>;
881 sata0: sata@29000000 {
882 compatible = "qcom,apq8064-ahci", "generic-ahci";
884 reg = <0x29000000 0x180>;
885 interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
887 clocks = <&gcc SFAB_SATA_S_H_CLK>,
890 <&gcc SATA_RXOOB_CLK>,
891 <&gcc SATA_PMALIVE_CLK>;
892 clock-names = "slave_iface",
898 assigned-clocks = <&gcc SATA_RXOOB_CLK>,
899 <&gcc SATA_PMALIVE_CLK>;
900 assigned-clock-rates = <100000000>, <100000000>;
903 phy-names = "sata-phy";
904 ports-implemented = <0x1>;
907 sdcc3: mmc@12180000 {
908 compatible = "arm,pl18x", "arm,primecell";
909 arm,primecell-periphid = <0x00051180>;
911 reg = <0x12180000 0x2000>;
912 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
913 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
914 clock-names = "mclk", "apb_pclk";
918 max-frequency = <192000000>;
920 dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
921 dma-names = "tx", "rx";
924 sdcc3bam: dma-controller@12182000 {
925 compatible = "qcom,bam-v1.3.0";
926 reg = <0x12182000 0x8000>;
927 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
928 clocks = <&gcc SDC3_H_CLK>;
929 clock-names = "bam_clk";
934 sdcc4: mmc@121c0000 {
935 compatible = "arm,pl18x", "arm,primecell";
936 arm,primecell-periphid = <0x00051180>;
938 reg = <0x121c0000 0x2000>;
939 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
940 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
941 clock-names = "mclk", "apb_pclk";
945 max-frequency = <48000000>;
946 dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
947 dma-names = "tx", "rx";
948 pinctrl-names = "default";
949 pinctrl-0 = <&sdc4_gpios>;
952 sdcc4bam: dma-controller@121c2000 {
953 compatible = "qcom,bam-v1.3.0";
954 reg = <0x121c2000 0x8000>;
955 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
956 clocks = <&gcc SDC4_H_CLK>;
957 clock-names = "bam_clk";
962 sdcc1: mmc@12400000 {
964 compatible = "arm,pl18x", "arm,primecell";
965 pinctrl-names = "default";
966 pinctrl-0 = <&sdcc1_pins>;
967 arm,primecell-periphid = <0x00051180>;
968 reg = <0x12400000 0x2000>;
969 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
970 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
971 clock-names = "mclk", "apb_pclk";
973 max-frequency = <96000000>;
977 dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
978 dma-names = "tx", "rx";
981 sdcc1bam: dma-controller@12402000 {
982 compatible = "qcom,bam-v1.3.0";
983 reg = <0x12402000 0x8000>;
984 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
985 clocks = <&gcc SDC1_H_CLK>;
986 clock-names = "bam_clk";
991 tcsr: syscon@1a400000 {
992 compatible = "qcom,tcsr-apq8064", "syscon";
993 reg = <0x1a400000 0x100>;
996 gpu: adreno-3xx@4300000 {
997 compatible = "qcom,adreno-320.2", "qcom,adreno";
998 reg = <0x04300000 0x20000>;
999 reg-names = "kgsl_3d0_reg_memory";
1000 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
1001 interrupt-names = "kgsl_3d0_irq";
1009 <&mmcc GFX3D_AHB_CLK>,
1010 <&mmcc GFX3D_AXI_CLK>,
1011 <&mmcc MMSS_IMEM_AHB_CLK>;
1078 operating-points-v2 = <&gpu_opp_table>;
1080 gpu_opp_table: opp-table {
1081 compatible = "operating-points-v2";
1084 opp-hz = /bits/ 64 <450000000>;
1088 opp-hz = /bits/ 64 <27000000>;
1093 mmss_sfpb: syscon@5700000 {
1094 compatible = "syscon";
1095 reg = <0x5700000 0x70>;
1099 compatible = "qcom,apq8064-dsi-ctrl",
1100 "qcom,mdss-dsi-ctrl";
1101 #address-cells = <1>;
1103 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
1104 reg = <0x04700000 0x200>;
1105 reg-names = "dsi_ctrl";
1107 clocks = <&mmcc DSI_M_AHB_CLK>,
1108 <&mmcc DSI_S_AHB_CLK>,
1109 <&mmcc AMP_AHB_CLK>,
1111 <&mmcc DSI1_BYTE_CLK>,
1112 <&mmcc DSI_PIXEL_CLK>,
1113 <&mmcc DSI1_ESC_CLK>;
1114 clock-names = "iface", "bus", "core_mmss",
1115 "src", "byte", "pixel",
1118 assigned-clocks = <&mmcc DSI1_BYTE_SRC>,
1119 <&mmcc DSI1_ESC_SRC>,
1121 <&mmcc DSI_PIXEL_SRC>;
1122 assigned-clock-parents = <&dsi0_phy 0>,
1126 syscon-sfpb = <&mmss_sfpb>;
1128 status = "disabled";
1131 #address-cells = <1>;
1142 dsi0_out: endpoint {
1149 dsi0_phy: phy@4700200 {
1150 compatible = "qcom,dsi-phy-28nm-8960";
1154 reg = <0x04700200 0x100>,
1157 reg-names = "dsi_pll", "dsi_phy", "dsi_phy_regulator";
1158 clock-names = "iface", "ref";
1159 clocks = <&mmcc DSI_M_AHB_CLK>,
1161 status = "disabled";
1165 compatible = "qcom,mdss-dsi-ctrl";
1166 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
1167 reg = <0x05800000 0x200>;
1168 reg-names = "dsi_ctrl";
1170 clocks = <&mmcc DSI2_M_AHB_CLK>,
1171 <&mmcc DSI2_S_AHB_CLK>,
1172 <&mmcc AMP_AHB_CLK>,
1174 <&mmcc DSI2_BYTE_CLK>,
1175 <&mmcc DSI2_PIXEL_CLK>,
1176 <&mmcc DSI2_ESC_CLK>;
1177 clock-names = "iface",
1185 assigned-clocks = <&mmcc DSI2_BYTE_SRC>,
1186 <&mmcc DSI2_ESC_SRC>,
1188 <&mmcc DSI2_PIXEL_SRC>;
1189 assigned-clock-parents = <&dsi1_phy 0>,
1194 syscon-sfpb = <&mmss_sfpb>;
1197 #address-cells = <1>;
1200 status = "disabled";
1203 #address-cells = <1>;
1214 dsi1_out: endpoint {
1221 dsi1_phy: dsi-phy@5800200 {
1222 compatible = "qcom,dsi-phy-28nm-8960";
1223 reg = <0x05800200 0x100>,
1226 reg-names = "dsi_pll",
1228 "dsi_phy_regulator";
1229 clock-names = "iface",
1231 clocks = <&mmcc DSI2_M_AHB_CLK>,
1236 status = "disabled";
1239 mdp_port0: iommu@7500000 {
1240 compatible = "qcom,apq8064-iommu";
1246 <&mmcc SMMU_AHB_CLK>,
1247 <&mmcc MDP_AXI_CLK>;
1248 reg = <0x07500000 0x100000>;
1250 <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>,
1251 <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
1255 mdp_port1: iommu@7600000 {
1256 compatible = "qcom,apq8064-iommu";
1262 <&mmcc SMMU_AHB_CLK>,
1263 <&mmcc MDP_AXI_CLK>;
1264 reg = <0x07600000 0x100000>;
1266 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
1267 <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
1271 gfx3d: iommu@7c00000 {
1272 compatible = "qcom,apq8064-iommu";
1278 <&mmcc SMMU_AHB_CLK>,
1279 <&mmcc GFX3D_AXI_CLK>;
1280 reg = <0x07c00000 0x100000>;
1282 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
1283 <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
1287 gfx3d1: iommu@7d00000 {
1288 compatible = "qcom,apq8064-iommu";
1294 <&mmcc SMMU_AHB_CLK>,
1295 <&mmcc GFX3D_AXI_CLK>;
1296 reg = <0x07d00000 0x100000>;
1298 <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
1299 <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>;
1303 pcie: pcie@1b500000 {
1304 compatible = "qcom,pcie-apq8064";
1305 reg = <0x1b500000 0x1000>,
1308 <0x0ff00000 0x100000>;
1309 reg-names = "dbi", "elbi", "parf", "config";
1310 device_type = "pci";
1311 linux,pci-domain = <0>;
1312 bus-range = <0x00 0xff>;
1314 #address-cells = <3>;
1316 ranges = <0x81000000 0x0 0x00000000 0x0fe00000 0x0 0x00100000>, /* I/O */
1317 <0x82000000 0x0 0x08000000 0x08000000 0x0 0x07e00000>; /* mem */
1318 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
1319 interrupt-names = "msi";
1320 #interrupt-cells = <1>;
1321 interrupt-map-mask = <0 0 0 0x7>;
1322 interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1323 <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1324 <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1325 <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1326 clocks = <&gcc PCIE_A_CLK>,
1328 <&gcc PCIE_PHY_REF_CLK>;
1329 clock-names = "core", "iface", "phy";
1330 resets = <&gcc PCIE_ACLK_RESET>,
1331 <&gcc PCIE_HCLK_RESET>,
1332 <&gcc PCIE_POR_RESET>,
1333 <&gcc PCIE_PCI_RESET>,
1334 <&gcc PCIE_PHY_RESET>;
1335 reset-names = "axi", "ahb", "por", "pci", "phy";
1336 status = "disabled";
1339 hdmi: hdmi-tx@4a00000 {
1340 compatible = "qcom,hdmi-tx-8960";
1341 pinctrl-names = "default";
1342 pinctrl-0 = <&hdmi_pinctrl>;
1343 reg = <0x04a00000 0x2f0>;
1344 reg-names = "core_physical";
1345 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
1346 clocks = <&mmcc HDMI_APP_CLK>,
1347 <&mmcc HDMI_M_AHB_CLK>,
1348 <&mmcc HDMI_S_AHB_CLK>;
1349 clock-names = "core",
1355 status = "disabled";
1358 #address-cells = <1>;
1369 hdmi_out: endpoint {
1375 hdmi_phy: phy@4a00400 {
1376 compatible = "qcom,hdmi-phy-8960";
1377 reg = <0x4a00400 0x60>,
1379 reg-names = "hdmi_phy",
1382 clocks = <&mmcc HDMI_S_AHB_CLK>;
1383 clock-names = "slave_iface";
1387 status = "disabled";
1390 mdp: display-controller@5100000 {
1391 compatible = "qcom,mdp4";
1392 reg = <0x05100000 0xf0000>;
1393 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
1394 clocks = <&mmcc MDP_CLK>,
1395 <&mmcc MDP_AHB_CLK>,
1396 <&mmcc MDP_AXI_CLK>,
1397 <&mmcc MDP_LUT_CLK>,
1398 <&mmcc HDMI_TV_CLK>,
1400 clock-names = "core_clk",
1407 iommus = <&mdp_port0 0
1413 #address-cells = <1>;
1418 mdp_lvds_out: endpoint {
1424 mdp_dsi1_out: endpoint {
1430 mdp_dsi2_out: endpoint {
1436 mdp_dtv_out: endpoint {
1442 riva: riva-pil@3200800 {
1443 compatible = "qcom,riva-pil";
1445 reg = <0x03200800 0x1000>, <0x03202000 0x2000>, <0x03204000 0x100>;
1446 reg-names = "ccu", "dxe", "pmu";
1448 interrupts-extended = <&intc GIC_SPI 199 IRQ_TYPE_EDGE_RISING>,
1449 <&wcnss_smsm 6 IRQ_TYPE_EDGE_RISING>;
1450 interrupt-names = "wdog", "fatal";
1452 memory-region = <&wcnss_mem>;
1454 status = "disabled";
1457 compatible = "qcom,wcn3660";
1459 clocks = <&cxo_board>;
1464 interrupts = <GIC_SPI 198 IRQ_TYPE_EDGE_RISING>;
1466 qcom,ipc = <&l2cc 8 25>;
1467 qcom,smd-edge = <6>;
1472 compatible = "qcom,wcnss";
1473 qcom,smd-channels = "WCNSS_CTRL";
1475 qcom,mmio = <&riva>;
1478 compatible = "qcom,wcnss-bt";
1482 compatible = "qcom,wcnss-wlan";
1484 interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
1485 <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
1486 interrupt-names = "tx", "rx";
1488 qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
1489 qcom,smem-state-names = "tx-enable", "tx-rings-empty";
1496 compatible = "arm,coresight-etb10", "arm,primecell";
1497 reg = <0x1a01000 0x1000>;
1499 clocks = <&rpmcc RPM_QDSS_CLK>;
1500 clock-names = "apb_pclk";
1505 remote-endpoint = <&replicator_out0>;
1512 compatible = "arm,coresight-tpiu", "arm,primecell";
1513 reg = <0x1a03000 0x1000>;
1515 clocks = <&rpmcc RPM_QDSS_CLK>;
1516 clock-names = "apb_pclk";
1521 remote-endpoint = <&replicator_out1>;
1528 compatible = "arm,coresight-static-replicator";
1530 clocks = <&rpmcc RPM_QDSS_CLK>;
1531 clock-names = "apb_pclk";
1534 #address-cells = <1>;
1539 replicator_out0: endpoint {
1540 remote-endpoint = <&etb_in>;
1545 replicator_out1: endpoint {
1546 remote-endpoint = <&tpiu_in>;
1553 replicator_in: endpoint {
1554 remote-endpoint = <&funnel_out>;
1561 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1562 reg = <0x1a04000 0x1000>;
1564 clocks = <&rpmcc RPM_QDSS_CLK>;
1565 clock-names = "apb_pclk";
1568 #address-cells = <1>;
1572 * Not described input ports:
1573 * 2 - connected to STM component
1580 funnel_in0: endpoint {
1581 remote-endpoint = <&etm0_out>;
1586 funnel_in1: endpoint {
1587 remote-endpoint = <&etm1_out>;
1592 funnel_in4: endpoint {
1593 remote-endpoint = <&etm2_out>;
1598 funnel_in5: endpoint {
1599 remote-endpoint = <&etm3_out>;
1606 funnel_out: endpoint {
1607 remote-endpoint = <&replicator_in>;
1614 compatible = "arm,coresight-etm3x", "arm,primecell";
1615 reg = <0x1a1c000 0x1000>;
1617 clocks = <&rpmcc RPM_QDSS_CLK>;
1618 clock-names = "apb_pclk";
1624 etm0_out: endpoint {
1625 remote-endpoint = <&funnel_in0>;
1632 compatible = "arm,coresight-etm3x", "arm,primecell";
1633 reg = <0x1a1d000 0x1000>;
1635 clocks = <&rpmcc RPM_QDSS_CLK>;
1636 clock-names = "apb_pclk";
1642 etm1_out: endpoint {
1643 remote-endpoint = <&funnel_in1>;
1650 compatible = "arm,coresight-etm3x", "arm,primecell";
1651 reg = <0x1a1e000 0x1000>;
1653 clocks = <&rpmcc RPM_QDSS_CLK>;
1654 clock-names = "apb_pclk";
1660 etm2_out: endpoint {
1661 remote-endpoint = <&funnel_in4>;
1668 compatible = "arm,coresight-etm3x", "arm,primecell";
1669 reg = <0x1a1f000 0x1000>;
1671 clocks = <&rpmcc RPM_QDSS_CLK>;
1672 clock-names = "apb_pclk";
1678 etm3_out: endpoint {
1679 remote-endpoint = <&funnel_in5>;
1686 #include "qcom-apq8064-pins.dtsi"