1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/interconnect/qcom,msm8974.h>
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/clock/qcom,gcc-msm8974.h>
7 #include <dt-bindings/clock/qcom,mmcc-msm8974.h>
8 #include <dt-bindings/clock/qcom,rpmcc.h>
9 #include <dt-bindings/reset/qcom,gcc-msm8974.h>
10 #include <dt-bindings/gpio/gpio.h>
15 interrupt-parent = <&intc>;
21 compatible = "fixed-clock";
23 clock-frequency = <19200000>;
26 sleep_clk: sleep_clk {
27 compatible = "fixed-clock";
29 clock-frequency = <32768>;
36 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
39 compatible = "qcom,krait";
40 enable-method = "qcom,kpss-acc-v2";
43 next-level-cache = <&L2>;
46 cpu-idle-states = <&CPU_SPC>;
50 compatible = "qcom,krait";
51 enable-method = "qcom,kpss-acc-v2";
54 next-level-cache = <&L2>;
57 cpu-idle-states = <&CPU_SPC>;
61 compatible = "qcom,krait";
62 enable-method = "qcom,kpss-acc-v2";
65 next-level-cache = <&L2>;
68 cpu-idle-states = <&CPU_SPC>;
72 compatible = "qcom,krait";
73 enable-method = "qcom,kpss-acc-v2";
76 next-level-cache = <&L2>;
79 cpu-idle-states = <&CPU_SPC>;
91 compatible = "qcom,idle-state-spc",
93 entry-latency-us = <150>;
94 exit-latency-us = <200>;
95 min-residency-us = <2000>;
102 compatible = "qcom,scm-msm8974", "qcom,scm";
103 clocks = <&gcc GCC_CE1_CLK>, <&gcc GCC_CE1_AXI_CLK>, <&gcc GCC_CE1_AHB_CLK>;
104 clock-names = "core", "bus", "iface";
109 device_type = "memory";
114 compatible = "qcom,krait-pmu";
115 interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
119 compatible = "qcom,msm8974-rpm-proc", "qcom,rpm-proc";
122 compatible = "qcom,rpm-master-stats";
123 qcom,rpm-msg-ram = <&apss_master_stats>,
124 <&mpss_master_stats>,
125 <&lpss_master_stats>,
126 <&pronto_master_stats>;
127 qcom,master-names = "APSS",
134 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
135 qcom,ipc = <&apcs 8 0>;
136 qcom,smd-edge = <15>;
138 rpm_requests: rpm-requests {
139 compatible = "qcom,rpm-msm8974";
140 qcom,smd-channels = "rpm_requests";
142 rpmcc: clock-controller {
143 compatible = "qcom,rpmcc-msm8974", "qcom,rpmcc";
145 clocks = <&xo_board>;
153 #address-cells = <1>;
157 mpss_region: mpss@8000000 {
158 reg = <0x08000000 0x5100000>;
162 mba_region: mba@d100000 {
163 reg = <0x0d100000 0x100000>;
167 wcnss_region: wcnss@d200000 {
168 reg = <0x0d200000 0xa00000>;
172 adsp_region: adsp@dc00000 {
173 reg = <0x0dc00000 0x1900000>;
177 venus_region: memory@f500000 {
178 reg = <0x0f500000 0x500000>;
182 smem_region: smem@fa00000 {
183 reg = <0xfa00000 0x200000>;
187 tz_region: memory@fc00000 {
188 reg = <0x0fc00000 0x160000>;
192 rfsa_mem: memory@fd60000 {
193 reg = <0x0fd60000 0x20000>;
198 compatible = "qcom,rmtfs-mem";
199 reg = <0x0fd80000 0x180000>;
202 qcom,client-id = <1>;
207 compatible = "qcom,smem";
209 memory-region = <&smem_region>;
210 qcom,rpm-msg-ram = <&rpm_msg_ram>;
212 hwlocks = <&tcsr_mutex 3>;
216 compatible = "qcom,smp2p";
217 qcom,smem = <443>, <429>;
219 interrupt-parent = <&intc>;
220 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
222 qcom,ipc = <&apcs 8 10>;
224 qcom,local-pid = <0>;
225 qcom,remote-pid = <2>;
227 adsp_smp2p_out: master-kernel {
228 qcom,entry-name = "master-kernel";
229 #qcom,smem-state-cells = <1>;
232 adsp_smp2p_in: slave-kernel {
233 qcom,entry-name = "slave-kernel";
235 interrupt-controller;
236 #interrupt-cells = <2>;
241 compatible = "qcom,smp2p";
242 qcom,smem = <435>, <428>;
244 interrupt-parent = <&intc>;
245 interrupts = <GIC_SPI 27 IRQ_TYPE_EDGE_RISING>;
247 qcom,ipc = <&apcs 8 14>;
249 qcom,local-pid = <0>;
250 qcom,remote-pid = <1>;
252 modem_smp2p_out: master-kernel {
253 qcom,entry-name = "master-kernel";
254 #qcom,smem-state-cells = <1>;
257 modem_smp2p_in: slave-kernel {
258 qcom,entry-name = "slave-kernel";
260 interrupt-controller;
261 #interrupt-cells = <2>;
266 compatible = "qcom,smp2p";
267 qcom,smem = <451>, <431>;
269 interrupt-parent = <&intc>;
270 interrupts = <GIC_SPI 143 IRQ_TYPE_EDGE_RISING>;
272 qcom,ipc = <&apcs 8 18>;
274 qcom,local-pid = <0>;
275 qcom,remote-pid = <4>;
277 wcnss_smp2p_out: master-kernel {
278 qcom,entry-name = "master-kernel";
280 #qcom,smem-state-cells = <1>;
283 wcnss_smp2p_in: slave-kernel {
284 qcom,entry-name = "slave-kernel";
286 interrupt-controller;
287 #interrupt-cells = <2>;
292 compatible = "qcom,smsm";
294 #address-cells = <1>;
297 qcom,ipc-1 = <&apcs 8 13>;
298 qcom,ipc-2 = <&apcs 8 9>;
299 qcom,ipc-3 = <&apcs 8 19>;
304 #qcom,smem-state-cells = <1>;
307 modem_smsm: modem@1 {
309 interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
311 interrupt-controller;
312 #interrupt-cells = <2>;
317 interrupts = <GIC_SPI 157 IRQ_TYPE_EDGE_RISING>;
319 interrupt-controller;
320 #interrupt-cells = <2>;
323 wcnss_smsm: wcnss@7 {
325 interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>;
327 interrupt-controller;
328 #interrupt-cells = <2>;
333 #address-cells = <1>;
336 compatible = "simple-bus";
338 intc: interrupt-controller@f9000000 {
339 compatible = "qcom,msm-qgic2";
340 interrupt-controller;
341 #interrupt-cells = <3>;
342 reg = <0xf9000000 0x1000>,
346 apcs: syscon@f9011000 {
347 compatible = "syscon";
348 reg = <0xf9011000 0x1000>;
351 saw_l2: power-manager@f9012000 {
352 compatible = "qcom,msm8974-saw2-v2.1-l2", "qcom,saw2";
353 reg = <0xf9012000 0x1000>;
357 compatible = "qcom,apss-wdt-msm8974", "qcom,kpss-wdt";
358 reg = <0xf9017000 0x1000>;
359 interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>,
360 <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>;
361 clocks = <&sleep_clk>;
365 #address-cells = <1>;
368 compatible = "arm,armv7-timer-mem";
369 reg = <0xf9020000 0x1000>;
370 clock-frequency = <19200000>;
374 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
375 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
376 reg = <0xf9021000 0x1000>,
382 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
383 reg = <0xf9023000 0x1000>;
389 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
390 reg = <0xf9024000 0x1000>;
396 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
397 reg = <0xf9025000 0x1000>;
403 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
404 reg = <0xf9026000 0x1000>;
410 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
411 reg = <0xf9027000 0x1000>;
417 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
418 reg = <0xf9028000 0x1000>;
423 acc0: power-manager@f9088000 {
424 compatible = "qcom,kpss-acc-v2";
425 reg = <0xf9088000 0x1000>, <0xf9008000 0x1000>;
428 saw0: power-manager@f9089000 {
429 compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
430 reg = <0xf9089000 0x1000>, <0xf9009000 0x1000>;
433 acc1: power-manager@f9098000 {
434 compatible = "qcom,kpss-acc-v2";
435 reg = <0xf9098000 0x1000>, <0xf9008000 0x1000>;
438 saw1: power-manager@f9099000 {
439 compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
440 reg = <0xf9099000 0x1000>, <0xf9009000 0x1000>;
443 acc2: power-manager@f90a8000 {
444 compatible = "qcom,kpss-acc-v2";
445 reg = <0xf90a8000 0x1000>, <0xf9008000 0x1000>;
448 saw2: power-manager@f90a9000 {
449 compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
450 reg = <0xf90a9000 0x1000>, <0xf9009000 0x1000>;
453 acc3: power-manager@f90b8000 {
454 compatible = "qcom,kpss-acc-v2";
455 reg = <0xf90b8000 0x1000>, <0xf9008000 0x1000>;
458 saw3: power-manager@f90b9000 {
459 compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
460 reg = <0xf90b9000 0x1000>, <0xf9009000 0x1000>;
463 sdhc_1: mmc@f9824900 {
464 compatible = "qcom,msm8974-sdhci", "qcom,sdhci-msm-v4";
465 reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
466 reg-names = "hc", "core";
467 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
468 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
469 interrupt-names = "hc_irq", "pwr_irq";
470 clocks = <&gcc GCC_SDCC1_AHB_CLK>,
471 <&gcc GCC_SDCC1_APPS_CLK>,
473 clock-names = "iface", "core", "xo";
480 sdhc_3: mmc@f9864900 {
481 compatible = "qcom,msm8974-sdhci", "qcom,sdhci-msm-v4";
482 reg = <0xf9864900 0x11c>, <0xf9864000 0x800>;
483 reg-names = "hc", "core";
484 interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
485 <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
486 interrupt-names = "hc_irq", "pwr_irq";
487 clocks = <&gcc GCC_SDCC3_AHB_CLK>,
488 <&gcc GCC_SDCC3_APPS_CLK>,
490 clock-names = "iface", "core", "xo";
493 #address-cells = <1>;
499 sdhc_2: mmc@f98a4900 {
500 compatible = "qcom,msm8974-sdhci", "qcom,sdhci-msm-v4";
501 reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
502 reg-names = "hc", "core";
503 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
504 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
505 interrupt-names = "hc_irq", "pwr_irq";
506 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
507 <&gcc GCC_SDCC2_APPS_CLK>,
509 clock-names = "iface", "core", "xo";
512 #address-cells = <1>;
518 blsp1_uart1: serial@f991d000 {
519 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
520 reg = <0xf991d000 0x1000>;
521 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
522 clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
523 clock-names = "core", "iface";
527 blsp1_uart2: serial@f991e000 {
528 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
529 reg = <0xf991e000 0x1000>;
530 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
531 clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
532 clock-names = "core", "iface";
533 pinctrl-names = "default";
534 pinctrl-0 = <&blsp1_uart2_default>;
538 blsp1_i2c1: i2c@f9923000 {
540 compatible = "qcom,i2c-qup-v2.1.1";
541 reg = <0xf9923000 0x1000>;
542 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
543 clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
544 clock-names = "core", "iface";
545 pinctrl-names = "default", "sleep";
546 pinctrl-0 = <&blsp1_i2c1_default>;
547 pinctrl-1 = <&blsp1_i2c1_sleep>;
548 #address-cells = <1>;
552 blsp1_i2c2: i2c@f9924000 {
554 compatible = "qcom,i2c-qup-v2.1.1";
555 reg = <0xf9924000 0x1000>;
556 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
557 clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
558 clock-names = "core", "iface";
559 pinctrl-names = "default", "sleep";
560 pinctrl-0 = <&blsp1_i2c2_default>;
561 pinctrl-1 = <&blsp1_i2c2_sleep>;
562 #address-cells = <1>;
566 blsp1_i2c3: i2c@f9925000 {
568 compatible = "qcom,i2c-qup-v2.1.1";
569 reg = <0xf9925000 0x1000>;
570 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
571 clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
572 clock-names = "core", "iface";
573 pinctrl-names = "default", "sleep";
574 pinctrl-0 = <&blsp1_i2c3_default>;
575 pinctrl-1 = <&blsp1_i2c3_sleep>;
576 #address-cells = <1>;
580 blsp1_i2c6: i2c@f9928000 {
582 compatible = "qcom,i2c-qup-v2.1.1";
583 reg = <0xf9928000 0x1000>;
584 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
585 clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
586 clock-names = "core", "iface";
587 pinctrl-names = "default", "sleep";
588 pinctrl-0 = <&blsp1_i2c6_default>;
589 pinctrl-1 = <&blsp1_i2c6_sleep>;
590 #address-cells = <1>;
594 blsp2_dma: dma-controller@f9944000 {
595 compatible = "qcom,bam-v1.4.0";
596 reg = <0xf9944000 0x19000>;
597 interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
598 clocks = <&gcc GCC_BLSP2_AHB_CLK>;
599 clock-names = "bam_clk";
604 blsp2_uart1: serial@f995d000 {
605 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
606 reg = <0xf995d000 0x1000>;
607 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
608 clocks = <&gcc GCC_BLSP2_UART1_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
609 clock-names = "core", "iface";
610 pinctrl-names = "default", "sleep";
611 pinctrl-0 = <&blsp2_uart1_default>;
612 pinctrl-1 = <&blsp2_uart1_sleep>;
616 blsp2_uart2: serial@f995e000 {
617 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
618 reg = <0xf995e000 0x1000>;
619 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
620 clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
621 clock-names = "core", "iface";
625 blsp2_uart4: serial@f9960000 {
626 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
627 reg = <0xf9960000 0x1000>;
628 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
629 clocks = <&gcc GCC_BLSP2_UART4_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
630 clock-names = "core", "iface";
631 pinctrl-names = "default";
632 pinctrl-0 = <&blsp2_uart4_default>;
636 blsp2_i2c2: i2c@f9964000 {
638 compatible = "qcom,i2c-qup-v2.1.1";
639 reg = <0xf9964000 0x1000>;
640 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
641 clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
642 clock-names = "core", "iface";
643 pinctrl-names = "default", "sleep";
644 pinctrl-0 = <&blsp2_i2c2_default>;
645 pinctrl-1 = <&blsp2_i2c2_sleep>;
646 #address-cells = <1>;
650 blsp2_i2c5: i2c@f9967000 {
652 compatible = "qcom,i2c-qup-v2.1.1";
653 reg = <0xf9967000 0x1000>;
654 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
655 clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
656 clock-names = "core", "iface";
657 dmas = <&blsp2_dma 20>, <&blsp2_dma 21>;
658 dma-names = "tx", "rx";
659 pinctrl-names = "default", "sleep";
660 pinctrl-0 = <&blsp2_i2c5_default>;
661 pinctrl-1 = <&blsp2_i2c5_sleep>;
662 #address-cells = <1>;
666 blsp2_i2c6: i2c@f9968000 {
668 compatible = "qcom,i2c-qup-v2.1.1";
669 reg = <0xf9968000 0x1000>;
670 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
671 clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
672 clock-names = "core", "iface";
673 pinctrl-names = "default", "sleep";
674 pinctrl-0 = <&blsp2_i2c6_default>;
675 pinctrl-1 = <&blsp2_i2c6_sleep>;
676 #address-cells = <1>;
681 compatible = "qcom,ci-hdrc";
682 reg = <0xf9a55000 0x200>,
684 interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
685 clocks = <&gcc GCC_USB_HS_AHB_CLK>,
686 <&gcc GCC_USB_HS_SYSTEM_CLK>;
687 clock-names = "iface", "core";
688 assigned-clocks = <&gcc GCC_USB_HS_SYSTEM_CLK>;
689 assigned-clock-rates = <75000000>;
690 resets = <&gcc GCC_USB_HS_BCR>;
691 reset-names = "core";
694 ahb-burst-config = <0>;
695 phy-names = "usb-phy";
701 compatible = "qcom,usb-hs-phy-msm8974",
704 clocks = <&xo_board>, <&gcc GCC_USB2A_PHY_SLEEP_CLK>;
705 clock-names = "ref", "sleep";
706 resets = <&gcc GCC_USB2A_PHY_BCR>, <&usb 0>;
707 reset-names = "phy", "por";
712 compatible = "qcom,usb-hs-phy-msm8974",
715 clocks = <&xo_board>, <&gcc GCC_USB2B_PHY_SLEEP_CLK>;
716 clock-names = "ref", "sleep";
717 resets = <&gcc GCC_USB2B_PHY_BCR>, <&usb 1>;
718 reset-names = "phy", "por";
725 compatible = "qcom,prng";
726 reg = <0xf9bff000 0x200>;
727 clocks = <&gcc GCC_PRNG_AHB_CLK>;
728 clock-names = "core";
731 pronto: remoteproc@fb204000 {
732 compatible = "qcom,pronto-v2-pil", "qcom,pronto";
733 reg = <0xfb204000 0x2000>, <0xfb202000 0x1000>, <0xfb21b000 0x3000>;
734 reg-names = "ccu", "dxe", "pmu";
736 memory-region = <&wcnss_region>;
738 interrupts-extended = <&intc GIC_SPI 149 IRQ_TYPE_EDGE_RISING>,
739 <&wcnss_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
740 <&wcnss_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
741 <&wcnss_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
742 <&wcnss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
743 interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
745 qcom,smem-states = <&wcnss_smp2p_out 0>;
746 qcom,smem-state-names = "stop";
751 compatible = "qcom,wcn3680";
753 clocks = <&rpmcc RPM_SMD_CXO_A2>;
758 interrupts = <GIC_SPI 142 IRQ_TYPE_EDGE_RISING>;
760 qcom,ipc = <&apcs 8 17>;
764 compatible = "qcom,wcnss";
765 qcom,smd-channels = "WCNSS_CTRL";
768 qcom,mmio = <&pronto>;
771 compatible = "qcom,wcnss-bt";
775 compatible = "qcom,wcnss-wlan";
777 interrupts = <GIC_SPI 145 IRQ_TYPE_EDGE_RISING>,
778 <GIC_SPI 146 IRQ_TYPE_EDGE_RISING>;
779 interrupt-names = "tx", "rx";
781 qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
782 qcom,smem-state-names = "tx-enable",
790 compatible = "qcom,msm8974-rpm-stats";
791 reg = <0xfc190000 0x10000>;
795 compatible = "arm,coresight-tmc", "arm,primecell";
796 reg = <0xfc307000 0x1000>;
798 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
799 clock-names = "apb_pclk", "atclk";
804 remote-endpoint = <&replicator_in>;
812 remote-endpoint = <&merger_out>;
819 compatible = "arm,coresight-tpiu", "arm,primecell";
820 reg = <0xfc318000 0x1000>;
822 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
823 clock-names = "apb_pclk", "atclk";
828 remote-endpoint = <&replicator_out1>;
835 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
836 reg = <0xfc31a000 0x1000>;
838 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
839 clock-names = "apb_pclk", "atclk";
842 #address-cells = <1>;
846 * Not described input ports:
848 * 1 - connected trought funnel to Multimedia CPU
849 * 2 - connected to Wireless CPU
853 * 7 - connected to STM
857 funnel1_in5: endpoint {
858 remote-endpoint = <&kpss_out>;
865 funnel1_out: endpoint {
866 remote-endpoint = <&merger_in1>;
873 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
874 reg = <0xfc31b000 0x1000>;
876 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
877 clock-names = "apb_pclk", "atclk";
880 #address-cells = <1>;
884 * Not described input ports:
885 * 0 - connected trought funnel to Audio, Modem and
886 * Resource and Power Manager CPU's
887 * 2...7 - not-connected
891 merger_in1: endpoint {
892 remote-endpoint = <&funnel1_out>;
899 merger_out: endpoint {
900 remote-endpoint = <&etf_in>;
906 replicator@fc31c000 {
907 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
908 reg = <0xfc31c000 0x1000>;
910 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
911 clock-names = "apb_pclk", "atclk";
914 #address-cells = <1>;
919 replicator_out0: endpoint {
920 remote-endpoint = <&etr_in>;
925 replicator_out1: endpoint {
926 remote-endpoint = <&tpiu_in>;
933 replicator_in: endpoint {
934 remote-endpoint = <&etf_out>;
941 compatible = "arm,coresight-tmc", "arm,primecell";
942 reg = <0xfc322000 0x1000>;
944 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
945 clock-names = "apb_pclk", "atclk";
950 remote-endpoint = <&replicator_out0>;
957 compatible = "arm,coresight-etm4x", "arm,primecell";
958 reg = <0xfc33c000 0x1000>;
960 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
961 clock-names = "apb_pclk", "atclk";
968 remote-endpoint = <&kpss_in0>;
975 compatible = "arm,coresight-etm4x", "arm,primecell";
976 reg = <0xfc33d000 0x1000>;
978 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
979 clock-names = "apb_pclk", "atclk";
986 remote-endpoint = <&kpss_in1>;
993 compatible = "arm,coresight-etm4x", "arm,primecell";
994 reg = <0xfc33e000 0x1000>;
996 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
997 clock-names = "apb_pclk", "atclk";
1003 etm2_out: endpoint {
1004 remote-endpoint = <&kpss_in2>;
1011 compatible = "arm,coresight-etm4x", "arm,primecell";
1012 reg = <0xfc33f000 0x1000>;
1014 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1015 clock-names = "apb_pclk", "atclk";
1021 etm3_out: endpoint {
1022 remote-endpoint = <&kpss_in3>;
1028 /* KPSS funnel, only 4 inputs are used */
1030 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1031 reg = <0xfc345000 0x1000>;
1033 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1034 clock-names = "apb_pclk", "atclk";
1037 #address-cells = <1>;
1042 kpss_in0: endpoint {
1043 remote-endpoint = <&etm0_out>;
1048 kpss_in1: endpoint {
1049 remote-endpoint = <&etm1_out>;
1054 kpss_in2: endpoint {
1055 remote-endpoint = <&etm2_out>;
1060 kpss_in3: endpoint {
1061 remote-endpoint = <&etm3_out>;
1068 kpss_out: endpoint {
1069 remote-endpoint = <&funnel1_in5>;
1075 bimc: interconnect@fc380000 {
1076 reg = <0xfc380000 0x6a000>;
1077 compatible = "qcom,msm8974-bimc";
1078 #interconnect-cells = <1>;
1079 clock-names = "bus", "bus_a";
1080 clocks = <&rpmcc RPM_SMD_BIMC_CLK>,
1081 <&rpmcc RPM_SMD_BIMC_A_CLK>;
1084 gcc: clock-controller@fc400000 {
1085 compatible = "qcom,gcc-msm8974";
1088 #power-domain-cells = <1>;
1089 reg = <0xfc400000 0x4000>;
1091 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
1097 rpm_msg_ram: sram@fc428000 {
1098 compatible = "qcom,rpm-msg-ram";
1099 reg = <0xfc428000 0x4000>;
1101 #address-cells = <1>;
1103 ranges = <0 0xfc428000 0x4000>;
1105 apss_master_stats: sram@150 {
1109 mpss_master_stats: sram@b50 {
1113 lpss_master_stats: sram@1550 {
1114 reg = <0x1550 0x14>;
1117 pronto_master_stats: sram@1f50 {
1118 reg = <0x1f50 0x14>;
1122 snoc: interconnect@fc460000 {
1123 reg = <0xfc460000 0x4000>;
1124 compatible = "qcom,msm8974-snoc";
1125 #interconnect-cells = <1>;
1126 clock-names = "bus", "bus_a";
1127 clocks = <&rpmcc RPM_SMD_SNOC_CLK>,
1128 <&rpmcc RPM_SMD_SNOC_A_CLK>;
1131 pnoc: interconnect@fc468000 {
1132 reg = <0xfc468000 0x4000>;
1133 compatible = "qcom,msm8974-pnoc";
1134 #interconnect-cells = <1>;
1135 clock-names = "bus", "bus_a";
1136 clocks = <&rpmcc RPM_SMD_PNOC_CLK>,
1137 <&rpmcc RPM_SMD_PNOC_A_CLK>;
1140 ocmemnoc: interconnect@fc470000 {
1141 reg = <0xfc470000 0x4000>;
1142 compatible = "qcom,msm8974-ocmemnoc";
1143 #interconnect-cells = <1>;
1144 clock-names = "bus", "bus_a";
1145 clocks = <&rpmcc RPM_SMD_OCMEMGX_CLK>,
1146 <&rpmcc RPM_SMD_OCMEMGX_A_CLK>;
1149 mmssnoc: interconnect@fc478000 {
1150 reg = <0xfc478000 0x4000>;
1151 compatible = "qcom,msm8974-mmssnoc";
1152 #interconnect-cells = <1>;
1153 clock-names = "bus", "bus_a";
1154 clocks = <&mmcc MMSS_S0_AXI_CLK>,
1155 <&mmcc MMSS_S0_AXI_CLK>;
1158 cnoc: interconnect@fc480000 {
1159 reg = <0xfc480000 0x4000>;
1160 compatible = "qcom,msm8974-cnoc";
1161 #interconnect-cells = <1>;
1162 clock-names = "bus", "bus_a";
1163 clocks = <&rpmcc RPM_SMD_CNOC_CLK>,
1164 <&rpmcc RPM_SMD_CNOC_A_CLK>;
1167 tsens: thermal-sensor@fc4a9000 {
1168 compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1";
1169 reg = <0xfc4a9000 0x1000>, /* TM */
1170 <0xfc4a8000 0x1000>; /* SROT */
1171 nvmem-cells = <&tsens_mode>,
1172 <&tsens_base1>, <&tsens_base2>,
1173 <&tsens_use_backup>,
1174 <&tsens_mode_backup>,
1175 <&tsens_base1_backup>, <&tsens_base2_backup>,
1176 <&tsens_s0_p1>, <&tsens_s0_p2>,
1177 <&tsens_s1_p1>, <&tsens_s1_p2>,
1178 <&tsens_s2_p1>, <&tsens_s2_p2>,
1179 <&tsens_s3_p1>, <&tsens_s3_p2>,
1180 <&tsens_s4_p1>, <&tsens_s4_p2>,
1181 <&tsens_s5_p1>, <&tsens_s5_p2>,
1182 <&tsens_s6_p1>, <&tsens_s6_p2>,
1183 <&tsens_s7_p1>, <&tsens_s7_p2>,
1184 <&tsens_s8_p1>, <&tsens_s8_p2>,
1185 <&tsens_s9_p1>, <&tsens_s9_p2>,
1186 <&tsens_s10_p1>, <&tsens_s10_p2>,
1187 <&tsens_s0_p1_backup>, <&tsens_s0_p2_backup>,
1188 <&tsens_s1_p1_backup>, <&tsens_s1_p2_backup>,
1189 <&tsens_s2_p1_backup>, <&tsens_s2_p2_backup>,
1190 <&tsens_s3_p1_backup>, <&tsens_s3_p2_backup>,
1191 <&tsens_s4_p1_backup>, <&tsens_s4_p2_backup>,
1192 <&tsens_s5_p1_backup>, <&tsens_s5_p2_backup>,
1193 <&tsens_s6_p1_backup>, <&tsens_s6_p2_backup>,
1194 <&tsens_s7_p1_backup>, <&tsens_s7_p2_backup>,
1195 <&tsens_s8_p1_backup>, <&tsens_s8_p2_backup>,
1196 <&tsens_s9_p1_backup>, <&tsens_s9_p2_backup>,
1197 <&tsens_s10_p1_backup>, <&tsens_s10_p2_backup>;
1198 nvmem-cell-names = "mode",
1202 "base1_backup", "base2_backup",
1214 "s0_p1_backup", "s0_p2_backup",
1215 "s1_p1_backup", "s1_p2_backup",
1216 "s2_p1_backup", "s2_p2_backup",
1217 "s3_p1_backup", "s3_p2_backup",
1218 "s4_p1_backup", "s4_p2_backup",
1219 "s5_p1_backup", "s5_p2_backup",
1220 "s6_p1_backup", "s6_p2_backup",
1221 "s7_p1_backup", "s7_p2_backup",
1222 "s8_p1_backup", "s8_p2_backup",
1223 "s9_p1_backup", "s9_p2_backup",
1224 "s10_p1_backup", "s10_p2_backup";
1225 #qcom,sensors = <11>;
1226 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
1227 interrupt-names = "uplow";
1228 #thermal-sensor-cells = <1>;
1232 compatible = "qcom,pshold";
1233 reg = <0xfc4ab000 0x4>;
1236 qfprom: qfprom@fc4bc000 {
1237 compatible = "qcom,msm8974-qfprom", "qcom,qfprom";
1238 reg = <0xfc4bc000 0x2100>;
1239 #address-cells = <1>;
1242 tsens_base1: base1@d0 {
1247 tsens_s0_p1: s0-p1@d1 {
1252 tsens_s1_p1: s1-p1@d2 {
1257 tsens_s2_p1: s2-p1@d2 {
1262 tsens_s3_p1: s3-p1@d3 {
1267 tsens_s4_p1: s4-p1@d4 {
1272 tsens_s5_p1: s5-p1@d4 {
1277 tsens_s6_p1: s6-p1@d5 {
1282 tsens_s7_p1: s7-p1@d6 {
1287 tsens_s8_p1: s8-p1@d7 {
1292 tsens_mode: mode@d7 {
1297 tsens_s9_p1: s9-p1@d8 {
1302 tsens_s10_p1: s10_p1@d8 {
1307 tsens_base2: base2@d9 {
1312 tsens_s0_p2: s0-p2@da {
1317 tsens_s1_p2: s1-p2@db {
1322 tsens_s2_p2: s2-p2@dc {
1327 tsens_s3_p2: s3-p2@dc {
1332 tsens_s4_p2: s4-p2@dd {
1337 tsens_s5_p2: s5-p2@de {
1342 tsens_s6_p2: s6-p2@df {
1347 tsens_s7_p2: s7-p2@e0 {
1352 tsens_s8_p2: s8-p2@e0 {
1357 tsens_s9_p2: s9-p2@e1 {
1362 tsens_s10_p2: s10_p2@e2 {
1367 tsens_s5_p2_backup: s5-p2_backup@e3 {
1372 tsens_mode_backup: mode_backup@e3 {
1377 tsens_s6_p2_backup: s6-p2_backup@e4 {
1382 tsens_s7_p2_backup: s7-p2_backup@e4 {
1387 tsens_s8_p2_backup: s8-p2_backup@e5 {
1392 tsens_s9_p2_backup: s9-p2_backup@e6 {
1397 tsens_s10_p2_backup: s10_p2_backup@e7 {
1402 tsens_base1_backup: base1_backup@440 {
1407 tsens_s0_p1_backup: s0-p1_backup@441 {
1412 tsens_s1_p1_backup: s1-p1_backup@442 {
1417 tsens_s2_p1_backup: s2-p1_backup@442 {
1422 tsens_s3_p1_backup: s3-p1_backup@443 {
1427 tsens_s4_p1_backup: s4-p1_backup@444 {
1432 tsens_s5_p1_backup: s5-p1_backup@444 {
1437 tsens_s6_p1_backup: s6-p1_backup@445 {
1442 tsens_s7_p1_backup: s7-p1_backup@446 {
1447 tsens_use_backup: use_backup@447 {
1452 tsens_s8_p1_backup: s8-p1_backup@448 {
1457 tsens_s9_p1_backup: s9-p1_backup@448 {
1462 tsens_s10_p1_backup: s10_p1_backup@449 {
1467 tsens_base2_backup: base2_backup@44a {
1472 tsens_s0_p2_backup: s0-p2_backup@44b {
1477 tsens_s1_p2_backup: s1-p2_backup@44c {
1482 tsens_s2_p2_backup: s2-p2_backup@44c {
1487 tsens_s3_p2_backup: s3-p2_backup@44d {
1492 tsens_s4_p2_backup: s4-p2_backup@44e {
1498 spmi_bus: spmi@fc4cf000 {
1499 compatible = "qcom,spmi-pmic-arb";
1500 reg-names = "core", "intr", "cnfg";
1501 reg = <0xfc4cf000 0x1000>,
1502 <0xfc4cb000 0x1000>,
1503 <0xfc4ca000 0x1000>;
1504 interrupt-names = "periph_irq";
1505 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
1508 #address-cells = <2>;
1510 interrupt-controller;
1511 #interrupt-cells = <4>;
1514 bam_dmux_dma: dma-controller@fc834000 {
1515 compatible = "qcom,bam-v1.4.0";
1516 reg = <0xfc834000 0x7000>;
1517 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
1523 qcom,powered-remotely;
1526 remoteproc_mss: remoteproc@fc880000 {
1527 compatible = "qcom,msm8974-mss-pil";
1528 reg = <0xfc880000 0x100>, <0xfc820000 0x020>;
1529 reg-names = "qdsp6", "rmb";
1531 interrupts-extended = <&intc GIC_SPI 24 IRQ_TYPE_EDGE_RISING>,
1532 <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1533 <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1534 <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1535 <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
1536 interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
1538 clocks = <&gcc GCC_MSS_Q6_BIMC_AXI_CLK>,
1539 <&gcc GCC_MSS_CFG_AHB_CLK>,
1540 <&gcc GCC_BOOT_ROM_AHB_CLK>,
1542 clock-names = "iface", "bus", "mem", "xo";
1544 resets = <&gcc GCC_MSS_RESTART>;
1545 reset-names = "mss_restart";
1547 qcom,halt-regs = <&tcsr_mutex 0x1180 0x1200 0x1280>;
1549 qcom,smem-states = <&modem_smp2p_out 0>;
1550 qcom,smem-state-names = "stop";
1552 status = "disabled";
1555 memory-region = <&mba_region>;
1559 memory-region = <&mpss_region>;
1562 bam_dmux: bam-dmux {
1563 compatible = "qcom,bam-dmux";
1565 interrupt-parent = <&modem_smsm>;
1566 interrupts = <1 IRQ_TYPE_EDGE_BOTH>, <11 IRQ_TYPE_EDGE_BOTH>;
1567 interrupt-names = "pc", "pc-ack";
1569 qcom,smem-states = <&apps_smsm 1>, <&apps_smsm 11>;
1570 qcom,smem-state-names = "pc", "pc-ack";
1572 dmas = <&bam_dmux_dma 4>, <&bam_dmux_dma 5>;
1573 dma-names = "tx", "rx";
1577 interrupts = <GIC_SPI 25 IRQ_TYPE_EDGE_RISING>;
1579 qcom,ipc = <&apcs 8 12>;
1580 qcom,smd-edge = <0>;
1586 tcsr_mutex: hwlock@fd484000 {
1587 compatible = "qcom,msm8974-tcsr-mutex", "qcom,tcsr-mutex", "syscon";
1588 reg = <0xfd484000 0x2000>;
1589 #hwlock-cells = <1>;
1592 tcsr: syscon@fd4a0000 {
1593 compatible = "qcom,tcsr-msm8974", "syscon";
1594 reg = <0xfd4a0000 0x10000>;
1597 tlmm: pinctrl@fd510000 {
1598 compatible = "qcom,msm8974-pinctrl";
1599 reg = <0xfd510000 0x4000>;
1601 gpio-ranges = <&tlmm 0 0 146>;
1603 interrupt-controller;
1604 #interrupt-cells = <2>;
1605 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1607 sdc1_off: sdc1-off-state {
1611 drive-strength = <2>;
1617 drive-strength = <2>;
1623 drive-strength = <2>;
1627 sdc2_off: sdc2-off-state {
1631 drive-strength = <2>;
1637 drive-strength = <2>;
1643 drive-strength = <2>;
1647 blsp1_uart2_default: blsp1-uart2-default-state {
1650 function = "blsp_uart2";
1651 drive-strength = <2>;
1657 function = "blsp_uart2";
1658 drive-strength = <4>;
1663 blsp2_uart1_default: blsp2-uart1-default-state {
1665 pins = "gpio41", "gpio44";
1666 function = "blsp_uart7";
1667 drive-strength = <2>;
1672 pins = "gpio42", "gpio43";
1673 function = "blsp_uart7";
1674 drive-strength = <2>;
1679 blsp2_uart1_sleep: blsp2-uart1-sleep-state {
1680 pins = "gpio41", "gpio42", "gpio43", "gpio44";
1682 drive-strength = <2>;
1686 blsp2_uart4_default: blsp2-uart4-default-state {
1688 pins = "gpio53", "gpio56";
1689 function = "blsp_uart10";
1690 drive-strength = <2>;
1695 pins = "gpio54", "gpio55";
1696 function = "blsp_uart10";
1697 drive-strength = <2>;
1702 blsp1_i2c1_default: blsp1-i2c1-default-state {
1703 pins = "gpio2", "gpio3";
1704 function = "blsp_i2c1";
1705 drive-strength = <2>;
1709 blsp1_i2c1_sleep: blsp1-i2c1-sleep-state {
1710 pins = "gpio2", "gpio3";
1711 function = "blsp_i2c1";
1712 drive-strength = <2>;
1716 blsp1_i2c2_default: blsp1-i2c2-default-state {
1717 pins = "gpio6", "gpio7";
1718 function = "blsp_i2c2";
1719 drive-strength = <2>;
1723 blsp1_i2c2_sleep: blsp1-i2c2-sleep-state {
1724 pins = "gpio6", "gpio7";
1725 function = "blsp_i2c2";
1726 drive-strength = <2>;
1730 blsp1_i2c3_default: blsp1-i2c3-default-state {
1731 pins = "gpio10", "gpio11";
1732 function = "blsp_i2c3";
1733 drive-strength = <2>;
1737 blsp1_i2c3_sleep: blsp1-i2c3-sleep-state {
1738 pins = "gpio10", "gpio11";
1739 function = "blsp_i2c3";
1740 drive-strength = <2>;
1744 /* BLSP1_I2C4 info is missing */
1746 /* BLSP1_I2C5 info is missing */
1748 blsp1_i2c6_default: blsp1-i2c6-default-state {
1749 pins = "gpio29", "gpio30";
1750 function = "blsp_i2c6";
1751 drive-strength = <2>;
1755 blsp1_i2c6_sleep: blsp1-i2c6-sleep-state {
1756 pins = "gpio29", "gpio30";
1757 function = "blsp_i2c6";
1758 drive-strength = <2>;
1761 /* 6 interfaces per QUP, BLSP2 indexes are numbered (n)+6 */
1763 /* BLSP2_I2C1 info is missing */
1765 blsp2_i2c2_default: blsp2-i2c2-default-state {
1766 pins = "gpio47", "gpio48";
1767 function = "blsp_i2c8";
1768 drive-strength = <2>;
1772 blsp2_i2c2_sleep: blsp2-i2c2-sleep-state {
1773 pins = "gpio47", "gpio48";
1774 function = "blsp_i2c8";
1775 drive-strength = <2>;
1779 /* BLSP2_I2C3 info is missing */
1781 /* BLSP2_I2C4 info is missing */
1783 blsp2_i2c5_default: blsp2-i2c5-default-state {
1784 pins = "gpio83", "gpio84";
1785 function = "blsp_i2c11";
1786 drive-strength = <2>;
1790 blsp2_i2c5_sleep: blsp2-i2c5-sleep-state {
1791 pins = "gpio83", "gpio84";
1792 function = "blsp_i2c11";
1793 drive-strength = <2>;
1797 blsp2_i2c6_default: blsp2-i2c6-default-state {
1798 pins = "gpio87", "gpio88";
1799 function = "blsp_i2c12";
1800 drive-strength = <2>;
1804 blsp2_i2c6_sleep: blsp2-i2c6-sleep-state {
1805 pins = "gpio87", "gpio88";
1806 function = "blsp_i2c12";
1807 drive-strength = <2>;
1811 cci_default: cci-default-state {
1812 cci_i2c0_default: cci-i2c0-default-pins {
1813 pins = "gpio19", "gpio20";
1814 function = "cci_i2c0";
1815 drive-strength = <2>;
1819 cci_i2c1_default: cci-i2c1-default-pins {
1820 pins = "gpio21", "gpio22";
1821 function = "cci_i2c1";
1822 drive-strength = <2>;
1827 cci_sleep: cci-sleep-state {
1828 cci_i2c0_sleep: cci-i2c0-sleep-pins {
1829 pins = "gpio19", "gpio20";
1831 drive-strength = <2>;
1835 cci_i2c1_sleep: cci-i2c1-sleep-pins {
1836 pins = "gpio21", "gpio22";
1838 drive-strength = <2>;
1843 spi8_default: spi8_default-state {
1846 function = "blsp_spi8";
1850 function = "blsp_spi8";
1854 function = "blsp_spi8";
1858 function = "blsp_spi8";
1863 mmcc: clock-controller@fd8c0000 {
1864 compatible = "qcom,mmcc-msm8974";
1867 #power-domain-cells = <1>;
1868 reg = <0xfd8c0000 0x6000>;
1869 clocks = <&xo_board>,
1870 <&gcc GCC_MMSS_GPLL0_CLK_SRC>,
1873 <&rpmcc RPM_SMD_GFX3D_CLK_SRC>,
1895 mdss: display-subsystem@fd900000 {
1896 compatible = "qcom,mdss";
1897 reg = <0xfd900000 0x100>, <0xfd924000 0x1000>;
1898 reg-names = "mdss_phys", "vbif_phys";
1900 power-domains = <&mmcc MDSS_GDSC>;
1902 clocks = <&mmcc MDSS_AHB_CLK>,
1903 <&mmcc MDSS_AXI_CLK>,
1904 <&mmcc MDSS_VSYNC_CLK>;
1905 clock-names = "iface", "bus", "vsync";
1907 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
1909 interrupt-controller;
1910 #interrupt-cells = <1>;
1912 status = "disabled";
1914 #address-cells = <1>;
1918 mdp: display-controller@fd900000 {
1919 compatible = "qcom,msm8974-mdp5", "qcom,mdp5";
1920 reg = <0xfd900100 0x22000>;
1921 reg-names = "mdp_phys";
1923 interrupt-parent = <&mdss>;
1926 clocks = <&mmcc MDSS_AHB_CLK>,
1927 <&mmcc MDSS_AXI_CLK>,
1928 <&mmcc MDSS_MDP_CLK>,
1929 <&mmcc MDSS_VSYNC_CLK>;
1930 clock-names = "iface", "bus", "core", "vsync";
1932 interconnects = <&mmssnoc MNOC_MAS_MDP_PORT0 &bimc BIMC_SLV_EBI_CH0>;
1933 interconnect-names = "mdp0-mem";
1936 #address-cells = <1>;
1941 mdp5_intf1_out: endpoint {
1942 remote-endpoint = <&mdss_dsi0_in>;
1948 mdp5_intf2_out: endpoint {
1949 remote-endpoint = <&mdss_dsi1_in>;
1955 mdss_dsi0: dsi@fd922800 {
1956 compatible = "qcom,msm8974-dsi-ctrl",
1957 "qcom,mdss-dsi-ctrl";
1958 reg = <0xfd922800 0x1f8>;
1959 reg-names = "dsi_ctrl";
1961 interrupt-parent = <&mdss>;
1964 assigned-clocks = <&mmcc BYTE0_CLK_SRC>, <&mmcc PCLK0_CLK_SRC>;
1965 assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>;
1967 clocks = <&mmcc MDSS_MDP_CLK>,
1968 <&mmcc MDSS_AHB_CLK>,
1969 <&mmcc MDSS_AXI_CLK>,
1970 <&mmcc MDSS_BYTE0_CLK>,
1971 <&mmcc MDSS_PCLK0_CLK>,
1972 <&mmcc MDSS_ESC0_CLK>,
1973 <&mmcc MMSS_MISC_AHB_CLK>;
1974 clock-names = "mdp_core",
1982 phys = <&mdss_dsi0_phy>;
1984 status = "disabled";
1986 #address-cells = <1>;
1990 #address-cells = <1>;
1995 mdss_dsi0_in: endpoint {
1996 remote-endpoint = <&mdp5_intf1_out>;
2002 mdss_dsi0_out: endpoint {
2008 mdss_dsi0_phy: phy@fd922a00 {
2009 compatible = "qcom,dsi-phy-28nm-hpm";
2010 reg = <0xfd922a00 0xd4>,
2013 reg-names = "dsi_pll",
2015 "dsi_phy_regulator";
2020 clocks = <&mmcc MDSS_AHB_CLK>, <&xo_board>;
2021 clock-names = "iface", "ref";
2023 status = "disabled";
2026 mdss_dsi1: dsi@fd922e00 {
2027 compatible = "qcom,msm8974-dsi-ctrl",
2028 "qcom,mdss-dsi-ctrl";
2029 reg = <0xfd922e00 0x1f8>;
2030 reg-names = "dsi_ctrl";
2032 interrupt-parent = <&mdss>;
2035 assigned-clocks = <&mmcc BYTE1_CLK_SRC>, <&mmcc PCLK1_CLK_SRC>;
2036 assigned-clock-parents = <&mdss_dsi1_phy 0>, <&mdss_dsi1_phy 1>;
2038 clocks = <&mmcc MDSS_MDP_CLK>,
2039 <&mmcc MDSS_AHB_CLK>,
2040 <&mmcc MDSS_AXI_CLK>,
2041 <&mmcc MDSS_BYTE1_CLK>,
2042 <&mmcc MDSS_PCLK1_CLK>,
2043 <&mmcc MDSS_ESC1_CLK>,
2044 <&mmcc MMSS_MISC_AHB_CLK>;
2045 clock-names = "mdp_core",
2053 phys = <&mdss_dsi1_phy>;
2055 status = "disabled";
2057 #address-cells = <1>;
2061 #address-cells = <1>;
2066 mdss_dsi1_in: endpoint {
2067 remote-endpoint = <&mdp5_intf2_out>;
2073 mdss_dsi1_out: endpoint {
2079 mdss_dsi1_phy: phy@fd923000 {
2080 compatible = "qcom,dsi-phy-28nm-hpm";
2081 reg = <0xfd923000 0xd4>,
2084 reg-names = "dsi_pll",
2086 "dsi_phy_regulator";
2091 clocks = <&mmcc MDSS_AHB_CLK>, <&xo_board>;
2092 clock-names = "iface", "ref";
2094 status = "disabled";
2099 compatible = "qcom,msm8974-cci";
2100 #address-cells = <1>;
2102 reg = <0xfda0c000 0x1000>;
2103 interrupts = <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;
2104 clocks = <&mmcc CAMSS_TOP_AHB_CLK>,
2105 <&mmcc CAMSS_CCI_CCI_AHB_CLK>,
2106 <&mmcc CAMSS_CCI_CCI_CLK>;
2107 clock-names = "camss_top_ahb",
2111 pinctrl-names = "default", "sleep";
2112 pinctrl-0 = <&cci_default>;
2113 pinctrl-1 = <&cci_sleep>;
2115 status = "disabled";
2117 cci_i2c0: i2c-bus@0 {
2119 clock-frequency = <100000>;
2120 #address-cells = <1>;
2124 cci_i2c1: i2c-bus@1 {
2126 clock-frequency = <100000>;
2127 #address-cells = <1>;
2132 gpu: adreno@fdb00000 {
2133 compatible = "qcom,adreno-330.1", "qcom,adreno";
2134 reg = <0xfdb00000 0x10000>;
2135 reg-names = "kgsl_3d0_reg_memory";
2137 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
2138 interrupt-names = "kgsl_3d0_irq";
2140 clocks = <&mmcc OXILI_GFX3D_CLK>,
2141 <&mmcc OXILICX_AHB_CLK>,
2142 <&mmcc OXILICX_AXI_CLK>;
2143 clock-names = "core", "iface", "mem_iface";
2146 power-domains = <&mmcc OXILICX_GDSC>;
2147 operating-points-v2 = <&gpu_opp_table>;
2149 interconnects = <&mmssnoc MNOC_MAS_GRAPHICS_3D &bimc BIMC_SLV_EBI_CH0>,
2150 <&ocmemnoc OCMEM_VNOC_MAS_GFX3D &ocmemnoc OCMEM_SLV_OCMEM>;
2151 interconnect-names = "gfx-mem", "ocmem";
2153 // iommus = <&gpu_iommu 0>;
2155 status = "disabled";
2157 gpu_opp_table: opp-table {
2158 compatible = "operating-points-v2";
2161 opp-hz = /bits/ 64 <320000000>;
2165 opp-hz = /bits/ 64 <200000000>;
2169 opp-hz = /bits/ 64 <27000000>;
2175 compatible = "qcom,msm8974-ocmem";
2176 reg = <0xfdd00000 0x2000>,
2177 <0xfec00000 0x180000>;
2178 reg-names = "ctrl", "mem";
2179 ranges = <0 0xfec00000 0x180000>;
2180 clocks = <&rpmcc RPM_SMD_OCMEMGX_CLK>,
2181 <&mmcc OCMEMCX_OCMEMNOC_CLK>;
2182 clock-names = "core", "iface";
2184 #address-cells = <1>;
2187 gmu_sram: gmu-sram@0 {
2188 reg = <0x0 0x100000>;
2192 remoteproc_adsp: remoteproc@fe200000 {
2193 compatible = "qcom,msm8974-adsp-pil";
2194 reg = <0xfe200000 0x100>;
2196 interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
2197 <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2198 <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
2199 <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
2200 <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
2201 interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
2203 clocks = <&xo_board>;
2206 memory-region = <&adsp_region>;
2208 qcom,smem-states = <&adsp_smp2p_out 0>;
2209 qcom,smem-state-names = "stop";
2211 status = "disabled";
2214 interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
2216 qcom,ipc = <&apcs 8 8>;
2217 qcom,smd-edge = <1>;
2222 imem: sram@fe805000 {
2223 compatible = "qcom,msm8974-imem", "syscon", "simple-mfd";
2224 reg = <0xfe805000 0x1000>;
2227 compatible = "syscon-reboot-mode";
2235 polling-delay-passive = <250>;
2236 polling-delay = <1000>;
2238 thermal-sensors = <&tsens 5>;
2242 temperature = <75000>;
2243 hysteresis = <2000>;
2247 temperature = <110000>;
2248 hysteresis = <2000>;
2255 polling-delay-passive = <250>;
2256 polling-delay = <1000>;
2258 thermal-sensors = <&tsens 6>;
2262 temperature = <75000>;
2263 hysteresis = <2000>;
2267 temperature = <110000>;
2268 hysteresis = <2000>;
2275 polling-delay-passive = <250>;
2276 polling-delay = <1000>;
2278 thermal-sensors = <&tsens 7>;
2282 temperature = <75000>;
2283 hysteresis = <2000>;
2287 temperature = <110000>;
2288 hysteresis = <2000>;
2295 polling-delay-passive = <250>;
2296 polling-delay = <1000>;
2298 thermal-sensors = <&tsens 8>;
2302 temperature = <75000>;
2303 hysteresis = <2000>;
2307 temperature = <110000>;
2308 hysteresis = <2000>;
2315 polling-delay-passive = <250>;
2316 polling-delay = <1000>;
2318 thermal-sensors = <&tsens 1>;
2321 q6_dsp_alert0: trip-point0 {
2322 temperature = <90000>;
2323 hysteresis = <2000>;
2330 polling-delay-passive = <250>;
2331 polling-delay = <1000>;
2333 thermal-sensors = <&tsens 2>;
2336 modemtx_alert0: trip-point0 {
2337 temperature = <90000>;
2338 hysteresis = <2000>;
2345 polling-delay-passive = <250>;
2346 polling-delay = <1000>;
2348 thermal-sensors = <&tsens 3>;
2351 video_alert0: trip-point0 {
2352 temperature = <95000>;
2353 hysteresis = <2000>;
2360 polling-delay-passive = <250>;
2361 polling-delay = <1000>;
2363 thermal-sensors = <&tsens 4>;
2366 wlan_alert0: trip-point0 {
2367 temperature = <105000>;
2368 hysteresis = <2000>;
2375 polling-delay-passive = <250>;
2376 polling-delay = <1000>;
2378 thermal-sensors = <&tsens 9>;
2381 gpu1_alert0: trip-point0 {
2382 temperature = <90000>;
2383 hysteresis = <2000>;
2389 gpu-bottom-thermal {
2390 polling-delay-passive = <250>;
2391 polling-delay = <1000>;
2393 thermal-sensors = <&tsens 10>;
2396 gpu2_alert0: trip-point0 {
2397 temperature = <90000>;
2398 hysteresis = <2000>;
2406 compatible = "arm,armv7-timer";
2407 interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2408 <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2409 <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2410 <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
2411 clock-frequency = <19200000>;