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>;
19 compatible = "fixed-clock";
21 clock-frequency = <19200000>;
24 sleep_clk: sleep_clk {
25 compatible = "fixed-clock";
27 clock-frequency = <32768>;
34 interrupts = <GIC_PPI 9 0xf04>;
37 compatible = "qcom,krait";
38 enable-method = "qcom,kpss-acc-v2";
41 next-level-cache = <&L2>;
44 cpu-idle-states = <&CPU_SPC>;
48 compatible = "qcom,krait";
49 enable-method = "qcom,kpss-acc-v2";
52 next-level-cache = <&L2>;
55 cpu-idle-states = <&CPU_SPC>;
59 compatible = "qcom,krait";
60 enable-method = "qcom,kpss-acc-v2";
63 next-level-cache = <&L2>;
66 cpu-idle-states = <&CPU_SPC>;
70 compatible = "qcom,krait";
71 enable-method = "qcom,kpss-acc-v2";
74 next-level-cache = <&L2>;
77 cpu-idle-states = <&CPU_SPC>;
89 compatible = "qcom,idle-state-spc",
91 entry-latency-us = <150>;
92 exit-latency-us = <200>;
93 min-residency-us = <2000>;
100 compatible = "qcom,scm-msm8974", "qcom,scm";
101 clocks = <&gcc GCC_CE1_CLK>, <&gcc GCC_CE1_AXI_CLK>, <&gcc GCC_CE1_AHB_CLK>;
102 clock-names = "core", "bus", "iface";
107 device_type = "memory";
112 compatible = "qcom,krait-pmu";
113 interrupts = <GIC_PPI 7 0xf04>;
117 compatible = "qcom,msm8974-rpm-proc", "qcom,rpm-proc";
120 compatible = "qcom,rpm-master-stats";
121 qcom,rpm-msg-ram = <&apss_master_stats>,
122 <&mpss_master_stats>,
123 <&lpss_master_stats>,
124 <&pronto_master_stats>;
125 qcom,master-names = "APSS",
132 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
133 qcom,ipc = <&apcs 8 0>;
134 qcom,smd-edge = <15>;
136 rpm_requests: rpm-requests {
137 compatible = "qcom,rpm-msm8974";
138 qcom,smd-channels = "rpm_requests";
140 rpmcc: clock-controller {
141 compatible = "qcom,rpmcc-msm8974", "qcom,rpmcc";
143 clocks = <&xo_board>;
151 #address-cells = <1>;
155 mpss_region: mpss@8000000 {
156 reg = <0x08000000 0x5100000>;
160 mba_region: mba@d100000 {
161 reg = <0x0d100000 0x100000>;
165 wcnss_region: wcnss@d200000 {
166 reg = <0x0d200000 0xa00000>;
170 adsp_region: adsp@dc00000 {
171 reg = <0x0dc00000 0x1900000>;
175 venus_region: memory@f500000 {
176 reg = <0x0f500000 0x500000>;
180 smem_region: smem@fa00000 {
181 reg = <0xfa00000 0x200000>;
185 tz_region: memory@fc00000 {
186 reg = <0x0fc00000 0x160000>;
190 rfsa_mem: memory@fd60000 {
191 reg = <0x0fd60000 0x20000>;
196 compatible = "qcom,rmtfs-mem";
197 reg = <0x0fd80000 0x180000>;
200 qcom,client-id = <1>;
205 compatible = "qcom,smem";
207 memory-region = <&smem_region>;
208 qcom,rpm-msg-ram = <&rpm_msg_ram>;
210 hwlocks = <&tcsr_mutex 3>;
214 compatible = "qcom,smp2p";
215 qcom,smem = <443>, <429>;
217 interrupt-parent = <&intc>;
218 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
220 qcom,ipc = <&apcs 8 10>;
222 qcom,local-pid = <0>;
223 qcom,remote-pid = <2>;
225 adsp_smp2p_out: master-kernel {
226 qcom,entry-name = "master-kernel";
227 #qcom,smem-state-cells = <1>;
230 adsp_smp2p_in: slave-kernel {
231 qcom,entry-name = "slave-kernel";
233 interrupt-controller;
234 #interrupt-cells = <2>;
239 compatible = "qcom,smp2p";
240 qcom,smem = <435>, <428>;
242 interrupt-parent = <&intc>;
243 interrupts = <GIC_SPI 27 IRQ_TYPE_EDGE_RISING>;
245 qcom,ipc = <&apcs 8 14>;
247 qcom,local-pid = <0>;
248 qcom,remote-pid = <1>;
250 modem_smp2p_out: master-kernel {
251 qcom,entry-name = "master-kernel";
252 #qcom,smem-state-cells = <1>;
255 modem_smp2p_in: slave-kernel {
256 qcom,entry-name = "slave-kernel";
258 interrupt-controller;
259 #interrupt-cells = <2>;
264 compatible = "qcom,smp2p";
265 qcom,smem = <451>, <431>;
267 interrupt-parent = <&intc>;
268 interrupts = <GIC_SPI 143 IRQ_TYPE_EDGE_RISING>;
270 qcom,ipc = <&apcs 8 18>;
272 qcom,local-pid = <0>;
273 qcom,remote-pid = <4>;
275 wcnss_smp2p_out: master-kernel {
276 qcom,entry-name = "master-kernel";
278 #qcom,smem-state-cells = <1>;
281 wcnss_smp2p_in: slave-kernel {
282 qcom,entry-name = "slave-kernel";
284 interrupt-controller;
285 #interrupt-cells = <2>;
290 compatible = "qcom,smsm";
292 #address-cells = <1>;
295 qcom,ipc-1 = <&apcs 8 13>;
296 qcom,ipc-2 = <&apcs 8 9>;
297 qcom,ipc-3 = <&apcs 8 19>;
302 #qcom,smem-state-cells = <1>;
305 modem_smsm: modem@1 {
307 interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
309 interrupt-controller;
310 #interrupt-cells = <2>;
315 interrupts = <GIC_SPI 157 IRQ_TYPE_EDGE_RISING>;
317 interrupt-controller;
318 #interrupt-cells = <2>;
321 wcnss_smsm: wcnss@7 {
323 interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>;
325 interrupt-controller;
326 #interrupt-cells = <2>;
331 #address-cells = <1>;
334 compatible = "simple-bus";
336 intc: interrupt-controller@f9000000 {
337 compatible = "qcom,msm-qgic2";
338 interrupt-controller;
339 #interrupt-cells = <3>;
340 reg = <0xf9000000 0x1000>,
344 apcs: syscon@f9011000 {
345 compatible = "syscon";
346 reg = <0xf9011000 0x1000>;
349 saw_l2: power-controller@f9012000 {
350 compatible = "qcom,saw2";
351 reg = <0xf9012000 0x1000>;
356 #address-cells = <1>;
359 compatible = "arm,armv7-timer-mem";
360 reg = <0xf9020000 0x1000>;
361 clock-frequency = <19200000>;
365 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
366 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
367 reg = <0xf9021000 0x1000>,
373 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
374 reg = <0xf9023000 0x1000>;
380 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
381 reg = <0xf9024000 0x1000>;
387 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
388 reg = <0xf9025000 0x1000>;
394 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
395 reg = <0xf9026000 0x1000>;
401 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
402 reg = <0xf9027000 0x1000>;
408 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
409 reg = <0xf9028000 0x1000>;
414 acc0: power-manager@f9088000 {
415 compatible = "qcom,kpss-acc-v2";
416 reg = <0xf9088000 0x1000>, <0xf9008000 0x1000>;
419 saw0: power-controller@f9089000 {
420 compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
421 reg = <0xf9089000 0x1000>, <0xf9009000 0x1000>;
424 acc1: power-manager@f9098000 {
425 compatible = "qcom,kpss-acc-v2";
426 reg = <0xf9098000 0x1000>, <0xf9008000 0x1000>;
429 saw1: power-controller@f9099000 {
430 compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
431 reg = <0xf9099000 0x1000>, <0xf9009000 0x1000>;
434 acc2: power-manager@f90a8000 {
435 compatible = "qcom,kpss-acc-v2";
436 reg = <0xf90a8000 0x1000>, <0xf9008000 0x1000>;
439 saw2: power-controller@f90a9000 {
440 compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
441 reg = <0xf90a9000 0x1000>, <0xf9009000 0x1000>;
444 acc3: power-manager@f90b8000 {
445 compatible = "qcom,kpss-acc-v2";
446 reg = <0xf90b8000 0x1000>, <0xf9008000 0x1000>;
449 saw3: power-controller@f90b9000 {
450 compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
451 reg = <0xf90b9000 0x1000>, <0xf9009000 0x1000>;
454 sdhc_1: mmc@f9824900 {
455 compatible = "qcom,msm8974-sdhci", "qcom,sdhci-msm-v4";
456 reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
457 reg-names = "hc", "core";
458 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
459 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
460 interrupt-names = "hc_irq", "pwr_irq";
461 clocks = <&gcc GCC_SDCC1_AHB_CLK>,
462 <&gcc GCC_SDCC1_APPS_CLK>,
464 clock-names = "iface", "core", "xo";
471 sdhc_3: mmc@f9864900 {
472 compatible = "qcom,msm8974-sdhci", "qcom,sdhci-msm-v4";
473 reg = <0xf9864900 0x11c>, <0xf9864000 0x800>;
474 reg-names = "hc", "core";
475 interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
476 <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
477 interrupt-names = "hc_irq", "pwr_irq";
478 clocks = <&gcc GCC_SDCC3_AHB_CLK>,
479 <&gcc GCC_SDCC3_APPS_CLK>,
481 clock-names = "iface", "core", "xo";
484 #address-cells = <1>;
490 sdhc_2: mmc@f98a4900 {
491 compatible = "qcom,msm8974-sdhci", "qcom,sdhci-msm-v4";
492 reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
493 reg-names = "hc", "core";
494 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
495 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
496 interrupt-names = "hc_irq", "pwr_irq";
497 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
498 <&gcc GCC_SDCC2_APPS_CLK>,
500 clock-names = "iface", "core", "xo";
503 #address-cells = <1>;
509 blsp1_uart1: serial@f991d000 {
510 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
511 reg = <0xf991d000 0x1000>;
512 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
513 clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
514 clock-names = "core", "iface";
518 blsp1_uart2: serial@f991e000 {
519 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
520 reg = <0xf991e000 0x1000>;
521 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
522 clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
523 clock-names = "core", "iface";
524 pinctrl-names = "default";
525 pinctrl-0 = <&blsp1_uart2_default>;
529 blsp1_i2c1: i2c@f9923000 {
531 compatible = "qcom,i2c-qup-v2.1.1";
532 reg = <0xf9923000 0x1000>;
533 interrupts = <0 95 IRQ_TYPE_LEVEL_HIGH>;
534 clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
535 clock-names = "core", "iface";
536 pinctrl-names = "default", "sleep";
537 pinctrl-0 = <&blsp1_i2c1_default>;
538 pinctrl-1 = <&blsp1_i2c1_sleep>;
539 #address-cells = <1>;
543 blsp1_i2c2: i2c@f9924000 {
545 compatible = "qcom,i2c-qup-v2.1.1";
546 reg = <0xf9924000 0x1000>;
547 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
548 clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
549 clock-names = "core", "iface";
550 pinctrl-names = "default", "sleep";
551 pinctrl-0 = <&blsp1_i2c2_default>;
552 pinctrl-1 = <&blsp1_i2c2_sleep>;
553 #address-cells = <1>;
557 blsp1_i2c3: i2c@f9925000 {
559 compatible = "qcom,i2c-qup-v2.1.1";
560 reg = <0xf9925000 0x1000>;
561 interrupts = <0 97 IRQ_TYPE_LEVEL_HIGH>;
562 clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
563 clock-names = "core", "iface";
564 pinctrl-names = "default", "sleep";
565 pinctrl-0 = <&blsp1_i2c3_default>;
566 pinctrl-1 = <&blsp1_i2c3_sleep>;
567 #address-cells = <1>;
571 blsp1_i2c6: i2c@f9928000 {
573 compatible = "qcom,i2c-qup-v2.1.1";
574 reg = <0xf9928000 0x1000>;
575 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
576 clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
577 clock-names = "core", "iface";
578 pinctrl-names = "default", "sleep";
579 pinctrl-0 = <&blsp1_i2c6_default>;
580 pinctrl-1 = <&blsp1_i2c6_sleep>;
581 #address-cells = <1>;
585 blsp2_dma: dma-controller@f9944000 {
586 compatible = "qcom,bam-v1.4.0";
587 reg = <0xf9944000 0x19000>;
588 interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
589 clocks = <&gcc GCC_BLSP2_AHB_CLK>;
590 clock-names = "bam_clk";
595 blsp2_uart1: serial@f995d000 {
596 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
597 reg = <0xf995d000 0x1000>;
598 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
599 clocks = <&gcc GCC_BLSP2_UART1_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
600 clock-names = "core", "iface";
601 pinctrl-names = "default", "sleep";
602 pinctrl-0 = <&blsp2_uart1_default>;
603 pinctrl-1 = <&blsp2_uart1_sleep>;
607 blsp2_uart2: serial@f995e000 {
608 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
609 reg = <0xf995e000 0x1000>;
610 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
611 clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
612 clock-names = "core", "iface";
616 blsp2_uart4: serial@f9960000 {
617 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
618 reg = <0xf9960000 0x1000>;
619 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
620 clocks = <&gcc GCC_BLSP2_UART4_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
621 clock-names = "core", "iface";
622 pinctrl-names = "default";
623 pinctrl-0 = <&blsp2_uart4_default>;
627 blsp2_i2c2: i2c@f9964000 {
629 compatible = "qcom,i2c-qup-v2.1.1";
630 reg = <0xf9964000 0x1000>;
631 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
632 clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
633 clock-names = "core", "iface";
634 pinctrl-names = "default", "sleep";
635 pinctrl-0 = <&blsp2_i2c2_default>;
636 pinctrl-1 = <&blsp2_i2c2_sleep>;
637 #address-cells = <1>;
641 blsp2_i2c5: i2c@f9967000 {
643 compatible = "qcom,i2c-qup-v2.1.1";
644 reg = <0xf9967000 0x1000>;
645 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
646 clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
647 clock-names = "core", "iface";
648 dmas = <&blsp2_dma 20>, <&blsp2_dma 21>;
649 dma-names = "tx", "rx";
650 pinctrl-names = "default", "sleep";
651 pinctrl-0 = <&blsp2_i2c5_default>;
652 pinctrl-1 = <&blsp2_i2c5_sleep>;
653 #address-cells = <1>;
657 blsp2_i2c6: i2c@f9968000 {
659 compatible = "qcom,i2c-qup-v2.1.1";
660 reg = <0xf9968000 0x1000>;
661 interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
662 clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
663 clock-names = "core", "iface";
664 pinctrl-names = "default", "sleep";
665 pinctrl-0 = <&blsp2_i2c6_default>;
666 pinctrl-1 = <&blsp2_i2c6_sleep>;
667 #address-cells = <1>;
672 compatible = "qcom,ci-hdrc";
673 reg = <0xf9a55000 0x200>,
675 interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
676 clocks = <&gcc GCC_USB_HS_AHB_CLK>,
677 <&gcc GCC_USB_HS_SYSTEM_CLK>;
678 clock-names = "iface", "core";
679 assigned-clocks = <&gcc GCC_USB_HS_SYSTEM_CLK>;
680 assigned-clock-rates = <75000000>;
681 resets = <&gcc GCC_USB_HS_BCR>;
682 reset-names = "core";
685 ahb-burst-config = <0>;
686 phy-names = "usb-phy";
692 compatible = "qcom,usb-hs-phy-msm8974",
695 clocks = <&xo_board>, <&gcc GCC_USB2A_PHY_SLEEP_CLK>;
696 clock-names = "ref", "sleep";
697 resets = <&gcc GCC_USB2A_PHY_BCR>, <&usb 0>;
698 reset-names = "phy", "por";
703 compatible = "qcom,usb-hs-phy-msm8974",
706 clocks = <&xo_board>, <&gcc GCC_USB2B_PHY_SLEEP_CLK>;
707 clock-names = "ref", "sleep";
708 resets = <&gcc GCC_USB2B_PHY_BCR>, <&usb 1>;
709 reset-names = "phy", "por";
716 compatible = "qcom,prng";
717 reg = <0xf9bff000 0x200>;
718 clocks = <&gcc GCC_PRNG_AHB_CLK>;
719 clock-names = "core";
722 pronto: remoteproc@fb204000 {
723 compatible = "qcom,pronto-v2-pil", "qcom,pronto";
724 reg = <0xfb204000 0x2000>, <0xfb202000 0x1000>, <0xfb21b000 0x3000>;
725 reg-names = "ccu", "dxe", "pmu";
727 memory-region = <&wcnss_region>;
729 interrupts-extended = <&intc GIC_SPI 149 IRQ_TYPE_EDGE_RISING>,
730 <&wcnss_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
731 <&wcnss_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
732 <&wcnss_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
733 <&wcnss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
734 interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
736 qcom,smem-states = <&wcnss_smp2p_out 0>;
737 qcom,smem-state-names = "stop";
742 compatible = "qcom,wcn3680";
744 clocks = <&rpmcc RPM_SMD_CXO_A2>;
749 interrupts = <GIC_SPI 142 IRQ_TYPE_EDGE_RISING>;
751 qcom,ipc = <&apcs 8 17>;
755 compatible = "qcom,wcnss";
756 qcom,smd-channels = "WCNSS_CTRL";
759 qcom,mmio = <&pronto>;
762 compatible = "qcom,wcnss-bt";
766 compatible = "qcom,wcnss-wlan";
768 interrupts = <GIC_SPI 145 IRQ_TYPE_EDGE_RISING>,
769 <GIC_SPI 146 IRQ_TYPE_EDGE_RISING>;
770 interrupt-names = "tx", "rx";
772 qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
773 qcom,smem-state-names = "tx-enable",
781 compatible = "qcom,msm8974-rpm-stats";
782 reg = <0xfc190000 0x10000>;
786 compatible = "arm,coresight-tmc", "arm,primecell";
787 reg = <0xfc307000 0x1000>;
789 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
790 clock-names = "apb_pclk", "atclk";
795 remote-endpoint = <&replicator_in>;
803 remote-endpoint = <&merger_out>;
810 compatible = "arm,coresight-tpiu", "arm,primecell";
811 reg = <0xfc318000 0x1000>;
813 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
814 clock-names = "apb_pclk", "atclk";
819 remote-endpoint = <&replicator_out1>;
826 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
827 reg = <0xfc31a000 0x1000>;
829 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
830 clock-names = "apb_pclk", "atclk";
833 #address-cells = <1>;
837 * Not described input ports:
839 * 1 - connected trought funnel to Multimedia CPU
840 * 2 - connected to Wireless CPU
844 * 7 - connected to STM
848 funnel1_in5: endpoint {
849 remote-endpoint = <&kpss_out>;
856 funnel1_out: endpoint {
857 remote-endpoint = <&merger_in1>;
864 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
865 reg = <0xfc31b000 0x1000>;
867 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
868 clock-names = "apb_pclk", "atclk";
871 #address-cells = <1>;
875 * Not described input ports:
876 * 0 - connected trought funnel to Audio, Modem and
877 * Resource and Power Manager CPU's
878 * 2...7 - not-connected
882 merger_in1: endpoint {
883 remote-endpoint = <&funnel1_out>;
890 merger_out: endpoint {
891 remote-endpoint = <&etf_in>;
897 replicator@fc31c000 {
898 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
899 reg = <0xfc31c000 0x1000>;
901 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
902 clock-names = "apb_pclk", "atclk";
905 #address-cells = <1>;
910 replicator_out0: endpoint {
911 remote-endpoint = <&etr_in>;
916 replicator_out1: endpoint {
917 remote-endpoint = <&tpiu_in>;
924 replicator_in: endpoint {
925 remote-endpoint = <&etf_out>;
932 compatible = "arm,coresight-tmc", "arm,primecell";
933 reg = <0xfc322000 0x1000>;
935 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
936 clock-names = "apb_pclk", "atclk";
941 remote-endpoint = <&replicator_out0>;
948 compatible = "arm,coresight-etm4x", "arm,primecell";
949 reg = <0xfc33c000 0x1000>;
951 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
952 clock-names = "apb_pclk", "atclk";
959 remote-endpoint = <&kpss_in0>;
966 compatible = "arm,coresight-etm4x", "arm,primecell";
967 reg = <0xfc33d000 0x1000>;
969 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
970 clock-names = "apb_pclk", "atclk";
977 remote-endpoint = <&kpss_in1>;
984 compatible = "arm,coresight-etm4x", "arm,primecell";
985 reg = <0xfc33e000 0x1000>;
987 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
988 clock-names = "apb_pclk", "atclk";
995 remote-endpoint = <&kpss_in2>;
1002 compatible = "arm,coresight-etm4x", "arm,primecell";
1003 reg = <0xfc33f000 0x1000>;
1005 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1006 clock-names = "apb_pclk", "atclk";
1012 etm3_out: endpoint {
1013 remote-endpoint = <&kpss_in3>;
1019 /* KPSS funnel, only 4 inputs are used */
1021 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1022 reg = <0xfc345000 0x1000>;
1024 clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1025 clock-names = "apb_pclk", "atclk";
1028 #address-cells = <1>;
1033 kpss_in0: endpoint {
1034 remote-endpoint = <&etm0_out>;
1039 kpss_in1: endpoint {
1040 remote-endpoint = <&etm1_out>;
1045 kpss_in2: endpoint {
1046 remote-endpoint = <&etm2_out>;
1051 kpss_in3: endpoint {
1052 remote-endpoint = <&etm3_out>;
1059 kpss_out: endpoint {
1060 remote-endpoint = <&funnel1_in5>;
1066 bimc: interconnect@fc380000 {
1067 reg = <0xfc380000 0x6a000>;
1068 compatible = "qcom,msm8974-bimc";
1069 #interconnect-cells = <1>;
1070 clock-names = "bus", "bus_a";
1071 clocks = <&rpmcc RPM_SMD_BIMC_CLK>,
1072 <&rpmcc RPM_SMD_BIMC_A_CLK>;
1075 gcc: clock-controller@fc400000 {
1076 compatible = "qcom,gcc-msm8974";
1079 #power-domain-cells = <1>;
1080 reg = <0xfc400000 0x4000>;
1082 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
1088 rpm_msg_ram: sram@fc428000 {
1089 compatible = "qcom,rpm-msg-ram";
1090 reg = <0xfc428000 0x4000>;
1092 #address-cells = <1>;
1094 ranges = <0 0xfc428000 0x4000>;
1096 apss_master_stats: sram@150 {
1100 mpss_master_stats: sram@b50 {
1104 lpss_master_stats: sram@1550 {
1105 reg = <0x1550 0x14>;
1108 pronto_master_stats: sram@1f50 {
1109 reg = <0x1f50 0x14>;
1113 snoc: interconnect@fc460000 {
1114 reg = <0xfc460000 0x4000>;
1115 compatible = "qcom,msm8974-snoc";
1116 #interconnect-cells = <1>;
1117 clock-names = "bus", "bus_a";
1118 clocks = <&rpmcc RPM_SMD_SNOC_CLK>,
1119 <&rpmcc RPM_SMD_SNOC_A_CLK>;
1122 pnoc: interconnect@fc468000 {
1123 reg = <0xfc468000 0x4000>;
1124 compatible = "qcom,msm8974-pnoc";
1125 #interconnect-cells = <1>;
1126 clock-names = "bus", "bus_a";
1127 clocks = <&rpmcc RPM_SMD_PNOC_CLK>,
1128 <&rpmcc RPM_SMD_PNOC_A_CLK>;
1131 ocmemnoc: interconnect@fc470000 {
1132 reg = <0xfc470000 0x4000>;
1133 compatible = "qcom,msm8974-ocmemnoc";
1134 #interconnect-cells = <1>;
1135 clock-names = "bus", "bus_a";
1136 clocks = <&rpmcc RPM_SMD_OCMEMGX_CLK>,
1137 <&rpmcc RPM_SMD_OCMEMGX_A_CLK>;
1140 mmssnoc: interconnect@fc478000 {
1141 reg = <0xfc478000 0x4000>;
1142 compatible = "qcom,msm8974-mmssnoc";
1143 #interconnect-cells = <1>;
1144 clock-names = "bus", "bus_a";
1145 clocks = <&mmcc MMSS_S0_AXI_CLK>,
1146 <&mmcc MMSS_S0_AXI_CLK>;
1149 cnoc: interconnect@fc480000 {
1150 reg = <0xfc480000 0x4000>;
1151 compatible = "qcom,msm8974-cnoc";
1152 #interconnect-cells = <1>;
1153 clock-names = "bus", "bus_a";
1154 clocks = <&rpmcc RPM_SMD_CNOC_CLK>,
1155 <&rpmcc RPM_SMD_CNOC_A_CLK>;
1158 tsens: thermal-sensor@fc4a9000 {
1159 compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1";
1160 reg = <0xfc4a9000 0x1000>, /* TM */
1161 <0xfc4a8000 0x1000>; /* SROT */
1162 nvmem-cells = <&tsens_mode>,
1163 <&tsens_base1>, <&tsens_base2>,
1164 <&tsens_use_backup>,
1165 <&tsens_mode_backup>,
1166 <&tsens_base1_backup>, <&tsens_base2_backup>,
1167 <&tsens_s0_p1>, <&tsens_s0_p2>,
1168 <&tsens_s1_p1>, <&tsens_s1_p2>,
1169 <&tsens_s2_p1>, <&tsens_s2_p2>,
1170 <&tsens_s3_p1>, <&tsens_s3_p2>,
1171 <&tsens_s4_p1>, <&tsens_s4_p2>,
1172 <&tsens_s5_p1>, <&tsens_s5_p2>,
1173 <&tsens_s6_p1>, <&tsens_s6_p2>,
1174 <&tsens_s7_p1>, <&tsens_s7_p2>,
1175 <&tsens_s8_p1>, <&tsens_s8_p2>,
1176 <&tsens_s9_p1>, <&tsens_s9_p2>,
1177 <&tsens_s10_p1>, <&tsens_s10_p2>,
1178 <&tsens_s0_p1_backup>, <&tsens_s0_p2_backup>,
1179 <&tsens_s1_p1_backup>, <&tsens_s1_p2_backup>,
1180 <&tsens_s2_p1_backup>, <&tsens_s2_p2_backup>,
1181 <&tsens_s3_p1_backup>, <&tsens_s3_p2_backup>,
1182 <&tsens_s4_p1_backup>, <&tsens_s4_p2_backup>,
1183 <&tsens_s5_p1_backup>, <&tsens_s5_p2_backup>,
1184 <&tsens_s6_p1_backup>, <&tsens_s6_p2_backup>,
1185 <&tsens_s7_p1_backup>, <&tsens_s7_p2_backup>,
1186 <&tsens_s8_p1_backup>, <&tsens_s8_p2_backup>,
1187 <&tsens_s9_p1_backup>, <&tsens_s9_p2_backup>,
1188 <&tsens_s10_p1_backup>, <&tsens_s10_p2_backup>;
1189 nvmem-cell-names = "mode",
1193 "base1_backup", "base2_backup",
1205 "s0_p1_backup", "s0_p2_backup",
1206 "s1_p1_backup", "s1_p2_backup",
1207 "s2_p1_backup", "s2_p2_backup",
1208 "s3_p1_backup", "s3_p2_backup",
1209 "s4_p1_backup", "s4_p2_backup",
1210 "s5_p1_backup", "s5_p2_backup",
1211 "s6_p1_backup", "s6_p2_backup",
1212 "s7_p1_backup", "s7_p2_backup",
1213 "s8_p1_backup", "s8_p2_backup",
1214 "s9_p1_backup", "s9_p2_backup",
1215 "s10_p1_backup", "s10_p2_backup";
1216 #qcom,sensors = <11>;
1217 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
1218 interrupt-names = "uplow";
1219 #thermal-sensor-cells = <1>;
1223 compatible = "qcom,pshold";
1224 reg = <0xfc4ab000 0x4>;
1227 qfprom: qfprom@fc4bc000 {
1228 compatible = "qcom,msm8974-qfprom", "qcom,qfprom";
1229 reg = <0xfc4bc000 0x1000>;
1230 #address-cells = <1>;
1233 tsens_base1: base1@d0 {
1238 tsens_s0_p1: s0-p1@d1 {
1243 tsens_s1_p1: s1-p1@d2 {
1248 tsens_s2_p1: s2-p1@d2 {
1253 tsens_s3_p1: s3-p1@d3 {
1258 tsens_s4_p1: s4-p1@d4 {
1263 tsens_s5_p1: s5-p1@d4 {
1268 tsens_s6_p1: s6-p1@d5 {
1273 tsens_s7_p1: s7-p1@d6 {
1278 tsens_s8_p1: s8-p1@d7 {
1283 tsens_mode: mode@d7 {
1288 tsens_s9_p1: s9-p1@d8 {
1293 tsens_s10_p1: s10_p1@d8 {
1298 tsens_base2: base2@d9 {
1303 tsens_s0_p2: s0-p2@da {
1308 tsens_s1_p2: s1-p2@db {
1313 tsens_s2_p2: s2-p2@dc {
1318 tsens_s3_p2: s3-p2@dc {
1323 tsens_s4_p2: s4-p2@dd {
1328 tsens_s5_p2: s5-p2@de {
1333 tsens_s6_p2: s6-p2@df {
1338 tsens_s7_p2: s7-p2@e0 {
1343 tsens_s8_p2: s8-p2@e0 {
1348 tsens_s9_p2: s9-p2@e1 {
1353 tsens_s10_p2: s10_p2@e2 {
1358 tsens_s5_p2_backup: s5-p2_backup@e3 {
1363 tsens_mode_backup: mode_backup@e3 {
1368 tsens_s6_p2_backup: s6-p2_backup@e4 {
1373 tsens_s7_p2_backup: s7-p2_backup@e4 {
1378 tsens_s8_p2_backup: s8-p2_backup@e5 {
1383 tsens_s9_p2_backup: s9-p2_backup@e6 {
1388 tsens_s10_p2_backup: s10_p2_backup@e7 {
1393 tsens_base1_backup: base1_backup@440 {
1398 tsens_s0_p1_backup: s0-p1_backup@441 {
1403 tsens_s1_p1_backup: s1-p1_backup@442 {
1408 tsens_s2_p1_backup: s2-p1_backup@442 {
1413 tsens_s3_p1_backup: s3-p1_backup@443 {
1418 tsens_s4_p1_backup: s4-p1_backup@444 {
1423 tsens_s5_p1_backup: s5-p1_backup@444 {
1428 tsens_s6_p1_backup: s6-p1_backup@445 {
1433 tsens_s7_p1_backup: s7-p1_backup@446 {
1438 tsens_use_backup: use_backup@447 {
1443 tsens_s8_p1_backup: s8-p1_backup@448 {
1448 tsens_s9_p1_backup: s9-p1_backup@448 {
1453 tsens_s10_p1_backup: s10_p1_backup@449 {
1458 tsens_base2_backup: base2_backup@44a {
1463 tsens_s0_p2_backup: s0-p2_backup@44b {
1468 tsens_s1_p2_backup: s1-p2_backup@44c {
1473 tsens_s2_p2_backup: s2-p2_backup@44c {
1478 tsens_s3_p2_backup: s3-p2_backup@44d {
1483 tsens_s4_p2_backup: s4-p2_backup@44e {
1489 spmi_bus: spmi@fc4cf000 {
1490 compatible = "qcom,spmi-pmic-arb";
1491 reg-names = "core", "intr", "cnfg";
1492 reg = <0xfc4cf000 0x1000>,
1493 <0xfc4cb000 0x1000>,
1494 <0xfc4ca000 0x1000>;
1495 interrupt-names = "periph_irq";
1496 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
1499 #address-cells = <2>;
1501 interrupt-controller;
1502 #interrupt-cells = <4>;
1505 bam_dmux_dma: dma-controller@fc834000 {
1506 compatible = "qcom,bam-v1.4.0";
1507 reg = <0xfc834000 0x7000>;
1508 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
1514 qcom,powered-remotely;
1517 remoteproc_mss: remoteproc@fc880000 {
1518 compatible = "qcom,msm8974-mss-pil";
1519 reg = <0xfc880000 0x100>, <0xfc820000 0x020>;
1520 reg-names = "qdsp6", "rmb";
1522 interrupts-extended = <&intc GIC_SPI 24 IRQ_TYPE_EDGE_RISING>,
1523 <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1524 <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1525 <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1526 <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
1527 interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
1529 clocks = <&gcc GCC_MSS_Q6_BIMC_AXI_CLK>,
1530 <&gcc GCC_MSS_CFG_AHB_CLK>,
1531 <&gcc GCC_BOOT_ROM_AHB_CLK>,
1533 clock-names = "iface", "bus", "mem", "xo";
1535 resets = <&gcc GCC_MSS_RESTART>;
1536 reset-names = "mss_restart";
1538 qcom,halt-regs = <&tcsr_mutex 0x1180 0x1200 0x1280>;
1540 qcom,smem-states = <&modem_smp2p_out 0>;
1541 qcom,smem-state-names = "stop";
1543 status = "disabled";
1546 memory-region = <&mba_region>;
1550 memory-region = <&mpss_region>;
1553 bam_dmux: bam-dmux {
1554 compatible = "qcom,bam-dmux";
1556 interrupt-parent = <&modem_smsm>;
1557 interrupts = <1 IRQ_TYPE_EDGE_BOTH>, <11 IRQ_TYPE_EDGE_BOTH>;
1558 interrupt-names = "pc", "pc-ack";
1560 qcom,smem-states = <&apps_smsm 1>, <&apps_smsm 11>;
1561 qcom,smem-state-names = "pc", "pc-ack";
1563 dmas = <&bam_dmux_dma 4>, <&bam_dmux_dma 5>;
1564 dma-names = "tx", "rx";
1568 interrupts = <GIC_SPI 25 IRQ_TYPE_EDGE_RISING>;
1570 qcom,ipc = <&apcs 8 12>;
1571 qcom,smd-edge = <0>;
1577 tcsr_mutex: hwlock@fd484000 {
1578 compatible = "qcom,msm8974-tcsr-mutex", "qcom,tcsr-mutex", "syscon";
1579 reg = <0xfd484000 0x2000>;
1580 #hwlock-cells = <1>;
1583 tcsr: syscon@fd4a0000 {
1584 compatible = "qcom,tcsr-msm8974", "syscon";
1585 reg = <0xfd4a0000 0x10000>;
1588 tlmm: pinctrl@fd510000 {
1589 compatible = "qcom,msm8974-pinctrl";
1590 reg = <0xfd510000 0x4000>;
1592 gpio-ranges = <&tlmm 0 0 146>;
1594 interrupt-controller;
1595 #interrupt-cells = <2>;
1596 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1598 sdc1_off: sdc1-off-state {
1602 drive-strength = <2>;
1608 drive-strength = <2>;
1614 drive-strength = <2>;
1618 sdc2_off: sdc2-off-state {
1622 drive-strength = <2>;
1628 drive-strength = <2>;
1634 drive-strength = <2>;
1641 drive-strength = <2>;
1645 blsp1_uart2_default: blsp1-uart2-default-state {
1648 function = "blsp_uart2";
1649 drive-strength = <2>;
1655 function = "blsp_uart2";
1656 drive-strength = <4>;
1661 blsp2_uart1_default: blsp2-uart1-default-state {
1663 pins = "gpio41", "gpio44";
1664 function = "blsp_uart7";
1665 drive-strength = <2>;
1670 pins = "gpio42", "gpio43";
1671 function = "blsp_uart7";
1672 drive-strength = <2>;
1677 blsp2_uart1_sleep: blsp2-uart1-sleep-state {
1678 pins = "gpio41", "gpio42", "gpio43", "gpio44";
1680 drive-strength = <2>;
1684 blsp2_uart4_default: blsp2-uart4-default-state {
1686 pins = "gpio53", "gpio56";
1687 function = "blsp_uart10";
1688 drive-strength = <2>;
1693 pins = "gpio54", "gpio55";
1694 function = "blsp_uart10";
1695 drive-strength = <2>;
1700 blsp1_i2c1_default: blsp1-i2c1-default-state {
1701 pins = "gpio2", "gpio3";
1702 function = "blsp_i2c1";
1703 drive-strength = <2>;
1707 blsp1_i2c1_sleep: blsp1-i2c1-sleep-state {
1708 pins = "gpio2", "gpio3";
1709 function = "blsp_i2c1";
1710 drive-strength = <2>;
1714 blsp1_i2c2_default: blsp1-i2c2-default-state {
1715 pins = "gpio6", "gpio7";
1716 function = "blsp_i2c2";
1717 drive-strength = <2>;
1721 blsp1_i2c2_sleep: blsp1-i2c2-sleep-state {
1722 pins = "gpio6", "gpio7";
1723 function = "blsp_i2c2";
1724 drive-strength = <2>;
1728 blsp1_i2c3_default: blsp1-i2c3-default-state {
1729 pins = "gpio10", "gpio11";
1730 function = "blsp_i2c3";
1731 drive-strength = <2>;
1735 blsp1_i2c3_sleep: blsp1-i2c3-sleep-state {
1736 pins = "gpio10", "gpio11";
1737 function = "blsp_i2c3";
1738 drive-strength = <2>;
1742 /* BLSP1_I2C4 info is missing */
1744 /* BLSP1_I2C5 info is missing */
1746 blsp1_i2c6_default: blsp1-i2c6-default-state {
1747 pins = "gpio29", "gpio30";
1748 function = "blsp_i2c6";
1749 drive-strength = <2>;
1753 blsp1_i2c6_sleep: blsp1-i2c6-sleep-state {
1754 pins = "gpio29", "gpio30";
1755 function = "blsp_i2c6";
1756 drive-strength = <2>;
1759 /* 6 interfaces per QUP, BLSP2 indexes are numbered (n)+6 */
1761 /* BLSP2_I2C1 info is missing */
1763 blsp2_i2c2_default: blsp2-i2c2-default-state {
1764 pins = "gpio47", "gpio48";
1765 function = "blsp_i2c8";
1766 drive-strength = <2>;
1770 blsp2_i2c2_sleep: blsp2-i2c2-sleep-state {
1771 pins = "gpio47", "gpio48";
1772 function = "blsp_i2c8";
1773 drive-strength = <2>;
1777 /* BLSP2_I2C3 info is missing */
1779 /* BLSP2_I2C4 info is missing */
1781 blsp2_i2c5_default: blsp2-i2c5-default-state {
1782 pins = "gpio83", "gpio84";
1783 function = "blsp_i2c11";
1784 drive-strength = <2>;
1788 blsp2_i2c5_sleep: blsp2-i2c5-sleep-state {
1789 pins = "gpio83", "gpio84";
1790 function = "blsp_i2c11";
1791 drive-strength = <2>;
1795 blsp2_i2c6_default: blsp2-i2c6-default-state {
1796 pins = "gpio87", "gpio88";
1797 function = "blsp_i2c12";
1798 drive-strength = <2>;
1802 blsp2_i2c6_sleep: blsp2-i2c6-sleep-state {
1803 pins = "gpio87", "gpio88";
1804 function = "blsp_i2c12";
1805 drive-strength = <2>;
1809 cci_default: cci-default-state {
1810 cci_i2c0_default: cci-i2c0-default-pins {
1811 pins = "gpio19", "gpio20";
1812 function = "cci_i2c0";
1813 drive-strength = <2>;
1817 cci_i2c1_default: cci-i2c1-default-pins {
1818 pins = "gpio21", "gpio22";
1819 function = "cci_i2c1";
1820 drive-strength = <2>;
1825 cci_sleep: cci-sleep-state {
1826 cci_i2c0_sleep: cci-i2c0-sleep-pins {
1827 pins = "gpio19", "gpio20";
1829 drive-strength = <2>;
1833 cci_i2c1_sleep: cci-i2c1-sleep-pins {
1834 pins = "gpio21", "gpio22";
1836 drive-strength = <2>;
1841 spi8_default: spi8_default-state {
1844 function = "blsp_spi8";
1848 function = "blsp_spi8";
1852 function = "blsp_spi8";
1856 function = "blsp_spi8";
1861 mmcc: clock-controller@fd8c0000 {
1862 compatible = "qcom,mmcc-msm8974";
1865 #power-domain-cells = <1>;
1866 reg = <0xfd8c0000 0x6000>;
1867 clocks = <&xo_board>,
1868 <&gcc GCC_MMSS_GPLL0_CLK_SRC>,
1871 <&rpmcc RPM_SMD_GFX3D_CLK_SRC>,
1893 mdss: display-subsystem@fd900000 {
1894 compatible = "qcom,mdss";
1895 reg = <0xfd900000 0x100>, <0xfd924000 0x1000>;
1896 reg-names = "mdss_phys", "vbif_phys";
1898 power-domains = <&mmcc MDSS_GDSC>;
1900 clocks = <&mmcc MDSS_AHB_CLK>,
1901 <&mmcc MDSS_AXI_CLK>,
1902 <&mmcc MDSS_VSYNC_CLK>;
1903 clock-names = "iface", "bus", "vsync";
1905 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
1907 interrupt-controller;
1908 #interrupt-cells = <1>;
1910 status = "disabled";
1912 #address-cells = <1>;
1916 mdp: display-controller@fd900000 {
1917 compatible = "qcom,msm8974-mdp5", "qcom,mdp5";
1918 reg = <0xfd900100 0x22000>;
1919 reg-names = "mdp_phys";
1921 interrupt-parent = <&mdss>;
1924 clocks = <&mmcc MDSS_AHB_CLK>,
1925 <&mmcc MDSS_AXI_CLK>,
1926 <&mmcc MDSS_MDP_CLK>,
1927 <&mmcc MDSS_VSYNC_CLK>;
1928 clock-names = "iface", "bus", "core", "vsync";
1930 interconnects = <&mmssnoc MNOC_MAS_MDP_PORT0 &bimc BIMC_SLV_EBI_CH0>;
1931 interconnect-names = "mdp0-mem";
1934 #address-cells = <1>;
1939 mdp5_intf1_out: endpoint {
1940 remote-endpoint = <&mdss_dsi0_in>;
1946 mdp5_intf2_out: endpoint {
1947 remote-endpoint = <&mdss_dsi1_in>;
1953 mdss_dsi0: dsi@fd922800 {
1954 compatible = "qcom,msm8974-dsi-ctrl",
1955 "qcom,mdss-dsi-ctrl";
1956 reg = <0xfd922800 0x1f8>;
1957 reg-names = "dsi_ctrl";
1959 interrupt-parent = <&mdss>;
1962 assigned-clocks = <&mmcc BYTE0_CLK_SRC>, <&mmcc PCLK0_CLK_SRC>;
1963 assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>;
1965 clocks = <&mmcc MDSS_MDP_CLK>,
1966 <&mmcc MDSS_AHB_CLK>,
1967 <&mmcc MDSS_AXI_CLK>,
1968 <&mmcc MDSS_BYTE0_CLK>,
1969 <&mmcc MDSS_PCLK0_CLK>,
1970 <&mmcc MDSS_ESC0_CLK>,
1971 <&mmcc MMSS_MISC_AHB_CLK>;
1972 clock-names = "mdp_core",
1980 phys = <&mdss_dsi0_phy>;
1982 status = "disabled";
1984 #address-cells = <1>;
1988 #address-cells = <1>;
1993 mdss_dsi0_in: endpoint {
1994 remote-endpoint = <&mdp5_intf1_out>;
2000 mdss_dsi0_out: endpoint {
2006 mdss_dsi0_phy: phy@fd922a00 {
2007 compatible = "qcom,dsi-phy-28nm-hpm";
2008 reg = <0xfd922a00 0xd4>,
2011 reg-names = "dsi_pll",
2013 "dsi_phy_regulator";
2018 clocks = <&mmcc MDSS_AHB_CLK>, <&xo_board>;
2019 clock-names = "iface", "ref";
2021 status = "disabled";
2024 mdss_dsi1: dsi@fd922e00 {
2025 compatible = "qcom,msm8974-dsi-ctrl",
2026 "qcom,mdss-dsi-ctrl";
2027 reg = <0xfd922e00 0x1f8>;
2028 reg-names = "dsi_ctrl";
2030 interrupt-parent = <&mdss>;
2033 assigned-clocks = <&mmcc BYTE1_CLK_SRC>, <&mmcc PCLK1_CLK_SRC>;
2034 assigned-clock-parents = <&mdss_dsi1_phy 0>, <&mdss_dsi1_phy 1>;
2036 clocks = <&mmcc MDSS_MDP_CLK>,
2037 <&mmcc MDSS_AHB_CLK>,
2038 <&mmcc MDSS_AXI_CLK>,
2039 <&mmcc MDSS_BYTE1_CLK>,
2040 <&mmcc MDSS_PCLK1_CLK>,
2041 <&mmcc MDSS_ESC1_CLK>,
2042 <&mmcc MMSS_MISC_AHB_CLK>;
2043 clock-names = "mdp_core",
2051 phys = <&mdss_dsi1_phy>;
2053 status = "disabled";
2055 #address-cells = <1>;
2059 #address-cells = <1>;
2064 mdss_dsi1_in: endpoint {
2065 remote-endpoint = <&mdp5_intf2_out>;
2071 mdss_dsi1_out: endpoint {
2077 mdss_dsi1_phy: phy@fd923000 {
2078 compatible = "qcom,dsi-phy-28nm-hpm";
2079 reg = <0xfd923000 0xd4>,
2082 reg-names = "dsi_pll",
2084 "dsi_phy_regulator";
2089 clocks = <&mmcc MDSS_AHB_CLK>, <&xo_board>;
2090 clock-names = "iface", "ref";
2092 status = "disabled";
2097 compatible = "qcom,msm8974-cci";
2098 #address-cells = <1>;
2100 reg = <0xfda0c000 0x1000>;
2101 interrupts = <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;
2102 clocks = <&mmcc CAMSS_TOP_AHB_CLK>,
2103 <&mmcc CAMSS_CCI_CCI_AHB_CLK>,
2104 <&mmcc CAMSS_CCI_CCI_CLK>;
2105 clock-names = "camss_top_ahb",
2109 pinctrl-names = "default", "sleep";
2110 pinctrl-0 = <&cci_default>;
2111 pinctrl-1 = <&cci_sleep>;
2113 status = "disabled";
2115 cci_i2c0: i2c-bus@0 {
2117 clock-frequency = <100000>;
2118 #address-cells = <1>;
2122 cci_i2c1: i2c-bus@1 {
2124 clock-frequency = <100000>;
2125 #address-cells = <1>;
2130 gpu: adreno@fdb00000 {
2131 compatible = "qcom,adreno-330.1", "qcom,adreno";
2132 reg = <0xfdb00000 0x10000>;
2133 reg-names = "kgsl_3d0_reg_memory";
2135 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
2136 interrupt-names = "kgsl_3d0_irq";
2138 clocks = <&mmcc OXILI_GFX3D_CLK>,
2139 <&mmcc OXILICX_AHB_CLK>,
2140 <&mmcc OXILICX_AXI_CLK>;
2141 clock-names = "core", "iface", "mem_iface";
2144 power-domains = <&mmcc OXILICX_GDSC>;
2145 operating-points-v2 = <&gpu_opp_table>;
2147 interconnects = <&mmssnoc MNOC_MAS_GRAPHICS_3D &bimc BIMC_SLV_EBI_CH0>,
2148 <&ocmemnoc OCMEM_VNOC_MAS_GFX3D &ocmemnoc OCMEM_SLV_OCMEM>;
2149 interconnect-names = "gfx-mem", "ocmem";
2151 // iommus = <&gpu_iommu 0>;
2153 status = "disabled";
2155 gpu_opp_table: opp-table {
2156 compatible = "operating-points-v2";
2159 opp-hz = /bits/ 64 <320000000>;
2163 opp-hz = /bits/ 64 <200000000>;
2167 opp-hz = /bits/ 64 <27000000>;
2173 compatible = "qcom,msm8974-ocmem";
2174 reg = <0xfdd00000 0x2000>,
2175 <0xfec00000 0x180000>;
2176 reg-names = "ctrl", "mem";
2177 ranges = <0 0xfec00000 0x180000>;
2178 clocks = <&rpmcc RPM_SMD_OCMEMGX_CLK>,
2179 <&mmcc OCMEMCX_OCMEMNOC_CLK>;
2180 clock-names = "core", "iface";
2182 #address-cells = <1>;
2185 gmu_sram: gmu-sram@0 {
2186 reg = <0x0 0x100000>;
2190 remoteproc_adsp: remoteproc@fe200000 {
2191 compatible = "qcom,msm8974-adsp-pil";
2192 reg = <0xfe200000 0x100>;
2194 interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
2195 <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2196 <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
2197 <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
2198 <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
2199 interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
2201 clocks = <&xo_board>;
2204 memory-region = <&adsp_region>;
2206 qcom,smem-states = <&adsp_smp2p_out 0>;
2207 qcom,smem-state-names = "stop";
2209 status = "disabled";
2212 interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
2214 qcom,ipc = <&apcs 8 8>;
2215 qcom,smd-edge = <1>;
2220 imem: sram@fe805000 {
2221 compatible = "qcom,msm8974-imem", "syscon", "simple-mfd";
2222 reg = <0xfe805000 0x1000>;
2225 compatible = "syscon-reboot-mode";
2233 polling-delay-passive = <250>;
2234 polling-delay = <1000>;
2236 thermal-sensors = <&tsens 5>;
2240 temperature = <75000>;
2241 hysteresis = <2000>;
2245 temperature = <110000>;
2246 hysteresis = <2000>;
2253 polling-delay-passive = <250>;
2254 polling-delay = <1000>;
2256 thermal-sensors = <&tsens 6>;
2260 temperature = <75000>;
2261 hysteresis = <2000>;
2265 temperature = <110000>;
2266 hysteresis = <2000>;
2273 polling-delay-passive = <250>;
2274 polling-delay = <1000>;
2276 thermal-sensors = <&tsens 7>;
2280 temperature = <75000>;
2281 hysteresis = <2000>;
2285 temperature = <110000>;
2286 hysteresis = <2000>;
2293 polling-delay-passive = <250>;
2294 polling-delay = <1000>;
2296 thermal-sensors = <&tsens 8>;
2300 temperature = <75000>;
2301 hysteresis = <2000>;
2305 temperature = <110000>;
2306 hysteresis = <2000>;
2313 polling-delay-passive = <250>;
2314 polling-delay = <1000>;
2316 thermal-sensors = <&tsens 1>;
2319 q6_dsp_alert0: trip-point0 {
2320 temperature = <90000>;
2321 hysteresis = <2000>;
2328 polling-delay-passive = <250>;
2329 polling-delay = <1000>;
2331 thermal-sensors = <&tsens 2>;
2334 modemtx_alert0: trip-point0 {
2335 temperature = <90000>;
2336 hysteresis = <2000>;
2343 polling-delay-passive = <250>;
2344 polling-delay = <1000>;
2346 thermal-sensors = <&tsens 3>;
2349 video_alert0: trip-point0 {
2350 temperature = <95000>;
2351 hysteresis = <2000>;
2358 polling-delay-passive = <250>;
2359 polling-delay = <1000>;
2361 thermal-sensors = <&tsens 4>;
2364 wlan_alert0: trip-point0 {
2365 temperature = <105000>;
2366 hysteresis = <2000>;
2373 polling-delay-passive = <250>;
2374 polling-delay = <1000>;
2376 thermal-sensors = <&tsens 9>;
2379 gpu1_alert0: trip-point0 {
2380 temperature = <90000>;
2381 hysteresis = <2000>;
2387 gpu-bottom-thermal {
2388 polling-delay-passive = <250>;
2389 polling-delay = <1000>;
2391 thermal-sensors = <&tsens 10>;
2394 gpu2_alert0: trip-point0 {
2395 temperature = <90000>;
2396 hysteresis = <2000>;
2404 compatible = "arm,armv7-timer";
2405 interrupts = <GIC_PPI 2 0xf08>,
2409 clock-frequency = <19200000>;
2412 vreg_boost: vreg-boost {
2413 compatible = "regulator-fixed";
2415 regulator-name = "vreg-boost";
2416 regulator-min-microvolt = <3150000>;
2417 regulator-max-microvolt = <3150000>;
2419 regulator-always-on;
2422 gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>;
2425 pinctrl-names = "default";
2426 pinctrl-0 = <&boost_bypass_n_pin>;
2429 vreg_vph_pwr: vreg-vph-pwr {
2430 compatible = "regulator-fixed";
2431 regulator-name = "vph-pwr";
2433 regulator-min-microvolt = <3600000>;
2434 regulator-max-microvolt = <3600000>;
2436 regulator-always-on;