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";
320 #address-cells = <1>;
323 compatible = "simple-bus";
325 tlmm_pinmux: pinctrl@800000 {
326 compatible = "qcom,apq8064-pinctrl";
327 reg = <0x800000 0x4000>;
331 interrupt-controller;
332 #interrupt-cells = <2>;
333 interrupts = <0 16 IRQ_TYPE_LEVEL_HIGH>;
335 pinctrl-names = "default";
336 pinctrl-0 = <&ps_hold>;
339 sfpb_wrapper_mutex: syscon@1200000 {
340 compatible = "syscon";
341 reg = <0x01200000 0x8000>;
344 intc: interrupt-controller@2000000 {
345 compatible = "qcom,msm-qgic2";
346 interrupt-controller;
347 #interrupt-cells = <3>;
348 reg = <0x02000000 0x1000>,
353 compatible = "qcom,kpss-timer",
354 "qcom,kpss-wdt-apq8064", "qcom,msm-timer";
355 interrupts = <1 1 0x301>,
358 reg = <0x0200a000 0x100>;
359 clock-frequency = <27000000>,
361 cpu-offset = <0x80000>;
364 acc0: clock-controller@2088000 {
365 compatible = "qcom,kpss-acc-v1";
366 reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
369 acc1: clock-controller@2098000 {
370 compatible = "qcom,kpss-acc-v1";
371 reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
374 acc2: clock-controller@20a8000 {
375 compatible = "qcom,kpss-acc-v1";
376 reg = <0x020a8000 0x1000>, <0x02008000 0x1000>;
379 acc3: clock-controller@20b8000 {
380 compatible = "qcom,kpss-acc-v1";
381 reg = <0x020b8000 0x1000>, <0x02008000 0x1000>;
384 saw0: power-controller@2089000 {
385 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
386 reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
390 saw1: power-controller@2099000 {
391 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
392 reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
396 saw2: power-controller@20a9000 {
397 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
398 reg = <0x020a9000 0x1000>, <0x02009000 0x1000>;
402 saw3: power-controller@20b9000 {
403 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
404 reg = <0x020b9000 0x1000>, <0x02009000 0x1000>;
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 = <0 193 0x0>;
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 = <0 194 IRQ_TYPE_NONE>;
443 clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
444 clock-names = "core", "iface";
445 #address-cells = <1>;
451 gsbi2: gsbi@12480000 {
453 compatible = "qcom,gsbi-v1.0.0";
455 reg = <0x12480000 0x100>;
456 clocks = <&gcc GSBI2_H_CLK>;
457 clock-names = "iface";
458 #address-cells = <1>;
462 syscon-tcsr = <&tcsr>;
464 gsbi2_i2c: i2c@124a0000 {
465 compatible = "qcom,i2c-qup-v1.1.1";
466 reg = <0x124a0000 0x1000>;
467 pinctrl-0 = <&i2c2_pins>;
468 pinctrl-1 = <&i2c2_pins_sleep>;
469 pinctrl-names = "default", "sleep";
470 interrupts = <0 196 IRQ_TYPE_NONE>;
471 clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>;
472 clock-names = "core", "iface";
473 #address-cells = <1>;
478 gsbi3: gsbi@16200000 {
480 compatible = "qcom,gsbi-v1.0.0";
482 reg = <0x16200000 0x100>;
483 clocks = <&gcc GSBI3_H_CLK>;
484 clock-names = "iface";
485 #address-cells = <1>;
488 gsbi3_i2c: i2c@16280000 {
489 compatible = "qcom,i2c-qup-v1.1.1";
490 pinctrl-0 = <&i2c3_pins>;
491 pinctrl-1 = <&i2c3_pins_sleep>;
492 pinctrl-names = "default", "sleep";
493 reg = <0x16280000 0x1000>;
494 interrupts = <GIC_SPI 151 IRQ_TYPE_NONE>;
495 clocks = <&gcc GSBI3_QUP_CLK>,
497 clock-names = "core", "iface";
498 #address-cells = <1>;
503 gsbi4: gsbi@16300000 {
505 compatible = "qcom,gsbi-v1.0.0";
507 reg = <0x16300000 0x03>;
508 clocks = <&gcc GSBI4_H_CLK>;
509 clock-names = "iface";
510 #address-cells = <1>;
514 gsbi4_i2c: i2c@16380000 {
515 compatible = "qcom,i2c-qup-v1.1.1";
516 pinctrl-0 = <&i2c4_pins>;
517 pinctrl-1 = <&i2c4_pins_sleep>;
518 pinctrl-names = "default", "sleep";
519 reg = <0x16380000 0x1000>;
520 interrupts = <GIC_SPI 153 IRQ_TYPE_NONE>;
521 clocks = <&gcc GSBI4_QUP_CLK>,
523 clock-names = "core", "iface";
527 gsbi5: gsbi@1a200000 {
529 compatible = "qcom,gsbi-v1.0.0";
531 reg = <0x1a200000 0x03>;
532 clocks = <&gcc GSBI5_H_CLK>;
533 clock-names = "iface";
534 #address-cells = <1>;
538 gsbi5_serial: serial@1a240000 {
539 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
540 reg = <0x1a240000 0x100>,
542 interrupts = <0 154 0x0>;
543 clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
544 clock-names = "core", "iface";
548 gsbi5_spi: spi@1a280000 {
549 compatible = "qcom,spi-qup-v1.1.1";
550 reg = <0x1a280000 0x1000>;
551 interrupts = <0 155 0>;
552 pinctrl-0 = <&spi5_default>;
553 pinctrl-1 = <&spi5_sleep>;
554 pinctrl-names = "default", "sleep";
555 clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>;
556 clock-names = "core", "iface";
558 #address-cells = <1>;
563 gsbi6: gsbi@16500000 {
565 compatible = "qcom,gsbi-v1.0.0";
567 reg = <0x16500000 0x03>;
568 clocks = <&gcc GSBI6_H_CLK>;
569 clock-names = "iface";
570 #address-cells = <1>;
574 gsbi6_serial: serial@16540000 {
575 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
576 reg = <0x16540000 0x100>,
578 interrupts = <0 156 0x0>;
579 clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
580 clock-names = "core", "iface";
584 gsbi6_i2c: i2c@16580000 {
585 compatible = "qcom,i2c-qup-v1.1.1";
586 pinctrl-0 = <&i2c6_pins>;
587 pinctrl-1 = <&i2c6_pins_sleep>;
588 pinctrl-names = "default", "sleep";
589 reg = <0x16580000 0x1000>;
590 interrupts = <GIC_SPI 157 IRQ_TYPE_NONE>;
591 clocks = <&gcc GSBI6_QUP_CLK>,
593 clock-names = "core", "iface";
598 gsbi7: gsbi@16600000 {
600 compatible = "qcom,gsbi-v1.0.0";
602 reg = <0x16600000 0x100>;
603 clocks = <&gcc GSBI7_H_CLK>;
604 clock-names = "iface";
605 #address-cells = <1>;
608 syscon-tcsr = <&tcsr>;
610 gsbi7_serial: serial@16640000 {
611 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
612 reg = <0x16640000 0x1000>,
614 interrupts = <0 158 0x0>;
615 clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
616 clock-names = "core", "iface";
620 gsbi7_i2c: i2c@16680000 {
621 compatible = "qcom,i2c-qup-v1.1.1";
622 pinctrl-0 = <&i2c7_pins>;
623 pinctrl-1 = <&i2c7_pins_sleep>;
624 pinctrl-names = "default", "sleep";
625 reg = <0x16680000 0x1000>;
626 interrupts = <GIC_SPI 159 IRQ_TYPE_NONE>;
627 clocks = <&gcc GSBI7_QUP_CLK>,
629 clock-names = "core", "iface";
635 compatible = "qcom,prng";
636 reg = <0x1a500000 0x200>;
637 clocks = <&gcc PRNG_CLK>;
638 clock-names = "core";
642 compatible = "qcom,ssbi";
643 reg = <0x00c00000 0x1000>;
644 qcom,controller-type = "pmic-arbiter";
647 compatible = "qcom,pm8821";
648 interrupt-parent = <&tlmm_pinmux>;
649 interrupts = <76 IRQ_TYPE_LEVEL_LOW>;
650 #interrupt-cells = <2>;
651 interrupt-controller;
652 #address-cells = <1>;
655 pm8821_mpps: mpps@50 {
656 compatible = "qcom,pm8821-mpp", "qcom,ssbi-mpp";
658 interrupts = <24 IRQ_TYPE_NONE>,
669 compatible = "qcom,ssbi";
670 reg = <0x00500000 0x1000>;
671 qcom,controller-type = "pmic-arbiter";
674 compatible = "qcom,pm8921";
675 interrupt-parent = <&tlmm_pinmux>;
677 #interrupt-cells = <2>;
678 interrupt-controller;
679 #address-cells = <1>;
682 pm8921_gpio: gpio@150 {
684 compatible = "qcom,pm8921-gpio",
687 interrupts = <192 IRQ_TYPE_NONE>,
736 pm8921_mpps: mpps@50 {
737 compatible = "qcom,pm8921-mpp",
758 compatible = "qcom,pm8921-rtc";
759 interrupt-parent = <&pmicintc>;
766 compatible = "qcom,pm8921-pwrkey";
768 interrupt-parent = <&pmicintc>;
769 interrupts = <50 1>, <51 1>;
776 qfprom: qfprom@700000 {
777 compatible = "qcom,qfprom";
778 reg = <0x00700000 0x1000>;
779 #address-cells = <1>;
785 tsens_backup: backup_calib {
790 gcc: clock-controller@900000 {
791 compatible = "qcom,gcc-apq8064";
792 reg = <0x00900000 0x4000>;
793 nvmem-cells = <&tsens_calib>, <&tsens_backup>;
794 nvmem-cell-names = "calib", "calib_backup";
797 #thermal-sensor-cells = <1>;
800 lcc: clock-controller@28000000 {
801 compatible = "qcom,lcc-apq8064";
802 reg = <0x28000000 0x1000>;
807 mmcc: clock-controller@4000000 {
808 compatible = "qcom,mmcc-apq8064";
809 reg = <0x4000000 0x1000>;
814 l2cc: clock-controller@2011000 {
815 compatible = "syscon";
816 reg = <0x2011000 0x1000>;
820 compatible = "qcom,rpm-apq8064";
821 reg = <0x108000 0x1000>;
822 qcom,ipc = <&l2cc 0x8 2>;
824 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
825 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
826 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
827 interrupt-names = "ack", "err", "wakeup";
829 rpmcc: clock-controller {
830 compatible = "qcom,rpmcc-apq8064", "qcom,rpmcc";
835 compatible = "qcom,rpm-pm8921-regulators";
871 pm8921_lvs1: lvs1 {};
872 pm8921_lvs2: lvs2 {};
873 pm8921_lvs3: lvs3 {};
874 pm8921_lvs4: lvs4 {};
875 pm8921_lvs5: lvs5 {};
876 pm8921_lvs6: lvs6 {};
877 pm8921_lvs7: lvs7 {};
879 pm8921_usb_switch: usb-switch {};
881 pm8921_hdmi_switch: hdmi-switch {
890 compatible = "qcom,ci-hdrc";
891 reg = <0x12500000 0x200>,
893 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
894 clocks = <&gcc USB_HS1_XCVR_CLK>, <&gcc USB_HS1_H_CLK>;
895 clock-names = "core", "iface";
896 assigned-clocks = <&gcc USB_HS1_XCVR_CLK>;
897 assigned-clock-rates = <60000000>;
898 resets = <&gcc USB_HS1_RESET>;
899 reset-names = "core";
901 ahb-burst-config = <0>;
902 phys = <&usb_hs1_phy>;
903 phy-names = "usb-phy";
909 compatible = "qcom,usb-hs-phy-apq8064",
911 clocks = <&sleep_clk>, <&cxo_board>;
912 clock-names = "sleep", "ref";
921 compatible = "qcom,ci-hdrc";
922 reg = <0x12520000 0x200>,
924 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
925 clocks = <&gcc USB_HS3_XCVR_CLK>, <&gcc USB_HS3_H_CLK>;
926 clock-names = "core", "iface";
927 assigned-clocks = <&gcc USB_HS3_XCVR_CLK>;
928 assigned-clock-rates = <60000000>;
929 resets = <&gcc USB_HS3_RESET>;
930 reset-names = "core";
932 ahb-burst-config = <0>;
933 phys = <&usb_hs3_phy>;
934 phy-names = "usb-phy";
940 compatible = "qcom,usb-hs-phy-apq8064",
943 clocks = <&sleep_clk>, <&cxo_board>;
944 clock-names = "sleep", "ref";
952 compatible = "qcom,ci-hdrc";
953 reg = <0x12530000 0x200>,
955 interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
956 clocks = <&gcc USB_HS4_XCVR_CLK>, <&gcc USB_HS4_H_CLK>;
957 clock-names = "core", "iface";
958 assigned-clocks = <&gcc USB_HS4_XCVR_CLK>;
959 assigned-clock-rates = <60000000>;
960 resets = <&gcc USB_HS4_RESET>;
961 reset-names = "core";
963 ahb-burst-config = <0>;
964 phys = <&usb_hs4_phy>;
965 phy-names = "usb-phy";
971 compatible = "qcom,usb-hs-phy-apq8064",
974 clocks = <&sleep_clk>, <&cxo_board>;
975 clock-names = "sleep", "ref";
982 sata_phy0: phy@1b400000 {
983 compatible = "qcom,apq8064-sata-phy";
985 reg = <0x1b400000 0x200>;
986 reg-names = "phy_mem";
987 clocks = <&gcc SATA_PHY_CFG_CLK>;
992 sata0: sata@29000000 {
993 compatible = "qcom,apq8064-ahci", "generic-ahci";
995 reg = <0x29000000 0x180>;
996 interrupts = <GIC_SPI 209 IRQ_TYPE_NONE>;
998 clocks = <&gcc SFAB_SATA_S_H_CLK>,
1001 <&gcc SATA_RXOOB_CLK>,
1002 <&gcc SATA_PMALIVE_CLK>;
1003 clock-names = "slave_iface",
1009 assigned-clocks = <&gcc SATA_RXOOB_CLK>,
1010 <&gcc SATA_PMALIVE_CLK>;
1011 assigned-clock-rates = <100000000>, <100000000>;
1013 phys = <&sata_phy0>;
1014 phy-names = "sata-phy";
1015 ports-implemented = <0x1>;
1018 /* Temporary fixed regulator */
1019 sdcc1bam:dma@12402000{
1020 compatible = "qcom,bam-v1.3.0";
1021 reg = <0x12402000 0x8000>;
1022 interrupts = <0 98 0>;
1023 clocks = <&gcc SDC1_H_CLK>;
1024 clock-names = "bam_clk";
1029 sdcc3bam:dma@12182000{
1030 compatible = "qcom,bam-v1.3.0";
1031 reg = <0x12182000 0x8000>;
1032 interrupts = <0 96 0>;
1033 clocks = <&gcc SDC3_H_CLK>;
1034 clock-names = "bam_clk";
1039 sdcc4bam:dma@121c2000{
1040 compatible = "qcom,bam-v1.3.0";
1041 reg = <0x121c2000 0x8000>;
1042 interrupts = <0 95 0>;
1043 clocks = <&gcc SDC4_H_CLK>;
1044 clock-names = "bam_clk";
1050 compatible = "simple-bus";
1051 #address-cells = <1>;
1054 sdcc1: sdcc@12400000 {
1055 status = "disabled";
1056 compatible = "arm,pl18x", "arm,primecell";
1057 pinctrl-names = "default";
1058 pinctrl-0 = <&sdcc1_pins>;
1059 arm,primecell-periphid = <0x00051180>;
1060 reg = <0x12400000 0x2000>;
1061 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
1062 interrupt-names = "cmd_irq";
1063 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
1064 clock-names = "mclk", "apb_pclk";
1066 max-frequency = <96000000>;
1070 dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
1071 dma-names = "tx", "rx";
1074 sdcc3: sdcc@12180000 {
1075 compatible = "arm,pl18x", "arm,primecell";
1076 arm,primecell-periphid = <0x00051180>;
1077 status = "disabled";
1078 reg = <0x12180000 0x2000>;
1079 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1080 interrupt-names = "cmd_irq";
1081 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
1082 clock-names = "mclk", "apb_pclk";
1086 max-frequency = <192000000>;
1088 dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
1089 dma-names = "tx", "rx";
1092 sdcc4: sdcc@121c0000 {
1093 compatible = "arm,pl18x", "arm,primecell";
1094 arm,primecell-periphid = <0x00051180>;
1095 status = "disabled";
1096 reg = <0x121c0000 0x2000>;
1097 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1098 interrupt-names = "cmd_irq";
1099 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
1100 clock-names = "mclk", "apb_pclk";
1104 max-frequency = <48000000>;
1105 dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
1106 dma-names = "tx", "rx";
1107 pinctrl-names = "default";
1108 pinctrl-0 = <&sdc4_gpios>;
1112 tcsr: syscon@1a400000 {
1113 compatible = "qcom,tcsr-apq8064", "syscon";
1114 reg = <0x1a400000 0x100>;
1117 gpu: adreno-3xx@4300000 {
1118 compatible = "qcom,adreno-3xx";
1119 reg = <0x04300000 0x20000>;
1120 reg-names = "kgsl_3d0_reg_memory";
1121 interrupts = <GIC_SPI 80 0>;
1122 interrupt-names = "kgsl_3d0_irq";
1130 <&mmcc GFX3D_AHB_CLK>,
1131 <&mmcc GFX3D_AXI_CLK>,
1132 <&mmcc MMSS_IMEM_AHB_CLK>;
1133 qcom,chipid = <0x03020002>;
1200 qcom,gpu-pwrlevels {
1201 compatible = "qcom,gpu-pwrlevels";
1202 qcom,gpu-pwrlevel@0 {
1203 qcom,gpu-freq = <450000000>;
1205 qcom,gpu-pwrlevel@1 {
1206 qcom,gpu-freq = <27000000>;
1211 mmss_sfpb: syscon@5700000 {
1212 compatible = "syscon";
1213 reg = <0x5700000 0x70>;
1216 dsi0: mdss_dsi@4700000 {
1217 compatible = "qcom,mdss-dsi-ctrl";
1218 label = "MDSS DSI CTRL->0";
1219 #address-cells = <1>;
1221 interrupts = <GIC_SPI 82 0>;
1222 reg = <0x04700000 0x200>;
1223 reg-names = "dsi_ctrl";
1225 clocks = <&mmcc DSI_M_AHB_CLK>,
1226 <&mmcc DSI_S_AHB_CLK>,
1227 <&mmcc AMP_AHB_CLK>,
1229 <&mmcc DSI1_BYTE_CLK>,
1230 <&mmcc DSI_PIXEL_CLK>,
1231 <&mmcc DSI1_ESC_CLK>;
1232 clock-names = "iface_clk", "bus_clk", "core_mmss_clk",
1233 "src_clk", "byte_clk", "pixel_clk",
1236 assigned-clocks = <&mmcc DSI1_BYTE_SRC>,
1237 <&mmcc DSI1_ESC_SRC>,
1239 <&mmcc DSI_PIXEL_SRC>;
1240 assigned-clock-parents = <&dsi0_phy 0>,
1244 syscon-sfpb = <&mmss_sfpb>;
1247 #address-cells = <1>;
1258 dsi0_out: endpoint {
1265 dsi0_phy: dsi-phy@4700200 {
1266 compatible = "qcom,dsi-phy-28nm-8960";
1270 reg = <0x04700200 0x100>,
1273 reg-names = "dsi_pll", "dsi_phy", "dsi_phy_regulator";
1274 clock-names = "iface_clk";
1275 clocks = <&mmcc DSI_M_AHB_CLK>;
1279 mdp_port0: iommu@7500000 {
1280 compatible = "qcom,apq8064-iommu";
1286 <&mmcc SMMU_AHB_CLK>,
1287 <&mmcc MDP_AXI_CLK>;
1288 reg = <0x07500000 0x100000>;
1295 mdp_port1: iommu@7600000 {
1296 compatible = "qcom,apq8064-iommu";
1302 <&mmcc SMMU_AHB_CLK>,
1303 <&mmcc MDP_AXI_CLK>;
1304 reg = <0x07600000 0x100000>;
1311 gfx3d: iommu@7c00000 {
1312 compatible = "qcom,apq8064-iommu";
1318 <&mmcc SMMU_AHB_CLK>,
1319 <&mmcc GFX3D_AXI_CLK>;
1320 reg = <0x07c00000 0x100000>;
1327 gfx3d1: iommu@7d00000 {
1328 compatible = "qcom,apq8064-iommu";
1334 <&mmcc SMMU_AHB_CLK>,
1335 <&mmcc GFX3D_AXI_CLK>;
1336 reg = <0x07d00000 0x100000>;
1343 pcie: pci@1b500000 {
1344 compatible = "qcom,pcie-apq8064", "snps,dw-pcie";
1345 reg = <0x1b500000 0x1000
1348 0x0ff00000 0x100000>;
1349 reg-names = "dbi", "elbi", "parf", "config";
1350 device_type = "pci";
1351 linux,pci-domain = <0>;
1352 bus-range = <0x00 0xff>;
1354 #address-cells = <3>;
1356 ranges = <0x81000000 0 0 0x0fe00000 0 0x00100000 /* I/O */
1357 0x82000000 0 0 0x08000000 0 0x07e00000>; /* memory */
1358 interrupts = <GIC_SPI 238 IRQ_TYPE_NONE>;
1359 interrupt-names = "msi";
1360 #interrupt-cells = <1>;
1361 interrupt-map-mask = <0 0 0 0x7>;
1362 interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1363 <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1364 <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1365 <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1366 clocks = <&gcc PCIE_A_CLK>,
1368 <&gcc PCIE_PHY_REF_CLK>;
1369 clock-names = "core", "iface", "phy";
1370 resets = <&gcc PCIE_ACLK_RESET>,
1371 <&gcc PCIE_HCLK_RESET>,
1372 <&gcc PCIE_POR_RESET>,
1373 <&gcc PCIE_PCI_RESET>,
1374 <&gcc PCIE_PHY_RESET>;
1375 reset-names = "axi", "ahb", "por", "pci", "phy";
1376 status = "disabled";
1379 hdmi: hdmi-tx@4a00000 {
1380 compatible = "qcom,hdmi-tx-8960";
1381 pinctrl-names = "default";
1382 pinctrl-0 = <&hdmi_pinctrl>;
1383 reg = <0x04a00000 0x2f0>;
1384 reg-names = "core_physical";
1385 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
1386 clocks = <&mmcc HDMI_APP_CLK>,
1387 <&mmcc HDMI_M_AHB_CLK>,
1388 <&mmcc HDMI_S_AHB_CLK>;
1389 clock-names = "core_clk",
1394 phy-names = "hdmi-phy";
1397 #address-cells = <1>;
1408 hdmi_out: endpoint {
1414 hdmi_phy: hdmi-phy@4a00400 {
1415 compatible = "qcom,hdmi-phy-8960";
1416 reg = <0x4a00400 0x60>,
1418 reg-names = "hdmi_phy",
1421 clocks = <&mmcc HDMI_S_AHB_CLK>;
1422 clock-names = "slave_iface_clk";
1427 compatible = "qcom,mdp4";
1428 reg = <0x05100000 0xf0000>;
1429 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
1430 clocks = <&mmcc MDP_CLK>,
1431 <&mmcc MDP_AHB_CLK>,
1432 <&mmcc MDP_AXI_CLK>,
1433 <&mmcc MDP_LUT_CLK>,
1434 <&mmcc HDMI_TV_CLK>,
1436 clock-names = "core_clk",
1443 iommus = <&mdp_port0 0
1449 #address-cells = <1>;
1454 mdp_lvds_out: endpoint {
1460 mdp_dsi1_out: endpoint {
1466 mdp_dsi2_out: endpoint {
1472 mdp_dtv_out: endpoint {
1478 riva: riva-pil@3204000 {
1479 compatible = "qcom,riva-pil";
1481 reg = <0x03200800 0x1000>, <0x03202000 0x2000>, <0x03204000 0x100>;
1482 reg-names = "ccu", "dxe", "pmu";
1484 interrupts-extended = <&intc GIC_SPI 199 IRQ_TYPE_EDGE_RISING>,
1485 <&wcnss_smsm 6 IRQ_TYPE_EDGE_RISING>;
1486 interrupt-names = "wdog", "fatal";
1488 memory-region = <&wcnss_mem>;
1490 vddcx-supply = <&pm8921_s3>;
1491 vddmx-supply = <&pm8921_l24>;
1492 vddpx-supply = <&pm8921_s4>;
1494 status = "disabled";
1497 compatible = "qcom,wcn3660";
1499 clocks = <&cxo_board>;
1502 vddxo-supply = <&pm8921_l4>;
1503 vddrfa-supply = <&pm8921_s2>;
1504 vddpa-supply = <&pm8921_l10>;
1505 vdddig-supply = <&pm8921_lvs2>;
1509 interrupts = <GIC_SPI 198 IRQ_TYPE_EDGE_RISING>;
1511 qcom,ipc = <&l2cc 8 25>;
1512 qcom,smd-edge = <6>;
1517 compatible = "qcom,wcnss";
1518 qcom,smd-channels = "WCNSS_CTRL";
1520 qcom,mmio = <&riva>;
1523 compatible = "qcom,wcnss-bt";
1527 compatible = "qcom,wcnss-wlan";
1529 interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
1530 <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
1531 interrupt-names = "tx", "rx";
1533 qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
1534 qcom,smem-state-names = "tx-enable", "tx-rings-empty";
1541 compatible = "coresight-etb10", "arm,primecell";
1542 reg = <0x1a01000 0x1000>;
1544 clocks = <&rpmcc RPM_QDSS_CLK>;
1545 clock-names = "apb_pclk";
1550 remote-endpoint = <&replicator_out0>;
1556 compatible = "arm,coresight-tpiu", "arm,primecell";
1557 reg = <0x1a03000 0x1000>;
1559 clocks = <&rpmcc RPM_QDSS_CLK>;
1560 clock-names = "apb_pclk";
1565 remote-endpoint = <&replicator_out1>;
1571 compatible = "arm,coresight-replicator";
1573 clocks = <&rpmcc RPM_QDSS_CLK>;
1574 clock-names = "apb_pclk";
1577 #address-cells = <1>;
1582 replicator_out0: endpoint {
1583 remote-endpoint = <&etb_in>;
1588 replicator_out1: endpoint {
1589 remote-endpoint = <&tpiu_in>;
1594 replicator_in: endpoint {
1596 remote-endpoint = <&funnel_out>;
1603 compatible = "arm,coresight-funnel", "arm,primecell";
1604 reg = <0x1a04000 0x1000>;
1606 clocks = <&rpmcc RPM_QDSS_CLK>;
1607 clock-names = "apb_pclk";
1610 #address-cells = <1>;
1614 * Not described input ports:
1615 * 2 - connected to STM component
1622 funnel_in0: endpoint {
1624 remote-endpoint = <&etm0_out>;
1629 funnel_in1: endpoint {
1631 remote-endpoint = <&etm1_out>;
1636 funnel_in4: endpoint {
1638 remote-endpoint = <&etm2_out>;
1643 funnel_in5: endpoint {
1645 remote-endpoint = <&etm3_out>;
1650 funnel_out: endpoint {
1651 remote-endpoint = <&replicator_in>;
1658 compatible = "arm,coresight-etm3x", "arm,primecell";
1659 reg = <0x1a1c000 0x1000>;
1661 clocks = <&rpmcc RPM_QDSS_CLK>;
1662 clock-names = "apb_pclk";
1667 etm0_out: endpoint {
1668 remote-endpoint = <&funnel_in0>;
1674 compatible = "arm,coresight-etm3x", "arm,primecell";
1675 reg = <0x1a1d000 0x1000>;
1677 clocks = <&rpmcc RPM_QDSS_CLK>;
1678 clock-names = "apb_pclk";
1683 etm1_out: endpoint {
1684 remote-endpoint = <&funnel_in1>;
1690 compatible = "arm,coresight-etm3x", "arm,primecell";
1691 reg = <0x1a1e000 0x1000>;
1693 clocks = <&rpmcc RPM_QDSS_CLK>;
1694 clock-names = "apb_pclk";
1699 etm2_out: endpoint {
1700 remote-endpoint = <&funnel_in4>;
1706 compatible = "arm,coresight-etm3x", "arm,primecell";
1707 reg = <0x1a1f000 0x1000>;
1709 clocks = <&rpmcc RPM_QDSS_CLK>;
1710 clock-names = "apb_pclk";
1715 etm3_out: endpoint {
1716 remote-endpoint = <&funnel_in5>;
1722 #include "qcom-apq8064-pins.dtsi"