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 = <1 10 0x304>;
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,smd";
233 interrupts = <0 37 IRQ_TYPE_EDGE_RISING>;
235 qcom,ipc = <&l2cc 8 3>;
242 interrupts = <0 90 IRQ_TYPE_EDGE_RISING>;
244 qcom,ipc = <&l2cc 8 15>;
251 interrupts = <0 138 IRQ_TYPE_EDGE_RISING>;
253 qcom,ipc = <&sps_sic_non_secure 0x4080 0>;
260 interrupts = <0 198 IRQ_TYPE_EDGE_RISING>;
262 qcom,ipc = <&l2cc 8 25>;
270 compatible = "qcom,smsm";
272 #address-cells = <1>;
275 qcom,ipc-1 = <&l2cc 8 4>;
276 qcom,ipc-2 = <&l2cc 8 14>;
277 qcom,ipc-3 = <&l2cc 8 23>;
278 qcom,ipc-4 = <&sps_sic_non_secure 0x4094 0>;
282 #qcom,smem-state-cells = <1>;
285 modem_smsm: modem@1 {
287 interrupts = <0 38 IRQ_TYPE_EDGE_RISING>;
289 interrupt-controller;
290 #interrupt-cells = <2>;
295 interrupts = <0 89 IRQ_TYPE_EDGE_RISING>;
297 interrupt-controller;
298 #interrupt-cells = <2>;
301 wcnss_smsm: wcnss@3 {
303 interrupts = <0 204 IRQ_TYPE_EDGE_RISING>;
305 interrupt-controller;
306 #interrupt-cells = <2>;
311 interrupts = <0 137 IRQ_TYPE_EDGE_RISING>;
313 interrupt-controller;
314 #interrupt-cells = <2>;
320 compatible = "qcom,scm-apq8064", "qcom,scm";
322 clocks = <&rpmcc RPM_DAYTONA_FABRIC_CLK>;
323 clock-names = "core";
329 * These channels from the ADC are simply hardware monitors.
330 * That is why the ADC is referred to as "HKADC" - HouseKeeping
334 compatible = "iio-hwmon";
335 io-channels = <&xoadc 0x00 0x01>, /* Battery */
336 <&xoadc 0x00 0x02>, /* DC in (charger) */
337 <&xoadc 0x00 0x04>, /* VPH the main system voltage */
338 <&xoadc 0x00 0x0b>, /* Die temperature */
339 <&xoadc 0x00 0x0c>, /* Reference voltage 1.25V */
340 <&xoadc 0x00 0x0d>, /* Reference voltage 0.625V */
341 <&xoadc 0x00 0x0e>; /* Charger temperature */
345 #address-cells = <1>;
348 compatible = "simple-bus";
350 tlmm_pinmux: pinctrl@800000 {
351 compatible = "qcom,apq8064-pinctrl";
352 reg = <0x800000 0x4000>;
355 gpio-ranges = <&tlmm_pinmux 0 0 90>;
357 interrupt-controller;
358 #interrupt-cells = <2>;
359 interrupts = <0 16 IRQ_TYPE_LEVEL_HIGH>;
361 pinctrl-names = "default";
362 pinctrl-0 = <&ps_hold>;
365 sfpb_wrapper_mutex: syscon@1200000 {
366 compatible = "syscon";
367 reg = <0x01200000 0x8000>;
370 intc: interrupt-controller@2000000 {
371 compatible = "qcom,msm-qgic2";
372 interrupt-controller;
373 #interrupt-cells = <3>;
374 reg = <0x02000000 0x1000>,
379 compatible = "qcom,kpss-wdt-apq8064", "qcom,kpss-timer",
381 interrupts = <1 1 0x301>,
384 reg = <0x0200a000 0x100>;
385 clock-frequency = <27000000>;
386 cpu-offset = <0x80000>;
389 acc0: clock-controller@2088000 {
390 compatible = "qcom,kpss-acc-v1";
391 reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
392 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
393 clock-names = "pll8_vote", "pxo";
394 clock-output-names = "acpu0_aux";
398 acc1: clock-controller@2098000 {
399 compatible = "qcom,kpss-acc-v1";
400 reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
401 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
402 clock-names = "pll8_vote", "pxo";
403 clock-output-names = "acpu1_aux";
407 acc2: clock-controller@20a8000 {
408 compatible = "qcom,kpss-acc-v1";
409 reg = <0x020a8000 0x1000>, <0x02008000 0x1000>;
410 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
411 clock-names = "pll8_vote", "pxo";
412 clock-output-names = "acpu2_aux";
416 acc3: clock-controller@20b8000 {
417 compatible = "qcom,kpss-acc-v1";
418 reg = <0x020b8000 0x1000>, <0x02008000 0x1000>;
419 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
420 clock-names = "pll8_vote", "pxo";
421 clock-output-names = "acpu3_aux";
425 saw0: power-controller@2089000 {
426 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
427 reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
431 saw1: power-controller@2099000 {
432 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
433 reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
437 saw2: power-controller@20a9000 {
438 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
439 reg = <0x020a9000 0x1000>, <0x02009000 0x1000>;
443 saw3: power-controller@20b9000 {
444 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
445 reg = <0x020b9000 0x1000>, <0x02009000 0x1000>;
449 sps_sic_non_secure: sps-sic-non-secure@12100000 {
450 compatible = "syscon";
451 reg = <0x12100000 0x10000>;
454 gsbi1: gsbi@12440000 {
456 compatible = "qcom,gsbi-v1.0.0";
458 reg = <0x12440000 0x100>;
459 clocks = <&gcc GSBI1_H_CLK>;
460 clock-names = "iface";
461 #address-cells = <1>;
465 syscon-tcsr = <&tcsr>;
467 gsbi1_serial: serial@12450000 {
468 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
469 reg = <0x12450000 0x100>,
471 interrupts = <0 193 IRQ_TYPE_LEVEL_HIGH>;
472 clocks = <&gcc GSBI1_UART_CLK>, <&gcc GSBI1_H_CLK>;
473 clock-names = "core", "iface";
477 gsbi1_i2c: i2c@12460000 {
478 compatible = "qcom,i2c-qup-v1.1.1";
479 pinctrl-0 = <&i2c1_pins>;
480 pinctrl-1 = <&i2c1_pins_sleep>;
481 pinctrl-names = "default", "sleep";
482 reg = <0x12460000 0x1000>;
483 interrupts = <0 194 IRQ_TYPE_LEVEL_HIGH>;
484 clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
485 clock-names = "core", "iface";
486 #address-cells = <1>;
493 gsbi2: gsbi@12480000 {
495 compatible = "qcom,gsbi-v1.0.0";
497 reg = <0x12480000 0x100>;
498 clocks = <&gcc GSBI2_H_CLK>;
499 clock-names = "iface";
500 #address-cells = <1>;
504 syscon-tcsr = <&tcsr>;
506 gsbi2_i2c: i2c@124a0000 {
507 compatible = "qcom,i2c-qup-v1.1.1";
508 reg = <0x124a0000 0x1000>;
509 pinctrl-0 = <&i2c2_pins>;
510 pinctrl-1 = <&i2c2_pins_sleep>;
511 pinctrl-names = "default", "sleep";
512 interrupts = <0 196 IRQ_TYPE_LEVEL_HIGH>;
513 clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>;
514 clock-names = "core", "iface";
515 #address-cells = <1>;
521 gsbi3: gsbi@16200000 {
523 compatible = "qcom,gsbi-v1.0.0";
525 reg = <0x16200000 0x100>;
526 clocks = <&gcc GSBI3_H_CLK>;
527 clock-names = "iface";
528 #address-cells = <1>;
531 gsbi3_i2c: i2c@16280000 {
532 compatible = "qcom,i2c-qup-v1.1.1";
533 pinctrl-0 = <&i2c3_pins>;
534 pinctrl-1 = <&i2c3_pins_sleep>;
535 pinctrl-names = "default", "sleep";
536 reg = <0x16280000 0x1000>;
537 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
538 clocks = <&gcc GSBI3_QUP_CLK>,
540 clock-names = "core", "iface";
541 #address-cells = <1>;
547 gsbi4: gsbi@16300000 {
549 compatible = "qcom,gsbi-v1.0.0";
551 reg = <0x16300000 0x03>;
552 clocks = <&gcc GSBI4_H_CLK>;
553 clock-names = "iface";
554 #address-cells = <1>;
558 gsbi4_i2c: i2c@16380000 {
559 compatible = "qcom,i2c-qup-v1.1.1";
560 pinctrl-0 = <&i2c4_pins>;
561 pinctrl-1 = <&i2c4_pins_sleep>;
562 pinctrl-names = "default", "sleep";
563 reg = <0x16380000 0x1000>;
564 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
565 clocks = <&gcc GSBI4_QUP_CLK>,
567 clock-names = "core", "iface";
572 gsbi5: gsbi@1a200000 {
574 compatible = "qcom,gsbi-v1.0.0";
576 reg = <0x1a200000 0x03>;
577 clocks = <&gcc GSBI5_H_CLK>;
578 clock-names = "iface";
579 #address-cells = <1>;
583 gsbi5_serial: serial@1a240000 {
584 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
585 reg = <0x1a240000 0x100>,
587 interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>;
588 clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
589 clock-names = "core", "iface";
593 gsbi5_spi: spi@1a280000 {
594 compatible = "qcom,spi-qup-v1.1.1";
595 reg = <0x1a280000 0x1000>;
596 interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>;
597 pinctrl-0 = <&spi5_default>;
598 pinctrl-1 = <&spi5_sleep>;
599 pinctrl-names = "default", "sleep";
600 clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>;
601 clock-names = "core", "iface";
603 #address-cells = <1>;
608 gsbi6: gsbi@16500000 {
610 compatible = "qcom,gsbi-v1.0.0";
612 reg = <0x16500000 0x03>;
613 clocks = <&gcc GSBI6_H_CLK>;
614 clock-names = "iface";
615 #address-cells = <1>;
619 gsbi6_serial: serial@16540000 {
620 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
621 reg = <0x16540000 0x100>,
623 interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
624 clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
625 clock-names = "core", "iface";
629 gsbi6_i2c: i2c@16580000 {
630 compatible = "qcom,i2c-qup-v1.1.1";
631 pinctrl-0 = <&i2c6_pins>;
632 pinctrl-1 = <&i2c6_pins_sleep>;
633 pinctrl-names = "default", "sleep";
634 reg = <0x16580000 0x1000>;
635 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
636 clocks = <&gcc GSBI6_QUP_CLK>,
638 clock-names = "core", "iface";
643 gsbi7: gsbi@16600000 {
645 compatible = "qcom,gsbi-v1.0.0";
647 reg = <0x16600000 0x100>;
648 clocks = <&gcc GSBI7_H_CLK>;
649 clock-names = "iface";
650 #address-cells = <1>;
653 syscon-tcsr = <&tcsr>;
655 gsbi7_serial: serial@16640000 {
656 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
657 reg = <0x16640000 0x1000>,
659 interrupts = <0 158 IRQ_TYPE_LEVEL_HIGH>;
660 clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
661 clock-names = "core", "iface";
665 gsbi7_i2c: i2c@16680000 {
666 compatible = "qcom,i2c-qup-v1.1.1";
667 pinctrl-0 = <&i2c7_pins>;
668 pinctrl-1 = <&i2c7_pins_sleep>;
669 pinctrl-names = "default", "sleep";
670 reg = <0x16680000 0x1000>;
671 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
672 clocks = <&gcc GSBI7_QUP_CLK>,
674 clock-names = "core", "iface";
680 compatible = "qcom,prng";
681 reg = <0x1a500000 0x200>;
682 clocks = <&gcc PRNG_CLK>;
683 clock-names = "core";
687 compatible = "qcom,ssbi";
688 reg = <0x00c00000 0x1000>;
689 qcom,controller-type = "pmic-arbiter";
692 compatible = "qcom,pm8821";
693 interrupt-parent = <&tlmm_pinmux>;
694 interrupts = <76 IRQ_TYPE_LEVEL_LOW>;
695 #interrupt-cells = <2>;
696 interrupt-controller;
697 #address-cells = <1>;
700 pm8821_mpps: mpps@50 {
701 compatible = "qcom,pm8821-mpp", "qcom,ssbi-mpp";
703 interrupt-controller;
704 #interrupt-cells = <2>;
707 gpio-ranges = <&pm8821_mpps 0 0 4>;
713 compatible = "qcom,ssbi";
714 reg = <0x00500000 0x1000>;
715 qcom,controller-type = "pmic-arbiter";
718 compatible = "qcom,pm8921";
719 interrupt-parent = <&tlmm_pinmux>;
721 #interrupt-cells = <2>;
722 interrupt-controller;
723 #address-cells = <1>;
726 pm8921_gpio: gpio@150 {
728 compatible = "qcom,pm8921-gpio",
731 interrupt-controller;
732 #interrupt-cells = <2>;
734 gpio-ranges = <&pm8921_gpio 0 0 44>;
739 pm8921_mpps: mpps@50 {
740 compatible = "qcom,pm8921-mpp",
745 gpio-ranges = <&pm8921_mpps 0 0 12>;
746 interrupt-controller;
747 #interrupt-cells = <2>;
751 compatible = "qcom,pm8921-rtc";
752 interrupt-parent = <&pmicintc>;
759 compatible = "qcom,pm8921-pwrkey";
761 interrupt-parent = <&pmicintc>;
762 interrupts = <50 1>, <51 1>;
768 compatible = "qcom,pm8921-adc";
770 interrupts-extended = <&pmicintc 78 IRQ_TYPE_EDGE_RISING>;
771 #address-cells = <2>;
773 #io-channel-cells = <2>;
775 vcoin: adc-channel@0 {
778 vbat: adc-channel@1 {
781 dcin: adc-channel@2 {
784 vph_pwr: adc-channel@4 {
787 batt_therm: adc-channel@8 {
790 batt_id: adc-channel@9 {
793 usb_vbus: adc-channel@a {
796 die_temp: adc-channel@b {
799 ref_625mv: adc-channel@c {
802 ref_1250mv: adc-channel@d {
805 chg_temp: adc-channel@e {
808 ref_muxoff: adc-channel@f {
815 qfprom: qfprom@700000 {
816 compatible = "qcom,apq8064-qfprom", "qcom,qfprom";
817 reg = <0x00700000 0x1000>;
818 #address-cells = <1>;
821 tsens_calib: calib@404 {
824 tsens_backup: backup_calib@414 {
829 gcc: clock-controller@900000 {
830 compatible = "qcom,gcc-apq8064", "syscon";
831 reg = <0x00900000 0x4000>;
833 #power-domain-cells = <1>;
835 clocks = <&cxo_board>,
838 clock-names = "cxo", "pxo", "pll4";
840 tsens: thermal-sensor {
841 compatible = "qcom,msm8960-tsens";
843 nvmem-cells = <&tsens_calib>, <&tsens_backup>;
844 nvmem-cell-names = "calib", "calib_backup";
845 interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
846 interrupt-names = "uplow";
848 #qcom,sensors = <11>;
849 #thermal-sensor-cells = <1>;
853 lcc: clock-controller@28000000 {
854 compatible = "qcom,lcc-apq8064";
855 reg = <0x28000000 0x1000>;
858 clocks = <&pxo_board>,
867 "codec_i2s_mic_codec_clk",
868 "spare_i2s_mic_codec_clk",
869 "codec_i2s_spkr_codec_clk",
870 "spare_i2s_spkr_codec_clk",
874 mmcc: clock-controller@4000000 {
875 compatible = "qcom,mmcc-apq8064";
876 reg = <0x4000000 0x1000>;
878 #power-domain-cells = <1>;
880 clocks = <&pxo_board>,
898 l2cc: clock-controller@2011000 {
899 compatible = "qcom,kpss-gcc-apq8064", "qcom,kpss-gcc", "syscon";
900 reg = <0x2011000 0x1000>;
901 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
902 clock-names = "pll8_vote", "pxo";
907 compatible = "qcom,rpm-apq8064";
908 reg = <0x108000 0x1000>;
909 qcom,ipc = <&l2cc 0x8 2>;
911 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
912 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
913 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
914 interrupt-names = "ack", "err", "wakeup";
916 rpmcc: clock-controller {
917 compatible = "qcom,rpmcc-apq8064", "qcom,rpmcc";
919 clocks = <&pxo_board>, <&cxo_board>;
920 clock-names = "pxo", "cxo";
924 compatible = "qcom,rpm-pm8921-regulators";
960 pm8921_lvs1: lvs1 {};
961 pm8921_lvs2: lvs2 {};
962 pm8921_lvs3: lvs3 {};
963 pm8921_lvs4: lvs4 {};
964 pm8921_lvs5: lvs5 {};
965 pm8921_lvs6: lvs6 {};
966 pm8921_lvs7: lvs7 {};
968 pm8921_usb_switch: usb-switch {};
970 pm8921_hdmi_switch: hdmi-switch {
979 compatible = "qcom,ci-hdrc";
980 reg = <0x12500000 0x200>,
982 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
983 clocks = <&gcc USB_HS1_XCVR_CLK>, <&gcc USB_HS1_H_CLK>;
984 clock-names = "core", "iface";
985 assigned-clocks = <&gcc USB_HS1_XCVR_CLK>;
986 assigned-clock-rates = <60000000>;
987 resets = <&gcc USB_HS1_RESET>;
988 reset-names = "core";
990 ahb-burst-config = <0>;
991 phys = <&usb_hs1_phy>;
992 phy-names = "usb-phy";
998 compatible = "qcom,usb-hs-phy-apq8064",
1000 clocks = <&sleep_clk>, <&cxo_board>;
1001 clock-names = "sleep", "ref";
1003 reset-names = "por";
1009 usb3: usb@12520000 {
1010 compatible = "qcom,ci-hdrc";
1011 reg = <0x12520000 0x200>,
1013 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
1014 clocks = <&gcc USB_HS3_XCVR_CLK>, <&gcc USB_HS3_H_CLK>;
1015 clock-names = "core", "iface";
1016 assigned-clocks = <&gcc USB_HS3_XCVR_CLK>;
1017 assigned-clock-rates = <60000000>;
1018 resets = <&gcc USB_HS3_RESET>;
1019 reset-names = "core";
1021 ahb-burst-config = <0>;
1022 phys = <&usb_hs3_phy>;
1023 phy-names = "usb-phy";
1024 status = "disabled";
1029 compatible = "qcom,usb-hs-phy-apq8064",
1032 clocks = <&sleep_clk>, <&cxo_board>;
1033 clock-names = "sleep", "ref";
1035 reset-names = "por";
1040 usb4: usb@12530000 {
1041 compatible = "qcom,ci-hdrc";
1042 reg = <0x12530000 0x200>,
1044 interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
1045 clocks = <&gcc USB_HS4_XCVR_CLK>, <&gcc USB_HS4_H_CLK>;
1046 clock-names = "core", "iface";
1047 assigned-clocks = <&gcc USB_HS4_XCVR_CLK>;
1048 assigned-clock-rates = <60000000>;
1049 resets = <&gcc USB_HS4_RESET>;
1050 reset-names = "core";
1052 ahb-burst-config = <0>;
1053 phys = <&usb_hs4_phy>;
1054 phy-names = "usb-phy";
1055 status = "disabled";
1060 compatible = "qcom,usb-hs-phy-apq8064",
1063 clocks = <&sleep_clk>, <&cxo_board>;
1064 clock-names = "sleep", "ref";
1066 reset-names = "por";
1071 sata_phy0: phy@1b400000 {
1072 compatible = "qcom,apq8064-sata-phy";
1073 status = "disabled";
1074 reg = <0x1b400000 0x200>;
1075 reg-names = "phy_mem";
1076 clocks = <&gcc SATA_PHY_CFG_CLK>;
1077 clock-names = "cfg";
1081 sata0: sata@29000000 {
1082 compatible = "qcom,apq8064-ahci", "generic-ahci";
1083 status = "disabled";
1084 reg = <0x29000000 0x180>;
1085 interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
1087 clocks = <&gcc SFAB_SATA_S_H_CLK>,
1090 <&gcc SATA_RXOOB_CLK>,
1091 <&gcc SATA_PMALIVE_CLK>;
1092 clock-names = "slave_iface",
1098 assigned-clocks = <&gcc SATA_RXOOB_CLK>,
1099 <&gcc SATA_PMALIVE_CLK>;
1100 assigned-clock-rates = <100000000>, <100000000>;
1102 phys = <&sata_phy0>;
1103 phy-names = "sata-phy";
1104 ports-implemented = <0x1>;
1107 sdcc3: mmc@12180000 {
1108 compatible = "arm,pl18x", "arm,primecell";
1109 arm,primecell-periphid = <0x00051180>;
1110 status = "disabled";
1111 reg = <0x12180000 0x2000>;
1112 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1113 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
1114 clock-names = "mclk", "apb_pclk";
1118 max-frequency = <192000000>;
1120 dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
1121 dma-names = "tx", "rx";
1124 sdcc3bam: dma-controller@12182000 {
1125 compatible = "qcom,bam-v1.3.0";
1126 reg = <0x12182000 0x8000>;
1127 interrupts = <0 96 IRQ_TYPE_LEVEL_HIGH>;
1128 clocks = <&gcc SDC3_H_CLK>;
1129 clock-names = "bam_clk";
1134 sdcc4: mmc@121c0000 {
1135 compatible = "arm,pl18x", "arm,primecell";
1136 arm,primecell-periphid = <0x00051180>;
1137 status = "disabled";
1138 reg = <0x121c0000 0x2000>;
1139 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1140 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
1141 clock-names = "mclk", "apb_pclk";
1145 max-frequency = <48000000>;
1146 dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
1147 dma-names = "tx", "rx";
1148 pinctrl-names = "default";
1149 pinctrl-0 = <&sdc4_gpios>;
1152 sdcc4bam: dma-controller@121c2000 {
1153 compatible = "qcom,bam-v1.3.0";
1154 reg = <0x121c2000 0x8000>;
1155 interrupts = <0 95 IRQ_TYPE_LEVEL_HIGH>;
1156 clocks = <&gcc SDC4_H_CLK>;
1157 clock-names = "bam_clk";
1162 sdcc1: mmc@12400000 {
1163 status = "disabled";
1164 compatible = "arm,pl18x", "arm,primecell";
1165 pinctrl-names = "default";
1166 pinctrl-0 = <&sdcc1_pins>;
1167 arm,primecell-periphid = <0x00051180>;
1168 reg = <0x12400000 0x2000>;
1169 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
1170 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
1171 clock-names = "mclk", "apb_pclk";
1173 max-frequency = <96000000>;
1177 dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
1178 dma-names = "tx", "rx";
1181 sdcc1bam: dma-controller@12402000 {
1182 compatible = "qcom,bam-v1.3.0";
1183 reg = <0x12402000 0x8000>;
1184 interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>;
1185 clocks = <&gcc SDC1_H_CLK>;
1186 clock-names = "bam_clk";
1191 tcsr: syscon@1a400000 {
1192 compatible = "qcom,tcsr-apq8064", "syscon";
1193 reg = <0x1a400000 0x100>;
1196 gpu: adreno-3xx@4300000 {
1197 compatible = "qcom,adreno-320.2", "qcom,adreno";
1198 reg = <0x04300000 0x20000>;
1199 reg-names = "kgsl_3d0_reg_memory";
1200 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
1201 interrupt-names = "kgsl_3d0_irq";
1209 <&mmcc GFX3D_AHB_CLK>,
1210 <&mmcc GFX3D_AXI_CLK>,
1211 <&mmcc MMSS_IMEM_AHB_CLK>;
1278 operating-points-v2 = <&gpu_opp_table>;
1280 gpu_opp_table: opp-table {
1281 compatible = "operating-points-v2";
1284 opp-hz = /bits/ 64 <450000000>;
1288 opp-hz = /bits/ 64 <27000000>;
1293 mmss_sfpb: syscon@5700000 {
1294 compatible = "syscon";
1295 reg = <0x5700000 0x70>;
1299 compatible = "qcom,apq8064-dsi-ctrl",
1300 "qcom,mdss-dsi-ctrl";
1301 label = "MDSS DSI CTRL->0";
1302 #address-cells = <1>;
1304 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
1305 reg = <0x04700000 0x200>;
1306 reg-names = "dsi_ctrl";
1308 clocks = <&mmcc DSI_M_AHB_CLK>,
1309 <&mmcc DSI_S_AHB_CLK>,
1310 <&mmcc AMP_AHB_CLK>,
1312 <&mmcc DSI1_BYTE_CLK>,
1313 <&mmcc DSI_PIXEL_CLK>,
1314 <&mmcc DSI1_ESC_CLK>;
1315 clock-names = "iface", "bus", "core_mmss",
1316 "src", "byte", "pixel",
1319 assigned-clocks = <&mmcc DSI1_BYTE_SRC>,
1320 <&mmcc DSI1_ESC_SRC>,
1322 <&mmcc DSI_PIXEL_SRC>;
1323 assigned-clock-parents = <&dsi0_phy 0>,
1327 syscon-sfpb = <&mmss_sfpb>;
1329 status = "disabled";
1332 #address-cells = <1>;
1343 dsi0_out: endpoint {
1350 dsi0_phy: phy@4700200 {
1351 compatible = "qcom,dsi-phy-28nm-8960";
1355 reg = <0x04700200 0x100>,
1358 reg-names = "dsi_pll", "dsi_phy", "dsi_phy_regulator";
1359 clock-names = "iface", "ref";
1360 clocks = <&mmcc DSI_M_AHB_CLK>,
1362 status = "disabled";
1366 compatible = "qcom,mdss-dsi-ctrl";
1367 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
1368 reg = <0x05800000 0x200>;
1369 reg-names = "dsi_ctrl";
1371 clocks = <&mmcc DSI2_M_AHB_CLK>,
1372 <&mmcc DSI2_S_AHB_CLK>,
1373 <&mmcc AMP_AHB_CLK>,
1375 <&mmcc DSI2_BYTE_CLK>,
1376 <&mmcc DSI2_PIXEL_CLK>,
1377 <&mmcc DSI2_ESC_CLK>;
1378 clock-names = "iface",
1386 assigned-clocks = <&mmcc DSI2_BYTE_SRC>,
1387 <&mmcc DSI2_ESC_SRC>,
1389 <&mmcc DSI2_PIXEL_SRC>;
1390 assigned-clock-parents = <&dsi1_phy 0>,
1395 syscon-sfpb = <&mmss_sfpb>;
1398 #address-cells = <1>;
1401 status = "disabled";
1404 #address-cells = <1>;
1415 dsi1_out: endpoint {
1422 dsi1_phy: dsi-phy@5800200 {
1423 compatible = "qcom,dsi-phy-28nm-8960";
1424 reg = <0x05800200 0x100>,
1427 reg-names = "dsi_pll",
1429 "dsi_phy_regulator";
1430 clock-names = "iface",
1432 clocks = <&mmcc DSI2_M_AHB_CLK>,
1437 status = "disabled";
1440 mdp_port0: iommu@7500000 {
1441 compatible = "qcom,apq8064-iommu";
1447 <&mmcc SMMU_AHB_CLK>,
1448 <&mmcc MDP_AXI_CLK>;
1449 reg = <0x07500000 0x100000>;
1451 <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>,
1452 <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
1456 mdp_port1: iommu@7600000 {
1457 compatible = "qcom,apq8064-iommu";
1463 <&mmcc SMMU_AHB_CLK>,
1464 <&mmcc MDP_AXI_CLK>;
1465 reg = <0x07600000 0x100000>;
1467 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
1468 <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
1472 gfx3d: iommu@7c00000 {
1473 compatible = "qcom,apq8064-iommu";
1479 <&mmcc SMMU_AHB_CLK>,
1480 <&mmcc GFX3D_AXI_CLK>;
1481 reg = <0x07c00000 0x100000>;
1483 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
1484 <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
1488 gfx3d1: iommu@7d00000 {
1489 compatible = "qcom,apq8064-iommu";
1495 <&mmcc SMMU_AHB_CLK>,
1496 <&mmcc GFX3D_AXI_CLK>;
1497 reg = <0x07d00000 0x100000>;
1499 <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
1500 <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>;
1504 pcie: pci@1b500000 {
1505 compatible = "qcom,pcie-apq8064";
1506 reg = <0x1b500000 0x1000>,
1509 <0x0ff00000 0x100000>;
1510 reg-names = "dbi", "elbi", "parf", "config";
1511 device_type = "pci";
1512 linux,pci-domain = <0>;
1513 bus-range = <0x00 0xff>;
1515 #address-cells = <3>;
1517 ranges = <0x81000000 0x0 0x00000000 0x0fe00000 0x0 0x00100000>, /* I/O */
1518 <0x82000000 0x0 0x08000000 0x08000000 0x0 0x07e00000>; /* mem */
1519 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
1520 interrupt-names = "msi";
1521 #interrupt-cells = <1>;
1522 interrupt-map-mask = <0 0 0 0x7>;
1523 interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1524 <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1525 <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1526 <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1527 clocks = <&gcc PCIE_A_CLK>,
1529 <&gcc PCIE_PHY_REF_CLK>;
1530 clock-names = "core", "iface", "phy";
1531 resets = <&gcc PCIE_ACLK_RESET>,
1532 <&gcc PCIE_HCLK_RESET>,
1533 <&gcc PCIE_POR_RESET>,
1534 <&gcc PCIE_PCI_RESET>,
1535 <&gcc PCIE_PHY_RESET>;
1536 reset-names = "axi", "ahb", "por", "pci", "phy";
1537 status = "disabled";
1540 hdmi: hdmi-tx@4a00000 {
1541 compatible = "qcom,hdmi-tx-8960";
1542 pinctrl-names = "default";
1543 pinctrl-0 = <&hdmi_pinctrl>;
1544 reg = <0x04a00000 0x2f0>;
1545 reg-names = "core_physical";
1546 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
1547 clocks = <&mmcc HDMI_APP_CLK>,
1548 <&mmcc HDMI_M_AHB_CLK>,
1549 <&mmcc HDMI_S_AHB_CLK>;
1550 clock-names = "core",
1556 status = "disabled";
1559 #address-cells = <1>;
1570 hdmi_out: endpoint {
1576 hdmi_phy: phy@4a00400 {
1577 compatible = "qcom,hdmi-phy-8960";
1578 reg = <0x4a00400 0x60>,
1580 reg-names = "hdmi_phy",
1583 clocks = <&mmcc HDMI_S_AHB_CLK>;
1584 clock-names = "slave_iface";
1588 status = "disabled";
1591 mdp: display-controller@5100000 {
1592 compatible = "qcom,mdp4";
1593 reg = <0x05100000 0xf0000>;
1594 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
1595 clocks = <&mmcc MDP_CLK>,
1596 <&mmcc MDP_AHB_CLK>,
1597 <&mmcc MDP_AXI_CLK>,
1598 <&mmcc MDP_LUT_CLK>,
1599 <&mmcc HDMI_TV_CLK>,
1601 clock-names = "core_clk",
1608 iommus = <&mdp_port0 0
1614 #address-cells = <1>;
1619 mdp_lvds_out: endpoint {
1625 mdp_dsi1_out: endpoint {
1631 mdp_dsi2_out: endpoint {
1637 mdp_dtv_out: endpoint {
1643 riva: riva-pil@3200800 {
1644 compatible = "qcom,riva-pil";
1646 reg = <0x03200800 0x1000>, <0x03202000 0x2000>, <0x03204000 0x100>;
1647 reg-names = "ccu", "dxe", "pmu";
1649 interrupts-extended = <&intc GIC_SPI 199 IRQ_TYPE_EDGE_RISING>,
1650 <&wcnss_smsm 6 IRQ_TYPE_EDGE_RISING>;
1651 interrupt-names = "wdog", "fatal";
1653 memory-region = <&wcnss_mem>;
1655 vddcx-supply = <&pm8921_s3>;
1656 vddmx-supply = <&pm8921_l24>;
1657 vddpx-supply = <&pm8921_s4>;
1659 status = "disabled";
1662 compatible = "qcom,wcn3660";
1664 clocks = <&cxo_board>;
1667 vddxo-supply = <&pm8921_l4>;
1668 vddrfa-supply = <&pm8921_s2>;
1669 vddpa-supply = <&pm8921_l10>;
1670 vdddig-supply = <&pm8921_lvs2>;
1674 interrupts = <GIC_SPI 198 IRQ_TYPE_EDGE_RISING>;
1676 qcom,ipc = <&l2cc 8 25>;
1677 qcom,smd-edge = <6>;
1682 compatible = "qcom,wcnss";
1683 qcom,smd-channels = "WCNSS_CTRL";
1685 qcom,mmio = <&riva>;
1688 compatible = "qcom,wcnss-bt";
1692 compatible = "qcom,wcnss-wlan";
1694 interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
1695 <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
1696 interrupt-names = "tx", "rx";
1698 qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
1699 qcom,smem-state-names = "tx-enable", "tx-rings-empty";
1706 compatible = "arm,coresight-etb10", "arm,primecell";
1707 reg = <0x1a01000 0x1000>;
1709 clocks = <&rpmcc RPM_QDSS_CLK>;
1710 clock-names = "apb_pclk";
1715 remote-endpoint = <&replicator_out0>;
1722 compatible = "arm,coresight-tpiu", "arm,primecell";
1723 reg = <0x1a03000 0x1000>;
1725 clocks = <&rpmcc RPM_QDSS_CLK>;
1726 clock-names = "apb_pclk";
1731 remote-endpoint = <&replicator_out1>;
1738 compatible = "arm,coresight-static-replicator";
1740 clocks = <&rpmcc RPM_QDSS_CLK>;
1741 clock-names = "apb_pclk";
1744 #address-cells = <1>;
1749 replicator_out0: endpoint {
1750 remote-endpoint = <&etb_in>;
1755 replicator_out1: endpoint {
1756 remote-endpoint = <&tpiu_in>;
1763 replicator_in: endpoint {
1764 remote-endpoint = <&funnel_out>;
1771 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1772 reg = <0x1a04000 0x1000>;
1774 clocks = <&rpmcc RPM_QDSS_CLK>;
1775 clock-names = "apb_pclk";
1778 #address-cells = <1>;
1782 * Not described input ports:
1783 * 2 - connected to STM component
1790 funnel_in0: endpoint {
1791 remote-endpoint = <&etm0_out>;
1796 funnel_in1: endpoint {
1797 remote-endpoint = <&etm1_out>;
1802 funnel_in4: endpoint {
1803 remote-endpoint = <&etm2_out>;
1808 funnel_in5: endpoint {
1809 remote-endpoint = <&etm3_out>;
1816 funnel_out: endpoint {
1817 remote-endpoint = <&replicator_in>;
1824 compatible = "arm,coresight-etm3x", "arm,primecell";
1825 reg = <0x1a1c000 0x1000>;
1827 clocks = <&rpmcc RPM_QDSS_CLK>;
1828 clock-names = "apb_pclk";
1834 etm0_out: endpoint {
1835 remote-endpoint = <&funnel_in0>;
1842 compatible = "arm,coresight-etm3x", "arm,primecell";
1843 reg = <0x1a1d000 0x1000>;
1845 clocks = <&rpmcc RPM_QDSS_CLK>;
1846 clock-names = "apb_pclk";
1852 etm1_out: endpoint {
1853 remote-endpoint = <&funnel_in1>;
1860 compatible = "arm,coresight-etm3x", "arm,primecell";
1861 reg = <0x1a1e000 0x1000>;
1863 clocks = <&rpmcc RPM_QDSS_CLK>;
1864 clock-names = "apb_pclk";
1870 etm2_out: endpoint {
1871 remote-endpoint = <&funnel_in4>;
1878 compatible = "arm,coresight-etm3x", "arm,primecell";
1879 reg = <0x1a1f000 0x1000>;
1881 clocks = <&rpmcc RPM_QDSS_CLK>;
1882 clock-names = "apb_pclk";
1888 etm3_out: endpoint {
1889 remote-endpoint = <&funnel_in5>;
1896 #include "qcom-apq8064-pins.dtsi"