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,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 = <0 38 IRQ_TYPE_EDGE_RISING>;
249 interrupt-controller;
250 #interrupt-cells = <2>;
255 interrupts = <0 89 IRQ_TYPE_EDGE_RISING>;
257 interrupt-controller;
258 #interrupt-cells = <2>;
261 wcnss_smsm: wcnss@3 {
263 interrupts = <0 204 IRQ_TYPE_EDGE_RISING>;
265 interrupt-controller;
266 #interrupt-cells = <2>;
271 interrupts = <0 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";
289 * These channels from the ADC are simply hardware monitors.
290 * That is why the ADC is referred to as "HKADC" - HouseKeeping
294 compatible = "iio-hwmon";
295 io-channels = <&xoadc 0x00 0x01>, /* Battery */
296 <&xoadc 0x00 0x02>, /* DC in (charger) */
297 <&xoadc 0x00 0x04>, /* VPH the main system voltage */
298 <&xoadc 0x00 0x0b>, /* Die temperature */
299 <&xoadc 0x00 0x0c>, /* Reference voltage 1.25V */
300 <&xoadc 0x00 0x0d>, /* Reference voltage 0.625V */
301 <&xoadc 0x00 0x0e>; /* Charger temperature */
305 #address-cells = <1>;
308 compatible = "simple-bus";
310 tlmm_pinmux: pinctrl@800000 {
311 compatible = "qcom,apq8064-pinctrl";
312 reg = <0x800000 0x4000>;
315 gpio-ranges = <&tlmm_pinmux 0 0 90>;
317 interrupt-controller;
318 #interrupt-cells = <2>;
319 interrupts = <0 16 IRQ_TYPE_LEVEL_HIGH>;
321 pinctrl-names = "default";
322 pinctrl-0 = <&ps_hold>;
325 sfpb_wrapper_mutex: syscon@1200000 {
326 compatible = "syscon";
327 reg = <0x01200000 0x8000>;
330 intc: interrupt-controller@2000000 {
331 compatible = "qcom,msm-qgic2";
332 interrupt-controller;
333 #interrupt-cells = <3>;
334 reg = <0x02000000 0x1000>,
339 compatible = "qcom,kpss-wdt-apq8064", "qcom,kpss-timer",
341 interrupts = <1 1 0x301>,
344 reg = <0x0200a000 0x100>;
345 clock-frequency = <27000000>;
346 cpu-offset = <0x80000>;
349 acc0: clock-controller@2088000 {
350 compatible = "qcom,kpss-acc-v1";
351 reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
352 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
353 clock-names = "pll8_vote", "pxo";
354 clock-output-names = "acpu0_aux";
358 acc1: clock-controller@2098000 {
359 compatible = "qcom,kpss-acc-v1";
360 reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
361 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
362 clock-names = "pll8_vote", "pxo";
363 clock-output-names = "acpu1_aux";
367 acc2: clock-controller@20a8000 {
368 compatible = "qcom,kpss-acc-v1";
369 reg = <0x020a8000 0x1000>, <0x02008000 0x1000>;
370 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
371 clock-names = "pll8_vote", "pxo";
372 clock-output-names = "acpu2_aux";
376 acc3: clock-controller@20b8000 {
377 compatible = "qcom,kpss-acc-v1";
378 reg = <0x020b8000 0x1000>, <0x02008000 0x1000>;
379 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
380 clock-names = "pll8_vote", "pxo";
381 clock-output-names = "acpu3_aux";
385 saw0: power-controller@2089000 {
386 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
387 reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
391 saw1: power-controller@2099000 {
392 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
393 reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
397 saw2: power-controller@20a9000 {
398 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
399 reg = <0x020a9000 0x1000>, <0x02009000 0x1000>;
403 saw3: power-controller@20b9000 {
404 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
405 reg = <0x020b9000 0x1000>, <0x02009000 0x1000>;
409 sps_sic_non_secure: sps-sic-non-secure@12100000 {
410 compatible = "syscon";
411 reg = <0x12100000 0x10000>;
414 gsbi1: gsbi@12440000 {
416 compatible = "qcom,gsbi-v1.0.0";
418 reg = <0x12440000 0x100>;
419 clocks = <&gcc GSBI1_H_CLK>;
420 clock-names = "iface";
421 #address-cells = <1>;
425 syscon-tcsr = <&tcsr>;
427 gsbi1_serial: serial@12450000 {
428 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
429 reg = <0x12450000 0x100>,
431 interrupts = <0 193 IRQ_TYPE_LEVEL_HIGH>;
432 clocks = <&gcc GSBI1_UART_CLK>, <&gcc GSBI1_H_CLK>;
433 clock-names = "core", "iface";
437 gsbi1_i2c: i2c@12460000 {
438 compatible = "qcom,i2c-qup-v1.1.1";
439 pinctrl-0 = <&i2c1_pins>;
440 pinctrl-1 = <&i2c1_pins_sleep>;
441 pinctrl-names = "default", "sleep";
442 reg = <0x12460000 0x1000>;
443 interrupts = <0 194 IRQ_TYPE_LEVEL_HIGH>;
444 clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
445 clock-names = "core", "iface";
446 #address-cells = <1>;
453 gsbi2: gsbi@12480000 {
455 compatible = "qcom,gsbi-v1.0.0";
457 reg = <0x12480000 0x100>;
458 clocks = <&gcc GSBI2_H_CLK>;
459 clock-names = "iface";
460 #address-cells = <1>;
464 syscon-tcsr = <&tcsr>;
466 gsbi2_i2c: i2c@124a0000 {
467 compatible = "qcom,i2c-qup-v1.1.1";
468 reg = <0x124a0000 0x1000>;
469 pinctrl-0 = <&i2c2_pins>;
470 pinctrl-1 = <&i2c2_pins_sleep>;
471 pinctrl-names = "default", "sleep";
472 interrupts = <0 196 IRQ_TYPE_LEVEL_HIGH>;
473 clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>;
474 clock-names = "core", "iface";
475 #address-cells = <1>;
481 gsbi3: gsbi@16200000 {
483 compatible = "qcom,gsbi-v1.0.0";
485 reg = <0x16200000 0x100>;
486 clocks = <&gcc GSBI3_H_CLK>;
487 clock-names = "iface";
488 #address-cells = <1>;
491 gsbi3_i2c: i2c@16280000 {
492 compatible = "qcom,i2c-qup-v1.1.1";
493 pinctrl-0 = <&i2c3_pins>;
494 pinctrl-1 = <&i2c3_pins_sleep>;
495 pinctrl-names = "default", "sleep";
496 reg = <0x16280000 0x1000>;
497 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
498 clocks = <&gcc GSBI3_QUP_CLK>,
500 clock-names = "core", "iface";
501 #address-cells = <1>;
507 gsbi4: gsbi@16300000 {
509 compatible = "qcom,gsbi-v1.0.0";
511 reg = <0x16300000 0x03>;
512 clocks = <&gcc GSBI4_H_CLK>;
513 clock-names = "iface";
514 #address-cells = <1>;
518 gsbi4_serial: serial@16340000 {
519 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
520 reg = <0x16340000 0x100>,
522 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
523 pinctrl-0 = <&gsbi4_uart_pin_a>;
524 pinctrl-names = "default";
525 clocks = <&gcc GSBI4_UART_CLK>, <&gcc GSBI4_H_CLK>;
526 clock-names = "core", "iface";
530 gsbi4_i2c: i2c@16380000 {
531 compatible = "qcom,i2c-qup-v1.1.1";
532 pinctrl-0 = <&i2c4_pins>;
533 pinctrl-1 = <&i2c4_pins_sleep>;
534 pinctrl-names = "default", "sleep";
535 reg = <0x16380000 0x1000>;
536 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
537 clocks = <&gcc GSBI4_QUP_CLK>,
539 clock-names = "core", "iface";
544 gsbi5: gsbi@1a200000 {
546 compatible = "qcom,gsbi-v1.0.0";
548 reg = <0x1a200000 0x03>;
549 clocks = <&gcc GSBI5_H_CLK>;
550 clock-names = "iface";
551 #address-cells = <1>;
555 gsbi5_serial: serial@1a240000 {
556 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
557 reg = <0x1a240000 0x100>,
559 interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>;
560 clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
561 clock-names = "core", "iface";
565 gsbi5_spi: spi@1a280000 {
566 compatible = "qcom,spi-qup-v1.1.1";
567 reg = <0x1a280000 0x1000>;
568 interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>;
569 pinctrl-0 = <&spi5_default>;
570 pinctrl-1 = <&spi5_sleep>;
571 pinctrl-names = "default", "sleep";
572 clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>;
573 clock-names = "core", "iface";
575 #address-cells = <1>;
580 gsbi6: gsbi@16500000 {
582 compatible = "qcom,gsbi-v1.0.0";
584 reg = <0x16500000 0x03>;
585 clocks = <&gcc GSBI6_H_CLK>;
586 clock-names = "iface";
587 #address-cells = <1>;
591 gsbi6_serial: serial@16540000 {
592 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
593 reg = <0x16540000 0x100>,
595 interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
596 clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
597 clock-names = "core", "iface";
601 gsbi6_i2c: i2c@16580000 {
602 compatible = "qcom,i2c-qup-v1.1.1";
603 pinctrl-0 = <&i2c6_pins>;
604 pinctrl-1 = <&i2c6_pins_sleep>;
605 pinctrl-names = "default", "sleep";
606 reg = <0x16580000 0x1000>;
607 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
608 clocks = <&gcc GSBI6_QUP_CLK>,
610 clock-names = "core", "iface";
615 gsbi7: gsbi@16600000 {
617 compatible = "qcom,gsbi-v1.0.0";
619 reg = <0x16600000 0x100>;
620 clocks = <&gcc GSBI7_H_CLK>;
621 clock-names = "iface";
622 #address-cells = <1>;
625 syscon-tcsr = <&tcsr>;
627 gsbi7_serial: serial@16640000 {
628 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
629 reg = <0x16640000 0x1000>,
631 interrupts = <0 158 IRQ_TYPE_LEVEL_HIGH>;
632 clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
633 clock-names = "core", "iface";
637 gsbi7_i2c: i2c@16680000 {
638 compatible = "qcom,i2c-qup-v1.1.1";
639 pinctrl-0 = <&i2c7_pins>;
640 pinctrl-1 = <&i2c7_pins_sleep>;
641 pinctrl-names = "default", "sleep";
642 reg = <0x16680000 0x1000>;
643 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
644 clocks = <&gcc GSBI7_QUP_CLK>,
646 clock-names = "core", "iface";
652 compatible = "qcom,prng";
653 reg = <0x1a500000 0x200>;
654 clocks = <&gcc PRNG_CLK>;
655 clock-names = "core";
659 compatible = "qcom,ssbi";
660 reg = <0x00c00000 0x1000>;
661 qcom,controller-type = "pmic-arbiter";
664 compatible = "qcom,pm8821";
665 interrupt-parent = <&tlmm_pinmux>;
666 interrupts = <76 IRQ_TYPE_LEVEL_LOW>;
667 #interrupt-cells = <2>;
668 interrupt-controller;
669 #address-cells = <1>;
672 pm8821_mpps: mpps@50 {
673 compatible = "qcom,pm8821-mpp", "qcom,ssbi-mpp";
675 interrupt-controller;
676 #interrupt-cells = <2>;
679 gpio-ranges = <&pm8821_mpps 0 0 4>;
685 compatible = "qcom,ssbi";
686 reg = <0x00500000 0x1000>;
687 qcom,controller-type = "pmic-arbiter";
690 compatible = "qcom,pm8921";
691 interrupt-parent = <&tlmm_pinmux>;
693 #interrupt-cells = <2>;
694 interrupt-controller;
695 #address-cells = <1>;
698 pm8921_gpio: gpio@150 {
700 compatible = "qcom,pm8921-gpio",
703 interrupt-controller;
704 #interrupt-cells = <2>;
706 gpio-ranges = <&pm8921_gpio 0 0 44>;
711 pm8921_mpps: mpps@50 {
712 compatible = "qcom,pm8921-mpp",
717 gpio-ranges = <&pm8921_mpps 0 0 12>;
718 interrupt-controller;
719 #interrupt-cells = <2>;
723 compatible = "qcom,pm8921-rtc";
724 interrupt-parent = <&pmicintc>;
731 compatible = "qcom,pm8921-pwrkey";
733 interrupt-parent = <&pmicintc>;
734 interrupts = <50 1>, <51 1>;
740 compatible = "qcom,pm8921-adc";
742 interrupts-extended = <&pmicintc 78 IRQ_TYPE_EDGE_RISING>;
743 #address-cells = <2>;
745 #io-channel-cells = <2>;
747 vcoin: adc-channel@0 {
750 vbat: adc-channel@1 {
753 dcin: adc-channel@2 {
756 vph_pwr: adc-channel@4 {
759 batt_therm: adc-channel@8 {
762 batt_id: adc-channel@9 {
765 usb_vbus: adc-channel@a {
768 die_temp: adc-channel@b {
771 ref_625mv: adc-channel@c {
774 ref_1250mv: adc-channel@d {
777 chg_temp: adc-channel@e {
780 ref_muxoff: adc-channel@f {
787 qfprom: qfprom@700000 {
788 compatible = "qcom,apq8064-qfprom", "qcom,qfprom";
789 reg = <0x00700000 0x1000>;
790 #address-cells = <1>;
793 tsens_calib: calib@404 {
796 tsens_backup: backup_calib@414 {
801 gcc: clock-controller@900000 {
802 compatible = "qcom,gcc-apq8064", "syscon";
803 reg = <0x00900000 0x4000>;
805 #power-domain-cells = <1>;
807 clocks = <&cxo_board>,
810 clock-names = "cxo", "pxo", "pll4";
812 tsens: thermal-sensor {
813 compatible = "qcom,msm8960-tsens";
815 nvmem-cells = <&tsens_calib>, <&tsens_backup>;
816 nvmem-cell-names = "calib", "calib_backup";
817 interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
818 interrupt-names = "uplow";
820 #qcom,sensors = <11>;
821 #thermal-sensor-cells = <1>;
825 lcc: clock-controller@28000000 {
826 compatible = "qcom,lcc-apq8064";
827 reg = <0x28000000 0x1000>;
830 clocks = <&pxo_board>,
839 "codec_i2s_mic_codec_clk",
840 "spare_i2s_mic_codec_clk",
841 "codec_i2s_spkr_codec_clk",
842 "spare_i2s_spkr_codec_clk",
846 mmcc: clock-controller@4000000 {
847 compatible = "qcom,mmcc-apq8064";
848 reg = <0x4000000 0x1000>;
850 #power-domain-cells = <1>;
852 clocks = <&pxo_board>,
870 l2cc: clock-controller@2011000 {
871 compatible = "qcom,kpss-gcc-apq8064", "qcom,kpss-gcc", "syscon";
872 reg = <0x2011000 0x1000>;
873 clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
874 clock-names = "pll8_vote", "pxo";
879 compatible = "qcom,rpm-apq8064";
880 reg = <0x108000 0x1000>;
881 qcom,ipc = <&l2cc 0x8 2>;
883 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
884 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
885 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
886 interrupt-names = "ack", "err", "wakeup";
888 rpmcc: clock-controller {
889 compatible = "qcom,rpmcc-apq8064", "qcom,rpmcc";
891 clocks = <&pxo_board>, <&cxo_board>;
892 clock-names = "pxo", "cxo";
896 compatible = "qcom,rpm-pm8921-regulators";
932 pm8921_lvs1: lvs1 {};
933 pm8921_lvs2: lvs2 {};
934 pm8921_lvs3: lvs3 {};
935 pm8921_lvs4: lvs4 {};
936 pm8921_lvs5: lvs5 {};
937 pm8921_lvs6: lvs6 {};
938 pm8921_lvs7: lvs7 {};
940 pm8921_usb_switch: usb-switch {};
942 pm8921_hdmi_switch: hdmi-switch {
951 compatible = "qcom,ci-hdrc";
952 reg = <0x12500000 0x200>,
954 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
955 clocks = <&gcc USB_HS1_XCVR_CLK>, <&gcc USB_HS1_H_CLK>;
956 clock-names = "core", "iface";
957 assigned-clocks = <&gcc USB_HS1_XCVR_CLK>;
958 assigned-clock-rates = <60000000>;
959 resets = <&gcc USB_HS1_RESET>;
960 reset-names = "core";
962 ahb-burst-config = <0>;
963 phys = <&usb_hs1_phy>;
964 phy-names = "usb-phy";
970 compatible = "qcom,usb-hs-phy-apq8064",
972 clocks = <&sleep_clk>, <&cxo_board>;
973 clock-names = "sleep", "ref";
982 compatible = "qcom,ci-hdrc";
983 reg = <0x12520000 0x200>,
985 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
986 clocks = <&gcc USB_HS3_XCVR_CLK>, <&gcc USB_HS3_H_CLK>;
987 clock-names = "core", "iface";
988 assigned-clocks = <&gcc USB_HS3_XCVR_CLK>;
989 assigned-clock-rates = <60000000>;
990 resets = <&gcc USB_HS3_RESET>;
991 reset-names = "core";
993 ahb-burst-config = <0>;
994 phys = <&usb_hs3_phy>;
995 phy-names = "usb-phy";
1001 compatible = "qcom,usb-hs-phy-apq8064",
1004 clocks = <&sleep_clk>, <&cxo_board>;
1005 clock-names = "sleep", "ref";
1007 reset-names = "por";
1012 usb4: usb@12530000 {
1013 compatible = "qcom,ci-hdrc";
1014 reg = <0x12530000 0x200>,
1016 interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
1017 clocks = <&gcc USB_HS4_XCVR_CLK>, <&gcc USB_HS4_H_CLK>;
1018 clock-names = "core", "iface";
1019 assigned-clocks = <&gcc USB_HS4_XCVR_CLK>;
1020 assigned-clock-rates = <60000000>;
1021 resets = <&gcc USB_HS4_RESET>;
1022 reset-names = "core";
1024 ahb-burst-config = <0>;
1025 phys = <&usb_hs4_phy>;
1026 phy-names = "usb-phy";
1027 status = "disabled";
1032 compatible = "qcom,usb-hs-phy-apq8064",
1035 clocks = <&sleep_clk>, <&cxo_board>;
1036 clock-names = "sleep", "ref";
1038 reset-names = "por";
1043 sata_phy0: phy@1b400000 {
1044 compatible = "qcom,apq8064-sata-phy";
1045 status = "disabled";
1046 reg = <0x1b400000 0x200>;
1047 reg-names = "phy_mem";
1048 clocks = <&gcc SATA_PHY_CFG_CLK>;
1049 clock-names = "cfg";
1053 sata0: sata@29000000 {
1054 compatible = "qcom,apq8064-ahci", "generic-ahci";
1055 status = "disabled";
1056 reg = <0x29000000 0x180>;
1057 interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
1059 clocks = <&gcc SFAB_SATA_S_H_CLK>,
1062 <&gcc SATA_RXOOB_CLK>,
1063 <&gcc SATA_PMALIVE_CLK>;
1064 clock-names = "slave_iface",
1070 assigned-clocks = <&gcc SATA_RXOOB_CLK>,
1071 <&gcc SATA_PMALIVE_CLK>;
1072 assigned-clock-rates = <100000000>, <100000000>;
1074 phys = <&sata_phy0>;
1075 phy-names = "sata-phy";
1076 ports-implemented = <0x1>;
1079 sdcc3: mmc@12180000 {
1080 compatible = "arm,pl18x", "arm,primecell";
1081 arm,primecell-periphid = <0x00051180>;
1082 status = "disabled";
1083 reg = <0x12180000 0x2000>;
1084 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1085 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
1086 clock-names = "mclk", "apb_pclk";
1090 max-frequency = <192000000>;
1092 dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
1093 dma-names = "tx", "rx";
1096 sdcc3bam: dma-controller@12182000 {
1097 compatible = "qcom,bam-v1.3.0";
1098 reg = <0x12182000 0x8000>;
1099 interrupts = <0 96 IRQ_TYPE_LEVEL_HIGH>;
1100 clocks = <&gcc SDC3_H_CLK>;
1101 clock-names = "bam_clk";
1106 sdcc4: mmc@121c0000 {
1107 compatible = "arm,pl18x", "arm,primecell";
1108 arm,primecell-periphid = <0x00051180>;
1109 status = "disabled";
1110 reg = <0x121c0000 0x2000>;
1111 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1112 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
1113 clock-names = "mclk", "apb_pclk";
1117 max-frequency = <48000000>;
1118 dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
1119 dma-names = "tx", "rx";
1120 pinctrl-names = "default";
1121 pinctrl-0 = <&sdc4_gpios>;
1124 sdcc4bam: dma-controller@121c2000 {
1125 compatible = "qcom,bam-v1.3.0";
1126 reg = <0x121c2000 0x8000>;
1127 interrupts = <0 95 IRQ_TYPE_LEVEL_HIGH>;
1128 clocks = <&gcc SDC4_H_CLK>;
1129 clock-names = "bam_clk";
1134 sdcc1: mmc@12400000 {
1135 status = "disabled";
1136 compatible = "arm,pl18x", "arm,primecell";
1137 pinctrl-names = "default";
1138 pinctrl-0 = <&sdcc1_pins>;
1139 arm,primecell-periphid = <0x00051180>;
1140 reg = <0x12400000 0x2000>;
1141 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
1142 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
1143 clock-names = "mclk", "apb_pclk";
1145 max-frequency = <96000000>;
1149 dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
1150 dma-names = "tx", "rx";
1153 sdcc1bam: dma-controller@12402000 {
1154 compatible = "qcom,bam-v1.3.0";
1155 reg = <0x12402000 0x8000>;
1156 interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>;
1157 clocks = <&gcc SDC1_H_CLK>;
1158 clock-names = "bam_clk";
1163 tcsr: syscon@1a400000 {
1164 compatible = "qcom,tcsr-apq8064", "syscon";
1165 reg = <0x1a400000 0x100>;
1168 gpu: adreno-3xx@4300000 {
1169 compatible = "qcom,adreno-320.2", "qcom,adreno";
1170 reg = <0x04300000 0x20000>;
1171 reg-names = "kgsl_3d0_reg_memory";
1172 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
1173 interrupt-names = "kgsl_3d0_irq";
1181 <&mmcc GFX3D_AHB_CLK>,
1182 <&mmcc GFX3D_AXI_CLK>,
1183 <&mmcc MMSS_IMEM_AHB_CLK>;
1250 operating-points-v2 = <&gpu_opp_table>;
1252 gpu_opp_table: opp-table {
1253 compatible = "operating-points-v2";
1256 opp-hz = /bits/ 64 <450000000>;
1260 opp-hz = /bits/ 64 <27000000>;
1265 mmss_sfpb: syscon@5700000 {
1266 compatible = "syscon";
1267 reg = <0x5700000 0x70>;
1271 compatible = "qcom,apq8064-dsi-ctrl",
1272 "qcom,mdss-dsi-ctrl";
1273 #address-cells = <1>;
1275 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
1276 reg = <0x04700000 0x200>;
1277 reg-names = "dsi_ctrl";
1279 clocks = <&mmcc DSI_M_AHB_CLK>,
1280 <&mmcc DSI_S_AHB_CLK>,
1281 <&mmcc AMP_AHB_CLK>,
1283 <&mmcc DSI1_BYTE_CLK>,
1284 <&mmcc DSI_PIXEL_CLK>,
1285 <&mmcc DSI1_ESC_CLK>;
1286 clock-names = "iface", "bus", "core_mmss",
1287 "src", "byte", "pixel",
1290 assigned-clocks = <&mmcc DSI1_BYTE_SRC>,
1291 <&mmcc DSI1_ESC_SRC>,
1293 <&mmcc DSI_PIXEL_SRC>;
1294 assigned-clock-parents = <&dsi0_phy 0>,
1298 syscon-sfpb = <&mmss_sfpb>;
1300 status = "disabled";
1303 #address-cells = <1>;
1314 dsi0_out: endpoint {
1321 dsi0_phy: phy@4700200 {
1322 compatible = "qcom,dsi-phy-28nm-8960";
1326 reg = <0x04700200 0x100>,
1329 reg-names = "dsi_pll", "dsi_phy", "dsi_phy_regulator";
1330 clock-names = "iface", "ref";
1331 clocks = <&mmcc DSI_M_AHB_CLK>,
1333 status = "disabled";
1337 compatible = "qcom,mdss-dsi-ctrl";
1338 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
1339 reg = <0x05800000 0x200>;
1340 reg-names = "dsi_ctrl";
1342 clocks = <&mmcc DSI2_M_AHB_CLK>,
1343 <&mmcc DSI2_S_AHB_CLK>,
1344 <&mmcc AMP_AHB_CLK>,
1346 <&mmcc DSI2_BYTE_CLK>,
1347 <&mmcc DSI2_PIXEL_CLK>,
1348 <&mmcc DSI2_ESC_CLK>;
1349 clock-names = "iface",
1357 assigned-clocks = <&mmcc DSI2_BYTE_SRC>,
1358 <&mmcc DSI2_ESC_SRC>,
1360 <&mmcc DSI2_PIXEL_SRC>;
1361 assigned-clock-parents = <&dsi1_phy 0>,
1366 syscon-sfpb = <&mmss_sfpb>;
1369 #address-cells = <1>;
1372 status = "disabled";
1375 #address-cells = <1>;
1386 dsi1_out: endpoint {
1393 dsi1_phy: dsi-phy@5800200 {
1394 compatible = "qcom,dsi-phy-28nm-8960";
1395 reg = <0x05800200 0x100>,
1398 reg-names = "dsi_pll",
1400 "dsi_phy_regulator";
1401 clock-names = "iface",
1403 clocks = <&mmcc DSI2_M_AHB_CLK>,
1408 status = "disabled";
1411 mdp_port0: iommu@7500000 {
1412 compatible = "qcom,apq8064-iommu";
1418 <&mmcc SMMU_AHB_CLK>,
1419 <&mmcc MDP_AXI_CLK>;
1420 reg = <0x07500000 0x100000>;
1422 <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>,
1423 <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
1427 mdp_port1: iommu@7600000 {
1428 compatible = "qcom,apq8064-iommu";
1434 <&mmcc SMMU_AHB_CLK>,
1435 <&mmcc MDP_AXI_CLK>;
1436 reg = <0x07600000 0x100000>;
1438 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
1439 <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
1443 gfx3d: iommu@7c00000 {
1444 compatible = "qcom,apq8064-iommu";
1450 <&mmcc SMMU_AHB_CLK>,
1451 <&mmcc GFX3D_AXI_CLK>;
1452 reg = <0x07c00000 0x100000>;
1454 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
1455 <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
1459 gfx3d1: iommu@7d00000 {
1460 compatible = "qcom,apq8064-iommu";
1466 <&mmcc SMMU_AHB_CLK>,
1467 <&mmcc GFX3D_AXI_CLK>;
1468 reg = <0x07d00000 0x100000>;
1470 <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
1471 <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>;
1475 pcie: pci@1b500000 {
1476 compatible = "qcom,pcie-apq8064";
1477 reg = <0x1b500000 0x1000>,
1480 <0x0ff00000 0x100000>;
1481 reg-names = "dbi", "elbi", "parf", "config";
1482 device_type = "pci";
1483 linux,pci-domain = <0>;
1484 bus-range = <0x00 0xff>;
1486 #address-cells = <3>;
1488 ranges = <0x81000000 0x0 0x00000000 0x0fe00000 0x0 0x00100000>, /* I/O */
1489 <0x82000000 0x0 0x08000000 0x08000000 0x0 0x07e00000>; /* mem */
1490 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
1491 interrupt-names = "msi";
1492 #interrupt-cells = <1>;
1493 interrupt-map-mask = <0 0 0 0x7>;
1494 interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1495 <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1496 <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1497 <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1498 clocks = <&gcc PCIE_A_CLK>,
1500 <&gcc PCIE_PHY_REF_CLK>;
1501 clock-names = "core", "iface", "phy";
1502 resets = <&gcc PCIE_ACLK_RESET>,
1503 <&gcc PCIE_HCLK_RESET>,
1504 <&gcc PCIE_POR_RESET>,
1505 <&gcc PCIE_PCI_RESET>,
1506 <&gcc PCIE_PHY_RESET>;
1507 reset-names = "axi", "ahb", "por", "pci", "phy";
1508 status = "disabled";
1511 hdmi: hdmi-tx@4a00000 {
1512 compatible = "qcom,hdmi-tx-8960";
1513 pinctrl-names = "default";
1514 pinctrl-0 = <&hdmi_pinctrl>;
1515 reg = <0x04a00000 0x2f0>;
1516 reg-names = "core_physical";
1517 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
1518 clocks = <&mmcc HDMI_APP_CLK>,
1519 <&mmcc HDMI_M_AHB_CLK>,
1520 <&mmcc HDMI_S_AHB_CLK>;
1521 clock-names = "core",
1527 status = "disabled";
1530 #address-cells = <1>;
1541 hdmi_out: endpoint {
1547 hdmi_phy: phy@4a00400 {
1548 compatible = "qcom,hdmi-phy-8960";
1549 reg = <0x4a00400 0x60>,
1551 reg-names = "hdmi_phy",
1554 clocks = <&mmcc HDMI_S_AHB_CLK>;
1555 clock-names = "slave_iface";
1559 status = "disabled";
1562 mdp: display-controller@5100000 {
1563 compatible = "qcom,mdp4";
1564 reg = <0x05100000 0xf0000>;
1565 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
1566 clocks = <&mmcc MDP_CLK>,
1567 <&mmcc MDP_AHB_CLK>,
1568 <&mmcc MDP_AXI_CLK>,
1569 <&mmcc MDP_LUT_CLK>,
1570 <&mmcc HDMI_TV_CLK>,
1572 clock-names = "core_clk",
1579 iommus = <&mdp_port0 0
1585 #address-cells = <1>;
1590 mdp_lvds_out: endpoint {
1596 mdp_dsi1_out: endpoint {
1602 mdp_dsi2_out: endpoint {
1608 mdp_dtv_out: endpoint {
1614 riva: riva-pil@3200800 {
1615 compatible = "qcom,riva-pil";
1617 reg = <0x03200800 0x1000>, <0x03202000 0x2000>, <0x03204000 0x100>;
1618 reg-names = "ccu", "dxe", "pmu";
1620 interrupts-extended = <&intc GIC_SPI 199 IRQ_TYPE_EDGE_RISING>,
1621 <&wcnss_smsm 6 IRQ_TYPE_EDGE_RISING>;
1622 interrupt-names = "wdog", "fatal";
1624 memory-region = <&wcnss_mem>;
1626 vddcx-supply = <&pm8921_s3>;
1627 vddmx-supply = <&pm8921_l24>;
1628 vddpx-supply = <&pm8921_s4>;
1630 status = "disabled";
1633 compatible = "qcom,wcn3660";
1635 clocks = <&cxo_board>;
1638 vddxo-supply = <&pm8921_l4>;
1639 vddrfa-supply = <&pm8921_s2>;
1640 vddpa-supply = <&pm8921_l10>;
1641 vdddig-supply = <&pm8921_lvs2>;
1645 interrupts = <GIC_SPI 198 IRQ_TYPE_EDGE_RISING>;
1647 qcom,ipc = <&l2cc 8 25>;
1648 qcom,smd-edge = <6>;
1653 compatible = "qcom,wcnss";
1654 qcom,smd-channels = "WCNSS_CTRL";
1656 qcom,mmio = <&riva>;
1659 compatible = "qcom,wcnss-bt";
1663 compatible = "qcom,wcnss-wlan";
1665 interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
1666 <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
1667 interrupt-names = "tx", "rx";
1669 qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
1670 qcom,smem-state-names = "tx-enable", "tx-rings-empty";
1677 compatible = "arm,coresight-etb10", "arm,primecell";
1678 reg = <0x1a01000 0x1000>;
1680 clocks = <&rpmcc RPM_QDSS_CLK>;
1681 clock-names = "apb_pclk";
1686 remote-endpoint = <&replicator_out0>;
1693 compatible = "arm,coresight-tpiu", "arm,primecell";
1694 reg = <0x1a03000 0x1000>;
1696 clocks = <&rpmcc RPM_QDSS_CLK>;
1697 clock-names = "apb_pclk";
1702 remote-endpoint = <&replicator_out1>;
1709 compatible = "arm,coresight-static-replicator";
1711 clocks = <&rpmcc RPM_QDSS_CLK>;
1712 clock-names = "apb_pclk";
1715 #address-cells = <1>;
1720 replicator_out0: endpoint {
1721 remote-endpoint = <&etb_in>;
1726 replicator_out1: endpoint {
1727 remote-endpoint = <&tpiu_in>;
1734 replicator_in: endpoint {
1735 remote-endpoint = <&funnel_out>;
1742 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1743 reg = <0x1a04000 0x1000>;
1745 clocks = <&rpmcc RPM_QDSS_CLK>;
1746 clock-names = "apb_pclk";
1749 #address-cells = <1>;
1753 * Not described input ports:
1754 * 2 - connected to STM component
1761 funnel_in0: endpoint {
1762 remote-endpoint = <&etm0_out>;
1767 funnel_in1: endpoint {
1768 remote-endpoint = <&etm1_out>;
1773 funnel_in4: endpoint {
1774 remote-endpoint = <&etm2_out>;
1779 funnel_in5: endpoint {
1780 remote-endpoint = <&etm3_out>;
1787 funnel_out: endpoint {
1788 remote-endpoint = <&replicator_in>;
1795 compatible = "arm,coresight-etm3x", "arm,primecell";
1796 reg = <0x1a1c000 0x1000>;
1798 clocks = <&rpmcc RPM_QDSS_CLK>;
1799 clock-names = "apb_pclk";
1805 etm0_out: endpoint {
1806 remote-endpoint = <&funnel_in0>;
1813 compatible = "arm,coresight-etm3x", "arm,primecell";
1814 reg = <0x1a1d000 0x1000>;
1816 clocks = <&rpmcc RPM_QDSS_CLK>;
1817 clock-names = "apb_pclk";
1823 etm1_out: endpoint {
1824 remote-endpoint = <&funnel_in1>;
1831 compatible = "arm,coresight-etm3x", "arm,primecell";
1832 reg = <0x1a1e000 0x1000>;
1834 clocks = <&rpmcc RPM_QDSS_CLK>;
1835 clock-names = "apb_pclk";
1841 etm2_out: endpoint {
1842 remote-endpoint = <&funnel_in4>;
1849 compatible = "arm,coresight-etm3x", "arm,primecell";
1850 reg = <0x1a1f000 0x1000>;
1852 clocks = <&rpmcc RPM_QDSS_CLK>;
1853 clock-names = "apb_pclk";
1859 etm3_out: endpoint {
1860 remote-endpoint = <&funnel_in5>;
1867 #include "qcom-apq8064-pins.dtsi"