Lines Matching +full:gpi +full:- +full:dma
1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/interconnect/qcom,sm8350.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/clock/qcom,dispcc-sm8350.h>
9 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
10 #include <dt-bindings/clock/qcom,gcc-sm8350.h>
11 #include <dt-bindings/clock/qcom,gpucc-sm8350.h>
12 #include <dt-bindings/clock/qcom,rpmh.h>
13 #include <dt-bindings/dma/qcom-gpi.h>
14 #include <dt-bindings/firmware/qcom,scm.h>
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/interconnect/qcom,icc.h>
17 #include <dt-bindings/interconnect/qcom,sm8350.h>
18 #include <dt-bindings/mailbox/qcom-ipcc.h>
19 #include <dt-bindings/phy/phy-qcom-qmp.h>
20 #include <dt-bindings/power/qcom-rpmpd.h>
21 #include <dt-bindings/power/qcom,rpmhpd.h>
22 #include <dt-bindings/soc/qcom,apr.h>
23 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
24 #include <dt-bindings/sound/qcom,q6afe.h>
25 #include <dt-bindings/sound/qcom,q6asm.h>
26 #include <dt-bindings/thermal/thermal.h>
27 #include <dt-bindings/interconnect/qcom,sm8350.h>
30 interrupt-parent = <&intc>;
32 #address-cells = <2>;
33 #size-cells = <2>;
38 xo_board: xo-board {
39 compatible = "fixed-clock";
40 #clock-cells = <0>;
41 clock-frequency = <38400000>;
42 clock-output-names = "xo_board";
45 sleep_clk: sleep-clk {
46 compatible = "fixed-clock";
47 clock-frequency = <32764>;
48 #clock-cells = <0>;
53 #address-cells = <2>;
54 #size-cells = <0>;
58 compatible = "arm,cortex-a55";
61 enable-method = "psci";
62 next-level-cache = <&l2_0>;
63 qcom,freq-domain = <&cpufreq_hw 0>;
64 power-domains = <&cpu_pd0>;
65 power-domain-names = "psci";
66 #cooling-cells = <2>;
67 l2_0: l2-cache {
69 cache-level = <2>;
70 cache-unified;
71 next-level-cache = <&l3_0>;
72 l3_0: l3-cache {
74 cache-level = <3>;
75 cache-unified;
82 compatible = "arm,cortex-a55";
85 enable-method = "psci";
86 next-level-cache = <&l2_100>;
87 qcom,freq-domain = <&cpufreq_hw 0>;
88 power-domains = <&cpu_pd1>;
89 power-domain-names = "psci";
90 #cooling-cells = <2>;
91 l2_100: l2-cache {
93 cache-level = <2>;
94 cache-unified;
95 next-level-cache = <&l3_0>;
101 compatible = "arm,cortex-a55";
104 enable-method = "psci";
105 next-level-cache = <&l2_200>;
106 qcom,freq-domain = <&cpufreq_hw 0>;
107 power-domains = <&cpu_pd2>;
108 power-domain-names = "psci";
109 #cooling-cells = <2>;
110 l2_200: l2-cache {
112 cache-level = <2>;
113 cache-unified;
114 next-level-cache = <&l3_0>;
120 compatible = "arm,cortex-a55";
123 enable-method = "psci";
124 next-level-cache = <&l2_300>;
125 qcom,freq-domain = <&cpufreq_hw 0>;
126 power-domains = <&cpu_pd3>;
127 power-domain-names = "psci";
128 #cooling-cells = <2>;
129 l2_300: l2-cache {
131 cache-level = <2>;
132 cache-unified;
133 next-level-cache = <&l3_0>;
139 compatible = "arm,cortex-a78";
142 enable-method = "psci";
143 next-level-cache = <&l2_400>;
144 qcom,freq-domain = <&cpufreq_hw 1>;
145 power-domains = <&cpu_pd4>;
146 power-domain-names = "psci";
147 #cooling-cells = <2>;
148 l2_400: l2-cache {
150 cache-level = <2>;
151 cache-unified;
152 next-level-cache = <&l3_0>;
158 compatible = "arm,cortex-a78";
161 enable-method = "psci";
162 next-level-cache = <&l2_500>;
163 qcom,freq-domain = <&cpufreq_hw 1>;
164 power-domains = <&cpu_pd5>;
165 power-domain-names = "psci";
166 #cooling-cells = <2>;
167 l2_500: l2-cache {
169 cache-level = <2>;
170 cache-unified;
171 next-level-cache = <&l3_0>;
177 compatible = "arm,cortex-a78";
180 enable-method = "psci";
181 next-level-cache = <&l2_600>;
182 qcom,freq-domain = <&cpufreq_hw 1>;
183 power-domains = <&cpu_pd6>;
184 power-domain-names = "psci";
185 #cooling-cells = <2>;
186 l2_600: l2-cache {
188 cache-level = <2>;
189 cache-unified;
190 next-level-cache = <&l3_0>;
196 compatible = "arm,cortex-x1";
199 enable-method = "psci";
200 next-level-cache = <&l2_700>;
201 qcom,freq-domain = <&cpufreq_hw 2>;
202 power-domains = <&cpu_pd7>;
203 power-domain-names = "psci";
204 #cooling-cells = <2>;
205 l2_700: l2-cache {
207 cache-level = <2>;
208 cache-unified;
209 next-level-cache = <&l3_0>;
213 cpu-map {
249 idle-states {
250 entry-method = "psci";
252 little_cpu_sleep_0: cpu-sleep-0-0 {
253 compatible = "arm,idle-state";
254 idle-state-name = "silver-rail-power-collapse";
255 arm,psci-suspend-param = <0x40000004>;
256 entry-latency-us = <360>;
257 exit-latency-us = <531>;
258 min-residency-us = <3934>;
259 local-timer-stop;
262 big_cpu_sleep_0: cpu-sleep-1-0 {
263 compatible = "arm,idle-state";
264 idle-state-name = "gold-rail-power-collapse";
265 arm,psci-suspend-param = <0x40000004>;
266 entry-latency-us = <702>;
267 exit-latency-us = <1061>;
268 min-residency-us = <4488>;
269 local-timer-stop;
273 domain-idle-states {
274 cluster_sleep_apss_off: cluster-sleep-0 {
275 compatible = "domain-idle-state";
276 arm,psci-suspend-param = <0x41000044>;
277 entry-latency-us = <2752>;
278 exit-latency-us = <3048>;
279 min-residency-us = <6118>;
282 cluster_sleep_aoss_sleep: cluster-sleep-1 {
283 compatible = "domain-idle-state";
284 arm,psci-suspend-param = <0x4100c344>;
285 entry-latency-us = <3263>;
286 exit-latency-us = <6562>;
287 min-residency-us = <9987>;
294 compatible = "qcom,scm-sm8350", "qcom,scm";
295 qcom,dload-mode = <&tcsr 0x13000>;
296 #reset-cells = <1>;
306 pmu-a55 {
307 compatible = "arm,cortex-a55-pmu";
311 pmu-a78 {
312 compatible = "arm,cortex-a78-pmu";
316 pmu-x1 {
317 compatible = "arm,cortex-x1-pmu";
322 compatible = "arm,psci-1.0";
325 cpu_pd0: power-domain-cpu0 {
326 #power-domain-cells = <0>;
327 power-domains = <&cluster_pd>;
328 domain-idle-states = <&little_cpu_sleep_0>;
331 cpu_pd1: power-domain-cpu1 {
332 #power-domain-cells = <0>;
333 power-domains = <&cluster_pd>;
334 domain-idle-states = <&little_cpu_sleep_0>;
337 cpu_pd2: power-domain-cpu2 {
338 #power-domain-cells = <0>;
339 power-domains = <&cluster_pd>;
340 domain-idle-states = <&little_cpu_sleep_0>;
343 cpu_pd3: power-domain-cpu3 {
344 #power-domain-cells = <0>;
345 power-domains = <&cluster_pd>;
346 domain-idle-states = <&little_cpu_sleep_0>;
349 cpu_pd4: power-domain-cpu4 {
350 #power-domain-cells = <0>;
351 power-domains = <&cluster_pd>;
352 domain-idle-states = <&big_cpu_sleep_0>;
355 cpu_pd5: power-domain-cpu5 {
356 #power-domain-cells = <0>;
357 power-domains = <&cluster_pd>;
358 domain-idle-states = <&big_cpu_sleep_0>;
361 cpu_pd6: power-domain-cpu6 {
362 #power-domain-cells = <0>;
363 power-domains = <&cluster_pd>;
364 domain-idle-states = <&big_cpu_sleep_0>;
367 cpu_pd7: power-domain-cpu7 {
368 #power-domain-cells = <0>;
369 power-domains = <&cluster_pd>;
370 domain-idle-states = <&big_cpu_sleep_0>;
373 cluster_pd: power-domain-cpu-cluster0 {
374 #power-domain-cells = <0>;
375 domain-idle-states = <&cluster_sleep_apss_off &cluster_sleep_aoss_sleep>;
379 qup_opp_table_100mhz: opp-table-qup100mhz {
380 compatible = "operating-points-v2";
382 opp-50000000 {
383 opp-hz = /bits/ 64 <50000000>;
384 required-opps = <&rpmhpd_opp_min_svs>;
387 opp-75000000 {
388 opp-hz = /bits/ 64 <75000000>;
389 required-opps = <&rpmhpd_opp_low_svs>;
392 opp-100000000 {
393 opp-hz = /bits/ 64 <100000000>;
394 required-opps = <&rpmhpd_opp_svs>;
398 qup_opp_table_120mhz: opp-table-qup120mhz {
399 compatible = "operating-points-v2";
401 opp-50000000 {
402 opp-hz = /bits/ 64 <50000000>;
403 required-opps = <&rpmhpd_opp_min_svs>;
406 opp-75000000 {
407 opp-hz = /bits/ 64 <75000000>;
408 required-opps = <&rpmhpd_opp_low_svs>;
411 opp-120000000 {
412 opp-hz = /bits/ 64 <120000000>;
413 required-opps = <&rpmhpd_opp_svs>;
417 reserved_memory: reserved-memory {
418 #address-cells = <2>;
419 #size-cells = <2>;
424 no-map;
428 no-map;
433 compatible = "qcom,cmd-db";
435 no-map;
440 no-map;
447 no-map;
452 no-map;
457 no-map;
462 no-map;
467 no-map;
472 no-map;
477 no-map;
482 no-map;
487 no-map;
492 no-map;
497 no-map;
502 no-map;
507 no-map;
512 no-map;
516 compatible = "qcom,rmtfs-mem";
518 no-map;
520 qcom,client-id = <1>;
526 no-map;
531 no-map;
536 no-map;
541 no-map;
546 no-map;
551 no-map;
555 smp2p-adsp {
558 interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
564 qcom,local-pid = <0>;
565 qcom,remote-pid = <2>;
567 smp2p_adsp_out: master-kernel {
568 qcom,entry-name = "master-kernel";
569 #qcom,smem-state-cells = <1>;
572 smp2p_adsp_in: slave-kernel {
573 qcom,entry-name = "slave-kernel";
574 interrupt-controller;
575 #interrupt-cells = <2>;
579 smp2p-cdsp {
582 interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
588 qcom,local-pid = <0>;
589 qcom,remote-pid = <5>;
591 smp2p_cdsp_out: master-kernel {
592 qcom,entry-name = "master-kernel";
593 #qcom,smem-state-cells = <1>;
596 smp2p_cdsp_in: slave-kernel {
597 qcom,entry-name = "slave-kernel";
598 interrupt-controller;
599 #interrupt-cells = <2>;
603 smp2p-modem {
606 interrupts-extended = <&ipcc IPCC_CLIENT_MPSS
612 qcom,local-pid = <0>;
613 qcom,remote-pid = <1>;
615 smp2p_modem_out: master-kernel {
616 qcom,entry-name = "master-kernel";
617 #qcom,smem-state-cells = <1>;
620 smp2p_modem_in: slave-kernel {
621 qcom,entry-name = "slave-kernel";
622 interrupt-controller;
623 #interrupt-cells = <2>;
626 ipa_smp2p_out: ipa-ap-to-modem {
627 qcom,entry-name = "ipa";
628 #qcom,smem-state-cells = <1>;
631 ipa_smp2p_in: ipa-modem-to-ap {
632 qcom,entry-name = "ipa";
633 interrupt-controller;
634 #interrupt-cells = <2>;
638 smp2p-slpi {
641 interrupts-extended = <&ipcc IPCC_CLIENT_SLPI
647 qcom,local-pid = <0>;
648 qcom,remote-pid = <3>;
650 smp2p_slpi_out: master-kernel {
651 qcom,entry-name = "master-kernel";
652 #qcom,smem-state-cells = <1>;
655 smp2p_slpi_in: slave-kernel {
656 qcom,entry-name = "slave-kernel";
657 interrupt-controller;
658 #interrupt-cells = <2>;
663 #address-cells = <2>;
664 #size-cells = <2>;
666 dma-ranges = <0 0 0 0 0x10 0>;
667 compatible = "simple-bus";
669 gcc: clock-controller@100000 {
670 compatible = "qcom,gcc-sm8350";
672 #clock-cells = <1>;
673 #reset-cells = <1>;
674 #power-domain-cells = <1>;
675 clock-names = "bi_tcxo",
702 compatible = "qcom,sm8350-ipcc", "qcom,ipcc";
705 interrupt-controller;
706 #interrupt-cells = <3>;
707 #mbox-cells = <2>;
710 gpi_dma2: dma-controller@800000 {
711 compatible = "qcom,sm8350-gpi-dma", "qcom,sm6350-gpi-dma";
725 dma-channels = <12>;
726 dma-channel-mask = <0xff>;
728 #dma-cells = <3>;
733 compatible = "qcom,geni-se-qup";
735 clock-names = "m-ahb", "s-ahb";
739 #address-cells = <2>;
740 #size-cells = <2>;
745 compatible = "qcom,geni-i2c";
747 clock-names = "se";
749 pinctrl-names = "default";
750 pinctrl-0 = <&qup_i2c14_default>;
754 dma-names = "tx", "rx";
755 #address-cells = <1>;
756 #size-cells = <0>;
761 compatible = "qcom,geni-spi";
763 clock-names = "se";
766 power-domains = <&rpmhpd RPMHPD_CX>;
767 operating-points-v2 = <&qup_opp_table_120mhz>;
770 dma-names = "tx", "rx";
771 #address-cells = <1>;
772 #size-cells = <0>;
777 compatible = "qcom,geni-i2c";
779 clock-names = "se";
781 pinctrl-names = "default";
782 pinctrl-0 = <&qup_i2c15_default>;
786 dma-names = "tx", "rx";
787 #address-cells = <1>;
788 #size-cells = <0>;
793 compatible = "qcom,geni-spi";
795 clock-names = "se";
798 power-domains = <&rpmhpd RPMHPD_CX>;
799 operating-points-v2 = <&qup_opp_table_120mhz>;
802 dma-names = "tx", "rx";
803 #address-cells = <1>;
804 #size-cells = <0>;
809 compatible = "qcom,geni-i2c";
811 clock-names = "se";
813 pinctrl-names = "default";
814 pinctrl-0 = <&qup_i2c16_default>;
818 dma-names = "tx", "rx";
819 #address-cells = <1>;
820 #size-cells = <0>;
825 compatible = "qcom,geni-spi";
827 clock-names = "se";
830 power-domains = <&rpmhpd RPMHPD_CX>;
831 operating-points-v2 = <&qup_opp_table_100mhz>;
834 dma-names = "tx", "rx";
835 #address-cells = <1>;
836 #size-cells = <0>;
841 compatible = "qcom,geni-i2c";
843 clock-names = "se";
845 pinctrl-names = "default";
846 pinctrl-0 = <&qup_i2c17_default>;
850 dma-names = "tx", "rx";
851 #address-cells = <1>;
852 #size-cells = <0>;
857 compatible = "qcom,geni-spi";
859 clock-names = "se";
862 power-domains = <&rpmhpd RPMHPD_CX>;
863 operating-points-v2 = <&qup_opp_table_100mhz>;
866 dma-names = "tx", "rx";
867 #address-cells = <1>;
868 #size-cells = <0>;
872 /* QUP no. 18 seems to be strictly SPI/UART-only */
875 compatible = "qcom,geni-spi";
877 clock-names = "se";
880 power-domains = <&rpmhpd RPMHPD_CX>;
881 operating-points-v2 = <&qup_opp_table_100mhz>;
884 dma-names = "tx", "rx";
885 #address-cells = <1>;
886 #size-cells = <0>;
891 compatible = "qcom,geni-uart";
893 clock-names = "se";
895 pinctrl-names = "default";
896 pinctrl-0 = <&qup_uart18_default>;
898 power-domains = <&rpmhpd RPMHPD_CX>;
899 operating-points-v2 = <&qup_opp_table_100mhz>;
904 compatible = "qcom,geni-i2c";
906 clock-names = "se";
908 pinctrl-names = "default";
909 pinctrl-0 = <&qup_i2c19_default>;
913 dma-names = "tx", "rx";
914 #address-cells = <1>;
915 #size-cells = <0>;
920 compatible = "qcom,geni-spi";
922 clock-names = "se";
925 power-domains = <&rpmhpd RPMHPD_CX>;
926 operating-points-v2 = <&qup_opp_table_100mhz>;
929 dma-names = "tx", "rx";
930 #address-cells = <1>;
931 #size-cells = <0>;
936 gpi_dma0: dma-controller@900000 {
937 compatible = "qcom,sm8350-gpi-dma", "qcom,sm6350-gpi-dma";
951 dma-channels = <12>;
952 dma-channel-mask = <0x7e>;
954 #dma-cells = <3>;
959 compatible = "qcom,geni-se-qup";
961 clock-names = "m-ahb", "s-ahb";
965 #address-cells = <2>;
966 #size-cells = <2>;
971 compatible = "qcom,geni-i2c";
973 clock-names = "se";
975 pinctrl-names = "default";
976 pinctrl-0 = <&qup_i2c0_default>;
980 dma-names = "tx", "rx";
981 #address-cells = <1>;
982 #size-cells = <0>;
987 compatible = "qcom,geni-spi";
989 clock-names = "se";
992 power-domains = <&rpmhpd RPMHPD_CX>;
993 operating-points-v2 = <&qup_opp_table_100mhz>;
996 dma-names = "tx", "rx";
997 #address-cells = <1>;
998 #size-cells = <0>;
1003 compatible = "qcom,geni-i2c";
1005 clock-names = "se";
1007 pinctrl-names = "default";
1008 pinctrl-0 = <&qup_i2c1_default>;
1012 dma-names = "tx", "rx";
1013 #address-cells = <1>;
1014 #size-cells = <0>;
1019 compatible = "qcom,geni-spi";
1021 clock-names = "se";
1024 power-domains = <&rpmhpd RPMHPD_CX>;
1025 operating-points-v2 = <&qup_opp_table_100mhz>;
1028 dma-names = "tx", "rx";
1029 #address-cells = <1>;
1030 #size-cells = <0>;
1035 compatible = "qcom,geni-i2c";
1037 clock-names = "se";
1039 pinctrl-names = "default";
1040 pinctrl-0 = <&qup_i2c2_default>;
1044 dma-names = "tx", "rx";
1045 #address-cells = <1>;
1046 #size-cells = <0>;
1051 compatible = "qcom,geni-spi";
1053 clock-names = "se";
1056 power-domains = <&rpmhpd RPMHPD_CX>;
1057 operating-points-v2 = <&qup_opp_table_100mhz>;
1060 dma-names = "tx", "rx";
1061 #address-cells = <1>;
1062 #size-cells = <0>;
1067 compatible = "qcom,geni-debug-uart";
1069 clock-names = "se";
1071 pinctrl-names = "default";
1072 pinctrl-0 = <&qup_uart3_default_state>;
1074 power-domains = <&rpmhpd RPMHPD_CX>;
1075 operating-points-v2 = <&qup_opp_table_100mhz>;
1079 /* QUP no. 3 seems to be strictly SPI-only */
1082 compatible = "qcom,geni-spi";
1084 clock-names = "se";
1087 power-domains = <&rpmhpd RPMHPD_CX>;
1088 operating-points-v2 = <&qup_opp_table_100mhz>;
1091 dma-names = "tx", "rx";
1092 #address-cells = <1>;
1093 #size-cells = <0>;
1098 compatible = "qcom,geni-i2c";
1100 clock-names = "se";
1102 pinctrl-names = "default";
1103 pinctrl-0 = <&qup_i2c4_default>;
1107 dma-names = "tx", "rx";
1108 #address-cells = <1>;
1109 #size-cells = <0>;
1114 compatible = "qcom,geni-spi";
1116 clock-names = "se";
1119 power-domains = <&rpmhpd RPMHPD_CX>;
1120 operating-points-v2 = <&qup_opp_table_100mhz>;
1123 dma-names = "tx", "rx";
1124 #address-cells = <1>;
1125 #size-cells = <0>;
1130 compatible = "qcom,geni-i2c";
1132 clock-names = "se";
1134 pinctrl-names = "default";
1135 pinctrl-0 = <&qup_i2c5_default>;
1139 dma-names = "tx", "rx";
1140 #address-cells = <1>;
1141 #size-cells = <0>;
1146 compatible = "qcom,geni-spi";
1148 clock-names = "se";
1151 power-domains = <&rpmhpd RPMHPD_CX>;
1152 operating-points-v2 = <&qup_opp_table_100mhz>;
1155 dma-names = "tx", "rx";
1156 #address-cells = <1>;
1157 #size-cells = <0>;
1162 compatible = "qcom,geni-i2c";
1164 clock-names = "se";
1166 pinctrl-names = "default";
1167 pinctrl-0 = <&qup_i2c6_default>;
1171 dma-names = "tx", "rx";
1172 #address-cells = <1>;
1173 #size-cells = <0>;
1178 compatible = "qcom,geni-spi";
1180 clock-names = "se";
1183 power-domains = <&rpmhpd RPMHPD_CX>;
1184 operating-points-v2 = <&qup_opp_table_100mhz>;
1187 dma-names = "tx", "rx";
1188 #address-cells = <1>;
1189 #size-cells = <0>;
1194 compatible = "qcom,geni-uart";
1196 clock-names = "se";
1198 pinctrl-names = "default";
1199 pinctrl-0 = <&qup_uart6_default>;
1201 power-domains = <&rpmhpd RPMHPD_CX>;
1202 operating-points-v2 = <&qup_opp_table_100mhz>;
1207 compatible = "qcom,geni-i2c";
1209 clock-names = "se";
1211 pinctrl-names = "default";
1212 pinctrl-0 = <&qup_i2c7_default>;
1216 dma-names = "tx", "rx";
1217 #address-cells = <1>;
1218 #size-cells = <0>;
1223 compatible = "qcom,geni-spi";
1225 clock-names = "se";
1228 power-domains = <&rpmhpd RPMHPD_CX>;
1229 operating-points-v2 = <&qup_opp_table_100mhz>;
1232 dma-names = "tx", "rx";
1233 #address-cells = <1>;
1234 #size-cells = <0>;
1239 gpi_dma1: dma-controller@a00000 {
1240 compatible = "qcom,sm8350-gpi-dma", "qcom,sm6350-gpi-dma";
1254 dma-channels = <12>;
1255 dma-channel-mask = <0xff>;
1257 #dma-cells = <3>;
1262 compatible = "qcom,geni-se-qup";
1264 clock-names = "m-ahb", "s-ahb";
1268 #address-cells = <2>;
1269 #size-cells = <2>;
1274 compatible = "qcom,geni-i2c";
1276 clock-names = "se";
1278 pinctrl-names = "default";
1279 pinctrl-0 = <&qup_i2c8_default>;
1283 dma-names = "tx", "rx";
1284 #address-cells = <1>;
1285 #size-cells = <0>;
1290 compatible = "qcom,geni-spi";
1292 clock-names = "se";
1295 power-domains = <&rpmhpd RPMHPD_CX>;
1296 operating-points-v2 = <&qup_opp_table_120mhz>;
1299 dma-names = "tx", "rx";
1300 #address-cells = <1>;
1301 #size-cells = <0>;
1306 compatible = "qcom,geni-i2c";
1308 clock-names = "se";
1310 pinctrl-names = "default";
1311 pinctrl-0 = <&qup_i2c9_default>;
1315 dma-names = "tx", "rx";
1316 #address-cells = <1>;
1317 #size-cells = <0>;
1322 compatible = "qcom,geni-spi";
1324 clock-names = "se";
1327 power-domains = <&rpmhpd RPMHPD_CX>;
1328 operating-points-v2 = <&qup_opp_table_100mhz>;
1331 dma-names = "tx", "rx";
1332 #address-cells = <1>;
1333 #size-cells = <0>;
1338 compatible = "qcom,geni-i2c";
1340 clock-names = "se";
1342 pinctrl-names = "default";
1343 pinctrl-0 = <&qup_i2c10_default>;
1347 dma-names = "tx", "rx";
1348 #address-cells = <1>;
1349 #size-cells = <0>;
1354 compatible = "qcom,geni-spi";
1356 clock-names = "se";
1359 power-domains = <&rpmhpd RPMHPD_CX>;
1360 operating-points-v2 = <&qup_opp_table_100mhz>;
1363 dma-names = "tx", "rx";
1364 #address-cells = <1>;
1365 #size-cells = <0>;
1370 compatible = "qcom,geni-i2c";
1372 clock-names = "se";
1374 pinctrl-names = "default";
1375 pinctrl-0 = <&qup_i2c11_default>;
1379 dma-names = "tx", "rx";
1380 #address-cells = <1>;
1381 #size-cells = <0>;
1386 compatible = "qcom,geni-spi";
1388 clock-names = "se";
1391 power-domains = <&rpmhpd RPMHPD_CX>;
1392 operating-points-v2 = <&qup_opp_table_100mhz>;
1395 dma-names = "tx", "rx";
1396 #address-cells = <1>;
1397 #size-cells = <0>;
1402 compatible = "qcom,geni-i2c";
1404 clock-names = "se";
1406 pinctrl-names = "default";
1407 pinctrl-0 = <&qup_i2c12_default>;
1411 dma-names = "tx", "rx";
1412 #address-cells = <1>;
1413 #size-cells = <0>;
1418 compatible = "qcom,geni-spi";
1420 clock-names = "se";
1423 power-domains = <&rpmhpd RPMHPD_CX>;
1424 operating-points-v2 = <&qup_opp_table_100mhz>;
1427 dma-names = "tx", "rx";
1428 #address-cells = <1>;
1429 #size-cells = <0>;
1434 compatible = "qcom,geni-i2c";
1436 clock-names = "se";
1438 pinctrl-names = "default";
1439 pinctrl-0 = <&qup_i2c13_default>;
1443 dma-names = "tx", "rx";
1444 #address-cells = <1>;
1445 #size-cells = <0>;
1450 compatible = "qcom,geni-spi";
1452 clock-names = "se";
1455 power-domains = <&rpmhpd RPMHPD_CX>;
1456 operating-points-v2 = <&qup_opp_table_100mhz>;
1459 dma-names = "tx", "rx";
1460 #address-cells = <1>;
1461 #size-cells = <0>;
1467 compatible = "qcom,prng-ee";
1470 clock-names = "core";
1474 compatible = "qcom,sm8350-config-noc";
1476 #interconnect-cells = <2>;
1477 qcom,bcm-voters = <&apps_bcm_voter>;
1481 compatible = "qcom,sm8350-mc-virt";
1483 #interconnect-cells = <2>;
1484 qcom,bcm-voters = <&apps_bcm_voter>;
1488 compatible = "qcom,sm8350-system-noc";
1490 #interconnect-cells = <2>;
1491 qcom,bcm-voters = <&apps_bcm_voter>;
1495 compatible = "qcom,sm8350-aggre1-noc";
1497 #interconnect-cells = <2>;
1498 qcom,bcm-voters = <&apps_bcm_voter>;
1502 compatible = "qcom,sm8350-aggre2-noc";
1504 #interconnect-cells = <2>;
1505 qcom,bcm-voters = <&apps_bcm_voter>;
1509 compatible = "qcom,sm8350-mmss-noc";
1511 #interconnect-cells = <2>;
1512 qcom,bcm-voters = <&apps_bcm_voter>;
1516 compatible = "qcom,pcie-sm8350";
1522 reg-names = "parf", "dbi", "elbi", "atu", "config";
1524 linux,pci-domain = <0>;
1525 bus-range = <0x00 0xff>;
1526 num-lanes = <1>;
1528 #address-cells = <3>;
1529 #size-cells = <2>;
1543 interrupt-names = "msi0",
1552 #interrupt-cells = <1>;
1553 interrupt-map-mask = <0 0 0 0x7>;
1554 interrupt-map = <0 0 0 1 &intc 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1568 clock-names = "aux",
1578 iommu-map = <0x0 &apps_smmu 0x1c00 0x1>,
1582 reset-names = "pci";
1584 power-domains = <&gcc PCIE_0_GDSC>;
1587 phy-names = "pciephy";
1594 bus-range = <0x01 0xff>;
1596 #address-cells = <3>;
1597 #size-cells = <2>;
1603 compatible = "qcom,sm8350-qmp-gen3x1-pcie-phy";
1610 clock-names = "aux", "cfg_ahb", "ref", "rchng", "pipe";
1613 reset-names = "phy";
1615 assigned-clocks = <&gcc GCC_PCIE0_PHY_RCHNG_CLK>;
1616 assigned-clock-rates = <100000000>;
1618 #clock-cells = <0>;
1619 clock-output-names = "pcie_0_pipe_clk";
1621 #phy-cells = <0>;
1627 compatible = "qcom,pcie-sm8350";
1633 reg-names = "parf", "dbi", "elbi", "atu", "config";
1635 linux,pci-domain = <1>;
1636 bus-range = <0x00 0xff>;
1637 num-lanes = <2>;
1639 #address-cells = <3>;
1640 #size-cells = <2>;
1654 interrupt-names = "msi0",
1663 #interrupt-cells = <1>;
1664 interrupt-map-mask = <0 0 0 0x7>;
1665 interrupt-map = <0 0 0 1 &intc 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1678 clock-names = "aux",
1687 iommu-map = <0x0 &apps_smmu 0x1c80 0x1>,
1691 reset-names = "pci";
1693 power-domains = <&gcc PCIE_1_GDSC>;
1696 phy-names = "pciephy";
1703 bus-range = <0x01 0xff>;
1705 #address-cells = <3>;
1706 #size-cells = <2>;
1712 compatible = "qcom,sm8350-qmp-gen3x2-pcie-phy";
1719 clock-names = "aux", "cfg_ahb", "ref", "rchng", "pipe";
1722 reset-names = "phy";
1724 assigned-clocks = <&gcc GCC_PCIE1_PHY_RCHNG_CLK>;
1725 assigned-clock-rates = <100000000>;
1727 #clock-cells = <0>;
1728 clock-output-names = "pcie_1_pipe_clk";
1730 #phy-cells = <0>;
1736 compatible = "qcom,sm8350-ufshc", "qcom,ufshc",
1737 "jedec,ufs-2.0";
1741 phy-names = "ufsphy";
1742 lanes-per-direction = <2>;
1743 #reset-cells = <1>;
1745 reset-names = "rst";
1747 power-domains = <&gcc UFS_PHY_GDSC>;
1750 dma-coherent;
1752 clock-names =
1774 interconnect-names = "ufs-ddr", "cpu-ufs";
1775 freq-table-hz =
1788 compatible = "qcom,sm8350-qmp-ufs-phy";
1794 clock-names = "ref",
1798 power-domains = <&gcc UFS_PHY_GDSC>;
1801 reset-names = "ufsphy";
1803 #clock-cells = <1>;
1804 #phy-cells = <0>;
1809 cryptobam: dma-controller@1dc4000 {
1810 compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
1813 #dma-cells = <1>;
1815 qcom,num-ees = <4>;
1816 num-channels = <16>;
1817 qcom,controlled-remotely;
1823 compatible = "qcom,sm8350-qce", "qcom,sm8150-qce", "qcom,qce";
1826 dma-names = "rx", "tx";
1830 interconnect-names = "memory";
1834 compatible = "qcom,sm8350-ipa";
1841 reg-names = "ipa-reg",
1842 "ipa-shared",
1845 interrupts-extended = <&intc GIC_SPI 655 IRQ_TYPE_EDGE_RISING>,
1849 interrupt-names = "ipa",
1851 "ipa-clock-query",
1852 "ipa-setup-ready";
1855 clock-names = "core";
1859 interconnect-names = "memory",
1864 qcom,smem-states = <&ipa_smp2p_out 0>,
1866 qcom,smem-state-names = "ipa-clock-enabled-valid",
1867 "ipa-clock-enabled";
1873 compatible = "qcom,tcsr-mutex";
1875 #hwlock-cells = <1>;
1879 compatible = "qcom,sm8350-tcsr", "syscon";
1884 compatible = "qcom,sm8350-adsp-pas";
1887 interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,
1892 interrupt-names = "wdog", "fatal", "ready",
1893 "handover", "stop-ack";
1896 clock-names = "xo";
1898 power-domains = <&rpmhpd RPMHPD_LCX>,
1900 power-domain-names = "lcx", "lmx";
1902 memory-region = <&pil_adsp_mem>;
1906 qcom,smem-states = <&smp2p_adsp_out 0>;
1907 qcom,smem-state-names = "stop";
1911 glink-edge {
1912 interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
1919 qcom,remote-pid = <2>;
1922 compatible = "qcom,apr-v2";
1923 qcom,glink-channels = "apr_audio_svc";
1925 #address-cells = <1>;
1926 #size-cells = <0>;
1931 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
1937 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
1940 compatible = "qcom,q6afe-dais";
1941 #address-cells = <1>;
1942 #size-cells = <0>;
1943 #sound-dai-cells = <1>;
1946 q6afecc: clock-controller {
1947 compatible = "qcom,q6afe-clocks";
1948 #clock-cells = <2>;
1955 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
1958 compatible = "qcom,q6asm-dais";
1959 #address-cells = <1>;
1960 #size-cells = <0>;
1961 #sound-dai-cells = <1>;
1981 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
1984 compatible = "qcom,q6adm-routing";
1985 #sound-dai-cells = <0>;
1992 qcom,glink-channels = "fastrpcglink-apps-dsp";
1994 qcom,non-secure-domain;
1995 #address-cells = <1>;
1996 #size-cells = <0>;
1998 compute-cb@3 {
1999 compatible = "qcom,fastrpc-compute-cb";
2004 compute-cb@4 {
2005 compatible = "qcom,fastrpc-compute-cb";
2010 compute-cb@5 {
2011 compatible = "qcom,fastrpc-compute-cb";
2020 compatible = "qcom,sm8350-lpass-lpi-pinctrl";
2026 clock-names = "core", "audio";
2028 gpio-controller;
2029 #gpio-cells = <2>;
2030 gpio-ranges = <&lpass_tlmm 0 0 15>;
2034 compatible = "qcom,adreno-660.1", "qcom,adreno";
2039 reg-names = "kgsl_3d0_reg_memory",
2047 operating-points-v2 = <&gpu_opp_table>;
2050 #cooling-cells = <2>;
2054 zap-shader {
2055 memory-region = <&pil_gpu_mem>;
2059 gpu_opp_table: opp-table {
2060 compatible = "operating-points-v2";
2062 opp-840000000 {
2063 opp-hz = /bits/ 64 <840000000>;
2064 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
2067 opp-778000000 {
2068 opp-hz = /bits/ 64 <778000000>;
2069 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
2072 opp-738000000 {
2073 opp-hz = /bits/ 64 <738000000>;
2074 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
2077 opp-676000000 {
2078 opp-hz = /bits/ 64 <676000000>;
2079 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
2082 opp-608000000 {
2083 opp-hz = /bits/ 64 <608000000>;
2084 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>;
2087 opp-540000000 {
2088 opp-hz = /bits/ 64 <540000000>;
2089 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
2092 opp-491000000 {
2093 opp-hz = /bits/ 64 <491000000>;
2094 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L0>;
2097 opp-443000000 {
2098 opp-hz = /bits/ 64 <443000000>;
2099 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2102 opp-379000000 {
2103 opp-hz = /bits/ 64 <379000000>;
2104 opp-level = <80 /* RPMH_REGULATOR_LEVEL_LOW_SVS_L1 */>;
2107 opp-315000000 {
2108 opp-hz = /bits/ 64 <315000000>;
2109 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
2115 compatible = "qcom,adreno-gmu-660.1", "qcom,adreno-gmu";
2120 reg-names = "gmu", "rscc", "gmu_pdc";
2124 interrupt-names = "hfi", "gmu";
2133 clock-names = "gmu",
2141 power-domains = <&gpucc GPU_CX_GDSC>,
2143 power-domain-names = "cx",
2148 operating-points-v2 = <&gmu_opp_table>;
2150 gmu_opp_table: opp-table {
2151 compatible = "operating-points-v2";
2153 opp-200000000 {
2154 opp-hz = /bits/ 64 <200000000>;
2155 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
2160 gpucc: clock-controller@3d90000 {
2161 compatible = "qcom,sm8350-gpucc";
2166 clock-names = "bi_tcxo",
2169 #clock-cells = <1>;
2170 #reset-cells = <1>;
2171 #power-domain-cells = <1>;
2175 compatible = "qcom,sm8350-smmu-500", "qcom,adreno-smmu",
2176 "qcom,smmu-500", "arm,mmu-500";
2178 #iommu-cells = <2>;
2179 #global-interrupts = <2>;
2200 clock-names = "bus",
2208 power-domains = <&gpucc GPU_CX_GDSC>;
2209 dma-coherent;
2213 compatible = "qcom,sm8350-lpass-ag-noc";
2215 #interconnect-cells = <2>;
2216 qcom,bcm-voters = <&apps_bcm_voter>;
2220 compatible = "qcom,sm8350-mpss-pas";
2223 interrupts-extended = <&intc GIC_SPI 264 IRQ_TYPE_EDGE_RISING>,
2229 interrupt-names = "wdog", "fatal", "ready", "handover",
2230 "stop-ack", "shutdown-ack";
2233 clock-names = "xo";
2235 power-domains = <&rpmhpd RPMHPD_CX>,
2237 power-domain-names = "cx", "mss";
2241 memory-region = <&pil_modem_mem>;
2245 qcom,smem-states = <&smp2p_modem_out 0>;
2246 qcom,smem-state-names = "stop";
2250 glink-edge {
2251 interrupts-extended = <&ipcc IPCC_CLIENT_MPSS
2257 qcom,remote-pid = <1>;
2262 compatible = "qcom,sm8350-slpi-pas";
2265 interrupts-extended = <&pdc 9 IRQ_TYPE_EDGE_RISING>,
2270 interrupt-names = "wdog", "fatal", "ready",
2271 "handover", "stop-ack";
2274 clock-names = "xo";
2276 power-domains = <&rpmhpd RPMHPD_LCX>,
2278 power-domain-names = "lcx", "lmx";
2280 memory-region = <&pil_slpi_mem>;
2284 qcom,smem-states = <&smp2p_slpi_out 0>;
2285 qcom,smem-state-names = "stop";
2289 glink-edge {
2290 interrupts-extended = <&ipcc IPCC_CLIENT_SLPI
2297 qcom,remote-pid = <3>;
2301 qcom,glink-channels = "fastrpcglink-apps-dsp";
2303 qcom,non-secure-domain;
2304 #address-cells = <1>;
2305 #size-cells = <0>;
2307 compute-cb@1 {
2308 compatible = "qcom,fastrpc-compute-cb";
2313 compute-cb@2 {
2314 compatible = "qcom,fastrpc-compute-cb";
2319 compute-cb@3 {
2320 compatible = "qcom,fastrpc-compute-cb";
2323 /* note: shared-cb = <4> in downstream */
2330 compatible = "qcom,sm8350-sdhci", "qcom,sdhci-msm-v5";
2335 interrupt-names = "hc_irq", "pwr_irq";
2340 clock-names = "iface", "core", "xo";
2344 interconnect-names = "sdhc-ddr","cpu-sdhc";
2346 power-domains = <&rpmhpd RPMHPD_CX>;
2347 operating-points-v2 = <&sdhc2_opp_table>;
2348 bus-width = <4>;
2349 dma-coherent;
2353 sdhc2_opp_table: opp-table {
2354 compatible = "operating-points-v2";
2356 opp-100000000 {
2357 opp-hz = /bits/ 64 <100000000>;
2358 required-opps = <&rpmhpd_opp_low_svs>;
2361 opp-202000000 {
2362 opp-hz = /bits/ 64 <202000000>;
2363 required-opps = <&rpmhpd_opp_svs_l1>;
2369 compatible = "qcom,sm8350-usb-hs-phy",
2370 "qcom,usb-snps-hs-7nm-phy";
2373 #phy-cells = <0>;
2376 clock-names = "ref";
2382 compatible = "qcom,sm8250-usb-hs-phy",
2383 "qcom,usb-snps-hs-7nm-phy";
2386 #phy-cells = <0>;
2389 clock-names = "ref";
2395 compatible = "qcom,sm8350-refgen-regulator",
2396 "qcom,sm8250-refgen-regulator";
2401 compatible = "qcom,sm8350-qmp-usb3-dp-phy";
2408 clock-names = "aux", "ref", "com_aux", "usb3_pipe";
2412 reset-names = "phy", "common";
2414 #clock-cells = <1>;
2415 #phy-cells = <1>;
2417 orientation-switch;
2422 #address-cells = <1>;
2423 #size-cells = <0>;
2436 remote-endpoint = <&usb_1_dwc3_ss>;
2444 remote-endpoint = <&mdss_dp_out>;
2451 compatible = "qcom,sm8350-qmp-usb3-uni-phy";
2459 clock-names = "aux",
2463 clock-output-names = "usb3_uni_phy_pipe_clk_src";
2464 #clock-cells = <0>;
2465 #phy-cells = <0>;
2469 reset-names = "phy",
2474 compatible = "qcom,sm8350-dc-noc";
2476 #interconnect-cells = <2>;
2477 qcom,bcm-voters = <&apps_bcm_voter>;
2481 compatible = "qcom,sm8350-gem-noc";
2483 #interconnect-cells = <2>;
2484 qcom,bcm-voters = <&apps_bcm_voter>;
2487 system-cache-controller@9200000 {
2488 compatible = "qcom,sm8350-llcc";
2492 reg-names = "llcc0_base", "llcc1_base", "llcc2_base",
2497 compatible = "qcom,sm8350-compute-noc";
2499 #interconnect-cells = <2>;
2500 qcom,bcm-voters = <&apps_bcm_voter>;
2504 compatible = "qcom,sm8350-cdsp-pas";
2507 interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
2512 interrupt-names = "wdog", "fatal", "ready",
2513 "handover", "stop-ack";
2516 clock-names = "xo";
2518 power-domains = <&rpmhpd RPMHPD_CX>,
2520 power-domain-names = "cx", "mxc";
2524 memory-region = <&pil_cdsp_mem>;
2528 qcom,smem-states = <&smp2p_cdsp_out 0>;
2529 qcom,smem-state-names = "stop";
2533 glink-edge {
2534 interrupts-extended = <&ipcc IPCC_CLIENT_CDSP
2541 qcom,remote-pid = <5>;
2545 qcom,glink-channels = "fastrpcglink-apps-dsp";
2547 qcom,non-secure-domain;
2548 #address-cells = <1>;
2549 #size-cells = <0>;
2551 compute-cb@1 {
2552 compatible = "qcom,fastrpc-compute-cb";
2558 compute-cb@2 {
2559 compatible = "qcom,fastrpc-compute-cb";
2565 compute-cb@3 {
2566 compatible = "qcom,fastrpc-compute-cb";
2572 compute-cb@4 {
2573 compatible = "qcom,fastrpc-compute-cb";
2579 compute-cb@5 {
2580 compatible = "qcom,fastrpc-compute-cb";
2586 compute-cb@6 {
2587 compatible = "qcom,fastrpc-compute-cb";
2593 compute-cb@7 {
2594 compatible = "qcom,fastrpc-compute-cb";
2600 compute-cb@8 {
2601 compatible = "qcom,fastrpc-compute-cb";
2613 compatible = "qcom,sm8350-dwc3", "qcom,dwc3";
2616 #address-cells = <2>;
2617 #size-cells = <2>;
2625 clock-names = "cfg_noc",
2631 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
2633 assigned-clock-rates = <19200000>, <200000000>;
2635 interrupts-extended = <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
2640 interrupt-names = "pwr_event",
2646 power-domains = <&gcc USB30_PRIM_GDSC>;
2652 interconnect-names = "usb-ddr", "apps-usb";
2662 snps,dis-u1-entry-quirk;
2663 snps,dis-u2-entry-quirk;
2665 phy-names = "usb2-phy", "usb3-phy";
2668 #address-cells = <1>;
2669 #size-cells = <0>;
2682 remote-endpoint = <&usb_1_qmpphy_usb_ss_in>;
2690 compatible = "qcom,sm8350-dwc3", "qcom,dwc3";
2693 #address-cells = <2>;
2694 #size-cells = <2>;
2703 clock-names = "cfg_noc",
2710 assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
2712 assigned-clock-rates = <19200000>, <200000000>;
2714 interrupts-extended = <&intc GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
2719 interrupt-names = "pwr_event",
2725 power-domains = <&gcc USB30_SEC_GDSC>;
2731 interconnect-names = "usb-ddr", "apps-usb";
2741 snps,dis-u1-entry-quirk;
2742 snps,dis-u2-entry-quirk;
2744 phy-names = "usb2-phy", "usb3-phy";
2748 mdss: display-subsystem@ae00000 {
2749 compatible = "qcom,sm8350-mdss";
2751 reg-names = "mdss";
2757 interconnect-names = "mdp0-mem",
2758 "mdp1-mem",
2759 "cpu-cfg";
2761 power-domains = <&dispcc MDSS_GDSC>;
2768 clock-names = "iface", "bus", "nrt_bus", "core";
2771 interrupt-controller;
2772 #interrupt-cells = <1>;
2778 #address-cells = <2>;
2779 #size-cells = <2>;
2782 mdss_mdp: display-controller@ae01000 {
2783 compatible = "qcom,sm8350-dpu";
2786 reg-names = "mdp", "vbif";
2794 clock-names = "bus",
2801 assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
2802 assigned-clock-rates = <19200000>;
2804 operating-points-v2 = <&dpu_opp_table>;
2805 power-domains = <&rpmhpd RPMHPD_MMCX>;
2807 interrupt-parent = <&mdss>;
2810 dpu_opp_table: opp-table {
2811 compatible = "operating-points-v2";
2813 /* TODO: opp-200000000 should work with
2818 opp-200000000 {
2819 opp-hz = /bits/ 64 <200000000>;
2820 required-opps = <&rpmhpd_opp_svs>;
2823 opp-300000000 {
2824 opp-hz = /bits/ 64 <300000000>;
2825 required-opps = <&rpmhpd_opp_svs>;
2828 opp-345000000 {
2829 opp-hz = /bits/ 64 <345000000>;
2830 required-opps = <&rpmhpd_opp_svs_l1>;
2833 opp-460000000 {
2834 opp-hz = /bits/ 64 <460000000>;
2835 required-opps = <&rpmhpd_opp_nom>;
2840 #address-cells = <1>;
2841 #size-cells = <0>;
2846 remote-endpoint = <&mdss_dsi0_in>;
2853 remote-endpoint = <&mdss_dsi1_in>;
2860 remote-endpoint = <&mdss_dp_in>;
2866 mdss_dp: displayport-controller@ae90000 {
2867 compatible = "qcom,sm8350-dp";
2873 interrupt-parent = <&mdss>;
2880 clock-names = "core_iface",
2886 assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>,
2888 assigned-clock-parents = <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>,
2892 phy-names = "dp";
2894 #sound-dai-cells = <0>;
2896 operating-points-v2 = <&dp_opp_table>;
2897 power-domains = <&rpmhpd RPMHPD_MMCX>;
2902 #address-cells = <1>;
2903 #size-cells = <0>;
2908 remote-endpoint = <&dpu_intf0_out>;
2916 remote-endpoint = <&usb_1_qmpphy_dp_in>;
2921 dp_opp_table: opp-table {
2922 compatible = "operating-points-v2";
2924 opp-160000000 {
2925 opp-hz = /bits/ 64 <160000000>;
2926 required-opps = <&rpmhpd_opp_low_svs>;
2929 opp-270000000 {
2930 opp-hz = /bits/ 64 <270000000>;
2931 required-opps = <&rpmhpd_opp_svs>;
2934 opp-540000000 {
2935 opp-hz = /bits/ 64 <540000000>;
2936 required-opps = <&rpmhpd_opp_svs_l1>;
2939 opp-810000000 {
2940 opp-hz = /bits/ 64 <810000000>;
2941 required-opps = <&rpmhpd_opp_nom>;
2947 compatible = "qcom,sm8350-dsi-ctrl", "qcom,mdss-dsi-ctrl";
2949 reg-names = "dsi_ctrl";
2951 interrupt-parent = <&mdss>;
2960 clock-names = "byte",
2967 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
2969 assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
2972 operating-points-v2 = <&dsi0_opp_table>;
2973 power-domains = <&rpmhpd RPMHPD_MMCX>;
2974 refgen-supply = <&refgen>;
2978 #address-cells = <1>;
2979 #size-cells = <0>;
2983 dsi0_opp_table: opp-table {
2984 compatible = "operating-points-v2";
2986 /* TODO: opp-187500000 should work with
2991 opp-187500000 {
2992 opp-hz = /bits/ 64 <187500000>;
2993 required-opps = <&rpmhpd_opp_svs>;
2996 opp-300000000 {
2997 opp-hz = /bits/ 64 <300000000>;
2998 required-opps = <&rpmhpd_opp_svs>;
3001 opp-358000000 {
3002 opp-hz = /bits/ 64 <358000000>;
3003 required-opps = <&rpmhpd_opp_svs_l1>;
3008 #address-cells = <1>;
3009 #size-cells = <0>;
3014 remote-endpoint = <&dpu_intf1_out>;
3027 compatible = "qcom,sm8350-dsi-phy-5nm";
3031 reg-names = "dsi_phy",
3035 #clock-cells = <1>;
3036 #phy-cells = <0>;
3040 clock-names = "iface", "ref";
3046 compatible = "qcom,sm8350-dsi-ctrl", "qcom,mdss-dsi-ctrl";
3048 reg-names = "dsi_ctrl";
3050 interrupt-parent = <&mdss>;
3059 clock-names = "byte",
3066 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>,
3068 assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>,
3071 operating-points-v2 = <&dsi1_opp_table>;
3072 power-domains = <&rpmhpd RPMHPD_MMCX>;
3073 refgen-supply = <&refgen>;
3077 #address-cells = <1>;
3078 #size-cells = <0>;
3082 dsi1_opp_table: opp-table {
3083 compatible = "operating-points-v2";
3085 /* TODO: opp-187500000 should work with
3090 opp-187500000 {
3091 opp-hz = /bits/ 64 <187500000>;
3092 required-opps = <&rpmhpd_opp_svs>;
3095 opp-300000000 {
3096 opp-hz = /bits/ 64 <300000000>;
3097 required-opps = <&rpmhpd_opp_svs>;
3100 opp-358000000 {
3101 opp-hz = /bits/ 64 <358000000>;
3102 required-opps = <&rpmhpd_opp_svs_l1>;
3107 #address-cells = <1>;
3108 #size-cells = <0>;
3113 remote-endpoint = <&dpu_intf2_out>;
3126 compatible = "qcom,sm8350-dsi-phy-5nm";
3130 reg-names = "dsi_phy",
3134 #clock-cells = <1>;
3135 #phy-cells = <0>;
3139 clock-names = "iface", "ref";
3145 dispcc: clock-controller@af00000 {
3146 compatible = "qcom,sm8350-dispcc";
3155 clock-names = "bi_tcxo",
3162 #clock-cells = <1>;
3163 #reset-cells = <1>;
3164 #power-domain-cells = <1>;
3166 power-domains = <&rpmhpd RPMHPD_MMCX>;
3169 pdc: interrupt-controller@b220000 {
3170 compatible = "qcom,sm8350-pdc", "qcom,pdc";
3172 qcom,pdc-ranges = <0 480 40>, <40 140 14>, <54 263 1>, <55 306 4>,
3176 #interrupt-cells = <2>;
3177 interrupt-parent = <&intc>;
3178 interrupt-controller;
3181 tsens0: thermal-sensor@c263000 {
3182 compatible = "qcom,sm8350-tsens", "qcom,tsens-v2";
3186 interrupts-extended = <&pdc 26 IRQ_TYPE_LEVEL_HIGH>,
3188 interrupt-names = "uplow", "critical";
3189 #thermal-sensor-cells = <1>;
3192 tsens1: thermal-sensor@c265000 {
3193 compatible = "qcom,sm8350-tsens", "qcom,tsens-v2";
3197 interrupts-extended = <&pdc 27 IRQ_TYPE_LEVEL_HIGH>,
3199 interrupt-names = "uplow", "critical";
3200 #thermal-sensor-cells = <1>;
3203 aoss_qmp: power-management@c300000 {
3204 compatible = "qcom,sm8350-aoss-qmp", "qcom,aoss-qmp";
3206 interrupts-extended = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP
3210 #clock-cells = <0>;
3214 compatible = "qcom,rpmh-stats";
3219 compatible = "qcom,spmi-pmic-arb";
3225 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
3226 interrupt-names = "periph_irq";
3227 interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
3230 #address-cells = <2>;
3231 #size-cells = <0>;
3232 interrupt-controller;
3233 #interrupt-cells = <4>;
3237 compatible = "qcom,sm8350-tlmm";
3240 gpio-controller;
3241 #gpio-cells = <2>;
3242 interrupt-controller;
3243 #interrupt-cells = <2>;
3244 gpio-ranges = <&tlmm 0 0 204>;
3245 wakeup-parent = <&pdc>;
3247 sdc2_default_state: sdc2-default-state {
3248 clk-pins {
3250 drive-strength = <16>;
3251 bias-disable;
3254 cmd-pins {
3256 drive-strength = <16>;
3257 bias-pull-up;
3260 data-pins {
3262 drive-strength = <16>;
3263 bias-pull-up;
3267 sdc2_sleep_state: sdc2-sleep-state {
3268 clk-pins {
3270 drive-strength = <2>;
3271 bias-disable;
3274 cmd-pins {
3276 drive-strength = <2>;
3277 bias-pull-up;
3280 data-pins {
3282 drive-strength = <2>;
3283 bias-pull-up;
3287 qup_uart3_default_state: qup-uart3-default-state {
3288 rx-pins {
3292 tx-pins {
3298 qup_uart6_default: qup-uart6-default-state {
3301 drive-strength = <2>;
3302 bias-disable;
3305 qup_uart18_default: qup-uart18-default-state {
3308 drive-strength = <2>;
3309 bias-disable;
3312 qup_i2c0_default: qup-i2c0-default-state {
3315 drive-strength = <2>;
3316 bias-pull-up;
3319 qup_i2c1_default: qup-i2c1-default-state {
3322 drive-strength = <2>;
3323 bias-pull-up;
3326 qup_i2c2_default: qup-i2c2-default-state {
3329 drive-strength = <2>;
3330 bias-pull-up;
3333 qup_i2c4_default: qup-i2c4-default-state {
3336 drive-strength = <2>;
3337 bias-pull-up;
3340 qup_i2c5_default: qup-i2c5-default-state {
3343 drive-strength = <2>;
3344 bias-pull-up;
3347 qup_i2c6_default: qup-i2c6-default-state {
3350 drive-strength = <2>;
3351 bias-pull-up;
3354 qup_i2c7_default: qup-i2c7-default-state {
3357 drive-strength = <2>;
3358 bias-disable;
3361 qup_i2c8_default: qup-i2c8-default-state {
3364 drive-strength = <2>;
3365 bias-pull-up;
3368 qup_i2c9_default: qup-i2c9-default-state {
3371 drive-strength = <2>;
3372 bias-pull-up;
3375 qup_i2c10_default: qup-i2c10-default-state {
3378 drive-strength = <2>;
3379 bias-pull-up;
3382 qup_i2c11_default: qup-i2c11-default-state {
3385 drive-strength = <2>;
3386 bias-pull-up;
3389 qup_i2c12_default: qup-i2c12-default-state {
3392 drive-strength = <2>;
3393 bias-pull-up;
3396 qup_i2c13_default: qup-i2c13-default-state {
3399 drive-strength = <2>;
3400 bias-pull-up;
3403 qup_i2c14_default: qup-i2c14-default-state {
3406 drive-strength = <2>;
3407 bias-disable;
3410 qup_i2c15_default: qup-i2c15-default-state {
3413 drive-strength = <2>;
3414 bias-disable;
3417 qup_i2c16_default: qup-i2c16-default-state {
3420 drive-strength = <2>;
3421 bias-disable;
3424 qup_i2c17_default: qup-i2c17-default-state {
3427 drive-strength = <2>;
3428 bias-disable;
3431 qup_i2c19_default: qup-i2c19-default-state {
3434 drive-strength = <2>;
3435 bias-disable;
3440 compatible = "qcom,sm8350-smmu-500", "arm,mmu-500";
3442 #iommu-cells = <2>;
3443 #global-interrupts = <2>;
3542 dma-coherent;
3545 intc: interrupt-controller@17a00000 {
3546 compatible = "arm,gic-v3";
3547 #interrupt-cells = <3>;
3548 interrupt-controller;
3549 #redistributor-regions = <1>;
3550 redistributor-stride = <0 0x20000>;
3557 compatible = "arm,armv7-timer-mem";
3558 #address-cells = <1>;
3559 #size-cells = <1>;
3562 clock-frequency = <19200000>;
3565 frame-number = <0>;
3573 frame-number = <1>;
3580 frame-number = <2>;
3587 frame-number = <3>;
3594 frame-number = <4>;
3601 frame-number = <5>;
3608 frame-number = <6>;
3617 compatible = "qcom,rpmh-rsc";
3621 reg-names = "drv-0", "drv-1", "drv-2";
3625 qcom,tcs-offset = <0xd00>;
3626 qcom,drv-id = <2>;
3627 qcom,tcs-config = <ACTIVE_TCS 2>, <SLEEP_TCS 3>,
3629 power-domains = <&cluster_pd>;
3631 rpmhcc: clock-controller {
3632 compatible = "qcom,sm8350-rpmh-clk";
3633 #clock-cells = <1>;
3634 clock-names = "xo";
3638 rpmhpd: power-controller {
3639 compatible = "qcom,sm8350-rpmhpd";
3640 #power-domain-cells = <1>;
3641 operating-points-v2 = <&rpmhpd_opp_table>;
3643 rpmhpd_opp_table: opp-table {
3644 compatible = "operating-points-v2";
3647 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
3651 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
3655 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
3659 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
3663 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
3667 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
3671 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
3675 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
3679 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
3683 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
3688 apps_bcm_voter: bcm-voter {
3689 compatible = "qcom,bcm-voter";
3694 compatible = "qcom,sm8350-cpufreq-epss", "qcom,cpufreq-epss";
3698 reg-names = "freq-domain0", "freq-domain1", "freq-domain2";
3703 interrupt-names = "dcvsh-irq-0",
3704 "dcvsh-irq-1",
3705 "dcvsh-irq-2";
3708 clock-names = "xo", "alternate";
3710 #freq-domain-cells = <1>;
3711 #clock-cells = <1>;
3715 thermal_zones: thermal-zones {
3716 cpu0-thermal {
3717 polling-delay-passive = <250>;
3719 thermal-sensors = <&tsens0 1>;
3722 cpu0_alert0: trip-point0 {
3728 cpu0_alert1: trip-point1 {
3734 cpu0_crit: cpu-crit {
3741 cooling-maps {
3744 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3751 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3759 cpu1-thermal {
3760 polling-delay-passive = <250>;
3762 thermal-sensors = <&tsens0 2>;
3765 cpu1_alert0: trip-point0 {
3771 cpu1_alert1: trip-point1 {
3777 cpu1_crit: cpu-crit {
3784 cooling-maps {
3787 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3794 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3802 cpu2-thermal {
3803 polling-delay-passive = <250>;
3805 thermal-sensors = <&tsens0 3>;
3808 cpu2_alert0: trip-point0 {
3814 cpu2_alert1: trip-point1 {
3820 cpu2_crit: cpu-crit {
3827 cooling-maps {
3830 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3837 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3845 cpu3-thermal {
3846 polling-delay-passive = <250>;
3848 thermal-sensors = <&tsens0 4>;
3851 cpu3_alert0: trip-point0 {
3857 cpu3_alert1: trip-point1 {
3863 cpu3_crit: cpu-crit {
3870 cooling-maps {
3873 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3880 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3888 cpu4-top-thermal {
3889 polling-delay-passive = <250>;
3891 thermal-sensors = <&tsens0 7>;
3894 cpu4_top_alert0: trip-point0 {
3900 cpu4_top_alert1: trip-point1 {
3906 cpu4_top_crit: cpu-crit {
3913 cooling-maps {
3916 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3923 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3931 cpu5-top-thermal {
3932 polling-delay-passive = <250>;
3934 thermal-sensors = <&tsens0 8>;
3937 cpu5_top_alert0: trip-point0 {
3943 cpu5_top_alert1: trip-point1 {
3949 cpu5_top_crit: cpu-crit {
3956 cooling-maps {
3959 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3966 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3974 cpu6-top-thermal {
3975 polling-delay-passive = <250>;
3977 thermal-sensors = <&tsens0 9>;
3980 cpu6_top_alert0: trip-point0 {
3986 cpu6_top_alert1: trip-point1 {
3992 cpu6_top_crit: cpu-crit {
3999 cooling-maps {
4002 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4009 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4017 cpu7-top-thermal {
4018 polling-delay-passive = <250>;
4020 thermal-sensors = <&tsens0 10>;
4023 cpu7_top_alert0: trip-point0 {
4029 cpu7_top_alert1: trip-point1 {
4035 cpu7_top_crit: cpu-crit {
4042 cooling-maps {
4045 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4052 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4060 cpu4-bottom-thermal {
4061 polling-delay-passive = <250>;
4063 thermal-sensors = <&tsens0 11>;
4066 cpu4_bottom_alert0: trip-point0 {
4072 cpu4_bottom_alert1: trip-point1 {
4078 cpu4_bottom_crit: cpu-crit {
4085 cooling-maps {
4088 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4095 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4103 cpu5-bottom-thermal {
4104 polling-delay-passive = <250>;
4106 thermal-sensors = <&tsens0 12>;
4109 cpu5_bottom_alert0: trip-point0 {
4115 cpu5_bottom_alert1: trip-point1 {
4121 cpu5_bottom_crit: cpu-crit {
4128 cooling-maps {
4131 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4138 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4146 cpu6-bottom-thermal {
4147 polling-delay-passive = <250>;
4149 thermal-sensors = <&tsens0 13>;
4152 cpu6_bottom_alert0: trip-point0 {
4158 cpu6_bottom_alert1: trip-point1 {
4164 cpu6_bottom_crit: cpu-crit {
4171 cooling-maps {
4174 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4181 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4189 cpu7-bottom-thermal {
4190 polling-delay-passive = <250>;
4192 thermal-sensors = <&tsens0 14>;
4195 cpu7_bottom_alert0: trip-point0 {
4201 cpu7_bottom_alert1: trip-point1 {
4207 cpu7_bottom_crit: cpu-crit {
4214 cooling-maps {
4217 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4224 cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4232 aoss0-thermal {
4233 polling-delay-passive = <250>;
4235 thermal-sensors = <&tsens0 0>;
4238 aoss0_alert0: trip-point0 {
4246 cluster0-thermal {
4247 polling-delay-passive = <250>;
4249 thermal-sensors = <&tsens0 5>;
4252 cluster0_alert0: trip-point0 {
4257 cluster0_crit: cluster0-crit {
4265 cluster1-thermal {
4266 polling-delay-passive = <250>;
4268 thermal-sensors = <&tsens0 6>;
4271 cluster1_alert0: trip-point0 {
4276 cluster1_crit: cluster1-crit {
4284 aoss1-thermal {
4285 polling-delay-passive = <250>;
4287 thermal-sensors = <&tsens1 0>;
4290 aoss1_alert0: trip-point0 {
4298 gpu-top-thermal {
4299 polling-delay-passive = <250>;
4301 thermal-sensors = <&tsens1 1>;
4303 cooling-maps {
4306 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4311 gpu_top_alert0: trip-point0 {
4317 trip-point1 {
4323 trip-point2 {
4331 gpu-bottom-thermal {
4332 polling-delay-passive = <250>;
4334 thermal-sensors = <&tsens1 2>;
4336 cooling-maps {
4339 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4344 gpu_bottom_alert0: trip-point0 {
4350 trip-point1 {
4356 trip-point2 {
4364 nspss1-thermal {
4365 polling-delay-passive = <250>;
4367 thermal-sensors = <&tsens1 3>;
4370 nspss1_alert0: trip-point0 {
4378 nspss2-thermal {
4379 polling-delay-passive = <250>;
4381 thermal-sensors = <&tsens1 4>;
4384 nspss2_alert0: trip-point0 {
4392 nspss3-thermal {
4393 polling-delay-passive = <250>;
4395 thermal-sensors = <&tsens1 5>;
4398 nspss3_alert0: trip-point0 {
4406 video-thermal {
4407 polling-delay-passive = <250>;
4409 thermal-sensors = <&tsens1 6>;
4412 video_alert0: trip-point0 {
4420 mem-thermal {
4421 polling-delay-passive = <250>;
4423 thermal-sensors = <&tsens1 7>;
4426 mem_alert0: trip-point0 {
4434 modem1-top-thermal {
4435 polling-delay-passive = <250>;
4437 thermal-sensors = <&tsens1 8>;
4440 modem1_alert0: trip-point0 {
4448 modem2-top-thermal {
4449 polling-delay-passive = <250>;
4451 thermal-sensors = <&tsens1 9>;
4454 modem2_alert0: trip-point0 {
4462 modem3-top-thermal {
4463 polling-delay-passive = <250>;
4465 thermal-sensors = <&tsens1 10>;
4468 modem3_alert0: trip-point0 {
4476 modem4-top-thermal {
4477 polling-delay-passive = <250>;
4479 thermal-sensors = <&tsens1 11>;
4482 modem4_alert0: trip-point0 {
4490 camera-top-thermal {
4491 polling-delay-passive = <250>;
4493 thermal-sensors = <&tsens1 12>;
4496 camera1_alert0: trip-point0 {
4504 cam-bottom-thermal {
4505 polling-delay-passive = <250>;
4507 thermal-sensors = <&tsens1 13>;
4510 camera2_alert0: trip-point0 {
4520 compatible = "arm,armv8-timer";