1 // SPDX-License-Identifier: GPL-2.0
4 #include "skeleton.dtsi"
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/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>
13 model = "Qualcomm APQ8064";
14 compatible = "qcom,apq8064";
15 interrupt-parent = <&intc>;
22 smem_region: smem@80000000 {
23 reg = <0x80000000 0x200000>;
27 wcnss_mem: wcnss@8f000000 {
28 reg = <0x8f000000 0x700000>;
38 compatible = "qcom,krait";
39 enable-method = "qcom,kpss-acc-v1";
42 next-level-cache = <&L2>;
45 cpu-idle-states = <&CPU_SPC>;
49 compatible = "qcom,krait";
50 enable-method = "qcom,kpss-acc-v1";
53 next-level-cache = <&L2>;
56 cpu-idle-states = <&CPU_SPC>;
60 compatible = "qcom,krait";
61 enable-method = "qcom,kpss-acc-v1";
64 next-level-cache = <&L2>;
67 cpu-idle-states = <&CPU_SPC>;
71 compatible = "qcom,krait";
72 enable-method = "qcom,kpss-acc-v1";
75 next-level-cache = <&L2>;
78 cpu-idle-states = <&CPU_SPC>;
88 compatible = "qcom,idle-state-spc",
90 entry-latency-us = <400>;
91 exit-latency-us = <900>;
92 min-residency-us = <3000>;
99 polling-delay-passive = <250>;
100 polling-delay = <1000>;
102 thermal-sensors = <&gcc 7>;
103 coefficients = <1199 0>;
107 temperature = <75000>;
112 temperature = <110000>;
120 polling-delay-passive = <250>;
121 polling-delay = <1000>;
123 thermal-sensors = <&gcc 8>;
124 coefficients = <1132 0>;
128 temperature = <75000>;
133 temperature = <110000>;
141 polling-delay-passive = <250>;
142 polling-delay = <1000>;
144 thermal-sensors = <&gcc 9>;
145 coefficients = <1199 0>;
149 temperature = <75000>;
154 temperature = <110000>;
162 polling-delay-passive = <250>;
163 polling-delay = <1000>;
165 thermal-sensors = <&gcc 10>;
166 coefficients = <1132 0>;
170 temperature = <75000>;
175 temperature = <110000>;
184 compatible = "qcom,krait-pmu";
185 interrupts = <1 10 0x304>;
189 cxo_board: cxo_board {
190 compatible = "fixed-clock";
192 clock-frequency = <19200000>;
196 compatible = "fixed-clock";
198 clock-frequency = <27000000>;
201 sleep_clk: sleep_clk {
202 compatible = "fixed-clock";
204 clock-frequency = <32768>;
208 sfpb_mutex: hwmutex {
209 compatible = "qcom,sfpb-mutex";
210 syscon = <&sfpb_wrapper_mutex 0x604 0x4>;
215 compatible = "qcom,smem";
216 memory-region = <&smem_region>;
218 hwlocks = <&sfpb_mutex 3>;
222 compatible = "qcom,smd";
225 interrupts = <0 37 IRQ_TYPE_EDGE_RISING>;
227 qcom,ipc = <&l2cc 8 3>;
234 interrupts = <0 90 IRQ_TYPE_EDGE_RISING>;
236 qcom,ipc = <&l2cc 8 15>;
243 interrupts = <0 138 IRQ_TYPE_EDGE_RISING>;
245 qcom,ipc = <&sps_sic_non_secure 0x4080 0>;
252 interrupts = <0 198 IRQ_TYPE_EDGE_RISING>;
254 qcom,ipc = <&l2cc 8 25>;
262 compatible = "qcom,smsm";
264 #address-cells = <1>;
267 qcom,ipc-1 = <&l2cc 8 4>;
268 qcom,ipc-2 = <&l2cc 8 14>;
269 qcom,ipc-3 = <&l2cc 8 23>;
270 qcom,ipc-4 = <&sps_sic_non_secure 0x4094 0>;
274 #qcom,smem-state-cells = <1>;
277 modem_smsm: modem@1 {
279 interrupts = <0 38 IRQ_TYPE_EDGE_RISING>;
281 interrupt-controller;
282 #interrupt-cells = <2>;
287 interrupts = <0 89 IRQ_TYPE_EDGE_RISING>;
289 interrupt-controller;
290 #interrupt-cells = <2>;
293 wcnss_smsm: wcnss@3 {
295 interrupts = <0 204 IRQ_TYPE_EDGE_RISING>;
297 interrupt-controller;
298 #interrupt-cells = <2>;
303 interrupts = <0 137 IRQ_TYPE_EDGE_RISING>;
305 interrupt-controller;
306 #interrupt-cells = <2>;
312 compatible = "qcom,scm-apq8064";
314 clocks = <&rpmcc RPM_DAYTONA_FABRIC_CLK>;
315 clock-names = "core";
321 * These channels from the ADC are simply hardware monitors.
322 * That is why the ADC is referred to as "HKADC" - HouseKeeping
326 compatible = "iio-hwmon";
327 io-channels = <&xoadc 0x00 0x01>, /* Battery */
328 <&xoadc 0x00 0x02>, /* DC in (charger) */
329 <&xoadc 0x00 0x04>, /* VPH the main system voltage */
330 <&xoadc 0x00 0x0b>, /* Die temperature */
331 <&xoadc 0x00 0x0c>, /* Reference voltage 1.25V */
332 <&xoadc 0x00 0x0d>, /* Reference voltage 0.625V */
333 <&xoadc 0x00 0x0e>; /* Charger temperature */
337 #address-cells = <1>;
340 compatible = "simple-bus";
342 tlmm_pinmux: pinctrl@800000 {
343 compatible = "qcom,apq8064-pinctrl";
344 reg = <0x800000 0x4000>;
348 interrupt-controller;
349 #interrupt-cells = <2>;
350 interrupts = <0 16 IRQ_TYPE_LEVEL_HIGH>;
352 pinctrl-names = "default";
353 pinctrl-0 = <&ps_hold>;
356 sfpb_wrapper_mutex: syscon@1200000 {
357 compatible = "syscon";
358 reg = <0x01200000 0x8000>;
361 intc: interrupt-controller@2000000 {
362 compatible = "qcom,msm-qgic2";
363 interrupt-controller;
364 #interrupt-cells = <3>;
365 reg = <0x02000000 0x1000>,
370 compatible = "qcom,kpss-timer",
371 "qcom,kpss-wdt-apq8064", "qcom,msm-timer";
372 interrupts = <1 1 0x301>,
375 reg = <0x0200a000 0x100>;
376 clock-frequency = <27000000>,
378 cpu-offset = <0x80000>;
381 acc0: clock-controller@2088000 {
382 compatible = "qcom,kpss-acc-v1";
383 reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
386 acc1: clock-controller@2098000 {
387 compatible = "qcom,kpss-acc-v1";
388 reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
391 acc2: clock-controller@20a8000 {
392 compatible = "qcom,kpss-acc-v1";
393 reg = <0x020a8000 0x1000>, <0x02008000 0x1000>;
396 acc3: clock-controller@20b8000 {
397 compatible = "qcom,kpss-acc-v1";
398 reg = <0x020b8000 0x1000>, <0x02008000 0x1000>;
401 saw0: power-controller@2089000 {
402 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
403 reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
407 saw1: power-controller@2099000 {
408 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
409 reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
413 saw2: power-controller@20a9000 {
414 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
415 reg = <0x020a9000 0x1000>, <0x02009000 0x1000>;
419 saw3: power-controller@20b9000 {
420 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
421 reg = <0x020b9000 0x1000>, <0x02009000 0x1000>;
425 sps_sic_non_secure: sps-sic-non-secure@12100000 {
426 compatible = "syscon";
427 reg = <0x12100000 0x10000>;
430 gsbi1: gsbi@12440000 {
432 compatible = "qcom,gsbi-v1.0.0";
434 reg = <0x12440000 0x100>;
435 clocks = <&gcc GSBI1_H_CLK>;
436 clock-names = "iface";
437 #address-cells = <1>;
441 syscon-tcsr = <&tcsr>;
443 gsbi1_serial: serial@12450000 {
444 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
445 reg = <0x12450000 0x100>,
447 interrupts = <0 193 IRQ_TYPE_LEVEL_HIGH>;
448 clocks = <&gcc GSBI1_UART_CLK>, <&gcc GSBI1_H_CLK>;
449 clock-names = "core", "iface";
453 gsbi1_i2c: i2c@12460000 {
454 compatible = "qcom,i2c-qup-v1.1.1";
455 pinctrl-0 = <&i2c1_pins>;
456 pinctrl-1 = <&i2c1_pins_sleep>;
457 pinctrl-names = "default", "sleep";
458 reg = <0x12460000 0x1000>;
459 interrupts = <0 194 IRQ_TYPE_LEVEL_HIGH>;
460 clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
461 clock-names = "core", "iface";
462 #address-cells = <1>;
469 gsbi2: gsbi@12480000 {
471 compatible = "qcom,gsbi-v1.0.0";
473 reg = <0x12480000 0x100>;
474 clocks = <&gcc GSBI2_H_CLK>;
475 clock-names = "iface";
476 #address-cells = <1>;
480 syscon-tcsr = <&tcsr>;
482 gsbi2_i2c: i2c@124a0000 {
483 compatible = "qcom,i2c-qup-v1.1.1";
484 reg = <0x124a0000 0x1000>;
485 pinctrl-0 = <&i2c2_pins>;
486 pinctrl-1 = <&i2c2_pins_sleep>;
487 pinctrl-names = "default", "sleep";
488 interrupts = <0 196 IRQ_TYPE_LEVEL_HIGH>;
489 clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>;
490 clock-names = "core", "iface";
491 #address-cells = <1>;
497 gsbi3: gsbi@16200000 {
499 compatible = "qcom,gsbi-v1.0.0";
501 reg = <0x16200000 0x100>;
502 clocks = <&gcc GSBI3_H_CLK>;
503 clock-names = "iface";
504 #address-cells = <1>;
507 gsbi3_i2c: i2c@16280000 {
508 compatible = "qcom,i2c-qup-v1.1.1";
509 pinctrl-0 = <&i2c3_pins>;
510 pinctrl-1 = <&i2c3_pins_sleep>;
511 pinctrl-names = "default", "sleep";
512 reg = <0x16280000 0x1000>;
513 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
514 clocks = <&gcc GSBI3_QUP_CLK>,
516 clock-names = "core", "iface";
517 #address-cells = <1>;
523 gsbi4: gsbi@16300000 {
525 compatible = "qcom,gsbi-v1.0.0";
527 reg = <0x16300000 0x03>;
528 clocks = <&gcc GSBI4_H_CLK>;
529 clock-names = "iface";
530 #address-cells = <1>;
534 gsbi4_i2c: i2c@16380000 {
535 compatible = "qcom,i2c-qup-v1.1.1";
536 pinctrl-0 = <&i2c4_pins>;
537 pinctrl-1 = <&i2c4_pins_sleep>;
538 pinctrl-names = "default", "sleep";
539 reg = <0x16380000 0x1000>;
540 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
541 clocks = <&gcc GSBI4_QUP_CLK>,
543 clock-names = "core", "iface";
548 gsbi5: gsbi@1a200000 {
550 compatible = "qcom,gsbi-v1.0.0";
552 reg = <0x1a200000 0x03>;
553 clocks = <&gcc GSBI5_H_CLK>;
554 clock-names = "iface";
555 #address-cells = <1>;
559 gsbi5_serial: serial@1a240000 {
560 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
561 reg = <0x1a240000 0x100>,
563 interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>;
564 clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
565 clock-names = "core", "iface";
569 gsbi5_spi: spi@1a280000 {
570 compatible = "qcom,spi-qup-v1.1.1";
571 reg = <0x1a280000 0x1000>;
572 interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>;
573 pinctrl-0 = <&spi5_default>;
574 pinctrl-1 = <&spi5_sleep>;
575 pinctrl-names = "default", "sleep";
576 clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>;
577 clock-names = "core", "iface";
579 #address-cells = <1>;
584 gsbi6: gsbi@16500000 {
586 compatible = "qcom,gsbi-v1.0.0";
588 reg = <0x16500000 0x03>;
589 clocks = <&gcc GSBI6_H_CLK>;
590 clock-names = "iface";
591 #address-cells = <1>;
595 gsbi6_serial: serial@16540000 {
596 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
597 reg = <0x16540000 0x100>,
599 interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
600 clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
601 clock-names = "core", "iface";
605 gsbi6_i2c: i2c@16580000 {
606 compatible = "qcom,i2c-qup-v1.1.1";
607 pinctrl-0 = <&i2c6_pins>;
608 pinctrl-1 = <&i2c6_pins_sleep>;
609 pinctrl-names = "default", "sleep";
610 reg = <0x16580000 0x1000>;
611 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
612 clocks = <&gcc GSBI6_QUP_CLK>,
614 clock-names = "core", "iface";
619 gsbi7: gsbi@16600000 {
621 compatible = "qcom,gsbi-v1.0.0";
623 reg = <0x16600000 0x100>;
624 clocks = <&gcc GSBI7_H_CLK>;
625 clock-names = "iface";
626 #address-cells = <1>;
629 syscon-tcsr = <&tcsr>;
631 gsbi7_serial: serial@16640000 {
632 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
633 reg = <0x16640000 0x1000>,
635 interrupts = <0 158 IRQ_TYPE_LEVEL_HIGH>;
636 clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
637 clock-names = "core", "iface";
641 gsbi7_i2c: i2c@16680000 {
642 compatible = "qcom,i2c-qup-v1.1.1";
643 pinctrl-0 = <&i2c7_pins>;
644 pinctrl-1 = <&i2c7_pins_sleep>;
645 pinctrl-names = "default", "sleep";
646 reg = <0x16680000 0x1000>;
647 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
648 clocks = <&gcc GSBI7_QUP_CLK>,
650 clock-names = "core", "iface";
656 compatible = "qcom,prng";
657 reg = <0x1a500000 0x200>;
658 clocks = <&gcc PRNG_CLK>;
659 clock-names = "core";
663 compatible = "qcom,ssbi";
664 reg = <0x00c00000 0x1000>;
665 qcom,controller-type = "pmic-arbiter";
668 compatible = "qcom,pm8821";
669 interrupt-parent = <&tlmm_pinmux>;
670 interrupts = <76 IRQ_TYPE_LEVEL_LOW>;
671 #interrupt-cells = <2>;
672 interrupt-controller;
673 #address-cells = <1>;
676 pm8821_mpps: mpps@50 {
677 compatible = "qcom,pm8821-mpp", "qcom,ssbi-mpp";
679 interrupts = <24 IRQ_TYPE_NONE>,
690 compatible = "qcom,ssbi";
691 reg = <0x00500000 0x1000>;
692 qcom,controller-type = "pmic-arbiter";
695 compatible = "qcom,pm8921";
696 interrupt-parent = <&tlmm_pinmux>;
698 #interrupt-cells = <2>;
699 interrupt-controller;
700 #address-cells = <1>;
703 pm8921_gpio: gpio@150 {
705 compatible = "qcom,pm8921-gpio",
708 interrupts = <192 IRQ_TYPE_NONE>,
757 pm8921_mpps: mpps@50 {
758 compatible = "qcom,pm8921-mpp",
779 compatible = "qcom,pm8921-rtc";
780 interrupt-parent = <&pmicintc>;
787 compatible = "qcom,pm8921-pwrkey";
789 interrupt-parent = <&pmicintc>;
790 interrupts = <50 1>, <51 1>;
796 compatible = "qcom,pm8921-adc";
798 interrupts-extended = <&pmicintc 78 IRQ_TYPE_EDGE_RISING>;
799 #address-cells = <2>;
801 #io-channel-cells = <2>;
803 vcoin: adc-channel@00 {
806 vbat: adc-channel@01 {
809 dcin: adc-channel@02 {
812 vph_pwr: adc-channel@04 {
815 batt_therm: adc-channel@08 {
818 batt_id: adc-channel@09 {
821 usb_vbus: adc-channel@0a {
824 die_temp: adc-channel@0b {
827 ref_625mv: adc-channel@0c {
830 ref_1250mv: adc-channel@0d {
833 chg_temp: adc-channel@0e {
836 ref_muxoff: adc-channel@0f {
843 qfprom: qfprom@700000 {
844 compatible = "qcom,qfprom";
845 reg = <0x00700000 0x1000>;
846 #address-cells = <1>;
852 tsens_backup: backup_calib {
857 gcc: clock-controller@900000 {
858 compatible = "qcom,gcc-apq8064";
859 reg = <0x00900000 0x4000>;
860 nvmem-cells = <&tsens_calib>, <&tsens_backup>;
861 nvmem-cell-names = "calib", "calib_backup";
864 #thermal-sensor-cells = <1>;
867 lcc: clock-controller@28000000 {
868 compatible = "qcom,lcc-apq8064";
869 reg = <0x28000000 0x1000>;
874 mmcc: clock-controller@4000000 {
875 compatible = "qcom,mmcc-apq8064";
876 reg = <0x4000000 0x1000>;
881 l2cc: clock-controller@2011000 {
882 compatible = "syscon";
883 reg = <0x2011000 0x1000>;
887 compatible = "qcom,rpm-apq8064";
888 reg = <0x108000 0x1000>;
889 qcom,ipc = <&l2cc 0x8 2>;
891 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
892 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
893 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
894 interrupt-names = "ack", "err", "wakeup";
896 rpmcc: clock-controller {
897 compatible = "qcom,rpmcc-apq8064", "qcom,rpmcc";
902 compatible = "qcom,rpm-pm8921-regulators";
938 pm8921_lvs1: lvs1 {};
939 pm8921_lvs2: lvs2 {};
940 pm8921_lvs3: lvs3 {};
941 pm8921_lvs4: lvs4 {};
942 pm8921_lvs5: lvs5 {};
943 pm8921_lvs6: lvs6 {};
944 pm8921_lvs7: lvs7 {};
946 pm8921_usb_switch: usb-switch {};
948 pm8921_hdmi_switch: hdmi-switch {
957 compatible = "qcom,ci-hdrc";
958 reg = <0x12500000 0x200>,
960 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
961 clocks = <&gcc USB_HS1_XCVR_CLK>, <&gcc USB_HS1_H_CLK>;
962 clock-names = "core", "iface";
963 assigned-clocks = <&gcc USB_HS1_XCVR_CLK>;
964 assigned-clock-rates = <60000000>;
965 resets = <&gcc USB_HS1_RESET>;
966 reset-names = "core";
968 ahb-burst-config = <0>;
969 phys = <&usb_hs1_phy>;
970 phy-names = "usb-phy";
976 compatible = "qcom,usb-hs-phy-apq8064",
978 clocks = <&sleep_clk>, <&cxo_board>;
979 clock-names = "sleep", "ref";
988 compatible = "qcom,ci-hdrc";
989 reg = <0x12520000 0x200>,
991 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
992 clocks = <&gcc USB_HS3_XCVR_CLK>, <&gcc USB_HS3_H_CLK>;
993 clock-names = "core", "iface";
994 assigned-clocks = <&gcc USB_HS3_XCVR_CLK>;
995 assigned-clock-rates = <60000000>;
996 resets = <&gcc USB_HS3_RESET>;
997 reset-names = "core";
999 ahb-burst-config = <0>;
1000 phys = <&usb_hs3_phy>;
1001 phy-names = "usb-phy";
1002 status = "disabled";
1007 compatible = "qcom,usb-hs-phy-apq8064",
1010 clocks = <&sleep_clk>, <&cxo_board>;
1011 clock-names = "sleep", "ref";
1013 reset-names = "por";
1018 usb4: usb@12530000 {
1019 compatible = "qcom,ci-hdrc";
1020 reg = <0x12530000 0x200>,
1022 interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
1023 clocks = <&gcc USB_HS4_XCVR_CLK>, <&gcc USB_HS4_H_CLK>;
1024 clock-names = "core", "iface";
1025 assigned-clocks = <&gcc USB_HS4_XCVR_CLK>;
1026 assigned-clock-rates = <60000000>;
1027 resets = <&gcc USB_HS4_RESET>;
1028 reset-names = "core";
1030 ahb-burst-config = <0>;
1031 phys = <&usb_hs4_phy>;
1032 phy-names = "usb-phy";
1033 status = "disabled";
1038 compatible = "qcom,usb-hs-phy-apq8064",
1041 clocks = <&sleep_clk>, <&cxo_board>;
1042 clock-names = "sleep", "ref";
1044 reset-names = "por";
1049 sata_phy0: phy@1b400000 {
1050 compatible = "qcom,apq8064-sata-phy";
1051 status = "disabled";
1052 reg = <0x1b400000 0x200>;
1053 reg-names = "phy_mem";
1054 clocks = <&gcc SATA_PHY_CFG_CLK>;
1055 clock-names = "cfg";
1059 sata0: sata@29000000 {
1060 compatible = "qcom,apq8064-ahci", "generic-ahci";
1061 status = "disabled";
1062 reg = <0x29000000 0x180>;
1063 interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
1065 clocks = <&gcc SFAB_SATA_S_H_CLK>,
1068 <&gcc SATA_RXOOB_CLK>,
1069 <&gcc SATA_PMALIVE_CLK>;
1070 clock-names = "slave_iface",
1076 assigned-clocks = <&gcc SATA_RXOOB_CLK>,
1077 <&gcc SATA_PMALIVE_CLK>;
1078 assigned-clock-rates = <100000000>, <100000000>;
1080 phys = <&sata_phy0>;
1081 phy-names = "sata-phy";
1082 ports-implemented = <0x1>;
1085 /* Temporary fixed regulator */
1086 sdcc1bam:dma@12402000{
1087 compatible = "qcom,bam-v1.3.0";
1088 reg = <0x12402000 0x8000>;
1089 interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>;
1090 clocks = <&gcc SDC1_H_CLK>;
1091 clock-names = "bam_clk";
1096 sdcc3bam:dma@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 sdcc4bam:dma@121c2000{
1107 compatible = "qcom,bam-v1.3.0";
1108 reg = <0x121c2000 0x8000>;
1109 interrupts = <0 95 IRQ_TYPE_LEVEL_HIGH>;
1110 clocks = <&gcc SDC4_H_CLK>;
1111 clock-names = "bam_clk";
1117 compatible = "simple-bus";
1118 #address-cells = <1>;
1121 sdcc1: sdcc@12400000 {
1122 status = "disabled";
1123 compatible = "arm,pl18x", "arm,primecell";
1124 pinctrl-names = "default";
1125 pinctrl-0 = <&sdcc1_pins>;
1126 arm,primecell-periphid = <0x00051180>;
1127 reg = <0x12400000 0x2000>;
1128 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
1129 interrupt-names = "cmd_irq";
1130 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
1131 clock-names = "mclk", "apb_pclk";
1133 max-frequency = <96000000>;
1137 dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
1138 dma-names = "tx", "rx";
1141 sdcc3: sdcc@12180000 {
1142 compatible = "arm,pl18x", "arm,primecell";
1143 arm,primecell-periphid = <0x00051180>;
1144 status = "disabled";
1145 reg = <0x12180000 0x2000>;
1146 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1147 interrupt-names = "cmd_irq";
1148 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
1149 clock-names = "mclk", "apb_pclk";
1153 max-frequency = <192000000>;
1155 dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
1156 dma-names = "tx", "rx";
1159 sdcc4: sdcc@121c0000 {
1160 compatible = "arm,pl18x", "arm,primecell";
1161 arm,primecell-periphid = <0x00051180>;
1162 status = "disabled";
1163 reg = <0x121c0000 0x2000>;
1164 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1165 interrupt-names = "cmd_irq";
1166 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
1167 clock-names = "mclk", "apb_pclk";
1171 max-frequency = <48000000>;
1172 dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
1173 dma-names = "tx", "rx";
1174 pinctrl-names = "default";
1175 pinctrl-0 = <&sdc4_gpios>;
1179 tcsr: syscon@1a400000 {
1180 compatible = "qcom,tcsr-apq8064", "syscon";
1181 reg = <0x1a400000 0x100>;
1184 gpu: adreno-3xx@4300000 {
1185 compatible = "qcom,adreno-320.2", "qcom,adreno";
1186 reg = <0x04300000 0x20000>;
1187 reg-names = "kgsl_3d0_reg_memory";
1188 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
1189 interrupt-names = "kgsl_3d0_irq";
1197 <&mmcc GFX3D_AHB_CLK>,
1198 <&mmcc GFX3D_AXI_CLK>,
1199 <&mmcc MMSS_IMEM_AHB_CLK>;
1266 qcom,gpu-pwrlevels {
1267 compatible = "qcom,gpu-pwrlevels";
1268 qcom,gpu-pwrlevel@0 {
1269 qcom,gpu-freq = <450000000>;
1271 qcom,gpu-pwrlevel@1 {
1272 qcom,gpu-freq = <27000000>;
1277 mmss_sfpb: syscon@5700000 {
1278 compatible = "syscon";
1279 reg = <0x5700000 0x70>;
1282 dsi0: mdss_dsi@4700000 {
1283 compatible = "qcom,mdss-dsi-ctrl";
1284 label = "MDSS DSI CTRL->0";
1285 #address-cells = <1>;
1287 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
1288 reg = <0x04700000 0x200>;
1289 reg-names = "dsi_ctrl";
1291 clocks = <&mmcc DSI_M_AHB_CLK>,
1292 <&mmcc DSI_S_AHB_CLK>,
1293 <&mmcc AMP_AHB_CLK>,
1295 <&mmcc DSI1_BYTE_CLK>,
1296 <&mmcc DSI_PIXEL_CLK>,
1297 <&mmcc DSI1_ESC_CLK>;
1298 clock-names = "iface", "bus", "core_mmss",
1299 "src", "byte", "pixel",
1302 assigned-clocks = <&mmcc DSI1_BYTE_SRC>,
1303 <&mmcc DSI1_ESC_SRC>,
1305 <&mmcc DSI_PIXEL_SRC>;
1306 assigned-clock-parents = <&dsi0_phy 0>,
1310 syscon-sfpb = <&mmss_sfpb>;
1313 #address-cells = <1>;
1324 dsi0_out: endpoint {
1331 dsi0_phy: dsi-phy@4700200 {
1332 compatible = "qcom,dsi-phy-28nm-8960";
1336 reg = <0x04700200 0x100>,
1339 reg-names = "dsi_pll", "dsi_phy", "dsi_phy_regulator";
1340 clock-names = "iface_clk";
1341 clocks = <&mmcc DSI_M_AHB_CLK>;
1345 mdp_port0: iommu@7500000 {
1346 compatible = "qcom,apq8064-iommu";
1352 <&mmcc SMMU_AHB_CLK>,
1353 <&mmcc MDP_AXI_CLK>;
1354 reg = <0x07500000 0x100000>;
1356 <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>,
1357 <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
1361 mdp_port1: iommu@7600000 {
1362 compatible = "qcom,apq8064-iommu";
1368 <&mmcc SMMU_AHB_CLK>,
1369 <&mmcc MDP_AXI_CLK>;
1370 reg = <0x07600000 0x100000>;
1372 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
1373 <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
1377 gfx3d: iommu@7c00000 {
1378 compatible = "qcom,apq8064-iommu";
1384 <&mmcc SMMU_AHB_CLK>,
1385 <&mmcc GFX3D_AXI_CLK>;
1386 reg = <0x07c00000 0x100000>;
1388 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
1389 <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
1393 gfx3d1: iommu@7d00000 {
1394 compatible = "qcom,apq8064-iommu";
1400 <&mmcc SMMU_AHB_CLK>,
1401 <&mmcc GFX3D_AXI_CLK>;
1402 reg = <0x07d00000 0x100000>;
1404 <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
1405 <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>;
1409 pcie: pci@1b500000 {
1410 compatible = "qcom,pcie-apq8064", "snps,dw-pcie";
1411 reg = <0x1b500000 0x1000
1414 0x0ff00000 0x100000>;
1415 reg-names = "dbi", "elbi", "parf", "config";
1416 device_type = "pci";
1417 linux,pci-domain = <0>;
1418 bus-range = <0x00 0xff>;
1420 #address-cells = <3>;
1422 ranges = <0x81000000 0 0 0x0fe00000 0 0x00100000 /* I/O */
1423 0x82000000 0 0x08000000 0x08000000 0 0x07e00000>; /* memory */
1424 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
1425 interrupt-names = "msi";
1426 #interrupt-cells = <1>;
1427 interrupt-map-mask = <0 0 0 0x7>;
1428 interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1429 <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1430 <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1431 <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1432 clocks = <&gcc PCIE_A_CLK>,
1434 <&gcc PCIE_PHY_REF_CLK>;
1435 clock-names = "core", "iface", "phy";
1436 resets = <&gcc PCIE_ACLK_RESET>,
1437 <&gcc PCIE_HCLK_RESET>,
1438 <&gcc PCIE_POR_RESET>,
1439 <&gcc PCIE_PCI_RESET>,
1440 <&gcc PCIE_PHY_RESET>;
1441 reset-names = "axi", "ahb", "por", "pci", "phy";
1442 status = "disabled";
1445 hdmi: hdmi-tx@4a00000 {
1446 compatible = "qcom,hdmi-tx-8960";
1447 pinctrl-names = "default";
1448 pinctrl-0 = <&hdmi_pinctrl>;
1449 reg = <0x04a00000 0x2f0>;
1450 reg-names = "core_physical";
1451 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
1452 clocks = <&mmcc HDMI_APP_CLK>,
1453 <&mmcc HDMI_M_AHB_CLK>,
1454 <&mmcc HDMI_S_AHB_CLK>;
1455 clock-names = "core_clk",
1460 phy-names = "hdmi-phy";
1463 #address-cells = <1>;
1474 hdmi_out: endpoint {
1480 hdmi_phy: hdmi-phy@4a00400 {
1481 compatible = "qcom,hdmi-phy-8960";
1482 reg = <0x4a00400 0x60>,
1484 reg-names = "hdmi_phy",
1487 clocks = <&mmcc HDMI_S_AHB_CLK>;
1488 clock-names = "slave_iface_clk";
1493 compatible = "qcom,mdp4";
1494 reg = <0x05100000 0xf0000>;
1495 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
1496 clocks = <&mmcc MDP_CLK>,
1497 <&mmcc MDP_AHB_CLK>,
1498 <&mmcc MDP_AXI_CLK>,
1499 <&mmcc MDP_LUT_CLK>,
1500 <&mmcc HDMI_TV_CLK>,
1502 clock-names = "core_clk",
1509 iommus = <&mdp_port0 0
1515 #address-cells = <1>;
1520 mdp_lvds_out: endpoint {
1526 mdp_dsi1_out: endpoint {
1532 mdp_dsi2_out: endpoint {
1538 mdp_dtv_out: endpoint {
1544 riva: riva-pil@3204000 {
1545 compatible = "qcom,riva-pil";
1547 reg = <0x03200800 0x1000>, <0x03202000 0x2000>, <0x03204000 0x100>;
1548 reg-names = "ccu", "dxe", "pmu";
1550 interrupts-extended = <&intc GIC_SPI 199 IRQ_TYPE_EDGE_RISING>,
1551 <&wcnss_smsm 6 IRQ_TYPE_EDGE_RISING>;
1552 interrupt-names = "wdog", "fatal";
1554 memory-region = <&wcnss_mem>;
1556 vddcx-supply = <&pm8921_s3>;
1557 vddmx-supply = <&pm8921_l24>;
1558 vddpx-supply = <&pm8921_s4>;
1560 status = "disabled";
1563 compatible = "qcom,wcn3660";
1565 clocks = <&cxo_board>;
1568 vddxo-supply = <&pm8921_l4>;
1569 vddrfa-supply = <&pm8921_s2>;
1570 vddpa-supply = <&pm8921_l10>;
1571 vdddig-supply = <&pm8921_lvs2>;
1575 interrupts = <GIC_SPI 198 IRQ_TYPE_EDGE_RISING>;
1577 qcom,ipc = <&l2cc 8 25>;
1578 qcom,smd-edge = <6>;
1583 compatible = "qcom,wcnss";
1584 qcom,smd-channels = "WCNSS_CTRL";
1586 qcom,mmio = <&riva>;
1589 compatible = "qcom,wcnss-bt";
1593 compatible = "qcom,wcnss-wlan";
1595 interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
1596 <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
1597 interrupt-names = "tx", "rx";
1599 qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
1600 qcom,smem-state-names = "tx-enable", "tx-rings-empty";
1607 compatible = "coresight-etb10", "arm,primecell";
1608 reg = <0x1a01000 0x1000>;
1610 clocks = <&rpmcc RPM_QDSS_CLK>;
1611 clock-names = "apb_pclk";
1616 remote-endpoint = <&replicator_out0>;
1622 compatible = "arm,coresight-tpiu", "arm,primecell";
1623 reg = <0x1a03000 0x1000>;
1625 clocks = <&rpmcc RPM_QDSS_CLK>;
1626 clock-names = "apb_pclk";
1631 remote-endpoint = <&replicator_out1>;
1637 compatible = "arm,coresight-replicator";
1639 clocks = <&rpmcc RPM_QDSS_CLK>;
1640 clock-names = "apb_pclk";
1643 #address-cells = <1>;
1648 replicator_out0: endpoint {
1649 remote-endpoint = <&etb_in>;
1654 replicator_out1: endpoint {
1655 remote-endpoint = <&tpiu_in>;
1660 replicator_in: endpoint {
1662 remote-endpoint = <&funnel_out>;
1669 compatible = "arm,coresight-funnel", "arm,primecell";
1670 reg = <0x1a04000 0x1000>;
1672 clocks = <&rpmcc RPM_QDSS_CLK>;
1673 clock-names = "apb_pclk";
1676 #address-cells = <1>;
1680 * Not described input ports:
1681 * 2 - connected to STM component
1688 funnel_in0: endpoint {
1690 remote-endpoint = <&etm0_out>;
1695 funnel_in1: endpoint {
1697 remote-endpoint = <&etm1_out>;
1702 funnel_in4: endpoint {
1704 remote-endpoint = <&etm2_out>;
1709 funnel_in5: endpoint {
1711 remote-endpoint = <&etm3_out>;
1716 funnel_out: endpoint {
1717 remote-endpoint = <&replicator_in>;
1724 compatible = "arm,coresight-etm3x", "arm,primecell";
1725 reg = <0x1a1c000 0x1000>;
1727 clocks = <&rpmcc RPM_QDSS_CLK>;
1728 clock-names = "apb_pclk";
1733 etm0_out: endpoint {
1734 remote-endpoint = <&funnel_in0>;
1740 compatible = "arm,coresight-etm3x", "arm,primecell";
1741 reg = <0x1a1d000 0x1000>;
1743 clocks = <&rpmcc RPM_QDSS_CLK>;
1744 clock-names = "apb_pclk";
1749 etm1_out: endpoint {
1750 remote-endpoint = <&funnel_in1>;
1756 compatible = "arm,coresight-etm3x", "arm,primecell";
1757 reg = <0x1a1e000 0x1000>;
1759 clocks = <&rpmcc RPM_QDSS_CLK>;
1760 clock-names = "apb_pclk";
1765 etm2_out: endpoint {
1766 remote-endpoint = <&funnel_in4>;
1772 compatible = "arm,coresight-etm3x", "arm,primecell";
1773 reg = <0x1a1f000 0x1000>;
1775 clocks = <&rpmcc RPM_QDSS_CLK>;
1776 clock-names = "apb_pclk";
1781 etm3_out: endpoint {
1782 remote-endpoint = <&funnel_in5>;
1788 #include "qcom-apq8064-pins.dtsi"