blob: e506793407d80671b517403dd1997310f4edf66e [file] [log] [blame]
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * SDM845 SoC device tree source
4 *
5 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
6 */
7
Robert Foss07484de2020-03-24 16:58:39 +01008#include <dt-bindings/clock/qcom,camcc-sdm845.h>
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07009#include <dt-bindings/clock/qcom,dispcc-sdm845.h>
Douglas Anderson897cf342018-06-13 09:53:51 -070010#include <dt-bindings/clock/qcom,gcc-sdm845.h>
Douglas Anderson9aa4a272018-11-28 10:57:43 -080011#include <dt-bindings/clock/qcom,gpucc-sdm845.h>
Sai Prakash Ranjanea0edd72019-01-09 23:16:49 +053012#include <dt-bindings/clock/qcom,lpass-sdm845.h>
Douglas Anderson717f2012018-06-18 14:50:51 -070013#include <dt-bindings/clock/qcom,rpmh.h>
Taniya Das05556682018-12-03 11:36:29 -080014#include <dt-bindings/clock/qcom,videocc-sdm845.h>
Sibi Sankar54b50f22020-07-03 02:16:43 +053015#include <dt-bindings/interconnect/qcom,osm-l3.h>
Georgi Djakov71f1fdd2019-03-11 16:06:02 +020016#include <dt-bindings/interconnect/qcom,sdm845.h>
Rajendra Nayak6d4cf752018-03-12 19:42:24 +053017#include <dt-bindings/interrupt-controller/arm-gic.h>
Manu Gautamca4db2b2018-08-22 10:36:27 -070018#include <dt-bindings/phy/phy-qcom-qusb2.h>
Rajendra Nayak596a4342019-03-20 13:39:45 +053019#include <dt-bindings/power/qcom-rpmpd.h>
Sibi Sankaread5eea2018-09-01 15:23:55 -070020#include <dt-bindings/reset/qcom,sdm845-aoss.h>
Sibi Sankar13393da2018-10-26 17:56:53 +053021#include <dt-bindings/reset/qcom,sdm845-pdc.h>
Srinivas Kandagatla3898fdc2020-03-12 14:30:21 +000022#include <dt-bindings/soc/qcom,apr.h>
Douglas Andersonc83545d2018-06-18 14:50:50 -070023#include <dt-bindings/soc/qcom,rpmh-rsc.h>
Amit Kucheriac47fc192019-02-06 16:04:49 +053024#include <dt-bindings/clock/qcom,gcc-sdm845.h>
25#include <dt-bindings/thermal/thermal.h>
Rajendra Nayak6d4cf752018-03-12 19:42:24 +053026
27/ {
28 interrupt-parent = <&intc>;
29
30 #address-cells = <2>;
31 #size-cells = <2>;
32
Douglas Anderson897cf342018-06-13 09:53:51 -070033 aliases {
34 i2c0 = &i2c0;
35 i2c1 = &i2c1;
36 i2c2 = &i2c2;
37 i2c3 = &i2c3;
38 i2c4 = &i2c4;
39 i2c5 = &i2c5;
40 i2c6 = &i2c6;
41 i2c7 = &i2c7;
42 i2c8 = &i2c8;
43 i2c9 = &i2c9;
44 i2c10 = &i2c10;
45 i2c11 = &i2c11;
46 i2c12 = &i2c12;
47 i2c13 = &i2c13;
48 i2c14 = &i2c14;
49 i2c15 = &i2c15;
50 spi0 = &spi0;
51 spi1 = &spi1;
52 spi2 = &spi2;
53 spi3 = &spi3;
54 spi4 = &spi4;
55 spi5 = &spi5;
56 spi6 = &spi6;
57 spi7 = &spi7;
58 spi8 = &spi8;
59 spi9 = &spi9;
60 spi10 = &spi10;
61 spi11 = &spi11;
62 spi12 = &spi12;
63 spi13 = &spi13;
64 spi14 = &spi14;
65 spi15 = &spi15;
66 };
67
Rajendra Nayak6d4cf752018-03-12 19:42:24 +053068 chosen { };
69
70 memory@80000000 {
71 device_type = "memory";
72 /* We expect the bootloader to fill in the size */
73 reg = <0 0x80000000 0 0>;
74 };
75
Sibi S71c84282018-04-30 20:14:28 +053076 reserved-memory {
77 #address-cells = <2>;
78 #size-cells = <2>;
79 ranges;
80
Bjorn Anderssona23b5372019-02-05 21:13:28 -080081 hyp_mem: memory@85700000 {
82 reg = <0 0x85700000 0 0x600000>;
83 no-map;
84 };
85
86 xbl_mem: memory@85e00000 {
87 reg = <0 0x85e00000 0 0x100000>;
88 no-map;
89 };
90
91 aop_mem: memory@85fc0000 {
Sibi S71c84282018-04-30 20:14:28 +053092 reg = <0 0x85fc0000 0 0x20000>;
93 no-map;
94 };
95
Bjorn Anderssona23b5372019-02-05 21:13:28 -080096 aop_cmd_db_mem: memory@85fe0000 {
Douglas Anderson2da52392018-05-14 21:43:06 -070097 compatible = "qcom,cmd-db";
Bjorn Anderssona23b5372019-02-05 21:13:28 -080098 reg = <0x0 0x85fe0000 0 0x20000>;
Douglas Anderson2da52392018-05-14 21:43:06 -070099 no-map;
100 };
101
Sibi S71c84282018-04-30 20:14:28 +0530102 smem_mem: memory@86000000 {
Bjorn Anderssona23b5372019-02-05 21:13:28 -0800103 reg = <0x0 0x86000000 0 0x200000>;
Sibi S71c84282018-04-30 20:14:28 +0530104 no-map;
105 };
106
Bjorn Anderssona23b5372019-02-05 21:13:28 -0800107 tz_mem: memory@86200000 {
Sibi S71c84282018-04-30 20:14:28 +0530108 reg = <0 0x86200000 0 0x2d00000>;
109 no-map;
110 };
Govind Singh022bccb2018-11-05 18:38:37 +0530111
Bjorn Anderssonbdecbe62019-02-05 21:13:29 -0800112 rmtfs_mem: memory@88f00000 {
113 compatible = "qcom,rmtfs-mem";
114 reg = <0 0x88f00000 0 0x200000>;
115 no-map;
116
117 qcom,client-id = <1>;
118 qcom,vmid = <15>;
119 };
120
Bjorn Anderssona23b5372019-02-05 21:13:28 -0800121 qseecom_mem: memory@8ab00000 {
122 reg = <0 0x8ab00000 0 0x1400000>;
123 no-map;
124 };
125
126 camera_mem: memory@8bf00000 {
127 reg = <0 0x8bf00000 0 0x500000>;
128 no-map;
129 };
130
131 ipa_fw_mem: memory@8c400000 {
132 reg = <0 0x8c400000 0 0x10000>;
133 no-map;
134 };
135
136 ipa_gsi_mem: memory@8c410000 {
137 reg = <0 0x8c410000 0 0x5000>;
138 no-map;
139 };
140
141 gpu_mem: memory@8c415000 {
142 reg = <0 0x8c415000 0 0x2000>;
143 no-map;
144 };
145
146 adsp_mem: memory@8c500000 {
147 reg = <0 0x8c500000 0 0x1a00000>;
148 no-map;
149 };
150
151 wlan_msa_mem: memory@8df00000 {
152 reg = <0 0x8df00000 0 0x100000>;
Govind Singh022bccb2018-11-05 18:38:37 +0530153 no-map;
154 };
Sibi Sankar8ed6d482018-10-31 11:39:21 +0530155
156 mpss_region: memory@8e000000 {
157 reg = <0 0x8e000000 0 0x7800000>;
158 no-map;
159 };
160
Bjorn Anderssona23b5372019-02-05 21:13:28 -0800161 venus_mem: memory@95800000 {
162 reg = <0 0x95800000 0 0x500000>;
163 no-map;
164 };
165
166 cdsp_mem: memory@95d00000 {
167 reg = <0 0x95d00000 0 0x800000>;
168 no-map;
169 };
170
Sibi Sankar8ed6d482018-10-31 11:39:21 +0530171 mba_region: memory@96500000 {
172 reg = <0 0x96500000 0 0x200000>;
173 no-map;
174 };
Bjorn Anderssona23b5372019-02-05 21:13:28 -0800175
176 slpi_mem: memory@96700000 {
177 reg = <0 0x96700000 0 0x1400000>;
178 no-map;
179 };
180
181 spss_mem: memory@97b00000 {
182 reg = <0 0x97b00000 0 0x100000>;
183 no-map;
184 };
Sibi S71c84282018-04-30 20:14:28 +0530185 };
186
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530187 cpus {
188 #address-cells = <2>;
189 #size-cells = <0>;
190
191 CPU0: cpu@0 {
192 device_type = "cpu";
193 compatible = "qcom,kryo385";
194 reg = <0x0 0x0>;
195 enable-method = "psci";
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530196 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
197 &LITTLE_CPU_SLEEP_1
198 &CLUSTER_SLEEP_0>;
Matthias Kaehlckeb6bc6422019-01-16 15:40:39 -0800199 capacity-dmips-mhz = <607>;
Matthias Kaehlcked4507d42019-08-07 11:44:44 -0700200 dynamic-power-coefficient = <100>;
Taniya Dasc604b82a2018-12-21 23:44:23 +0530201 qcom,freq-domain = <&cpufreq_hw 0>;
Sibi Sankar54b50f22020-07-03 02:16:43 +0530202 operating-points-v2 = <&cpu0_opp_table>;
203 interconnects = <&gladiator_noc MASTER_APPSS_PROC &mem_noc SLAVE_EBI1>,
204 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530205 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530206 next-level-cache = <&L2_0>;
207 L2_0: l2-cache {
208 compatible = "cache";
209 next-level-cache = <&L3_0>;
210 L3_0: l3-cache {
211 compatible = "cache";
212 };
213 };
214 };
215
216 CPU1: cpu@100 {
217 device_type = "cpu";
218 compatible = "qcom,kryo385";
219 reg = <0x0 0x100>;
220 enable-method = "psci";
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530221 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
222 &LITTLE_CPU_SLEEP_1
223 &CLUSTER_SLEEP_0>;
Matthias Kaehlckeb6bc6422019-01-16 15:40:39 -0800224 capacity-dmips-mhz = <607>;
Matthias Kaehlcked4507d42019-08-07 11:44:44 -0700225 dynamic-power-coefficient = <100>;
Taniya Dasc604b82a2018-12-21 23:44:23 +0530226 qcom,freq-domain = <&cpufreq_hw 0>;
Sibi Sankar54b50f22020-07-03 02:16:43 +0530227 operating-points-v2 = <&cpu0_opp_table>;
228 interconnects = <&gladiator_noc MASTER_APPSS_PROC &mem_noc SLAVE_EBI1>,
229 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530230 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530231 next-level-cache = <&L2_100>;
232 L2_100: l2-cache {
233 compatible = "cache";
234 next-level-cache = <&L3_0>;
235 };
236 };
237
238 CPU2: cpu@200 {
239 device_type = "cpu";
240 compatible = "qcom,kryo385";
241 reg = <0x0 0x200>;
242 enable-method = "psci";
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530243 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
244 &LITTLE_CPU_SLEEP_1
245 &CLUSTER_SLEEP_0>;
Matthias Kaehlckeb6bc6422019-01-16 15:40:39 -0800246 capacity-dmips-mhz = <607>;
Matthias Kaehlcked4507d42019-08-07 11:44:44 -0700247 dynamic-power-coefficient = <100>;
Taniya Dasc604b82a2018-12-21 23:44:23 +0530248 qcom,freq-domain = <&cpufreq_hw 0>;
Sibi Sankar54b50f22020-07-03 02:16:43 +0530249 operating-points-v2 = <&cpu0_opp_table>;
250 interconnects = <&gladiator_noc MASTER_APPSS_PROC &mem_noc SLAVE_EBI1>,
251 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530252 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530253 next-level-cache = <&L2_200>;
254 L2_200: l2-cache {
255 compatible = "cache";
256 next-level-cache = <&L3_0>;
257 };
258 };
259
260 CPU3: cpu@300 {
261 device_type = "cpu";
262 compatible = "qcom,kryo385";
263 reg = <0x0 0x300>;
264 enable-method = "psci";
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530265 cpu-idle-states = <&LITTLE_CPU_SLEEP_0
266 &LITTLE_CPU_SLEEP_1
267 &CLUSTER_SLEEP_0>;
Matthias Kaehlckeb6bc6422019-01-16 15:40:39 -0800268 capacity-dmips-mhz = <607>;
Matthias Kaehlcked4507d42019-08-07 11:44:44 -0700269 dynamic-power-coefficient = <100>;
Taniya Dasc604b82a2018-12-21 23:44:23 +0530270 qcom,freq-domain = <&cpufreq_hw 0>;
Sibi Sankar54b50f22020-07-03 02:16:43 +0530271 operating-points-v2 = <&cpu0_opp_table>;
272 interconnects = <&gladiator_noc MASTER_APPSS_PROC &mem_noc SLAVE_EBI1>,
273 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530274 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530275 next-level-cache = <&L2_300>;
276 L2_300: l2-cache {
277 compatible = "cache";
278 next-level-cache = <&L3_0>;
279 };
280 };
281
282 CPU4: cpu@400 {
283 device_type = "cpu";
284 compatible = "qcom,kryo385";
285 reg = <0x0 0x400>;
286 enable-method = "psci";
Matthias Kaehlckeb6bc6422019-01-16 15:40:39 -0800287 capacity-dmips-mhz = <1024>;
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530288 cpu-idle-states = <&BIG_CPU_SLEEP_0
289 &BIG_CPU_SLEEP_1
290 &CLUSTER_SLEEP_0>;
Matthias Kaehlcked4507d42019-08-07 11:44:44 -0700291 dynamic-power-coefficient = <396>;
Taniya Dasc604b82a2018-12-21 23:44:23 +0530292 qcom,freq-domain = <&cpufreq_hw 1>;
Sibi Sankar54b50f22020-07-03 02:16:43 +0530293 operating-points-v2 = <&cpu4_opp_table>;
294 interconnects = <&gladiator_noc MASTER_APPSS_PROC &mem_noc SLAVE_EBI1>,
295 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530296 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530297 next-level-cache = <&L2_400>;
298 L2_400: l2-cache {
299 compatible = "cache";
300 next-level-cache = <&L3_0>;
301 };
302 };
303
304 CPU5: cpu@500 {
305 device_type = "cpu";
306 compatible = "qcom,kryo385";
307 reg = <0x0 0x500>;
308 enable-method = "psci";
Matthias Kaehlckeb6bc6422019-01-16 15:40:39 -0800309 capacity-dmips-mhz = <1024>;
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530310 cpu-idle-states = <&BIG_CPU_SLEEP_0
311 &BIG_CPU_SLEEP_1
312 &CLUSTER_SLEEP_0>;
Matthias Kaehlcked4507d42019-08-07 11:44:44 -0700313 dynamic-power-coefficient = <396>;
Taniya Dasc604b82a2018-12-21 23:44:23 +0530314 qcom,freq-domain = <&cpufreq_hw 1>;
Sibi Sankar54b50f22020-07-03 02:16:43 +0530315 operating-points-v2 = <&cpu4_opp_table>;
316 interconnects = <&gladiator_noc MASTER_APPSS_PROC &mem_noc SLAVE_EBI1>,
317 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530318 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530319 next-level-cache = <&L2_500>;
320 L2_500: l2-cache {
321 compatible = "cache";
322 next-level-cache = <&L3_0>;
323 };
324 };
325
326 CPU6: cpu@600 {
327 device_type = "cpu";
328 compatible = "qcom,kryo385";
329 reg = <0x0 0x600>;
330 enable-method = "psci";
Matthias Kaehlckeb6bc6422019-01-16 15:40:39 -0800331 capacity-dmips-mhz = <1024>;
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530332 cpu-idle-states = <&BIG_CPU_SLEEP_0
333 &BIG_CPU_SLEEP_1
334 &CLUSTER_SLEEP_0>;
Matthias Kaehlcked4507d42019-08-07 11:44:44 -0700335 dynamic-power-coefficient = <396>;
Taniya Dasc604b82a2018-12-21 23:44:23 +0530336 qcom,freq-domain = <&cpufreq_hw 1>;
Sibi Sankar54b50f22020-07-03 02:16:43 +0530337 operating-points-v2 = <&cpu4_opp_table>;
338 interconnects = <&gladiator_noc MASTER_APPSS_PROC &mem_noc SLAVE_EBI1>,
339 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530340 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530341 next-level-cache = <&L2_600>;
342 L2_600: l2-cache {
343 compatible = "cache";
344 next-level-cache = <&L3_0>;
345 };
346 };
347
348 CPU7: cpu@700 {
349 device_type = "cpu";
350 compatible = "qcom,kryo385";
351 reg = <0x0 0x700>;
352 enable-method = "psci";
Matthias Kaehlckeb6bc6422019-01-16 15:40:39 -0800353 capacity-dmips-mhz = <1024>;
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530354 cpu-idle-states = <&BIG_CPU_SLEEP_0
355 &BIG_CPU_SLEEP_1
356 &CLUSTER_SLEEP_0>;
Matthias Kaehlcked4507d42019-08-07 11:44:44 -0700357 dynamic-power-coefficient = <396>;
Taniya Dasc604b82a2018-12-21 23:44:23 +0530358 qcom,freq-domain = <&cpufreq_hw 1>;
Sibi Sankar54b50f22020-07-03 02:16:43 +0530359 operating-points-v2 = <&cpu4_opp_table>;
360 interconnects = <&gladiator_noc MASTER_APPSS_PROC &mem_noc SLAVE_EBI1>,
361 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
Amit Kucheriac47fc192019-02-06 16:04:49 +0530362 #cooling-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530363 next-level-cache = <&L2_700>;
364 L2_700: l2-cache {
365 compatible = "cache";
366 next-level-cache = <&L3_0>;
367 };
368 };
Matthias Kaehlcke7b5ee832019-01-14 10:42:55 -0800369
370 cpu-map {
371 cluster0 {
372 core0 {
373 cpu = <&CPU0>;
374 };
375
376 core1 {
377 cpu = <&CPU1>;
378 };
379
380 core2 {
381 cpu = <&CPU2>;
382 };
383
384 core3 {
385 cpu = <&CPU3>;
386 };
Matthias Kaehlcke7b5ee832019-01-14 10:42:55 -0800387
Amit Kucheria14d27be2019-05-13 17:08:33 +0530388 core4 {
Matthias Kaehlcke7b5ee832019-01-14 10:42:55 -0800389 cpu = <&CPU4>;
390 };
391
Amit Kucheria14d27be2019-05-13 17:08:33 +0530392 core5 {
Matthias Kaehlcke7b5ee832019-01-14 10:42:55 -0800393 cpu = <&CPU5>;
394 };
395
Amit Kucheria14d27be2019-05-13 17:08:33 +0530396 core6 {
Matthias Kaehlcke7b5ee832019-01-14 10:42:55 -0800397 cpu = <&CPU6>;
398 };
399
Amit Kucheria14d27be2019-05-13 17:08:33 +0530400 core7 {
Matthias Kaehlcke7b5ee832019-01-14 10:42:55 -0800401 cpu = <&CPU7>;
402 };
403 };
404 };
Raju P.L.S.S.S.N9bbd0832019-05-21 15:05:18 +0530405
406 idle-states {
407 entry-method = "psci";
408
409 LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
410 compatible = "arm,idle-state";
411 idle-state-name = "little-power-down";
412 arm,psci-suspend-param = <0x40000003>;
413 entry-latency-us = <350>;
414 exit-latency-us = <461>;
415 min-residency-us = <1890>;
416 local-timer-stop;
417 };
418
419 LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 {
420 compatible = "arm,idle-state";
421 idle-state-name = "little-rail-power-down";
422 arm,psci-suspend-param = <0x40000004>;
423 entry-latency-us = <360>;
424 exit-latency-us = <531>;
425 min-residency-us = <3934>;
426 local-timer-stop;
427 };
428
429 BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
430 compatible = "arm,idle-state";
431 idle-state-name = "big-power-down";
432 arm,psci-suspend-param = <0x40000003>;
433 entry-latency-us = <264>;
434 exit-latency-us = <621>;
435 min-residency-us = <952>;
436 local-timer-stop;
437 };
438
439 BIG_CPU_SLEEP_1: cpu-sleep-1-1 {
440 compatible = "arm,idle-state";
441 idle-state-name = "big-rail-power-down";
442 arm,psci-suspend-param = <0x40000004>;
443 entry-latency-us = <702>;
444 exit-latency-us = <1061>;
445 min-residency-us = <4488>;
446 local-timer-stop;
447 };
448
449 CLUSTER_SLEEP_0: cluster-sleep-0 {
450 compatible = "arm,idle-state";
451 idle-state-name = "cluster-power-down";
452 arm,psci-suspend-param = <0x400000F4>;
453 entry-latency-us = <3263>;
454 exit-latency-us = <6562>;
455 min-residency-us = <9987>;
456 local-timer-stop;
457 };
458 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530459 };
460
Sibi Sankar54b50f22020-07-03 02:16:43 +0530461 cpu0_opp_table: cpu0_opp_table {
462 compatible = "operating-points-v2";
463 opp-shared;
464
465 cpu0_opp1: opp-300000000 {
466 opp-hz = /bits/ 64 <300000000>;
467 opp-peak-kBps = <800000 4800000>;
468 };
469
470 cpu0_opp2: opp-403200000 {
471 opp-hz = /bits/ 64 <403200000>;
472 opp-peak-kBps = <800000 4800000>;
473 };
474
475 cpu0_opp3: opp-480000000 {
476 opp-hz = /bits/ 64 <480000000>;
477 opp-peak-kBps = <800000 6451200>;
478 };
479
480 cpu0_opp4: opp-576000000 {
481 opp-hz = /bits/ 64 <576000000>;
482 opp-peak-kBps = <800000 6451200>;
483 };
484
485 cpu0_opp5: opp-652800000 {
486 opp-hz = /bits/ 64 <652800000>;
487 opp-peak-kBps = <800000 7680000>;
488 };
489
490 cpu0_opp6: opp-748800000 {
491 opp-hz = /bits/ 64 <748800000>;
492 opp-peak-kBps = <1804000 9216000>;
493 };
494
495 cpu0_opp7: opp-825600000 {
496 opp-hz = /bits/ 64 <825600000>;
497 opp-peak-kBps = <1804000 9216000>;
498 };
499
500 cpu0_opp8: opp-902400000 {
501 opp-hz = /bits/ 64 <902400000>;
502 opp-peak-kBps = <1804000 10444800>;
503 };
504
505 cpu0_opp9: opp-979200000 {
506 opp-hz = /bits/ 64 <979200000>;
507 opp-peak-kBps = <1804000 11980800>;
508 };
509
510 cpu0_opp10: opp-1056000000 {
511 opp-hz = /bits/ 64 <1056000000>;
512 opp-peak-kBps = <1804000 11980800>;
513 };
514
515 cpu0_opp11: opp-1132800000 {
516 opp-hz = /bits/ 64 <1132800000>;
517 opp-peak-kBps = <2188000 13516800>;
518 };
519
520 cpu0_opp12: opp-1228800000 {
521 opp-hz = /bits/ 64 <1228800000>;
522 opp-peak-kBps = <2188000 15052800>;
523 };
524
525 cpu0_opp13: opp-1324800000 {
526 opp-hz = /bits/ 64 <1324800000>;
527 opp-peak-kBps = <2188000 16588800>;
528 };
529
530 cpu0_opp14: opp-1420800000 {
531 opp-hz = /bits/ 64 <1420800000>;
532 opp-peak-kBps = <3072000 18124800>;
533 };
534
535 cpu0_opp15: opp-1516800000 {
536 opp-hz = /bits/ 64 <1516800000>;
537 opp-peak-kBps = <3072000 19353600>;
538 };
539
540 cpu0_opp16: opp-1612800000 {
541 opp-hz = /bits/ 64 <1612800000>;
542 opp-peak-kBps = <4068000 19353600>;
543 };
544
545 cpu0_opp17: opp-1689600000 {
546 opp-hz = /bits/ 64 <1689600000>;
547 opp-peak-kBps = <4068000 20889600>;
548 };
549
550 cpu0_opp18: opp-1766400000 {
551 opp-hz = /bits/ 64 <1766400000>;
552 opp-peak-kBps = <4068000 22425600>;
553 };
554 };
555
556 cpu4_opp_table: cpu4_opp_table {
557 compatible = "operating-points-v2";
558 opp-shared;
559
560 cpu4_opp1: opp-300000000 {
561 opp-hz = /bits/ 64 <300000000>;
562 opp-peak-kBps = <800000 4800000>;
563 };
564
565 cpu4_opp2: opp-403200000 {
566 opp-hz = /bits/ 64 <403200000>;
567 opp-peak-kBps = <800000 4800000>;
568 };
569
570 cpu4_opp3: opp-480000000 {
571 opp-hz = /bits/ 64 <480000000>;
572 opp-peak-kBps = <1804000 4800000>;
573 };
574
575 cpu4_opp4: opp-576000000 {
576 opp-hz = /bits/ 64 <576000000>;
577 opp-peak-kBps = <1804000 4800000>;
578 };
579
580 cpu4_opp5: opp-652800000 {
581 opp-hz = /bits/ 64 <652800000>;
582 opp-peak-kBps = <1804000 4800000>;
583 };
584
585 cpu4_opp6: opp-748800000 {
586 opp-hz = /bits/ 64 <748800000>;
587 opp-peak-kBps = <1804000 4800000>;
588 };
589
590 cpu4_opp7: opp-825600000 {
591 opp-hz = /bits/ 64 <825600000>;
592 opp-peak-kBps = <2188000 9216000>;
593 };
594
595 cpu4_opp8: opp-902400000 {
596 opp-hz = /bits/ 64 <902400000>;
597 opp-peak-kBps = <2188000 9216000>;
598 };
599
600 cpu4_opp9: opp-979200000 {
601 opp-hz = /bits/ 64 <979200000>;
602 opp-peak-kBps = <2188000 9216000>;
603 };
604
605 cpu4_opp10: opp-1056000000 {
606 opp-hz = /bits/ 64 <1056000000>;
607 opp-peak-kBps = <3072000 9216000>;
608 };
609
610 cpu4_opp11: opp-1132800000 {
611 opp-hz = /bits/ 64 <1132800000>;
612 opp-peak-kBps = <3072000 11980800>;
613 };
614
615 cpu4_opp12: opp-1209600000 {
616 opp-hz = /bits/ 64 <1209600000>;
617 opp-peak-kBps = <4068000 11980800>;
618 };
619
620 cpu4_opp13: opp-1286400000 {
621 opp-hz = /bits/ 64 <1286400000>;
622 opp-peak-kBps = <4068000 11980800>;
623 };
624
625 cpu4_opp14: opp-1363200000 {
626 opp-hz = /bits/ 64 <1363200000>;
627 opp-peak-kBps = <4068000 15052800>;
628 };
629
630 cpu4_opp15: opp-1459200000 {
631 opp-hz = /bits/ 64 <1459200000>;
632 opp-peak-kBps = <4068000 15052800>;
633 };
634
635 cpu4_opp16: opp-1536000000 {
636 opp-hz = /bits/ 64 <1536000000>;
637 opp-peak-kBps = <5412000 15052800>;
638 };
639
640 cpu4_opp17: opp-1612800000 {
641 opp-hz = /bits/ 64 <1612800000>;
642 opp-peak-kBps = <5412000 15052800>;
643 };
644
645 cpu4_opp18: opp-1689600000 {
646 opp-hz = /bits/ 64 <1689600000>;
647 opp-peak-kBps = <5412000 19353600>;
648 };
649
650 cpu4_opp19: opp-1766400000 {
651 opp-hz = /bits/ 64 <1766400000>;
652 opp-peak-kBps = <6220000 19353600>;
653 };
654
655 cpu4_opp20: opp-1843200000 {
656 opp-hz = /bits/ 64 <1843200000>;
657 opp-peak-kBps = <6220000 19353600>;
658 };
659
660 cpu4_opp21: opp-1920000000 {
661 opp-hz = /bits/ 64 <1920000000>;
662 opp-peak-kBps = <7216000 19353600>;
663 };
664
665 cpu4_opp22: opp-1996800000 {
666 opp-hz = /bits/ 64 <1996800000>;
667 opp-peak-kBps = <7216000 20889600>;
668 };
669
670 cpu4_opp23: opp-2092800000 {
671 opp-hz = /bits/ 64 <2092800000>;
672 opp-peak-kBps = <7216000 20889600>;
673 };
674
675 cpu4_opp24: opp-2169600000 {
676 opp-hz = /bits/ 64 <2169600000>;
677 opp-peak-kBps = <7216000 20889600>;
678 };
679
680 cpu4_opp25: opp-2246400000 {
681 opp-hz = /bits/ 64 <2246400000>;
682 opp-peak-kBps = <7216000 20889600>;
683 };
684
685 cpu4_opp26: opp-2323200000 {
686 opp-hz = /bits/ 64 <2323200000>;
687 opp-peak-kBps = <7216000 20889600>;
688 };
689
690 cpu4_opp27: opp-2400000000 {
691 opp-hz = /bits/ 64 <2400000000>;
692 opp-peak-kBps = <7216000 22425600>;
693 };
694
695 cpu4_opp28: opp-2476800000 {
696 opp-hz = /bits/ 64 <2476800000>;
697 opp-peak-kBps = <7216000 22425600>;
698 };
699
700 cpu4_opp29: opp-2553600000 {
701 opp-hz = /bits/ 64 <2553600000>;
702 opp-peak-kBps = <7216000 22425600>;
703 };
704
705 cpu4_opp30: opp-2649600000 {
706 opp-hz = /bits/ 64 <2649600000>;
707 opp-peak-kBps = <7216000 22425600>;
708 };
709
710 cpu4_opp31: opp-2745600000 {
711 opp-hz = /bits/ 64 <2745600000>;
712 opp-peak-kBps = <7216000 25497600>;
713 };
714
715 cpu4_opp32: opp-2803200000 {
716 opp-hz = /bits/ 64 <2803200000>;
717 opp-peak-kBps = <7216000 25497600>;
718 };
719 };
720
Stephen Boyd000c4662018-05-21 23:23:52 -0700721 pmu {
722 compatible = "arm,armv8-pmuv3";
723 interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
724 };
725
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530726 timer {
727 compatible = "arm,armv8-timer";
728 interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
729 <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
730 <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
731 <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
732 };
733
734 clocks {
735 xo_board: xo-board {
736 compatible = "fixed-clock";
737 #clock-cells = <0>;
Douglas Anderson5ea39392018-05-09 13:05:28 -0700738 clock-frequency = <38400000>;
739 clock-output-names = "xo_board";
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530740 };
741
742 sleep_clk: sleep-clk {
743 compatible = "fixed-clock";
744 #clock-cells = <0>;
745 clock-frequency = <32764>;
746 };
747 };
748
Sibi Sankar77bb7f92018-10-26 17:55:42 +0530749 firmware {
750 scm {
751 compatible = "qcom,scm-sdm845", "qcom,scm";
752 };
753 };
754
Bjorn Andersson6ef7c112019-02-05 21:13:30 -0800755 adsp_pas: remoteproc-adsp {
756 compatible = "qcom,sdm845-adsp-pas";
757
758 interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
759 <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
760 <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
761 <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
762 <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
763 interrupt-names = "wdog", "fatal", "ready",
764 "handover", "stop-ack";
765
766 clocks = <&rpmhcc RPMH_CXO_CLK>;
767 clock-names = "xo";
768
769 memory-region = <&adsp_mem>;
770
771 qcom,smem-states = <&adsp_smp2p_out 0>;
772 qcom,smem-state-names = "stop";
773
774 status = "disabled";
775
776 glink-edge {
777 interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
778 label = "lpass";
779 qcom,remote-pid = <2>;
780 mboxes = <&apss_shared 8>;
Srinivas Kandagatla3898fdc2020-03-12 14:30:21 +0000781
782 apr {
783 compatible = "qcom,apr-v2";
784 qcom,glink-channels = "apr_audio_svc";
785 qcom,apr-domain = <APR_DOMAIN_ADSP>;
786 #address-cells = <1>;
787 #size-cells = <0>;
788 qcom,intents = <512 20>;
789
790 apr-service@3 {
791 reg = <APR_SVC_ADSP_CORE>;
792 compatible = "qcom,q6core";
793 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
794 };
795
796 q6afe: apr-service@4 {
797 compatible = "qcom,q6afe";
798 reg = <APR_SVC_AFE>;
799 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
800 q6afedai: dais {
801 compatible = "qcom,q6afe-dais";
802 #address-cells = <1>;
803 #size-cells = <0>;
804 #sound-dai-cells = <1>;
805 };
806 };
807
808 q6asm: apr-service@7 {
809 compatible = "qcom,q6asm";
810 reg = <APR_SVC_ASM>;
811 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
812 q6asmdai: dais {
813 compatible = "qcom,q6asm-dais";
814 #address-cells = <1>;
815 #size-cells = <0>;
816 #sound-dai-cells = <1>;
817 iommus = <&apps_smmu 0x1821 0x0>;
818 };
819 };
820
821 q6adm: apr-service@8 {
822 compatible = "qcom,q6adm";
823 reg = <APR_SVC_ADM>;
824 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
825 q6routing: routing {
826 compatible = "qcom,q6adm-routing";
827 #sound-dai-cells = <0>;
828 };
829 };
830 };
831
Srinivas Kandagatlab4d08172019-08-21 13:50:35 +0100832 fastrpc {
833 compatible = "qcom,fastrpc";
834 qcom,glink-channels = "fastrpcglink-apps-dsp";
835 label = "adsp";
836 #address-cells = <1>;
837 #size-cells = <0>;
838
839 compute-cb@3 {
840 compatible = "qcom,fastrpc-compute-cb";
841 reg = <3>;
842 iommus = <&apps_smmu 0x1823 0x0>;
843 };
844
845 compute-cb@4 {
846 compatible = "qcom,fastrpc-compute-cb";
847 reg = <4>;
848 iommus = <&apps_smmu 0x1824 0x0>;
849 };
850 };
Bjorn Andersson6ef7c112019-02-05 21:13:30 -0800851 };
852 };
853
854 cdsp_pas: remoteproc-cdsp {
855 compatible = "qcom,sdm845-cdsp-pas";
856
857 interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
858 <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
859 <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
860 <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
861 <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
862 interrupt-names = "wdog", "fatal", "ready",
863 "handover", "stop-ack";
864
865 clocks = <&rpmhcc RPMH_CXO_CLK>;
866 clock-names = "xo";
867
868 memory-region = <&cdsp_mem>;
869
870 qcom,smem-states = <&cdsp_smp2p_out 0>;
871 qcom,smem-state-names = "stop";
872
873 status = "disabled";
874
875 glink-edge {
876 interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>;
877 label = "turing";
878 qcom,remote-pid = <5>;
879 mboxes = <&apss_shared 4>;
Srinivas Kandagatlab4d08172019-08-21 13:50:35 +0100880 fastrpc {
881 compatible = "qcom,fastrpc";
882 qcom,glink-channels = "fastrpcglink-apps-dsp";
883 label = "cdsp";
884 #address-cells = <1>;
885 #size-cells = <0>;
886
887 compute-cb@1 {
888 compatible = "qcom,fastrpc-compute-cb";
889 reg = <1>;
890 iommus = <&apps_smmu 0x1401 0x30>;
891 };
892
893 compute-cb@2 {
894 compatible = "qcom,fastrpc-compute-cb";
895 reg = <2>;
896 iommus = <&apps_smmu 0x1402 0x30>;
897 };
898
899 compute-cb@3 {
900 compatible = "qcom,fastrpc-compute-cb";
901 reg = <3>;
902 iommus = <&apps_smmu 0x1403 0x30>;
903 };
904
905 compute-cb@4 {
906 compatible = "qcom,fastrpc-compute-cb";
907 reg = <4>;
908 iommus = <&apps_smmu 0x1404 0x30>;
909 };
910
911 compute-cb@5 {
912 compatible = "qcom,fastrpc-compute-cb";
913 reg = <5>;
914 iommus = <&apps_smmu 0x1405 0x30>;
915 };
916
917 compute-cb@6 {
918 compatible = "qcom,fastrpc-compute-cb";
919 reg = <6>;
920 iommus = <&apps_smmu 0x1406 0x30>;
921 };
922
923 compute-cb@7 {
924 compatible = "qcom,fastrpc-compute-cb";
925 reg = <7>;
926 iommus = <&apps_smmu 0x1407 0x30>;
927 };
928
929 compute-cb@8 {
930 compatible = "qcom,fastrpc-compute-cb";
931 reg = <8>;
932 iommus = <&apps_smmu 0x1408 0x30>;
933 };
934 };
Bjorn Andersson6ef7c112019-02-05 21:13:30 -0800935 };
936 };
937
Sibi S71c84282018-04-30 20:14:28 +0530938 tcsr_mutex: hwlock {
939 compatible = "qcom,tcsr-mutex";
940 syscon = <&tcsr_mutex_regs 0 0x1000>;
941 #hwlock-cells = <1>;
942 };
943
944 smem {
945 compatible = "qcom,smem";
946 memory-region = <&smem_mem>;
947 hwlocks = <&tcsr_mutex 3>;
948 };
949
Bjorn Andersson3debb1f2018-09-01 15:27:21 -0700950 smp2p-cdsp {
951 compatible = "qcom,smp2p";
952 qcom,smem = <94>, <432>;
953
954 interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
955
956 mboxes = <&apss_shared 6>;
957
958 qcom,local-pid = <0>;
959 qcom,remote-pid = <5>;
960
961 cdsp_smp2p_out: master-kernel {
962 qcom,entry-name = "master-kernel";
963 #qcom,smem-state-cells = <1>;
964 };
965
966 cdsp_smp2p_in: slave-kernel {
967 qcom,entry-name = "slave-kernel";
968
969 interrupt-controller;
970 #interrupt-cells = <2>;
971 };
972 };
973
974 smp2p-lpass {
975 compatible = "qcom,smp2p";
976 qcom,smem = <443>, <429>;
977
978 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
979
980 mboxes = <&apss_shared 10>;
981
982 qcom,local-pid = <0>;
983 qcom,remote-pid = <2>;
984
985 adsp_smp2p_out: master-kernel {
986 qcom,entry-name = "master-kernel";
987 #qcom,smem-state-cells = <1>;
988 };
989
990 adsp_smp2p_in: slave-kernel {
991 qcom,entry-name = "slave-kernel";
992
993 interrupt-controller;
994 #interrupt-cells = <2>;
995 };
996 };
997
998 smp2p-mpss {
999 compatible = "qcom,smp2p";
1000 qcom,smem = <435>, <428>;
1001 interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
1002 mboxes = <&apss_shared 14>;
1003 qcom,local-pid = <0>;
1004 qcom,remote-pid = <1>;
1005
1006 modem_smp2p_out: master-kernel {
1007 qcom,entry-name = "master-kernel";
1008 #qcom,smem-state-cells = <1>;
1009 };
1010
1011 modem_smp2p_in: slave-kernel {
1012 qcom,entry-name = "slave-kernel";
1013 interrupt-controller;
1014 #interrupt-cells = <2>;
1015 };
Alex Elder392a5852020-03-13 06:52:36 -05001016
1017 ipa_smp2p_out: ipa-ap-to-modem {
1018 qcom,entry-name = "ipa";
1019 #qcom,smem-state-cells = <1>;
1020 };
1021
1022 ipa_smp2p_in: ipa-modem-to-ap {
1023 qcom,entry-name = "ipa";
1024 interrupt-controller;
1025 #interrupt-cells = <2>;
1026 };
Bjorn Andersson3debb1f2018-09-01 15:27:21 -07001027 };
1028
1029 smp2p-slpi {
1030 compatible = "qcom,smp2p";
1031 qcom,smem = <481>, <430>;
1032 interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>;
1033 mboxes = <&apss_shared 26>;
1034 qcom,local-pid = <0>;
1035 qcom,remote-pid = <3>;
1036
1037 slpi_smp2p_out: master-kernel {
1038 qcom,entry-name = "master-kernel";
1039 #qcom,smem-state-cells = <1>;
1040 };
1041
1042 slpi_smp2p_in: slave-kernel {
1043 qcom,entry-name = "slave-kernel";
1044 interrupt-controller;
1045 #interrupt-cells = <2>;
1046 };
1047 };
1048
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05301049 psci {
1050 compatible = "arm,psci-1.0";
1051 method = "smc";
1052 };
1053
Vinod Koula1875bf2019-07-24 10:19:02 +05301054 soc: soc@0 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001055 #address-cells = <2>;
1056 #size-cells = <2>;
Bjorn Andersson9feb6672019-01-16 20:29:40 -08001057 ranges = <0 0 0 0 0x10 0>;
1058 dma-ranges = <0 0 0 0 0x10 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05301059 compatible = "simple-bus";
1060
Douglas Anderson54d7a202018-05-14 20:59:22 -07001061 gcc: clock-controller@100000 {
1062 compatible = "qcom,gcc-sdm845";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001063 reg = <0 0x00100000 0 0x1f0000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07001064 #clock-cells = <1>;
1065 #reset-cells = <1>;
1066 #power-domain-cells = <1>;
1067 };
1068
Manu Gautamca4db2b2018-08-22 10:36:27 -07001069 qfprom@784000 {
1070 compatible = "qcom,qfprom";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001071 reg = <0 0x00784000 0 0x8ff>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001072 #address-cells = <1>;
1073 #size-cells = <1>;
1074
1075 qusb2p_hstx_trim: hstx-trim-primary@1eb {
1076 reg = <0x1eb 0x1>;
1077 bits = <1 4>;
1078 };
1079
1080 qusb2s_hstx_trim: hstx-trim-secondary@1eb {
1081 reg = <0x1eb 0x2>;
1082 bits = <6 4>;
1083 };
1084 };
1085
Vinod Koul6e17f8142018-10-01 11:51:51 +05301086 rng: rng@793000 {
1087 compatible = "qcom,prng-ee";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001088 reg = <0 0x00793000 0 0x1000>;
Vinod Koul6e17f8142018-10-01 11:51:51 +05301089 clocks = <&gcc GCC_PRNG_AHB_CLK>;
1090 clock-names = "core";
1091 };
1092
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301093 qup_opp_table: qup-opp-table {
1094 compatible = "operating-points-v2";
1095
1096 opp-19200000 {
1097 opp-hz = /bits/ 64 <19200000>;
1098 required-opps = <&rpmhpd_opp_min_svs>;
1099 };
1100
1101 opp-75000000 {
1102 opp-hz = /bits/ 64 <75000000>;
1103 required-opps = <&rpmhpd_opp_low_svs>;
1104 };
1105
1106 opp-100000000 {
1107 opp-hz = /bits/ 64 <100000000>;
1108 required-opps = <&rpmhpd_opp_svs>;
1109 };
1110 };
1111
Douglas Anderson897cf342018-06-13 09:53:51 -07001112 qupv3_id_0: geniqup@8c0000 {
1113 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001114 reg = <0 0x008c0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001115 clock-names = "m-ahb", "s-ahb";
1116 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
1117 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001118 #address-cells = <2>;
1119 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001120 ranges;
Douglas Anderson499ff112018-06-29 11:45:27 -07001121 status = "disabled";
Douglas Anderson897cf342018-06-13 09:53:51 -07001122
1123 i2c0: i2c@880000 {
1124 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001125 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001126 clock-names = "se";
1127 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1128 pinctrl-names = "default";
1129 pinctrl-0 = <&qup_i2c0_default>;
1130 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
1131 #address-cells = <1>;
1132 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301133 power-domains = <&rpmhpd SDM845_CX>;
1134 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001135 status = "disabled";
1136 };
1137
1138 spi0: spi@880000 {
1139 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001140 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001141 clock-names = "se";
1142 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1143 pinctrl-names = "default";
1144 pinctrl-0 = <&qup_spi0_default>;
1145 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
1146 #address-cells = <1>;
1147 #size-cells = <0>;
1148 status = "disabled";
1149 };
1150
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001151 uart0: serial@880000 {
1152 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001153 reg = <0 0x00880000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001154 clock-names = "se";
1155 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1156 pinctrl-names = "default";
1157 pinctrl-0 = <&qup_uart0_default>;
1158 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301159 power-domains = <&rpmhpd SDM845_CX>;
1160 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001161 status = "disabled";
1162 };
1163
Douglas Anderson897cf342018-06-13 09:53:51 -07001164 i2c1: i2c@884000 {
1165 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001166 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001167 clock-names = "se";
1168 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1169 pinctrl-names = "default";
1170 pinctrl-0 = <&qup_i2c1_default>;
1171 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
1172 #address-cells = <1>;
1173 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301174 power-domains = <&rpmhpd SDM845_CX>;
1175 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001176 status = "disabled";
1177 };
1178
1179 spi1: spi@884000 {
1180 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001181 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001182 clock-names = "se";
1183 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1184 pinctrl-names = "default";
1185 pinctrl-0 = <&qup_spi1_default>;
1186 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
1187 #address-cells = <1>;
1188 #size-cells = <0>;
1189 status = "disabled";
1190 };
1191
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001192 uart1: serial@884000 {
1193 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001194 reg = <0 0x00884000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001195 clock-names = "se";
1196 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1197 pinctrl-names = "default";
1198 pinctrl-0 = <&qup_uart1_default>;
1199 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301200 power-domains = <&rpmhpd SDM845_CX>;
1201 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001202 status = "disabled";
1203 };
1204
Douglas Anderson897cf342018-06-13 09:53:51 -07001205 i2c2: i2c@888000 {
1206 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001207 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001208 clock-names = "se";
1209 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1210 pinctrl-names = "default";
1211 pinctrl-0 = <&qup_i2c2_default>;
1212 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1213 #address-cells = <1>;
1214 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301215 power-domains = <&rpmhpd SDM845_CX>;
1216 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001217 status = "disabled";
1218 };
1219
1220 spi2: spi@888000 {
1221 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001222 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001223 clock-names = "se";
1224 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1225 pinctrl-names = "default";
1226 pinctrl-0 = <&qup_spi2_default>;
1227 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1228 #address-cells = <1>;
1229 #size-cells = <0>;
1230 status = "disabled";
1231 };
1232
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001233 uart2: serial@888000 {
1234 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001235 reg = <0 0x00888000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001236 clock-names = "se";
1237 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1238 pinctrl-names = "default";
1239 pinctrl-0 = <&qup_uart2_default>;
1240 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301241 power-domains = <&rpmhpd SDM845_CX>;
1242 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001243 status = "disabled";
1244 };
1245
Douglas Anderson897cf342018-06-13 09:53:51 -07001246 i2c3: i2c@88c000 {
1247 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001248 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001249 clock-names = "se";
1250 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1251 pinctrl-names = "default";
1252 pinctrl-0 = <&qup_i2c3_default>;
1253 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1254 #address-cells = <1>;
1255 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301256 power-domains = <&rpmhpd SDM845_CX>;
1257 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001258 status = "disabled";
1259 };
1260
1261 spi3: spi@88c000 {
1262 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001263 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001264 clock-names = "se";
1265 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1266 pinctrl-names = "default";
1267 pinctrl-0 = <&qup_spi3_default>;
1268 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1269 #address-cells = <1>;
1270 #size-cells = <0>;
1271 status = "disabled";
1272 };
1273
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001274 uart3: serial@88c000 {
1275 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001276 reg = <0 0x0088c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001277 clock-names = "se";
1278 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1279 pinctrl-names = "default";
1280 pinctrl-0 = <&qup_uart3_default>;
1281 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301282 power-domains = <&rpmhpd SDM845_CX>;
1283 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001284 status = "disabled";
1285 };
1286
Douglas Anderson897cf342018-06-13 09:53:51 -07001287 i2c4: i2c@890000 {
1288 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001289 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001290 clock-names = "se";
1291 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1292 pinctrl-names = "default";
1293 pinctrl-0 = <&qup_i2c4_default>;
1294 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1295 #address-cells = <1>;
1296 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301297 power-domains = <&rpmhpd SDM845_CX>;
1298 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001299 status = "disabled";
1300 };
1301
1302 spi4: spi@890000 {
1303 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001304 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001305 clock-names = "se";
1306 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1307 pinctrl-names = "default";
1308 pinctrl-0 = <&qup_spi4_default>;
1309 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1310 #address-cells = <1>;
1311 #size-cells = <0>;
1312 status = "disabled";
1313 };
1314
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001315 uart4: serial@890000 {
1316 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001317 reg = <0 0x00890000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001318 clock-names = "se";
1319 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1320 pinctrl-names = "default";
1321 pinctrl-0 = <&qup_uart4_default>;
1322 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301323 power-domains = <&rpmhpd SDM845_CX>;
1324 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001325 status = "disabled";
1326 };
1327
Douglas Anderson897cf342018-06-13 09:53:51 -07001328 i2c5: i2c@894000 {
1329 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001330 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001331 clock-names = "se";
1332 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1333 pinctrl-names = "default";
1334 pinctrl-0 = <&qup_i2c5_default>;
1335 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1336 #address-cells = <1>;
1337 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301338 power-domains = <&rpmhpd SDM845_CX>;
1339 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001340 status = "disabled";
1341 };
1342
1343 spi5: spi@894000 {
1344 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001345 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001346 clock-names = "se";
1347 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1348 pinctrl-names = "default";
1349 pinctrl-0 = <&qup_spi5_default>;
1350 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1351 #address-cells = <1>;
1352 #size-cells = <0>;
1353 status = "disabled";
1354 };
1355
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001356 uart5: serial@894000 {
1357 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001358 reg = <0 0x00894000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001359 clock-names = "se";
1360 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1361 pinctrl-names = "default";
1362 pinctrl-0 = <&qup_uart5_default>;
1363 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301364 power-domains = <&rpmhpd SDM845_CX>;
1365 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001366 status = "disabled";
1367 };
1368
Douglas Anderson897cf342018-06-13 09:53:51 -07001369 i2c6: i2c@898000 {
1370 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001371 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001372 clock-names = "se";
1373 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1374 pinctrl-names = "default";
1375 pinctrl-0 = <&qup_i2c6_default>;
1376 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1377 #address-cells = <1>;
1378 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301379 power-domains = <&rpmhpd SDM845_CX>;
1380 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001381 status = "disabled";
1382 };
1383
1384 spi6: spi@898000 {
1385 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001386 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001387 clock-names = "se";
1388 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1389 pinctrl-names = "default";
1390 pinctrl-0 = <&qup_spi6_default>;
1391 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1392 #address-cells = <1>;
1393 #size-cells = <0>;
1394 status = "disabled";
1395 };
1396
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001397 uart6: serial@898000 {
1398 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001399 reg = <0 0x00898000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001400 clock-names = "se";
1401 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1402 pinctrl-names = "default";
1403 pinctrl-0 = <&qup_uart6_default>;
1404 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301405 power-domains = <&rpmhpd SDM845_CX>;
1406 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001407 status = "disabled";
1408 };
1409
Douglas Anderson897cf342018-06-13 09:53:51 -07001410 i2c7: i2c@89c000 {
1411 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001412 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001413 clock-names = "se";
1414 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1415 pinctrl-names = "default";
1416 pinctrl-0 = <&qup_i2c7_default>;
1417 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1418 #address-cells = <1>;
1419 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301420 power-domains = <&rpmhpd SDM845_CX>;
1421 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001422 status = "disabled";
1423 };
1424
1425 spi7: spi@89c000 {
1426 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001427 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001428 clock-names = "se";
1429 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1430 pinctrl-names = "default";
1431 pinctrl-0 = <&qup_spi7_default>;
1432 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1433 #address-cells = <1>;
1434 #size-cells = <0>;
1435 status = "disabled";
1436 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001437
1438 uart7: serial@89c000 {
1439 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001440 reg = <0 0x0089c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001441 clock-names = "se";
1442 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1443 pinctrl-names = "default";
1444 pinctrl-0 = <&qup_uart7_default>;
1445 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301446 power-domains = <&rpmhpd SDM845_CX>;
1447 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001448 status = "disabled";
1449 };
Douglas Anderson897cf342018-06-13 09:53:51 -07001450 };
1451
1452 qupv3_id_1: geniqup@ac0000 {
1453 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001454 reg = <0 0x00ac0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001455 clock-names = "m-ahb", "s-ahb";
1456 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
1457 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001458 #address-cells = <2>;
1459 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001460 ranges;
1461 status = "disabled";
1462
1463 i2c8: i2c@a80000 {
1464 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001465 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001466 clock-names = "se";
1467 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1468 pinctrl-names = "default";
1469 pinctrl-0 = <&qup_i2c8_default>;
1470 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1471 #address-cells = <1>;
1472 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301473 power-domains = <&rpmhpd SDM845_CX>;
1474 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001475 status = "disabled";
1476 };
1477
1478 spi8: spi@a80000 {
1479 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001480 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001481 clock-names = "se";
1482 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1483 pinctrl-names = "default";
1484 pinctrl-0 = <&qup_spi8_default>;
1485 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1486 #address-cells = <1>;
1487 #size-cells = <0>;
1488 status = "disabled";
1489 };
1490
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001491 uart8: serial@a80000 {
1492 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001493 reg = <0 0x00a80000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001494 clock-names = "se";
1495 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1496 pinctrl-names = "default";
1497 pinctrl-0 = <&qup_uart8_default>;
1498 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301499 power-domains = <&rpmhpd SDM845_CX>;
1500 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001501 status = "disabled";
1502 };
1503
Douglas Anderson897cf342018-06-13 09:53:51 -07001504 i2c9: i2c@a84000 {
1505 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001506 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001507 clock-names = "se";
1508 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1509 pinctrl-names = "default";
1510 pinctrl-0 = <&qup_i2c9_default>;
1511 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1512 #address-cells = <1>;
1513 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301514 power-domains = <&rpmhpd SDM845_CX>;
1515 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001516 status = "disabled";
1517 };
1518
1519 spi9: spi@a84000 {
1520 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001521 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001522 clock-names = "se";
1523 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1524 pinctrl-names = "default";
1525 pinctrl-0 = <&qup_spi9_default>;
1526 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1527 #address-cells = <1>;
1528 #size-cells = <0>;
1529 status = "disabled";
1530 };
1531
1532 uart9: serial@a84000 {
1533 compatible = "qcom,geni-debug-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001534 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001535 clock-names = "se";
1536 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1537 pinctrl-names = "default";
1538 pinctrl-0 = <&qup_uart9_default>;
1539 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301540 power-domains = <&rpmhpd SDM845_CX>;
1541 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001542 status = "disabled";
1543 };
1544
1545 i2c10: i2c@a88000 {
1546 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001547 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001548 clock-names = "se";
1549 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1550 pinctrl-names = "default";
1551 pinctrl-0 = <&qup_i2c10_default>;
1552 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1553 #address-cells = <1>;
1554 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301555 power-domains = <&rpmhpd SDM845_CX>;
1556 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001557 status = "disabled";
1558 };
1559
1560 spi10: spi@a88000 {
1561 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001562 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001563 clock-names = "se";
1564 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1565 pinctrl-names = "default";
1566 pinctrl-0 = <&qup_spi10_default>;
1567 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1568 #address-cells = <1>;
1569 #size-cells = <0>;
1570 status = "disabled";
1571 };
1572
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001573 uart10: serial@a88000 {
1574 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001575 reg = <0 0x00a88000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001576 clock-names = "se";
1577 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1578 pinctrl-names = "default";
1579 pinctrl-0 = <&qup_uart10_default>;
1580 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301581 power-domains = <&rpmhpd SDM845_CX>;
1582 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001583 status = "disabled";
1584 };
1585
Douglas Anderson897cf342018-06-13 09:53:51 -07001586 i2c11: i2c@a8c000 {
1587 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001588 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001589 clock-names = "se";
1590 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1591 pinctrl-names = "default";
1592 pinctrl-0 = <&qup_i2c11_default>;
1593 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1594 #address-cells = <1>;
1595 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301596 power-domains = <&rpmhpd SDM845_CX>;
1597 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001598 status = "disabled";
1599 };
1600
1601 spi11: spi@a8c000 {
1602 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001603 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001604 clock-names = "se";
1605 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1606 pinctrl-names = "default";
1607 pinctrl-0 = <&qup_spi11_default>;
1608 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1609 #address-cells = <1>;
1610 #size-cells = <0>;
1611 status = "disabled";
1612 };
1613
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001614 uart11: serial@a8c000 {
1615 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001616 reg = <0 0x00a8c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001617 clock-names = "se";
1618 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1619 pinctrl-names = "default";
1620 pinctrl-0 = <&qup_uart11_default>;
1621 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301622 power-domains = <&rpmhpd SDM845_CX>;
1623 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001624 status = "disabled";
1625 };
1626
Douglas Anderson897cf342018-06-13 09:53:51 -07001627 i2c12: i2c@a90000 {
1628 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001629 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001630 clock-names = "se";
1631 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1632 pinctrl-names = "default";
1633 pinctrl-0 = <&qup_i2c12_default>;
1634 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1635 #address-cells = <1>;
1636 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301637 power-domains = <&rpmhpd SDM845_CX>;
1638 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001639 status = "disabled";
1640 };
1641
1642 spi12: spi@a90000 {
1643 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001644 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001645 clock-names = "se";
1646 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1647 pinctrl-names = "default";
1648 pinctrl-0 = <&qup_spi12_default>;
1649 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1650 #address-cells = <1>;
1651 #size-cells = <0>;
1652 status = "disabled";
1653 };
1654
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001655 uart12: serial@a90000 {
1656 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001657 reg = <0 0x00a90000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001658 clock-names = "se";
1659 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1660 pinctrl-names = "default";
1661 pinctrl-0 = <&qup_uart12_default>;
1662 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301663 power-domains = <&rpmhpd SDM845_CX>;
1664 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001665 status = "disabled";
1666 };
1667
Douglas Anderson897cf342018-06-13 09:53:51 -07001668 i2c13: i2c@a94000 {
1669 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001670 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001671 clock-names = "se";
1672 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1673 pinctrl-names = "default";
1674 pinctrl-0 = <&qup_i2c13_default>;
1675 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1676 #address-cells = <1>;
1677 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301678 power-domains = <&rpmhpd SDM845_CX>;
1679 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001680 status = "disabled";
1681 };
1682
1683 spi13: spi@a94000 {
1684 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001685 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001686 clock-names = "se";
1687 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1688 pinctrl-names = "default";
1689 pinctrl-0 = <&qup_spi13_default>;
1690 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1691 #address-cells = <1>;
1692 #size-cells = <0>;
1693 status = "disabled";
1694 };
1695
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001696 uart13: serial@a94000 {
1697 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001698 reg = <0 0x00a94000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001699 clock-names = "se";
1700 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1701 pinctrl-names = "default";
1702 pinctrl-0 = <&qup_uart13_default>;
1703 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301704 power-domains = <&rpmhpd SDM845_CX>;
1705 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001706 status = "disabled";
1707 };
1708
Douglas Anderson897cf342018-06-13 09:53:51 -07001709 i2c14: i2c@a98000 {
1710 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001711 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001712 clock-names = "se";
1713 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1714 pinctrl-names = "default";
1715 pinctrl-0 = <&qup_i2c14_default>;
1716 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1717 #address-cells = <1>;
1718 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301719 power-domains = <&rpmhpd SDM845_CX>;
1720 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001721 status = "disabled";
1722 };
1723
1724 spi14: spi@a98000 {
1725 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001726 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001727 clock-names = "se";
1728 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1729 pinctrl-names = "default";
1730 pinctrl-0 = <&qup_spi14_default>;
1731 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1732 #address-cells = <1>;
1733 #size-cells = <0>;
1734 status = "disabled";
1735 };
1736
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001737 uart14: serial@a98000 {
1738 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001739 reg = <0 0x00a98000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001740 clock-names = "se";
1741 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1742 pinctrl-names = "default";
1743 pinctrl-0 = <&qup_uart14_default>;
1744 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301745 power-domains = <&rpmhpd SDM845_CX>;
1746 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001747 status = "disabled";
1748 };
1749
Douglas Anderson897cf342018-06-13 09:53:51 -07001750 i2c15: i2c@a9c000 {
1751 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001752 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001753 clock-names = "se";
1754 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1755 pinctrl-names = "default";
1756 pinctrl-0 = <&qup_i2c15_default>;
1757 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1758 #address-cells = <1>;
1759 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301760 power-domains = <&rpmhpd SDM845_CX>;
1761 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001762 status = "disabled";
1763 };
1764
1765 spi15: spi@a9c000 {
1766 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001767 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001768 clock-names = "se";
1769 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1770 pinctrl-names = "default";
1771 pinctrl-0 = <&qup_spi15_default>;
1772 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1773 #address-cells = <1>;
1774 #size-cells = <0>;
1775 status = "disabled";
1776 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001777
1778 uart15: serial@a9c000 {
1779 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001780 reg = <0 0x00a9c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001781 clock-names = "se";
1782 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1783 pinctrl-names = "default";
1784 pinctrl-0 = <&qup_uart15_default>;
1785 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301786 power-domains = <&rpmhpd SDM845_CX>;
1787 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001788 status = "disabled";
1789 };
Douglas Anderson897cf342018-06-13 09:53:51 -07001790 };
1791
Sai Prakash Ranjan39abbd32019-11-15 16:29:12 +05301792 system-cache-controller@1100000 {
Sai Prakash Ranjanba0411d2019-07-10 16:59:24 +05301793 compatible = "qcom,sdm845-llcc";
1794 reg = <0 0x01100000 0 0x200000>, <0 0x01300000 0 0x50000>;
1795 reg-names = "llcc_base", "llcc_broadcast_base";
1796 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
1797 };
1798
Bjorn Andersson5c538e092019-11-06 16:22:45 -08001799 pcie0: pci@1c00000 {
1800 compatible = "qcom,pcie-sdm845", "snps,dw-pcie";
1801 reg = <0 0x01c00000 0 0x2000>,
1802 <0 0x60000000 0 0xf1d>,
1803 <0 0x60000f20 0 0xa8>,
1804 <0 0x60100000 0 0x100000>;
1805 reg-names = "parf", "dbi", "elbi", "config";
1806 device_type = "pci";
1807 linux,pci-domain = <0>;
1808 bus-range = <0x00 0xff>;
1809 num-lanes = <1>;
1810
1811 #address-cells = <3>;
1812 #size-cells = <2>;
1813
1814 ranges = <0x01000000 0x0 0x60200000 0 0x60200000 0x0 0x100000>,
1815 <0x02000000 0x0 0x60300000 0 0x60300000 0x0 0xd00000>;
1816
1817 interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
1818 interrupt-names = "msi";
1819 #interrupt-cells = <1>;
1820 interrupt-map-mask = <0 0 0 0x7>;
1821 interrupt-map = <0 0 0 1 &intc 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1822 <0 0 0 2 &intc 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1823 <0 0 0 3 &intc 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1824 <0 0 0 4 &intc 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1825
1826 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
1827 <&gcc GCC_PCIE_0_AUX_CLK>,
1828 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
1829 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
1830 <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
1831 <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
1832 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>;
1833 clock-names = "pipe",
1834 "aux",
1835 "cfg",
1836 "bus_master",
1837 "bus_slave",
1838 "slave_q2a",
1839 "tbu";
1840
1841 iommus = <&apps_smmu 0x1c10 0xf>;
1842 iommu-map = <0x0 &apps_smmu 0x1c10 0x1>,
1843 <0x100 &apps_smmu 0x1c11 0x1>,
1844 <0x200 &apps_smmu 0x1c12 0x1>,
1845 <0x300 &apps_smmu 0x1c13 0x1>,
1846 <0x400 &apps_smmu 0x1c14 0x1>,
1847 <0x500 &apps_smmu 0x1c15 0x1>,
1848 <0x600 &apps_smmu 0x1c16 0x1>,
1849 <0x700 &apps_smmu 0x1c17 0x1>,
1850 <0x800 &apps_smmu 0x1c18 0x1>,
1851 <0x900 &apps_smmu 0x1c19 0x1>,
1852 <0xa00 &apps_smmu 0x1c1a 0x1>,
1853 <0xb00 &apps_smmu 0x1c1b 0x1>,
1854 <0xc00 &apps_smmu 0x1c1c 0x1>,
1855 <0xd00 &apps_smmu 0x1c1d 0x1>,
1856 <0xe00 &apps_smmu 0x1c1e 0x1>,
1857 <0xf00 &apps_smmu 0x1c1f 0x1>;
1858
1859 resets = <&gcc GCC_PCIE_0_BCR>;
1860 reset-names = "pci";
1861
1862 power-domains = <&gcc PCIE_0_GDSC>;
1863
1864 phys = <&pcie0_lane>;
1865 phy-names = "pciephy";
1866
1867 status = "disabled";
1868 };
1869
1870 pcie0_phy: phy@1c06000 {
1871 compatible = "qcom,sdm845-qmp-pcie-phy";
1872 reg = <0 0x01c06000 0 0x18c>;
1873 #address-cells = <2>;
1874 #size-cells = <2>;
1875 ranges;
1876 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
1877 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
1878 <&gcc GCC_PCIE_0_CLKREF_CLK>,
1879 <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
1880 clock-names = "aux", "cfg_ahb", "ref", "refgen";
1881
1882 resets = <&gcc GCC_PCIE_0_PHY_BCR>;
1883 reset-names = "phy";
1884
1885 assigned-clocks = <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
1886 assigned-clock-rates = <100000000>;
1887
1888 status = "disabled";
1889
1890 pcie0_lane: lanes@1c06200 {
1891 reg = <0 0x01c06200 0 0x128>,
1892 <0 0x01c06400 0 0x1fc>,
1893 <0 0x01c06800 0 0x218>,
1894 <0 0x01c06600 0 0x70>;
1895 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
1896 clock-names = "pipe0";
1897
1898 #phy-cells = <0>;
1899 clock-output-names = "pcie_0_pipe_clk";
1900 };
1901 };
1902
Bjorn Andersson42ad2312019-11-06 16:22:46 -08001903 pcie1: pci@1c08000 {
1904 compatible = "qcom,pcie-sdm845", "snps,dw-pcie";
1905 reg = <0 0x01c08000 0 0x2000>,
1906 <0 0x40000000 0 0xf1d>,
1907 <0 0x40000f20 0 0xa8>,
1908 <0 0x40100000 0 0x100000>;
1909 reg-names = "parf", "dbi", "elbi", "config";
1910 device_type = "pci";
1911 linux,pci-domain = <1>;
1912 bus-range = <0x00 0xff>;
1913 num-lanes = <1>;
1914
1915 #address-cells = <3>;
1916 #size-cells = <2>;
1917
1918 ranges = <0x01000000 0x0 0x40200000 0x0 0x40200000 0x0 0x100000>,
1919 <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>;
1920
1921 interrupts = <GIC_SPI 307 IRQ_TYPE_EDGE_RISING>;
1922 interrupt-names = "msi";
1923 #interrupt-cells = <1>;
1924 interrupt-map-mask = <0 0 0 0x7>;
1925 interrupt-map = <0 0 0 1 &intc 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1926 <0 0 0 2 &intc 0 435 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1927 <0 0 0 3 &intc 0 438 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1928 <0 0 0 4 &intc 0 439 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1929
1930 clocks = <&gcc GCC_PCIE_1_PIPE_CLK>,
1931 <&gcc GCC_PCIE_1_AUX_CLK>,
1932 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
1933 <&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
1934 <&gcc GCC_PCIE_1_SLV_AXI_CLK>,
1935 <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>,
1936 <&gcc GCC_PCIE_1_CLKREF_CLK>,
1937 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>;
1938 clock-names = "pipe",
1939 "aux",
1940 "cfg",
1941 "bus_master",
1942 "bus_slave",
1943 "slave_q2a",
1944 "ref",
1945 "tbu";
1946
1947 assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>;
1948 assigned-clock-rates = <19200000>;
1949
1950 iommus = <&apps_smmu 0x1c00 0xf>;
1951 iommu-map = <0x0 &apps_smmu 0x1c00 0x1>,
1952 <0x100 &apps_smmu 0x1c01 0x1>,
1953 <0x200 &apps_smmu 0x1c02 0x1>,
1954 <0x300 &apps_smmu 0x1c03 0x1>,
1955 <0x400 &apps_smmu 0x1c04 0x1>,
1956 <0x500 &apps_smmu 0x1c05 0x1>,
1957 <0x600 &apps_smmu 0x1c06 0x1>,
1958 <0x700 &apps_smmu 0x1c07 0x1>,
1959 <0x800 &apps_smmu 0x1c08 0x1>,
1960 <0x900 &apps_smmu 0x1c09 0x1>,
1961 <0xa00 &apps_smmu 0x1c0a 0x1>,
1962 <0xb00 &apps_smmu 0x1c0b 0x1>,
1963 <0xc00 &apps_smmu 0x1c0c 0x1>,
1964 <0xd00 &apps_smmu 0x1c0d 0x1>,
1965 <0xe00 &apps_smmu 0x1c0e 0x1>,
1966 <0xf00 &apps_smmu 0x1c0f 0x1>;
1967
1968 resets = <&gcc GCC_PCIE_1_BCR>;
1969 reset-names = "pci";
1970
1971 power-domains = <&gcc PCIE_1_GDSC>;
1972
1973 phys = <&pcie1_lane>;
1974 phy-names = "pciephy";
1975
1976 status = "disabled";
1977 };
1978
1979 pcie1_phy: phy@1c0a000 {
1980 compatible = "qcom,sdm845-qhp-pcie-phy";
1981 reg = <0 0x01c0a000 0 0x800>;
1982 #address-cells = <2>;
1983 #size-cells = <2>;
1984 ranges;
1985 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
1986 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
1987 <&gcc GCC_PCIE_1_CLKREF_CLK>,
1988 <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
1989 clock-names = "aux", "cfg_ahb", "ref", "refgen";
1990
1991 resets = <&gcc GCC_PCIE_1_PHY_BCR>;
1992 reset-names = "phy";
1993
1994 assigned-clocks = <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
1995 assigned-clock-rates = <100000000>;
1996
1997 status = "disabled";
1998
1999 pcie1_lane: lanes@1c06200 {
2000 reg = <0 0x01c0a800 0 0x800>,
2001 <0 0x01c0a800 0 0x800>,
2002 <0 0x01c0b800 0 0x400>;
2003 clocks = <&gcc GCC_PCIE_1_PIPE_CLK>;
2004 clock-names = "pipe0";
2005
2006 #phy-cells = <0>;
2007 clock-output-names = "pcie_1_pipe_clk";
2008 };
2009 };
2010
David Daib303f9f2020-02-10 00:04:11 +05302011 mem_noc: interconnect@1380000 {
2012 compatible = "qcom,sdm845-mem-noc";
2013 reg = <0 0x01380000 0 0x27200>;
2014 #interconnect-cells = <1>;
2015 qcom,bcm-voters = <&apps_bcm_voter>;
2016 };
2017
2018 dc_noc: interconnect@14e0000 {
2019 compatible = "qcom,sdm845-dc-noc";
2020 reg = <0 0x014e0000 0 0x400>;
2021 #interconnect-cells = <1>;
2022 qcom,bcm-voters = <&apps_bcm_voter>;
2023 };
2024
2025 config_noc: interconnect@1500000 {
2026 compatible = "qcom,sdm845-config-noc";
2027 reg = <0 0x01500000 0 0x5080>;
2028 #interconnect-cells = <1>;
2029 qcom,bcm-voters = <&apps_bcm_voter>;
2030 };
2031
2032 system_noc: interconnect@1620000 {
2033 compatible = "qcom,sdm845-system-noc";
2034 reg = <0 0x01620000 0 0x18080>;
2035 #interconnect-cells = <1>;
2036 qcom,bcm-voters = <&apps_bcm_voter>;
2037 };
2038
2039 aggre1_noc: interconnect@16e0000 {
2040 compatible = "qcom,sdm845-aggre1-noc";
2041 reg = <0 0x016e0000 0 0x15080>;
2042 #interconnect-cells = <1>;
2043 qcom,bcm-voters = <&apps_bcm_voter>;
2044 };
2045
2046 aggre2_noc: interconnect@1700000 {
2047 compatible = "qcom,sdm845-aggre2-noc";
2048 reg = <0 0x01700000 0 0x1f300>;
2049 #interconnect-cells = <1>;
2050 qcom,bcm-voters = <&apps_bcm_voter>;
2051 };
2052
2053 mmss_noc: interconnect@1740000 {
2054 compatible = "qcom,sdm845-mmss-noc";
2055 reg = <0 0x01740000 0 0x1c100>;
2056 #interconnect-cells = <1>;
2057 qcom,bcm-voters = <&apps_bcm_voter>;
2058 };
2059
Evan Greencc166872018-12-10 11:28:24 -08002060 ufs_mem_hc: ufshc@1d84000 {
2061 compatible = "qcom,sdm845-ufshc", "qcom,ufshc",
2062 "jedec,ufs-2.0";
Eric Biggers433f9a52020-07-10 00:20:10 -07002063 reg = <0 0x01d84000 0 0x2500>,
2064 <0 0x01d90000 0 0x8000>;
2065 reg-names = "std", "ice";
Evan Greencc166872018-12-10 11:28:24 -08002066 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
2067 phys = <&ufs_mem_phy_lanes>;
2068 phy-names = "ufsphy";
2069 lanes-per-direction = <2>;
2070 power-domains = <&gcc UFS_PHY_GDSC>;
Evan Green71278b02019-03-21 10:17:56 -07002071 #reset-cells = <1>;
Vinod Koula8aa4812020-01-06 12:38:26 +05302072 resets = <&gcc GCC_UFS_PHY_BCR>;
2073 reset-names = "rst";
Evan Greencc166872018-12-10 11:28:24 -08002074
2075 iommus = <&apps_smmu 0x100 0xf>;
2076
2077 clock-names =
2078 "core_clk",
2079 "bus_aggr_clk",
2080 "iface_clk",
2081 "core_clk_unipro",
2082 "ref_clk",
2083 "tx_lane0_sync_clk",
2084 "rx_lane0_sync_clk",
Eric Biggers433f9a52020-07-10 00:20:10 -07002085 "rx_lane1_sync_clk",
2086 "ice_core_clk";
Evan Greencc166872018-12-10 11:28:24 -08002087 clocks =
2088 <&gcc GCC_UFS_PHY_AXI_CLK>,
2089 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
2090 <&gcc GCC_UFS_PHY_AHB_CLK>,
2091 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
2092 <&rpmhcc RPMH_CXO_CLK>,
2093 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
2094 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
Eric Biggers433f9a52020-07-10 00:20:10 -07002095 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>,
2096 <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
Evan Greencc166872018-12-10 11:28:24 -08002097 freq-table-hz =
2098 <50000000 200000000>,
2099 <0 0>,
2100 <0 0>,
2101 <37500000 150000000>,
2102 <0 0>,
2103 <0 0>,
2104 <0 0>,
Eric Biggers433f9a52020-07-10 00:20:10 -07002105 <0 0>,
2106 <0 300000000>;
Evan Greencc166872018-12-10 11:28:24 -08002107
2108 status = "disabled";
2109 };
2110
2111 ufs_mem_phy: phy@1d87000 {
2112 compatible = "qcom,sdm845-qmp-ufs-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002113 reg = <0 0x01d87000 0 0x18c>;
2114 #address-cells = <2>;
2115 #size-cells = <2>;
Evan Greencc166872018-12-10 11:28:24 -08002116 ranges;
2117 clock-names = "ref",
2118 "ref_aux";
2119 clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
2120 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
2121
Evan Green71278b02019-03-21 10:17:56 -07002122 resets = <&ufs_mem_hc 0>;
2123 reset-names = "ufsphy";
Evan Greencc166872018-12-10 11:28:24 -08002124 status = "disabled";
2125
2126 ufs_mem_phy_lanes: lanes@1d87400 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002127 reg = <0 0x01d87400 0 0x108>,
2128 <0 0x01d87600 0 0x1e0>,
2129 <0 0x01d87c00 0 0x1dc>,
2130 <0 0x01d87800 0 0x108>,
2131 <0 0x01d87a00 0 0x1e0>;
Evan Greencc166872018-12-10 11:28:24 -08002132 #phy-cells = <0>;
2133 };
2134 };
2135
Alex Elder392a5852020-03-13 06:52:36 -05002136 ipa: ipa@1e40000 {
2137 compatible = "qcom,sdm845-ipa";
Alex Eldere9e89c42020-05-04 13:13:50 -05002138
2139 iommus = <&apps_smmu 0x720 0x3>;
Alex Elder392a5852020-03-13 06:52:36 -05002140 reg = <0 0x1e40000 0 0x7000>,
2141 <0 0x1e47000 0 0x2000>,
2142 <0 0x1e04000 0 0x2c000>;
2143 reg-names = "ipa-reg",
2144 "ipa-shared",
2145 "gsi";
2146
2147 interrupts-extended = <&intc 0 311 IRQ_TYPE_EDGE_RISING>,
2148 <&intc 0 432 IRQ_TYPE_LEVEL_HIGH>,
2149 <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2150 <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
2151 interrupt-names = "ipa",
2152 "gsi",
2153 "ipa-clock-query",
2154 "ipa-setup-ready";
2155
2156 clocks = <&rpmhcc RPMH_IPA_CLK>;
2157 clock-names = "core";
2158
2159 interconnects = <&aggre2_noc MASTER_IPA &mem_noc SLAVE_EBI1>,
2160 <&aggre2_noc MASTER_IPA &system_noc SLAVE_IMEM>,
2161 <&gladiator_noc MASTER_APPSS_PROC &config_noc SLAVE_IPA_CFG>;
2162 interconnect-names = "memory",
2163 "imem",
2164 "config";
2165
2166 qcom,smem-states = <&ipa_smp2p_out 0>,
2167 <&ipa_smp2p_out 1>;
2168 qcom,smem-state-names = "ipa-clock-enabled-valid",
2169 "ipa-clock-enabled";
2170
2171 modem-remoteproc = <&mss_pil>;
2172
2173 status = "disabled";
2174 };
2175
Douglas Anderson54d7a202018-05-14 20:59:22 -07002176 tcsr_mutex_regs: syscon@1f40000 {
2177 compatible = "syscon";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002178 reg = <0 0x01f40000 0 0x40000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07002179 };
2180
2181 tlmm: pinctrl@3400000 {
2182 compatible = "qcom,sdm845-pinctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002183 reg = <0 0x03400000 0 0xc00000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07002184 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
2185 gpio-controller;
2186 #gpio-cells = <2>;
2187 interrupt-controller;
2188 #interrupt-cells = <2>;
Evan Greenbc2c8062018-11-09 15:52:12 -08002189 gpio-ranges = <&tlmm 0 0 150>;
Lina Iyeraeae9482019-11-15 15:11:54 -07002190 wakeup-parent = <&pdc_intc>;
Douglas Anderson897cf342018-06-13 09:53:51 -07002191
Robert Foss07484de2020-03-24 16:58:39 +01002192 cci0_default: cci0-default {
2193 /* SDA, SCL */
2194 pins = "gpio17", "gpio18";
2195 function = "cci_i2c";
2196
2197 bias-pull-up;
2198 drive-strength = <2>; /* 2 mA */
2199 };
2200
2201 cci0_sleep: cci0-sleep {
2202 /* SDA, SCL */
2203 pins = "gpio17", "gpio18";
2204 function = "cci_i2c";
2205
2206 drive-strength = <2>; /* 2 mA */
2207 bias-pull-down;
2208 };
2209
2210 cci1_default: cci1-default {
2211 /* SDA, SCL */
2212 pins = "gpio19", "gpio20";
2213 function = "cci_i2c";
2214
2215 bias-pull-up;
2216 drive-strength = <2>; /* 2 mA */
2217 };
2218
2219 cci1_sleep: cci1-sleep {
2220 /* SDA, SCL */
2221 pins = "gpio19", "gpio20";
2222 function = "cci_i2c";
2223
2224 drive-strength = <2>; /* 2 mA */
2225 bias-pull-down;
2226 };
2227
Douglas Andersone1ce8532018-10-08 13:17:11 -07002228 qspi_clk: qspi-clk {
2229 pinmux {
2230 pins = "gpio95";
2231 function = "qspi_clk";
2232 };
2233 };
2234
2235 qspi_cs0: qspi-cs0 {
2236 pinmux {
2237 pins = "gpio90";
2238 function = "qspi_cs";
2239 };
2240 };
2241
2242 qspi_cs1: qspi-cs1 {
2243 pinmux {
2244 pins = "gpio89";
2245 function = "qspi_cs";
2246 };
2247 };
2248
2249 qspi_data01: qspi-data01 {
2250 pinmux-data {
2251 pins = "gpio91", "gpio92";
2252 function = "qspi_data";
2253 };
2254 };
2255
2256 qspi_data12: qspi-data12 {
2257 pinmux-data {
2258 pins = "gpio93", "gpio94";
2259 function = "qspi_data";
2260 };
2261 };
2262
Douglas Anderson897cf342018-06-13 09:53:51 -07002263 qup_i2c0_default: qup-i2c0-default {
2264 pinmux {
2265 pins = "gpio0", "gpio1";
2266 function = "qup0";
2267 };
2268 };
2269
2270 qup_i2c1_default: qup-i2c1-default {
2271 pinmux {
2272 pins = "gpio17", "gpio18";
2273 function = "qup1";
2274 };
2275 };
2276
2277 qup_i2c2_default: qup-i2c2-default {
2278 pinmux {
2279 pins = "gpio27", "gpio28";
2280 function = "qup2";
2281 };
2282 };
2283
2284 qup_i2c3_default: qup-i2c3-default {
2285 pinmux {
2286 pins = "gpio41", "gpio42";
2287 function = "qup3";
2288 };
2289 };
2290
2291 qup_i2c4_default: qup-i2c4-default {
2292 pinmux {
2293 pins = "gpio89", "gpio90";
2294 function = "qup4";
2295 };
2296 };
2297
2298 qup_i2c5_default: qup-i2c5-default {
2299 pinmux {
2300 pins = "gpio85", "gpio86";
2301 function = "qup5";
2302 };
2303 };
2304
2305 qup_i2c6_default: qup-i2c6-default {
2306 pinmux {
2307 pins = "gpio45", "gpio46";
2308 function = "qup6";
2309 };
2310 };
2311
2312 qup_i2c7_default: qup-i2c7-default {
2313 pinmux {
2314 pins = "gpio93", "gpio94";
2315 function = "qup7";
2316 };
2317 };
2318
2319 qup_i2c8_default: qup-i2c8-default {
2320 pinmux {
2321 pins = "gpio65", "gpio66";
2322 function = "qup8";
2323 };
2324 };
2325
2326 qup_i2c9_default: qup-i2c9-default {
2327 pinmux {
2328 pins = "gpio6", "gpio7";
2329 function = "qup9";
2330 };
2331 };
2332
2333 qup_i2c10_default: qup-i2c10-default {
2334 pinmux {
2335 pins = "gpio55", "gpio56";
2336 function = "qup10";
2337 };
2338 };
2339
2340 qup_i2c11_default: qup-i2c11-default {
2341 pinmux {
2342 pins = "gpio31", "gpio32";
2343 function = "qup11";
2344 };
2345 };
2346
2347 qup_i2c12_default: qup-i2c12-default {
2348 pinmux {
2349 pins = "gpio49", "gpio50";
2350 function = "qup12";
2351 };
2352 };
2353
2354 qup_i2c13_default: qup-i2c13-default {
2355 pinmux {
2356 pins = "gpio105", "gpio106";
2357 function = "qup13";
2358 };
2359 };
2360
2361 qup_i2c14_default: qup-i2c14-default {
2362 pinmux {
2363 pins = "gpio33", "gpio34";
2364 function = "qup14";
2365 };
2366 };
2367
2368 qup_i2c15_default: qup-i2c15-default {
2369 pinmux {
2370 pins = "gpio81", "gpio82";
2371 function = "qup15";
2372 };
2373 };
2374
2375 qup_spi0_default: qup-spi0-default {
2376 pinmux {
2377 pins = "gpio0", "gpio1",
2378 "gpio2", "gpio3";
2379 function = "qup0";
2380 };
2381 };
2382
2383 qup_spi1_default: qup-spi1-default {
2384 pinmux {
2385 pins = "gpio17", "gpio18",
2386 "gpio19", "gpio20";
2387 function = "qup1";
2388 };
2389 };
2390
2391 qup_spi2_default: qup-spi2-default {
2392 pinmux {
2393 pins = "gpio27", "gpio28",
2394 "gpio29", "gpio30";
2395 function = "qup2";
2396 };
2397 };
2398
2399 qup_spi3_default: qup-spi3-default {
2400 pinmux {
2401 pins = "gpio41", "gpio42",
2402 "gpio43", "gpio44";
2403 function = "qup3";
2404 };
2405 };
2406
2407 qup_spi4_default: qup-spi4-default {
2408 pinmux {
2409 pins = "gpio89", "gpio90",
2410 "gpio91", "gpio92";
2411 function = "qup4";
2412 };
2413 };
2414
2415 qup_spi5_default: qup-spi5-default {
2416 pinmux {
2417 pins = "gpio85", "gpio86",
2418 "gpio87", "gpio88";
2419 function = "qup5";
2420 };
2421 };
2422
2423 qup_spi6_default: qup-spi6-default {
2424 pinmux {
2425 pins = "gpio45", "gpio46",
2426 "gpio47", "gpio48";
2427 function = "qup6";
2428 };
2429 };
2430
2431 qup_spi7_default: qup-spi7-default {
2432 pinmux {
2433 pins = "gpio93", "gpio94",
2434 "gpio95", "gpio96";
2435 function = "qup7";
2436 };
2437 };
2438
2439 qup_spi8_default: qup-spi8-default {
2440 pinmux {
2441 pins = "gpio65", "gpio66",
2442 "gpio67", "gpio68";
2443 function = "qup8";
2444 };
2445 };
2446
2447 qup_spi9_default: qup-spi9-default {
2448 pinmux {
2449 pins = "gpio6", "gpio7",
2450 "gpio4", "gpio5";
2451 function = "qup9";
2452 };
2453 };
2454
2455 qup_spi10_default: qup-spi10-default {
2456 pinmux {
2457 pins = "gpio55", "gpio56",
2458 "gpio53", "gpio54";
2459 function = "qup10";
2460 };
2461 };
2462
2463 qup_spi11_default: qup-spi11-default {
2464 pinmux {
2465 pins = "gpio31", "gpio32",
2466 "gpio33", "gpio34";
2467 function = "qup11";
2468 };
2469 };
2470
2471 qup_spi12_default: qup-spi12-default {
2472 pinmux {
2473 pins = "gpio49", "gpio50",
2474 "gpio51", "gpio52";
2475 function = "qup12";
2476 };
2477 };
2478
2479 qup_spi13_default: qup-spi13-default {
2480 pinmux {
2481 pins = "gpio105", "gpio106",
2482 "gpio107", "gpio108";
2483 function = "qup13";
2484 };
2485 };
2486
2487 qup_spi14_default: qup-spi14-default {
2488 pinmux {
2489 pins = "gpio33", "gpio34",
2490 "gpio31", "gpio32";
2491 function = "qup14";
2492 };
2493 };
2494
2495 qup_spi15_default: qup-spi15-default {
2496 pinmux {
2497 pins = "gpio81", "gpio82",
2498 "gpio83", "gpio84";
2499 function = "qup15";
2500 };
2501 };
2502
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07002503 qup_uart0_default: qup-uart0-default {
2504 pinmux {
2505 pins = "gpio2", "gpio3";
2506 function = "qup0";
2507 };
2508 };
2509
2510 qup_uart1_default: qup-uart1-default {
2511 pinmux {
2512 pins = "gpio19", "gpio20";
2513 function = "qup1";
2514 };
2515 };
2516
2517 qup_uart2_default: qup-uart2-default {
2518 pinmux {
2519 pins = "gpio29", "gpio30";
2520 function = "qup2";
2521 };
2522 };
2523
2524 qup_uart3_default: qup-uart3-default {
2525 pinmux {
2526 pins = "gpio43", "gpio44";
2527 function = "qup3";
2528 };
2529 };
2530
2531 qup_uart4_default: qup-uart4-default {
2532 pinmux {
2533 pins = "gpio91", "gpio92";
2534 function = "qup4";
2535 };
2536 };
2537
2538 qup_uart5_default: qup-uart5-default {
2539 pinmux {
2540 pins = "gpio87", "gpio88";
2541 function = "qup5";
2542 };
2543 };
2544
2545 qup_uart6_default: qup-uart6-default {
2546 pinmux {
2547 pins = "gpio47", "gpio48";
2548 function = "qup6";
2549 };
2550 };
2551
2552 qup_uart7_default: qup-uart7-default {
2553 pinmux {
2554 pins = "gpio95", "gpio96";
2555 function = "qup7";
2556 };
2557 };
2558
2559 qup_uart8_default: qup-uart8-default {
2560 pinmux {
2561 pins = "gpio67", "gpio68";
2562 function = "qup8";
2563 };
2564 };
2565
Douglas Anderson897cf342018-06-13 09:53:51 -07002566 qup_uart9_default: qup-uart9-default {
2567 pinmux {
2568 pins = "gpio4", "gpio5";
2569 function = "qup9";
2570 };
2571 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07002572
2573 qup_uart10_default: qup-uart10-default {
2574 pinmux {
2575 pins = "gpio53", "gpio54";
2576 function = "qup10";
2577 };
2578 };
2579
2580 qup_uart11_default: qup-uart11-default {
2581 pinmux {
2582 pins = "gpio33", "gpio34";
2583 function = "qup11";
2584 };
2585 };
2586
2587 qup_uart12_default: qup-uart12-default {
2588 pinmux {
2589 pins = "gpio51", "gpio52";
2590 function = "qup12";
2591 };
2592 };
2593
2594 qup_uart13_default: qup-uart13-default {
2595 pinmux {
2596 pins = "gpio107", "gpio108";
2597 function = "qup13";
2598 };
2599 };
2600
2601 qup_uart14_default: qup-uart14-default {
2602 pinmux {
2603 pins = "gpio31", "gpio32";
2604 function = "qup14";
2605 };
2606 };
2607
2608 qup_uart15_default: qup-uart15-default {
2609 pinmux {
2610 pins = "gpio83", "gpio84";
2611 function = "qup15";
2612 };
2613 };
Srinivas Kandagatla606057b2020-03-12 14:30:23 +00002614
2615 quat_mi2s_sleep: quat_mi2s_sleep {
2616 mux {
2617 pins = "gpio58", "gpio59";
2618 function = "gpio";
2619 };
2620
2621 config {
2622 pins = "gpio58", "gpio59";
2623 drive-strength = <2>;
2624 bias-pull-down;
2625 input-enable;
2626 };
2627 };
2628
2629 quat_mi2s_active: quat_mi2s_active {
2630 mux {
2631 pins = "gpio58", "gpio59";
2632 function = "qua_mi2s";
2633 };
2634
2635 config {
2636 pins = "gpio58", "gpio59";
2637 drive-strength = <8>;
2638 bias-disable;
2639 output-high;
2640 };
2641 };
2642
2643 quat_mi2s_sd0_sleep: quat_mi2s_sd0_sleep {
2644 mux {
2645 pins = "gpio60";
2646 function = "gpio";
2647 };
2648
2649 config {
2650 pins = "gpio60";
2651 drive-strength = <2>;
2652 bias-pull-down;
2653 input-enable;
2654 };
2655 };
2656
2657 quat_mi2s_sd0_active: quat_mi2s_sd0_active {
2658 mux {
2659 pins = "gpio60";
2660 function = "qua_mi2s";
2661 };
2662
2663 config {
2664 pins = "gpio60";
2665 drive-strength = <8>;
2666 bias-disable;
2667 };
2668 };
2669
2670 quat_mi2s_sd1_sleep: quat_mi2s_sd1_sleep {
2671 mux {
2672 pins = "gpio61";
2673 function = "gpio";
2674 };
2675
2676 config {
2677 pins = "gpio61";
2678 drive-strength = <2>;
2679 bias-pull-down;
2680 input-enable;
2681 };
2682 };
2683
2684 quat_mi2s_sd1_active: quat_mi2s_sd1_active {
2685 mux {
2686 pins = "gpio61";
2687 function = "qua_mi2s";
2688 };
2689
2690 config {
2691 pins = "gpio61";
2692 drive-strength = <8>;
2693 bias-disable;
2694 };
2695 };
2696
2697 quat_mi2s_sd2_sleep: quat_mi2s_sd2_sleep {
2698 mux {
2699 pins = "gpio62";
2700 function = "gpio";
2701 };
2702
2703 config {
2704 pins = "gpio62";
2705 drive-strength = <2>;
2706 bias-pull-down;
2707 input-enable;
2708 };
2709 };
2710
2711 quat_mi2s_sd2_active: quat_mi2s_sd2_active {
2712 mux {
2713 pins = "gpio62";
2714 function = "qua_mi2s";
2715 };
2716
2717 config {
2718 pins = "gpio62";
2719 drive-strength = <8>;
2720 bias-disable;
2721 };
2722 };
2723
2724 quat_mi2s_sd3_sleep: quat_mi2s_sd3_sleep {
2725 mux {
2726 pins = "gpio63";
2727 function = "gpio";
2728 };
2729
2730 config {
2731 pins = "gpio63";
2732 drive-strength = <2>;
2733 bias-pull-down;
2734 input-enable;
2735 };
2736 };
2737
2738 quat_mi2s_sd3_active: quat_mi2s_sd3_active {
2739 mux {
2740 pins = "gpio63";
2741 function = "qua_mi2s";
2742 };
2743
2744 config {
2745 pins = "gpio63";
2746 drive-strength = <8>;
2747 bias-disable;
2748 };
2749 };
Douglas Anderson54d7a202018-05-14 20:59:22 -07002750 };
2751
Sibi Sankare76c3672019-06-11 21:45:36 -07002752 mss_pil: remoteproc@4080000 {
2753 compatible = "qcom,sdm845-mss-pil";
2754 reg = <0 0x04080000 0 0x408>, <0 0x04180000 0 0x48>;
2755 reg-names = "qdsp6", "rmb";
2756
2757 interrupts-extended =
2758 <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,
2759 <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2760 <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
2761 <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
2762 <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
2763 <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
2764 interrupt-names = "wdog", "fatal", "ready",
2765 "handover", "stop-ack",
2766 "shutdown-ack";
2767
2768 clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
2769 <&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
2770 <&gcc GCC_BOOT_ROM_AHB_CLK>,
2771 <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
2772 <&gcc GCC_MSS_SNOC_AXI_CLK>,
2773 <&gcc GCC_MSS_MFAB_AXIS_CLK>,
2774 <&gcc GCC_PRNG_AHB_CLK>,
2775 <&rpmhcc RPMH_CXO_CLK>;
2776 clock-names = "iface", "bus", "mem", "gpll0_mss",
2777 "snoc_axi", "mnoc_axi", "prng", "xo";
2778
2779 qcom,smem-states = <&modem_smp2p_out 0>;
2780 qcom,smem-state-names = "stop";
2781
2782 resets = <&aoss_reset AOSS_CC_MSS_RESTART>,
2783 <&pdc_reset PDC_MODEM_SYNC_RESET>;
2784 reset-names = "mss_restart", "pdc_reset";
2785
2786 qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>;
2787
2788 power-domains = <&aoss_qmp 2>,
2789 <&rpmhpd SDM845_CX>,
2790 <&rpmhpd SDM845_MX>,
2791 <&rpmhpd SDM845_MSS>;
2792 power-domain-names = "load_state", "cx", "mx", "mss";
2793
2794 mba {
2795 memory-region = <&mba_region>;
2796 };
2797
2798 mpss {
2799 memory-region = <&mpss_region>;
2800 };
2801
2802 glink-edge {
2803 interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
2804 label = "modem";
2805 qcom,remote-pid = <1>;
2806 mboxes = <&apss_shared 12>;
2807 };
2808 };
2809
Douglas Anderson9aa4a272018-11-28 10:57:43 -08002810 gpucc: clock-controller@5090000 {
2811 compatible = "qcom,sdm845-gpucc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002812 reg = <0 0x05090000 0 0x9000>;
Douglas Anderson9aa4a272018-11-28 10:57:43 -08002813 #clock-cells = <1>;
2814 #reset-cells = <1>;
2815 #power-domain-cells = <1>;
Douglas Andersonbb2bd9b2020-02-03 10:31:41 -08002816 clocks = <&rpmhcc RPMH_CXO_CLK>,
2817 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
2818 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
2819 clock-names = "bi_tcxo",
2820 "gcc_gpu_gpll0_clk_src",
2821 "gcc_gpu_gpll0_div_clk_src";
Douglas Anderson9aa4a272018-11-28 10:57:43 -08002822 };
2823
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05302824 stm@6002000 {
2825 compatible = "arm,coresight-stm", "arm,primecell";
2826 reg = <0 0x06002000 0 0x1000>,
2827 <0 0x16280000 0 0x180000>;
2828 reg-names = "stm-base", "stm-stimulus-base";
2829
2830 clocks = <&aoss_qmp>;
2831 clock-names = "apb_pclk";
2832
2833 out-ports {
2834 port {
2835 stm_out: endpoint {
2836 remote-endpoint =
2837 <&funnel0_in7>;
2838 };
2839 };
2840 };
2841 };
2842
2843 funnel@6041000 {
2844 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2845 reg = <0 0x06041000 0 0x1000>;
2846
2847 clocks = <&aoss_qmp>;
2848 clock-names = "apb_pclk";
2849
2850 out-ports {
2851 port {
2852 funnel0_out: endpoint {
2853 remote-endpoint =
2854 <&merge_funnel_in0>;
2855 };
2856 };
2857 };
2858
2859 in-ports {
2860 #address-cells = <1>;
2861 #size-cells = <0>;
2862
2863 port@7 {
2864 reg = <7>;
2865 funnel0_in7: endpoint {
2866 remote-endpoint = <&stm_out>;
2867 };
2868 };
2869 };
2870 };
2871
2872 funnel@6043000 {
2873 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2874 reg = <0 0x06043000 0 0x1000>;
2875
2876 clocks = <&aoss_qmp>;
2877 clock-names = "apb_pclk";
2878
2879 out-ports {
2880 port {
2881 funnel2_out: endpoint {
2882 remote-endpoint =
2883 <&merge_funnel_in2>;
2884 };
2885 };
2886 };
2887
2888 in-ports {
2889 #address-cells = <1>;
2890 #size-cells = <0>;
2891
2892 port@5 {
2893 reg = <5>;
2894 funnel2_in5: endpoint {
2895 remote-endpoint =
2896 <&apss_merge_funnel_out>;
2897 };
2898 };
2899 };
2900 };
2901
2902 funnel@6045000 {
2903 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2904 reg = <0 0x06045000 0 0x1000>;
2905
2906 clocks = <&aoss_qmp>;
2907 clock-names = "apb_pclk";
2908
2909 out-ports {
2910 port {
2911 merge_funnel_out: endpoint {
2912 remote-endpoint = <&etf_in>;
2913 };
2914 };
2915 };
2916
2917 in-ports {
2918 #address-cells = <1>;
2919 #size-cells = <0>;
2920
2921 port@0 {
2922 reg = <0>;
2923 merge_funnel_in0: endpoint {
2924 remote-endpoint =
2925 <&funnel0_out>;
2926 };
2927 };
2928
2929 port@2 {
2930 reg = <2>;
2931 merge_funnel_in2: endpoint {
2932 remote-endpoint =
2933 <&funnel2_out>;
2934 };
2935 };
2936 };
2937 };
2938
2939 replicator@6046000 {
2940 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
2941 reg = <0 0x06046000 0 0x1000>;
2942
2943 clocks = <&aoss_qmp>;
2944 clock-names = "apb_pclk";
2945
2946 out-ports {
2947 port {
2948 replicator_out: endpoint {
2949 remote-endpoint = <&etr_in>;
2950 };
2951 };
2952 };
2953
2954 in-ports {
2955 port {
2956 replicator_in: endpoint {
2957 remote-endpoint = <&etf_out>;
2958 };
2959 };
2960 };
2961 };
2962
2963 etf@6047000 {
2964 compatible = "arm,coresight-tmc", "arm,primecell";
2965 reg = <0 0x06047000 0 0x1000>;
2966
2967 clocks = <&aoss_qmp>;
2968 clock-names = "apb_pclk";
2969
2970 out-ports {
2971 port {
2972 etf_out: endpoint {
2973 remote-endpoint =
2974 <&replicator_in>;
2975 };
2976 };
2977 };
2978
2979 in-ports {
2980 #address-cells = <1>;
2981 #size-cells = <0>;
2982
2983 port@1 {
2984 reg = <1>;
2985 etf_in: endpoint {
2986 remote-endpoint =
2987 <&merge_funnel_out>;
2988 };
2989 };
2990 };
2991 };
2992
2993 etr@6048000 {
2994 compatible = "arm,coresight-tmc", "arm,primecell";
2995 reg = <0 0x06048000 0 0x1000>;
2996
2997 clocks = <&aoss_qmp>;
2998 clock-names = "apb_pclk";
2999 arm,scatter-gather;
3000
3001 in-ports {
3002 port {
3003 etr_in: endpoint {
3004 remote-endpoint =
3005 <&replicator_out>;
3006 };
3007 };
3008 };
3009 };
3010
3011 etm@7040000 {
3012 compatible = "arm,coresight-etm4x", "arm,primecell";
3013 reg = <0 0x07040000 0 0x1000>;
3014
3015 cpu = <&CPU0>;
3016
3017 clocks = <&aoss_qmp>;
3018 clock-names = "apb_pclk";
3019
3020 out-ports {
3021 port {
3022 etm0_out: endpoint {
3023 remote-endpoint =
3024 <&apss_funnel_in0>;
3025 };
3026 };
3027 };
3028 };
3029
3030 etm@7140000 {
3031 compatible = "arm,coresight-etm4x", "arm,primecell";
3032 reg = <0 0x07140000 0 0x1000>;
3033
3034 cpu = <&CPU1>;
3035
3036 clocks = <&aoss_qmp>;
3037 clock-names = "apb_pclk";
3038
3039 out-ports {
3040 port {
3041 etm1_out: endpoint {
3042 remote-endpoint =
3043 <&apss_funnel_in1>;
3044 };
3045 };
3046 };
3047 };
3048
3049 etm@7240000 {
3050 compatible = "arm,coresight-etm4x", "arm,primecell";
3051 reg = <0 0x07240000 0 0x1000>;
3052
3053 cpu = <&CPU2>;
3054
3055 clocks = <&aoss_qmp>;
3056 clock-names = "apb_pclk";
3057
3058 out-ports {
3059 port {
3060 etm2_out: endpoint {
3061 remote-endpoint =
3062 <&apss_funnel_in2>;
3063 };
3064 };
3065 };
3066 };
3067
3068 etm@7340000 {
3069 compatible = "arm,coresight-etm4x", "arm,primecell";
3070 reg = <0 0x07340000 0 0x1000>;
3071
3072 cpu = <&CPU3>;
3073
3074 clocks = <&aoss_qmp>;
3075 clock-names = "apb_pclk";
3076
3077 out-ports {
3078 port {
3079 etm3_out: endpoint {
3080 remote-endpoint =
3081 <&apss_funnel_in3>;
3082 };
3083 };
3084 };
3085 };
3086
3087 etm@7440000 {
3088 compatible = "arm,coresight-etm4x", "arm,primecell";
3089 reg = <0 0x07440000 0 0x1000>;
3090
3091 cpu = <&CPU4>;
3092
3093 clocks = <&aoss_qmp>;
3094 clock-names = "apb_pclk";
3095
3096 out-ports {
3097 port {
3098 etm4_out: endpoint {
3099 remote-endpoint =
3100 <&apss_funnel_in4>;
3101 };
3102 };
3103 };
3104 };
3105
3106 etm@7540000 {
3107 compatible = "arm,coresight-etm4x", "arm,primecell";
3108 reg = <0 0x07540000 0 0x1000>;
3109
3110 cpu = <&CPU5>;
3111
3112 clocks = <&aoss_qmp>;
3113 clock-names = "apb_pclk";
3114
3115 out-ports {
3116 port {
3117 etm5_out: endpoint {
3118 remote-endpoint =
3119 <&apss_funnel_in5>;
3120 };
3121 };
3122 };
3123 };
3124
3125 etm@7640000 {
3126 compatible = "arm,coresight-etm4x", "arm,primecell";
3127 reg = <0 0x07640000 0 0x1000>;
3128
3129 cpu = <&CPU6>;
3130
3131 clocks = <&aoss_qmp>;
3132 clock-names = "apb_pclk";
3133
3134 out-ports {
3135 port {
3136 etm6_out: endpoint {
3137 remote-endpoint =
3138 <&apss_funnel_in6>;
3139 };
3140 };
3141 };
3142 };
3143
3144 etm@7740000 {
3145 compatible = "arm,coresight-etm4x", "arm,primecell";
3146 reg = <0 0x07740000 0 0x1000>;
3147
3148 cpu = <&CPU7>;
3149
3150 clocks = <&aoss_qmp>;
3151 clock-names = "apb_pclk";
3152
3153 out-ports {
3154 port {
3155 etm7_out: endpoint {
3156 remote-endpoint =
3157 <&apss_funnel_in7>;
3158 };
3159 };
3160 };
3161 };
3162
3163 funnel@7800000 { /* APSS Funnel */
3164 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3165 reg = <0 0x07800000 0 0x1000>;
3166
3167 clocks = <&aoss_qmp>;
3168 clock-names = "apb_pclk";
3169
3170 out-ports {
3171 port {
3172 apss_funnel_out: endpoint {
3173 remote-endpoint =
3174 <&apss_merge_funnel_in>;
3175 };
3176 };
3177 };
3178
3179 in-ports {
3180 #address-cells = <1>;
3181 #size-cells = <0>;
3182
3183 port@0 {
3184 reg = <0>;
3185 apss_funnel_in0: endpoint {
3186 remote-endpoint =
3187 <&etm0_out>;
3188 };
3189 };
3190
3191 port@1 {
3192 reg = <1>;
3193 apss_funnel_in1: endpoint {
3194 remote-endpoint =
3195 <&etm1_out>;
3196 };
3197 };
3198
3199 port@2 {
3200 reg = <2>;
3201 apss_funnel_in2: endpoint {
3202 remote-endpoint =
3203 <&etm2_out>;
3204 };
3205 };
3206
3207 port@3 {
3208 reg = <3>;
3209 apss_funnel_in3: endpoint {
3210 remote-endpoint =
3211 <&etm3_out>;
3212 };
3213 };
3214
3215 port@4 {
3216 reg = <4>;
3217 apss_funnel_in4: endpoint {
3218 remote-endpoint =
3219 <&etm4_out>;
3220 };
3221 };
3222
3223 port@5 {
3224 reg = <5>;
3225 apss_funnel_in5: endpoint {
3226 remote-endpoint =
3227 <&etm5_out>;
3228 };
3229 };
3230
3231 port@6 {
3232 reg = <6>;
3233 apss_funnel_in6: endpoint {
3234 remote-endpoint =
3235 <&etm6_out>;
3236 };
3237 };
3238
3239 port@7 {
3240 reg = <7>;
3241 apss_funnel_in7: endpoint {
3242 remote-endpoint =
3243 <&etm7_out>;
3244 };
3245 };
3246 };
3247 };
3248
3249 funnel@7810000 {
3250 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3251 reg = <0 0x07810000 0 0x1000>;
3252
3253 clocks = <&aoss_qmp>;
3254 clock-names = "apb_pclk";
3255
3256 out-ports {
3257 port {
3258 apss_merge_funnel_out: endpoint {
3259 remote-endpoint =
3260 <&funnel2_in5>;
3261 };
3262 };
3263 };
3264
3265 in-ports {
3266 port {
3267 apss_merge_funnel_in: endpoint {
3268 remote-endpoint =
3269 <&apss_funnel_out>;
3270 };
3271 };
3272 };
3273 };
3274
Evan Green67d62e52018-12-06 10:45:21 -08003275 sdhc_2: sdhci@8804000 {
3276 compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003277 reg = <0 0x08804000 0 0x1000>;
Evan Green67d62e52018-12-06 10:45:21 -08003278
3279 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
3280 <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
3281 interrupt-names = "hc_irq", "pwr_irq";
3282
3283 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
3284 <&gcc GCC_SDCC2_APPS_CLK>;
3285 clock-names = "iface", "core";
Bjorn Andersson55fae1d2019-02-04 16:54:52 -08003286 iommus = <&apps_smmu 0xa0 0xf>;
Rajendra Nayak6123e742020-06-30 14:15:11 +05303287 power-domains = <&rpmhpd SDM845_CX>;
3288 operating-points-v2 = <&sdhc2_opp_table>;
Evan Green67d62e52018-12-06 10:45:21 -08003289
3290 status = "disabled";
Rajendra Nayak6123e742020-06-30 14:15:11 +05303291
3292 sdhc2_opp_table: sdhc2-opp-table {
3293 compatible = "operating-points-v2";
3294
3295 opp-9600000 {
3296 opp-hz = /bits/ 64 <9600000>;
3297 required-opps = <&rpmhpd_opp_min_svs>;
3298 };
3299
3300 opp-19200000 {
3301 opp-hz = /bits/ 64 <19200000>;
3302 required-opps = <&rpmhpd_opp_low_svs>;
3303 };
3304
3305 opp-100000000 {
3306 opp-hz = /bits/ 64 <100000000>;
3307 required-opps = <&rpmhpd_opp_svs>;
3308 };
3309
3310 opp-201500000 {
3311 opp-hz = /bits/ 64 <201500000>;
3312 required-opps = <&rpmhpd_opp_svs_l1>;
3313 };
3314 };
Evan Green67d62e52018-12-06 10:45:21 -08003315 };
3316
Rajendra Nayak5b4de2f2020-07-03 15:11:32 +05303317 qspi_opp_table: qspi-opp-table {
3318 compatible = "operating-points-v2";
3319
3320 opp-19200000 {
3321 opp-hz = /bits/ 64 <19200000>;
3322 required-opps = <&rpmhpd_opp_min_svs>;
3323 };
3324
3325 opp-100000000 {
3326 opp-hz = /bits/ 64 <100000000>;
3327 required-opps = <&rpmhpd_opp_low_svs>;
3328 };
3329
3330 opp-150000000 {
3331 opp-hz = /bits/ 64 <150000000>;
3332 required-opps = <&rpmhpd_opp_svs>;
3333 };
3334
3335 opp-300000000 {
3336 opp-hz = /bits/ 64 <300000000>;
3337 required-opps = <&rpmhpd_opp_nom>;
3338 };
3339 };
3340
Douglas Andersone1ce8532018-10-08 13:17:11 -07003341 qspi: spi@88df000 {
3342 compatible = "qcom,sdm845-qspi", "qcom,qspi-v1";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003343 reg = <0 0x088df000 0 0x600>;
Douglas Andersone1ce8532018-10-08 13:17:11 -07003344 #address-cells = <1>;
3345 #size-cells = <0>;
3346 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
3347 clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
3348 <&gcc GCC_QSPI_CORE_CLK>;
3349 clock-names = "iface", "core";
Rajendra Nayak5b4de2f2020-07-03 15:11:32 +05303350 power-domains = <&rpmhpd SDM845_CX>;
3351 operating-points-v2 = <&qspi_opp_table>;
Douglas Andersone1ce8532018-10-08 13:17:11 -07003352 status = "disabled";
3353 };
3354
Srinivas Kandagatla27ca1de2020-03-12 14:30:20 +00003355 slim: slim@171c0000 {
3356 compatible = "qcom,slim-ngd-v2.1.0";
3357 reg = <0 0x171c0000 0 0x2c000>;
3358 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
3359
3360 qcom,apps-ch-pipes = <0x780000>;
3361 qcom,ea-pc = <0x270>;
3362 status = "okay";
3363 dmas = <&slimbam 3>, <&slimbam 4>,
3364 <&slimbam 5>, <&slimbam 6>;
3365 dma-names = "rx", "tx", "tx2", "rx2";
3366
3367 iommus = <&apps_smmu 0x1806 0x0>;
3368 #address-cells = <1>;
3369 #size-cells = <0>;
3370
3371 ngd@1 {
3372 reg = <1>;
3373 #address-cells = <2>;
3374 #size-cells = <0>;
3375
3376 wcd9340_ifd: ifd@0{
3377 compatible = "slim217,250";
3378 reg = <0 0>;
3379 };
3380
3381 wcd9340: codec@1{
3382 compatible = "slim217,250";
3383 reg = <1 0>;
3384 slim-ifc-dev = <&wcd9340_ifd>;
3385
3386 #sound-dai-cells = <1>;
3387
3388 interrupts-extended = <&tlmm 54 IRQ_TYPE_LEVEL_HIGH>;
3389 interrupt-controller;
3390 #interrupt-cells = <1>;
3391
3392 #clock-cells = <0>;
3393 clock-frequency = <9600000>;
3394 clock-output-names = "mclk";
3395 qcom,micbias1-millivolt = <1800>;
3396 qcom,micbias2-millivolt = <1800>;
3397 qcom,micbias3-millivolt = <1800>;
3398 qcom,micbias4-millivolt = <1800>;
3399
3400 #address-cells = <1>;
3401 #size-cells = <1>;
3402
3403 wcdgpio: gpio-controller@42 {
3404 compatible = "qcom,wcd9340-gpio";
3405 gpio-controller;
3406 #gpio-cells = <2>;
3407 reg = <0x42 0x2>;
3408 };
3409
3410 swm: swm@c85 {
3411 compatible = "qcom,soundwire-v1.3.0";
3412 reg = <0xc85 0x40>;
3413 interrupts-extended = <&wcd9340 20>;
3414
3415 qcom,dout-ports = <6>;
3416 qcom,din-ports = <2>;
3417 qcom,ports-sinterval-low =/bits/ 8 <0x07 0x1F 0x3F 0x7 0x1F 0x3F 0x0F 0x0F>;
3418 qcom,ports-offset1 = /bits/ 8 <0x01 0x02 0x0C 0x6 0x12 0x0D 0x07 0x0A >;
3419 qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x1F 0x00 0x00 0x1F 0x00 0x00>;
3420
3421 #sound-dai-cells = <1>;
3422 clocks = <&wcd9340>;
3423 clock-names = "iface";
3424 #address-cells = <2>;
3425 #size-cells = <0>;
3426
3427
3428 };
3429 };
3430 };
3431 };
3432
3433 sound: sound {
3434 };
3435
Manu Gautamca4db2b2018-08-22 10:36:27 -07003436 usb_1_hsphy: phy@88e2000 {
Sandeep Maheswaramd724b422020-03-09 15:23:08 +05303437 compatible = "qcom,sdm845-qusb2-phy", "qcom,qusb2-v2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003438 reg = <0 0x088e2000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003439 status = "disabled";
3440 #phy-cells = <0>;
3441
3442 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3443 <&rpmhcc RPMH_CXO_CLK>;
3444 clock-names = "cfg_ahb", "ref";
3445
3446 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
3447
3448 nvmem-cells = <&qusb2p_hstx_trim>;
3449 };
3450
3451 usb_2_hsphy: phy@88e3000 {
Sandeep Maheswaramd724b422020-03-09 15:23:08 +05303452 compatible = "qcom,sdm845-qusb2-phy", "qcom,qusb2-v2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003453 reg = <0 0x088e3000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003454 status = "disabled";
3455 #phy-cells = <0>;
3456
3457 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3458 <&rpmhcc RPMH_CXO_CLK>;
3459 clock-names = "cfg_ahb", "ref";
3460
3461 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
3462
3463 nvmem-cells = <&qusb2s_hstx_trim>;
3464 };
3465
3466 usb_1_qmpphy: phy@88e9000 {
3467 compatible = "qcom,sdm845-qmp-usb3-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003468 reg = <0 0x088e9000 0 0x18c>,
3469 <0 0x088e8000 0 0x10>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003470 reg-names = "reg-base", "dp_com";
3471 status = "disabled";
3472 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003473 #address-cells = <2>;
3474 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003475 ranges;
3476
3477 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
3478 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3479 <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
3480 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
3481 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
3482
3483 resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
3484 <&gcc GCC_USB3_PHY_PRIM_BCR>;
3485 reset-names = "phy", "common";
3486
Evan Green9ebfcba2018-12-10 11:28:26 -08003487 usb_1_ssphy: lanes@88e9200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003488 reg = <0 0x088e9200 0 0x128>,
3489 <0 0x088e9400 0 0x200>,
3490 <0 0x088e9c00 0 0x218>,
3491 <0 0x088e9600 0 0x128>,
3492 <0 0x088e9800 0 0x200>,
3493 <0 0x088e9a00 0 0x100>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003494 #phy-cells = <0>;
3495 clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
3496 clock-names = "pipe0";
3497 clock-output-names = "usb3_phy_pipe_clk_src";
3498 };
3499 };
3500
3501 usb_2_qmpphy: phy@88eb000 {
3502 compatible = "qcom,sdm845-qmp-usb3-uni-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003503 reg = <0 0x088eb000 0 0x18c>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003504 status = "disabled";
3505 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003506 #address-cells = <2>;
3507 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003508 ranges;
3509
3510 clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
3511 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3512 <&gcc GCC_USB3_SEC_CLKREF_CLK>,
3513 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
3514 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
3515
3516 resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
3517 <&gcc GCC_USB3_PHY_SEC_BCR>;
3518 reset-names = "phy", "common";
3519
3520 usb_2_ssphy: lane@88eb200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003521 reg = <0 0x088eb200 0 0x128>,
3522 <0 0x088eb400 0 0x1fc>,
3523 <0 0x088eb800 0 0x218>,
3524 <0 0x088eb600 0 0x70>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003525 #phy-cells = <0>;
3526 clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
3527 clock-names = "pipe0";
3528 clock-output-names = "usb3_uni_phy_pipe_clk_src";
3529 };
3530 };
3531
3532 usb_1: usb@a6f8800 {
3533 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003534 reg = <0 0x0a6f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003535 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003536 #address-cells = <2>;
3537 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003538 ranges;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08003539 dma-ranges;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003540
3541 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
3542 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
3543 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
3544 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
3545 <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
3546 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
3547 "sleep";
3548
3549 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
3550 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
3551 assigned-clock-rates = <19200000>, <150000000>;
3552
3553 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
3554 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
3555 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
3556 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
3557 interrupt-names = "hs_phy_irq", "ss_phy_irq",
3558 "dm_hs_phy_irq", "dp_hs_phy_irq";
3559
3560 power-domains = <&gcc USB30_PRIM_GDSC>;
3561
3562 resets = <&gcc GCC_USB30_PRIM_BCR>;
3563
Sandeep Maheswaram11a8b112020-04-01 10:45:44 +05303564 interconnects = <&aggre2_noc MASTER_USB3_0 &mem_noc SLAVE_EBI1>,
3565 <&gladiator_noc MASTER_APPSS_PROC &config_noc SLAVE_USB3_0>;
3566 interconnect-names = "usb-ddr", "apps-usb";
3567
Manu Gautamca4db2b2018-08-22 10:36:27 -07003568 usb_1_dwc3: dwc3@a600000 {
3569 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003570 reg = <0 0x0a600000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003571 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08003572 iommus = <&apps_smmu 0x740 0>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003573 snps,dis_u2_susphy_quirk;
3574 snps,dis_enblslpm_quirk;
3575 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
3576 phy-names = "usb2-phy", "usb3-phy";
3577 };
3578 };
3579
3580 usb_2: usb@a8f8800 {
3581 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003582 reg = <0 0x0a8f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003583 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003584 #address-cells = <2>;
3585 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003586 ranges;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08003587 dma-ranges;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003588
3589 clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
3590 <&gcc GCC_USB30_SEC_MASTER_CLK>,
3591 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
3592 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
3593 <&gcc GCC_USB30_SEC_SLEEP_CLK>;
3594 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
3595 "sleep";
3596
3597 assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
3598 <&gcc GCC_USB30_SEC_MASTER_CLK>;
3599 assigned-clock-rates = <19200000>, <150000000>;
3600
3601 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
3602 <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>,
3603 <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>,
3604 <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
3605 interrupt-names = "hs_phy_irq", "ss_phy_irq",
3606 "dm_hs_phy_irq", "dp_hs_phy_irq";
3607
3608 power-domains = <&gcc USB30_SEC_GDSC>;
3609
3610 resets = <&gcc GCC_USB30_SEC_BCR>;
3611
Sandeep Maheswaram11a8b112020-04-01 10:45:44 +05303612 interconnects = <&aggre2_noc MASTER_USB3_1 &mem_noc SLAVE_EBI1>,
3613 <&gladiator_noc MASTER_APPSS_PROC &config_noc SLAVE_USB3_1>;
3614 interconnect-names = "usb-ddr", "apps-usb";
3615
Manu Gautamca4db2b2018-08-22 10:36:27 -07003616 usb_2_dwc3: dwc3@a800000 {
3617 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003618 reg = <0 0x0a800000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003619 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08003620 iommus = <&apps_smmu 0x760 0>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003621 snps,dis_u2_susphy_quirk;
3622 snps,dis_enblslpm_quirk;
3623 phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
3624 phy-names = "usb2-phy", "usb3-phy";
3625 };
3626 };
3627
Alexandre Courbot48a05852020-01-08 12:26:23 +09003628 venus: video-codec@aa00000 {
Stanimir Varbanov12227832020-01-06 17:49:28 +02003629 compatible = "qcom,sdm845-venus-v2";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303630 reg = <0 0x0aa00000 0 0xff000>;
3631 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
Stanimir Varbanov12227832020-01-06 17:49:28 +02003632 power-domains = <&videocc VENUS_GDSC>,
3633 <&videocc VCODEC0_GDSC>,
3634 <&videocc VCODEC1_GDSC>;
3635 power-domain-names = "venus", "vcodec0", "vcodec1";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303636 clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
3637 <&videocc VIDEO_CC_VENUS_AHB_CLK>,
Stanimir Varbanov12227832020-01-06 17:49:28 +02003638 <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>,
3639 <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
3640 <&videocc VIDEO_CC_VCODEC0_AXI_CLK>,
3641 <&videocc VIDEO_CC_VCODEC1_CORE_CLK>,
3642 <&videocc VIDEO_CC_VCODEC1_AXI_CLK>;
3643 clock-names = "core", "iface", "bus",
3644 "vcodec0_core", "vcodec0_bus",
3645 "vcodec1_core", "vcodec1_bus";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303646 iommus = <&apps_smmu 0x10a0 0x8>,
3647 <&apps_smmu 0x10b0 0x0>;
3648 memory-region = <&venus_mem>;
3649
3650 video-core0 {
3651 compatible = "venus-decoder";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303652 };
3653
3654 video-core1 {
3655 compatible = "venus-encoder";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303656 };
3657 };
3658
Taniya Das05556682018-12-03 11:36:29 -08003659 videocc: clock-controller@ab00000 {
3660 compatible = "qcom,sdm845-videocc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003661 reg = <0 0x0ab00000 0 0x10000>;
Douglas Andersonaf85ef12020-02-03 10:31:47 -08003662 clocks = <&rpmhcc RPMH_CXO_CLK>;
3663 clock-names = "bi_tcxo";
Taniya Das05556682018-12-03 11:36:29 -08003664 #clock-cells = <1>;
3665 #power-domain-cells = <1>;
3666 #reset-cells = <1>;
3667 };
3668
Robert Foss07484de2020-03-24 16:58:39 +01003669 cci: cci@ac4a000 {
3670 compatible = "qcom,sdm845-cci";
3671 #address-cells = <1>;
3672 #size-cells = <0>;
3673
3674 reg = <0 0x0ac4a000 0 0x4000>;
3675 interrupts = <GIC_SPI 460 IRQ_TYPE_EDGE_RISING>;
3676 power-domains = <&clock_camcc TITAN_TOP_GDSC>;
3677
3678 clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>,
3679 <&clock_camcc CAM_CC_SOC_AHB_CLK>,
3680 <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>,
3681 <&clock_camcc CAM_CC_CPAS_AHB_CLK>,
3682 <&clock_camcc CAM_CC_CCI_CLK>,
3683 <&clock_camcc CAM_CC_CCI_CLK_SRC>;
3684 clock-names = "camnoc_axi",
3685 "soc_ahb",
3686 "slow_ahb_src",
3687 "cpas_ahb",
3688 "cci",
3689 "cci_src";
3690
3691 assigned-clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>,
3692 <&clock_camcc CAM_CC_CCI_CLK>;
3693 assigned-clock-rates = <80000000>, <37500000>;
3694
3695 pinctrl-names = "default", "sleep";
3696 pinctrl-0 = <&cci0_default &cci1_default>;
3697 pinctrl-1 = <&cci0_sleep &cci1_sleep>;
3698
3699 status = "disabled";
3700
3701 cci_i2c0: i2c-bus@0 {
3702 reg = <0>;
3703 clock-frequency = <1000000>;
3704 #address-cells = <1>;
3705 #size-cells = <0>;
3706 };
3707
3708 cci_i2c1: i2c-bus@1 {
3709 reg = <1>;
3710 clock-frequency = <1000000>;
3711 #address-cells = <1>;
3712 #size-cells = <0>;
3713 };
3714 };
3715
3716 clock_camcc: clock-controller@ad00000 {
3717 compatible = "qcom,sdm845-camcc";
3718 reg = <0 0x0ad00000 0 0x10000>;
3719 #clock-cells = <1>;
3720 #reset-cells = <1>;
3721 #power-domain-cells = <1>;
3722 };
3723
Rajendra Nayak19ecbc82020-07-09 16:34:33 +05303724 dsi_opp_table: dsi-opp-table {
3725 compatible = "operating-points-v2";
3726
3727 opp-19200000 {
3728 opp-hz = /bits/ 64 <19200000>;
3729 required-opps = <&rpmhpd_opp_min_svs>;
3730 };
3731
3732 opp-180000000 {
3733 opp-hz = /bits/ 64 <180000000>;
3734 required-opps = <&rpmhpd_opp_low_svs>;
3735 };
3736
3737 opp-275000000 {
3738 opp-hz = /bits/ 64 <275000000>;
3739 required-opps = <&rpmhpd_opp_svs>;
3740 };
3741
3742 opp-328580000 {
3743 opp-hz = /bits/ 64 <328580000>;
3744 required-opps = <&rpmhpd_opp_svs_l1>;
3745 };
3746
3747 opp-358000000 {
3748 opp-hz = /bits/ 64 <358000000>;
3749 required-opps = <&rpmhpd_opp_nom>;
3750 };
3751 };
3752
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003753 mdss: mdss@ae00000 {
3754 compatible = "qcom,sdm845-mdss";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003755 reg = <0 0x0ae00000 0 0x1000>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003756 reg-names = "mdss";
3757
3758 power-domains = <&dispcc MDSS_GDSC>;
3759
3760 clocks = <&gcc GCC_DISP_AHB_CLK>,
3761 <&gcc GCC_DISP_AXI_CLK>,
3762 <&dispcc DISP_CC_MDSS_MDP_CLK>;
3763 clock-names = "iface", "bus", "core";
3764
3765 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>;
3766 assigned-clock-rates = <300000000>;
3767
3768 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
3769 interrupt-controller;
3770 #interrupt-cells = <1>;
3771
3772 iommus = <&apps_smmu 0x880 0x8>,
3773 <&apps_smmu 0xc80 0x8>;
3774
3775 status = "disabled";
3776
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003777 #address-cells = <2>;
3778 #size-cells = <2>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003779 ranges;
3780
3781 mdss_mdp: mdp@ae01000 {
3782 compatible = "qcom,sdm845-dpu";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003783 reg = <0 0x0ae01000 0 0x8f000>,
3784 <0 0x0aeb0000 0 0x2008>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003785 reg-names = "mdp", "vbif";
3786
3787 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
3788 <&dispcc DISP_CC_MDSS_AXI_CLK>,
3789 <&dispcc DISP_CC_MDSS_MDP_CLK>,
3790 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
3791 clock-names = "iface", "bus", "core", "vsync";
3792
3793 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>,
3794 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
3795 assigned-clock-rates = <300000000>,
3796 <19200000>;
Rajendra Nayak19ecbc82020-07-09 16:34:33 +05303797 operating-points-v2 = <&mdp_opp_table>;
3798 power-domains = <&rpmhpd SDM845_CX>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003799
3800 interrupt-parent = <&mdss>;
3801 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
3802
3803 status = "disabled";
3804
3805 ports {
3806 #address-cells = <1>;
3807 #size-cells = <0>;
3808
3809 port@0 {
3810 reg = <0>;
3811 dpu_intf1_out: endpoint {
3812 remote-endpoint = <&dsi0_in>;
3813 };
3814 };
3815
3816 port@1 {
3817 reg = <1>;
3818 dpu_intf2_out: endpoint {
3819 remote-endpoint = <&dsi1_in>;
3820 };
3821 };
3822 };
Rajendra Nayak19ecbc82020-07-09 16:34:33 +05303823
3824 mdp_opp_table: mdp-opp-table {
3825 compatible = "operating-points-v2";
3826
3827 opp-19200000 {
3828 opp-hz = /bits/ 64 <19200000>;
3829 required-opps = <&rpmhpd_opp_min_svs>;
3830 };
3831
3832 opp-171428571 {
3833 opp-hz = /bits/ 64 <171428571>;
3834 required-opps = <&rpmhpd_opp_low_svs>;
3835 };
3836
3837 opp-344000000 {
3838 opp-hz = /bits/ 64 <344000000>;
3839 required-opps = <&rpmhpd_opp_svs_l1>;
3840 };
3841
3842 opp-430000000 {
3843 opp-hz = /bits/ 64 <430000000>;
3844 required-opps = <&rpmhpd_opp_nom>;
3845 };
3846 };
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003847 };
3848
3849 dsi0: dsi@ae94000 {
3850 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003851 reg = <0 0x0ae94000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003852 reg-names = "dsi_ctrl";
3853
3854 interrupt-parent = <&mdss>;
3855 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
3856
3857 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
3858 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
3859 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
3860 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
3861 <&dispcc DISP_CC_MDSS_AHB_CLK>,
3862 <&dispcc DISP_CC_MDSS_AXI_CLK>;
3863 clock-names = "byte",
3864 "byte_intf",
3865 "pixel",
3866 "core",
3867 "iface",
3868 "bus";
Rajendra Nayak19ecbc82020-07-09 16:34:33 +05303869 operating-points-v2 = <&dsi_opp_table>;
3870 power-domains = <&rpmhpd SDM845_CX>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003871
3872 phys = <&dsi0_phy>;
3873 phy-names = "dsi";
3874
3875 status = "disabled";
3876
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003877 ports {
3878 #address-cells = <1>;
3879 #size-cells = <0>;
3880
3881 port@0 {
3882 reg = <0>;
3883 dsi0_in: endpoint {
3884 remote-endpoint = <&dpu_intf1_out>;
3885 };
3886 };
3887
3888 port@1 {
3889 reg = <1>;
3890 dsi0_out: endpoint {
3891 };
3892 };
3893 };
3894 };
3895
3896 dsi0_phy: dsi-phy@ae94400 {
3897 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003898 reg = <0 0x0ae94400 0 0x200>,
3899 <0 0x0ae94600 0 0x280>,
3900 <0 0x0ae94a00 0 0x1e0>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003901 reg-names = "dsi_phy",
3902 "dsi_phy_lane",
3903 "dsi_pll";
3904
3905 #clock-cells = <1>;
3906 #phy-cells = <0>;
3907
Matthias Kaehlcke0c0e7272018-12-19 15:55:27 -08003908 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
3909 <&rpmhcc RPMH_CXO_CLK>;
3910 clock-names = "iface", "ref";
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003911
3912 status = "disabled";
3913 };
3914
3915 dsi1: dsi@ae96000 {
3916 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003917 reg = <0 0x0ae96000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003918 reg-names = "dsi_ctrl";
3919
3920 interrupt-parent = <&mdss>;
3921 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
3922
3923 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
3924 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
3925 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
3926 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
3927 <&dispcc DISP_CC_MDSS_AHB_CLK>,
3928 <&dispcc DISP_CC_MDSS_AXI_CLK>;
3929 clock-names = "byte",
3930 "byte_intf",
3931 "pixel",
3932 "core",
3933 "iface",
3934 "bus";
Rajendra Nayak19ecbc82020-07-09 16:34:33 +05303935 operating-points-v2 = <&dsi_opp_table>;
3936 power-domains = <&rpmhpd SDM845_CX>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003937
3938 phys = <&dsi1_phy>;
3939 phy-names = "dsi";
3940
3941 status = "disabled";
3942
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003943 ports {
3944 #address-cells = <1>;
3945 #size-cells = <0>;
3946
3947 port@0 {
3948 reg = <0>;
3949 dsi1_in: endpoint {
3950 remote-endpoint = <&dpu_intf2_out>;
3951 };
3952 };
3953
3954 port@1 {
3955 reg = <1>;
3956 dsi1_out: endpoint {
3957 };
3958 };
3959 };
3960 };
3961
3962 dsi1_phy: dsi-phy@ae96400 {
3963 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003964 reg = <0 0x0ae96400 0 0x200>,
3965 <0 0x0ae96600 0 0x280>,
3966 <0 0x0ae96a00 0 0x10e>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003967 reg-names = "dsi_phy",
3968 "dsi_phy_lane",
3969 "dsi_pll";
3970
3971 #clock-cells = <1>;
3972 #phy-cells = <0>;
3973
Matthias Kaehlcke0c0e7272018-12-19 15:55:27 -08003974 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
3975 <&rpmhcc RPMH_CXO_CLK>;
3976 clock-names = "iface", "ref";
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003977
3978 status = "disabled";
3979 };
3980 };
3981
Rob Clarkf489b132020-01-12 11:54:00 -08003982 gpu: gpu@5000000 {
Jordan Crousec7980012019-01-16 11:03:29 -07003983 compatible = "qcom,adreno-630.2", "qcom,adreno";
3984 #stream-id-cells = <16>;
3985
3986 reg = <0 0x5000000 0 0x40000>, <0 0x509e000 0 0x10>;
3987 reg-names = "kgsl_3d0_reg_memory", "cx_mem";
3988
3989 /*
3990 * Look ma, no clocks! The GPU clocks and power are
3991 * controlled entirely by the GMU
3992 */
3993
3994 interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
3995
3996 iommus = <&adreno_smmu 0>;
3997
3998 operating-points-v2 = <&gpu_opp_table>;
3999
4000 qcom,gmu = <&gmu>;
4001
4002 gpu_opp_table: opp-table {
4003 compatible = "operating-points-v2";
4004
4005 opp-710000000 {
4006 opp-hz = /bits/ 64 <710000000>;
4007 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
4008 };
4009
4010 opp-675000000 {
4011 opp-hz = /bits/ 64 <675000000>;
4012 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
4013 };
4014
4015 opp-596000000 {
4016 opp-hz = /bits/ 64 <596000000>;
4017 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
4018 };
4019
4020 opp-520000000 {
4021 opp-hz = /bits/ 64 <520000000>;
4022 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
4023 };
4024
4025 opp-414000000 {
4026 opp-hz = /bits/ 64 <414000000>;
4027 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
4028 };
4029
4030 opp-342000000 {
4031 opp-hz = /bits/ 64 <342000000>;
4032 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
4033 };
4034
4035 opp-257000000 {
4036 opp-hz = /bits/ 64 <257000000>;
4037 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
4038 };
4039 };
4040 };
4041
4042 adreno_smmu: iommu@5040000 {
4043 compatible = "qcom,sdm845-smmu-v2", "qcom,smmu-v2";
4044 reg = <0 0x5040000 0 0x10000>;
4045 #iommu-cells = <1>;
4046 #global-interrupts = <2>;
4047 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>,
4048 <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>,
4049 <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
4050 <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
4051 <GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
4052 <GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
4053 <GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
4054 <GIC_SPI 369 IRQ_TYPE_EDGE_RISING>,
4055 <GIC_SPI 370 IRQ_TYPE_EDGE_RISING>,
4056 <GIC_SPI 371 IRQ_TYPE_EDGE_RISING>;
4057 clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
4058 <&gcc GCC_GPU_CFG_AHB_CLK>;
4059 clock-names = "bus", "iface";
4060
4061 power-domains = <&gpucc GPU_CX_GDSC>;
4062 };
4063
4064 gmu: gmu@506a000 {
4065 compatible="qcom,adreno-gmu-630.2", "qcom,adreno-gmu";
4066
4067 reg = <0 0x506a000 0 0x30000>,
4068 <0 0xb280000 0 0x10000>,
4069 <0 0xb480000 0 0x10000>;
4070 reg-names = "gmu", "gmu_pdc", "gmu_pdc_seq";
4071
4072 interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
4073 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
4074 interrupt-names = "hfi", "gmu";
4075
4076 clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
4077 <&gpucc GPU_CC_CXO_CLK>,
4078 <&gcc GCC_DDRSS_GPU_AXI_CLK>,
4079 <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
4080 clock-names = "gmu", "cxo", "axi", "memnoc";
4081
4082 power-domains = <&gpucc GPU_CX_GDSC>,
4083 <&gpucc GPU_GX_GDSC>;
4084 power-domain-names = "cx", "gx";
4085
4086 iommus = <&adreno_smmu 5>;
4087
4088 operating-points-v2 = <&gmu_opp_table>;
4089
4090 gmu_opp_table: opp-table {
4091 compatible = "operating-points-v2";
4092
4093 opp-400000000 {
4094 opp-hz = /bits/ 64 <400000000>;
4095 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
4096 };
4097
4098 opp-200000000 {
4099 opp-hz = /bits/ 64 <200000000>;
4100 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
4101 };
4102 };
4103 };
4104
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07004105 dispcc: clock-controller@af00000 {
4106 compatible = "qcom,sdm845-dispcc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004107 reg = <0 0x0af00000 0 0x10000>;
Douglas Anderson09978822020-02-03 10:31:36 -08004108 clocks = <&rpmhcc RPMH_CXO_CLK>,
4109 <&gcc GCC_DISP_GPLL0_CLK_SRC>,
4110 <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
4111 <&dsi0_phy 0>,
4112 <&dsi0_phy 1>,
4113 <&dsi1_phy 0>,
4114 <&dsi1_phy 1>,
4115 <0>,
4116 <0>;
4117 clock-names = "bi_tcxo",
4118 "gcc_disp_gpll0_clk_src",
4119 "gcc_disp_gpll0_div_clk_src",
4120 "dsi0_phy_pll_out_byteclk",
4121 "dsi0_phy_pll_out_dsiclk",
4122 "dsi1_phy_pll_out_byteclk",
4123 "dsi1_phy_pll_out_dsiclk",
4124 "dp_link_clk_divsel_ten",
4125 "dp_vco_divided_clk_src_mux";
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07004126 #clock-cells = <1>;
4127 #reset-cells = <1>;
4128 #power-domain-cells = <1>;
4129 };
4130
Lina Iyer72b67eb2019-11-15 15:11:53 -07004131 pdc_intc: interrupt-controller@b220000 {
4132 compatible = "qcom,sdm845-pdc", "qcom,pdc";
4133 reg = <0 0x0b220000 0 0x30000>;
4134 qcom,pdc-ranges = <0 480 94>, <94 609 15>, <115 630 7>;
4135 #interrupt-cells = <2>;
4136 interrupt-parent = <&intc>;
4137 interrupt-controller;
4138 };
4139
Sibi Sankar13393da2018-10-26 17:56:53 +05304140 pdc_reset: reset-controller@b2e0000 {
4141 compatible = "qcom,sdm845-pdc-global";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004142 reg = <0 0x0b2e0000 0 0x20000>;
Sibi Sankar13393da2018-10-26 17:56:53 +05304143 #reset-cells = <1>;
4144 };
4145
Amit Kucheriacda676b2018-07-18 12:13:13 +05304146 tsens0: thermal-sensor@c263000 {
4147 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004148 reg = <0 0x0c263000 0 0x1ff>, /* TM */
4149 <0 0x0c222000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05304150 #qcom,sensors = <13>;
Amit Kucheriae68ca6b2019-11-12 00:51:29 +05304151 interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
4152 <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
4153 interrupt-names = "uplow", "critical";
Amit Kucheriacda676b2018-07-18 12:13:13 +05304154 #thermal-sensor-cells = <1>;
4155 };
4156
4157 tsens1: thermal-sensor@c265000 {
4158 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004159 reg = <0 0x0c265000 0 0x1ff>, /* TM */
4160 <0 0x0c223000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05304161 #qcom,sensors = <8>;
Amit Kucheriae68ca6b2019-11-12 00:51:29 +05304162 interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
4163 <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
4164 interrupt-names = "uplow", "critical";
Amit Kucheriacda676b2018-07-18 12:13:13 +05304165 #thermal-sensor-cells = <1>;
4166 };
4167
Sibi Sankaread5eea2018-09-01 15:23:55 -07004168 aoss_reset: reset-controller@c2a0000 {
4169 compatible = "qcom,sdm845-aoss-cc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004170 reg = <0 0x0c2a0000 0 0x31000>;
Sibi Sankaread5eea2018-09-01 15:23:55 -07004171 #reset-cells = <1>;
4172 };
4173
Bjorn Anderssona7977432019-06-11 21:45:35 -07004174 aoss_qmp: qmp@c300000 {
4175 compatible = "qcom,sdm845-aoss-qmp";
4176 reg = <0 0x0c300000 0 0x100000>;
4177 interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>;
4178 mboxes = <&apss_shared 0>;
4179
4180 #clock-cells = <0>;
4181 #power-domain-cells = <1>;
Thara Gopinath7e4b5f22019-07-30 11:24:43 -04004182
4183 cx_cdev: cx {
4184 #cooling-cells = <2>;
4185 };
4186
4187 ebi_cdev: ebi {
4188 #cooling-cells = <2>;
4189 };
Bjorn Anderssona7977432019-06-11 21:45:35 -07004190 };
4191
Douglas Anderson54d7a202018-05-14 20:59:22 -07004192 spmi_bus: spmi@c440000 {
4193 compatible = "qcom,spmi-pmic-arb";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004194 reg = <0 0x0c440000 0 0x1100>,
4195 <0 0x0c600000 0 0x2000000>,
4196 <0 0x0e600000 0 0x100000>,
4197 <0 0x0e700000 0 0xa0000>,
4198 <0 0x0c40a000 0 0x26000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07004199 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
4200 interrupt-names = "periph_irq";
4201 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
4202 qcom,ee = <0>;
4203 qcom,channel = <0>;
4204 #address-cells = <2>;
4205 #size-cells = <0>;
4206 interrupt-controller;
4207 #interrupt-cells = <4>;
4208 cell-index = <0>;
4209 };
4210
Bjorn Andersson948f6162020-06-22 12:19:42 -07004211 imem@146bf000 {
4212 compatible = "simple-mfd";
4213 reg = <0 0x146bf000 0 0x1000>;
4214
4215 #address-cells = <1>;
4216 #size-cells = <1>;
4217
4218 ranges = <0 0 0x146bf000 0x1000>;
4219
4220 pil-reloc@94c {
4221 compatible = "qcom,pil-reloc-info";
4222 reg = <0x94c 0xc8>;
4223 };
4224 };
4225
Vivek Gautam4429e572018-10-11 15:19:30 +05304226 apps_smmu: iommu@15000000 {
4227 compatible = "qcom,sdm845-smmu-500", "arm,mmu-500";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004228 reg = <0 0x15000000 0 0x80000>;
Vivek Gautam4429e572018-10-11 15:19:30 +05304229 #iommu-cells = <2>;
4230 #global-interrupts = <1>;
4231 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
4232 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
4233 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
4234 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
4235 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
4236 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
4237 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
4238 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
4239 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
4240 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
4241 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
4242 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
4243 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
4244 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
4245 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
4246 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
4247 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
4248 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
4249 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
4250 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
4251 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
4252 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
4253 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
4254 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
4255 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
4256 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
4257 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
4258 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
4259 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
4260 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
4261 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
4262 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
4263 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
4264 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
4265 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
4266 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
4267 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
4268 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
4269 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
4270 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
4271 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
4272 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
4273 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
4274 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
4275 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
4276 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
4277 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
4278 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
4279 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
4280 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
4281 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
4282 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
4283 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
4284 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
4285 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
4286 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
4287 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
4288 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
4289 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
4290 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
4291 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
4292 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
4293 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
4294 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
4295 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
4296 };
4297
Taniya Das0cef5dd2018-12-05 13:30:36 +05304298 lpasscc: clock-controller@17014000 {
4299 compatible = "qcom,sdm845-lpasscc";
Bjorn Andersson1d918e92019-01-17 11:29:55 -08004300 reg = <0 0x17014000 0 0x1f004>, <0 0x17300000 0 0x200>;
Taniya Das0cef5dd2018-12-05 13:30:36 +05304301 reg-names = "cc", "qdsp6ss";
4302 #clock-cells = <1>;
4303 status = "disabled";
4304 };
4305
David Daib303f9f2020-02-10 00:04:11 +05304306 gladiator_noc: interconnect@17900000 {
4307 compatible = "qcom,sdm845-gladiator-noc";
4308 reg = <0 0x17900000 0 0xd080>;
4309 #interconnect-cells = <1>;
4310 qcom,bcm-voters = <&apps_bcm_voter>;
4311 };
4312
Bjorn Anderssonef857672019-10-02 21:13:45 -07004313 watchdog@17980000 {
4314 compatible = "qcom,apss-wdt-sdm845", "qcom,kpss-wdt";
4315 reg = <0 0x17980000 0 0x1000>;
4316 clocks = <&sleep_clk>;
4317 };
4318
Douglas Anderson54d7a202018-05-14 20:59:22 -07004319 apss_shared: mailbox@17990000 {
4320 compatible = "qcom,sdm845-apss-shared";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004321 reg = <0 0x17990000 0 0x1000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07004322 #mbox-cells = <1>;
4323 };
4324
Douglas Andersonc83545d2018-06-18 14:50:50 -07004325 apps_rsc: rsc@179c0000 {
4326 label = "apps_rsc";
4327 compatible = "qcom,rpmh-rsc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004328 reg = <0 0x179c0000 0 0x10000>,
4329 <0 0x179d0000 0 0x10000>,
4330 <0 0x179e0000 0 0x10000>;
Douglas Andersonc83545d2018-06-18 14:50:50 -07004331 reg-names = "drv-0", "drv-1", "drv-2";
4332 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
4333 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
4334 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
4335 qcom,tcs-offset = <0xd00>;
4336 qcom,drv-id = <2>;
4337 qcom,tcs-config = <ACTIVE_TCS 2>,
4338 <SLEEP_TCS 3>,
4339 <WAKE_TCS 3>,
4340 <CONTROL_TCS 1>;
Douglas Anderson717f2012018-06-18 14:50:51 -07004341
David Daib303f9f2020-02-10 00:04:11 +05304342 apps_bcm_voter: bcm-voter {
4343 compatible = "qcom,bcm-voter";
4344 };
4345
Douglas Anderson717f2012018-06-18 14:50:51 -07004346 rpmhcc: clock-controller {
4347 compatible = "qcom,sdm845-rpmh-clk";
4348 #clock-cells = <1>;
Vinod Koul1dd70852019-08-26 23:12:33 +05304349 clock-names = "xo";
4350 clocks = <&xo_board>;
Douglas Anderson717f2012018-06-18 14:50:51 -07004351 };
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304352
4353 rpmhpd: power-controller {
4354 compatible = "qcom,sdm845-rpmhpd";
4355 #power-domain-cells = <1>;
4356 operating-points-v2 = <&rpmhpd_opp_table>;
4357
4358 rpmhpd_opp_table: opp-table {
4359 compatible = "operating-points-v2";
4360
4361 rpmhpd_opp_ret: opp1 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304362 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304363 };
4364
4365 rpmhpd_opp_min_svs: opp2 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304366 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304367 };
4368
4369 rpmhpd_opp_low_svs: opp3 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304370 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304371 };
4372
4373 rpmhpd_opp_svs: opp4 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304374 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304375 };
4376
4377 rpmhpd_opp_svs_l1: opp5 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304378 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304379 };
4380
4381 rpmhpd_opp_nom: opp6 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304382 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304383 };
4384
4385 rpmhpd_opp_nom_l1: opp7 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304386 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304387 };
4388
4389 rpmhpd_opp_nom_l2: opp8 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304390 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304391 };
4392
4393 rpmhpd_opp_turbo: opp9 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304394 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304395 };
4396
4397 rpmhpd_opp_turbo_l1: opp10 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304398 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304399 };
4400 };
4401 };
Douglas Andersonc83545d2018-06-18 14:50:50 -07004402 };
4403
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304404 intc: interrupt-controller@17a00000 {
4405 compatible = "arm,gic-v3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004406 #address-cells = <2>;
4407 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304408 ranges;
4409 #interrupt-cells = <3>;
4410 interrupt-controller;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004411 reg = <0 0x17a00000 0 0x10000>, /* GICD */
4412 <0 0x17a60000 0 0x100000>; /* GICR * 8 */
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304413 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
4414
Douglas Anderson276bb282019-12-16 22:20:25 -08004415 msi-controller@17a40000 {
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304416 compatible = "arm,gic-v3-its";
4417 msi-controller;
4418 #msi-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004419 reg = <0 0x17a40000 0 0x20000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304420 status = "disabled";
4421 };
4422 };
4423
Srinivas Kandagatla27ca1de2020-03-12 14:30:20 +00004424 slimbam: dma@17184000 {
4425 compatible = "qcom,bam-v1.7.0";
4426 qcom,controlled-remotely;
4427 reg = <0 0x17184000 0 0x2a000>;
4428 num-channels = <31>;
4429 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
4430 #dma-cells = <1>;
4431 qcom,ee = <1>;
4432 qcom,num-ees = <2>;
4433 iommus = <&apps_smmu 0x1806 0x0>;
4434 };
4435
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304436 timer@17c90000 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004437 #address-cells = <2>;
4438 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304439 ranges;
4440 compatible = "arm,armv7-timer-mem";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004441 reg = <0 0x17c90000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304442
4443 frame@17ca0000 {
4444 frame-number = <0>;
4445 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
4446 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004447 reg = <0 0x17ca0000 0 0x1000>,
4448 <0 0x17cb0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304449 };
4450
4451 frame@17cc0000 {
4452 frame-number = <1>;
4453 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004454 reg = <0 0x17cc0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304455 status = "disabled";
4456 };
4457
4458 frame@17cd0000 {
4459 frame-number = <2>;
4460 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004461 reg = <0 0x17cd0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304462 status = "disabled";
4463 };
4464
4465 frame@17ce0000 {
4466 frame-number = <3>;
4467 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004468 reg = <0 0x17ce0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304469 status = "disabled";
4470 };
4471
4472 frame@17cf0000 {
4473 frame-number = <4>;
4474 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004475 reg = <0 0x17cf0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304476 status = "disabled";
4477 };
4478
4479 frame@17d00000 {
4480 frame-number = <5>;
4481 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004482 reg = <0 0x17d00000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304483 status = "disabled";
4484 };
4485
4486 frame@17d10000 {
4487 frame-number = <6>;
4488 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004489 reg = <0 0x17d10000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304490 status = "disabled";
4491 };
4492 };
Taniya Dasc604b82a2018-12-21 23:44:23 +05304493
Sibi Sankar74f26592020-02-27 16:26:30 +05304494 osm_l3: interconnect@17d41000 {
4495 compatible = "qcom,sdm845-osm-l3";
4496 reg = <0 0x17d41000 0 0x1400>;
4497
4498 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
4499 clock-names = "xo", "alternate";
4500
4501 #interconnect-cells = <1>;
4502 };
4503
Taniya Dasc604b82a2018-12-21 23:44:23 +05304504 cpufreq_hw: cpufreq@17d43000 {
4505 compatible = "qcom,cpufreq-hw";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004506 reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>;
Taniya Dasc604b82a2018-12-21 23:44:23 +05304507 reg-names = "freq-domain0", "freq-domain1";
4508
4509 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
4510 clock-names = "xo", "alternate";
4511
4512 #freq-domain-cells = <1>;
4513 };
Govind Singh022bccb2018-11-05 18:38:37 +05304514
4515 wifi: wifi@18800000 {
4516 compatible = "qcom,wcn3990-wifi";
4517 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004518 reg = <0 0x18800000 0 0x800000>;
Govind Singh022bccb2018-11-05 18:38:37 +05304519 reg-names = "membase";
4520 memory-region = <&wlan_msa_mem>;
Douglas Andersonbc94e5f2019-01-18 16:00:15 -08004521 clock-names = "cxo_ref_clk_pin";
4522 clocks = <&rpmhcc RPMH_RF_CLK2>;
Govind Singh022bccb2018-11-05 18:38:37 +05304523 interrupts =
4524 <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
4525 <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
4526 <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
4527 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
4528 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
4529 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
4530 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
4531 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
4532 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
4533 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
4534 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
4535 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
Douglas Andersonbc94e5f2019-01-18 16:00:15 -08004536 iommus = <&apps_smmu 0x0040 0x1>;
Govind Singh022bccb2018-11-05 18:38:37 +05304537 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304538 };
Amit Kucheria48847882018-06-12 15:26:54 +03004539
4540 thermal-zones {
4541 cpu0-thermal {
4542 polling-delay-passive = <250>;
4543 polling-delay = <1000>;
4544
4545 thermal-sensors = <&tsens0 1>;
4546
4547 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304548 cpu0_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304549 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004550 hysteresis = <2000>;
4551 type = "passive";
4552 };
4553
Vinod Koul19e684e2019-07-24 10:19:04 +05304554 cpu0_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304555 temperature = <95000>;
4556 hysteresis = <2000>;
4557 type = "passive";
4558 };
4559
4560 cpu0_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004561 temperature = <110000>;
4562 hysteresis = <1000>;
4563 type = "critical";
4564 };
4565 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304566
4567 cooling-maps {
4568 map0 {
4569 trip = <&cpu0_alert0>;
4570 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4571 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4572 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4573 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4574 };
4575 map1 {
4576 trip = <&cpu0_alert1>;
4577 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4578 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4579 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4580 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4581 };
4582 };
Amit Kucheria48847882018-06-12 15:26:54 +03004583 };
4584
4585 cpu1-thermal {
4586 polling-delay-passive = <250>;
4587 polling-delay = <1000>;
4588
4589 thermal-sensors = <&tsens0 2>;
4590
4591 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304592 cpu1_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304593 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004594 hysteresis = <2000>;
4595 type = "passive";
4596 };
4597
Vinod Koul19e684e2019-07-24 10:19:04 +05304598 cpu1_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304599 temperature = <95000>;
4600 hysteresis = <2000>;
4601 type = "passive";
4602 };
4603
4604 cpu1_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004605 temperature = <110000>;
4606 hysteresis = <1000>;
4607 type = "critical";
4608 };
4609 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304610
4611 cooling-maps {
4612 map0 {
4613 trip = <&cpu1_alert0>;
4614 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4615 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4616 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4617 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4618 };
4619 map1 {
4620 trip = <&cpu1_alert1>;
4621 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4622 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4623 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4624 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4625 };
4626 };
Amit Kucheria48847882018-06-12 15:26:54 +03004627 };
4628
4629 cpu2-thermal {
4630 polling-delay-passive = <250>;
4631 polling-delay = <1000>;
4632
4633 thermal-sensors = <&tsens0 3>;
4634
4635 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304636 cpu2_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304637 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004638 hysteresis = <2000>;
4639 type = "passive";
4640 };
4641
Vinod Koul19e684e2019-07-24 10:19:04 +05304642 cpu2_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304643 temperature = <95000>;
4644 hysteresis = <2000>;
4645 type = "passive";
4646 };
4647
4648 cpu2_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004649 temperature = <110000>;
4650 hysteresis = <1000>;
4651 type = "critical";
4652 };
4653 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304654
4655 cooling-maps {
4656 map0 {
4657 trip = <&cpu2_alert0>;
4658 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4659 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4660 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4661 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4662 };
4663 map1 {
4664 trip = <&cpu2_alert1>;
4665 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4666 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4667 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4668 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4669 };
4670 };
Amit Kucheria48847882018-06-12 15:26:54 +03004671 };
4672
4673 cpu3-thermal {
4674 polling-delay-passive = <250>;
4675 polling-delay = <1000>;
4676
4677 thermal-sensors = <&tsens0 4>;
4678
4679 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304680 cpu3_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304681 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004682 hysteresis = <2000>;
4683 type = "passive";
4684 };
4685
Vinod Koul19e684e2019-07-24 10:19:04 +05304686 cpu3_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304687 temperature = <95000>;
4688 hysteresis = <2000>;
4689 type = "passive";
4690 };
4691
4692 cpu3_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004693 temperature = <110000>;
4694 hysteresis = <1000>;
4695 type = "critical";
4696 };
4697 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304698
4699 cooling-maps {
4700 map0 {
4701 trip = <&cpu3_alert0>;
4702 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4703 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4704 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4705 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4706 };
4707 map1 {
4708 trip = <&cpu3_alert1>;
4709 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4710 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4711 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4712 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4713 };
4714 };
Amit Kucheria48847882018-06-12 15:26:54 +03004715 };
4716
4717 cpu4-thermal {
4718 polling-delay-passive = <250>;
4719 polling-delay = <1000>;
4720
4721 thermal-sensors = <&tsens0 7>;
4722
4723 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304724 cpu4_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304725 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004726 hysteresis = <2000>;
4727 type = "passive";
4728 };
4729
Vinod Koul19e684e2019-07-24 10:19:04 +05304730 cpu4_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304731 temperature = <95000>;
4732 hysteresis = <2000>;
4733 type = "passive";
4734 };
4735
4736 cpu4_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004737 temperature = <110000>;
4738 hysteresis = <1000>;
4739 type = "critical";
4740 };
4741 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304742
4743 cooling-maps {
4744 map0 {
4745 trip = <&cpu4_alert0>;
4746 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4747 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4748 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4749 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4750 };
4751 map1 {
4752 trip = <&cpu4_alert1>;
4753 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4754 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4755 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4756 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4757 };
4758 };
Amit Kucheria48847882018-06-12 15:26:54 +03004759 };
4760
4761 cpu5-thermal {
4762 polling-delay-passive = <250>;
4763 polling-delay = <1000>;
4764
4765 thermal-sensors = <&tsens0 8>;
4766
4767 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304768 cpu5_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304769 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004770 hysteresis = <2000>;
4771 type = "passive";
4772 };
4773
Vinod Koul19e684e2019-07-24 10:19:04 +05304774 cpu5_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304775 temperature = <95000>;
4776 hysteresis = <2000>;
4777 type = "passive";
4778 };
4779
4780 cpu5_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004781 temperature = <110000>;
4782 hysteresis = <1000>;
4783 type = "critical";
4784 };
4785 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304786
4787 cooling-maps {
4788 map0 {
4789 trip = <&cpu5_alert0>;
4790 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4791 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4792 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4793 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4794 };
4795 map1 {
4796 trip = <&cpu5_alert1>;
4797 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4798 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4799 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4800 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4801 };
4802 };
Amit Kucheria48847882018-06-12 15:26:54 +03004803 };
4804
4805 cpu6-thermal {
4806 polling-delay-passive = <250>;
4807 polling-delay = <1000>;
4808
4809 thermal-sensors = <&tsens0 9>;
4810
4811 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304812 cpu6_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304813 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004814 hysteresis = <2000>;
4815 type = "passive";
4816 };
4817
Vinod Koul19e684e2019-07-24 10:19:04 +05304818 cpu6_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304819 temperature = <95000>;
4820 hysteresis = <2000>;
4821 type = "passive";
4822 };
4823
4824 cpu6_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004825 temperature = <110000>;
4826 hysteresis = <1000>;
4827 type = "critical";
4828 };
4829 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304830
4831 cooling-maps {
4832 map0 {
4833 trip = <&cpu6_alert0>;
4834 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4835 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4836 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4837 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4838 };
4839 map1 {
4840 trip = <&cpu6_alert1>;
4841 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4842 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4843 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4844 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4845 };
4846 };
Amit Kucheria48847882018-06-12 15:26:54 +03004847 };
4848
4849 cpu7-thermal {
4850 polling-delay-passive = <250>;
4851 polling-delay = <1000>;
4852
4853 thermal-sensors = <&tsens0 10>;
4854
4855 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304856 cpu7_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304857 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004858 hysteresis = <2000>;
4859 type = "passive";
4860 };
4861
Vinod Koul19e684e2019-07-24 10:19:04 +05304862 cpu7_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304863 temperature = <95000>;
4864 hysteresis = <2000>;
4865 type = "passive";
4866 };
4867
4868 cpu7_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004869 temperature = <110000>;
4870 hysteresis = <1000>;
4871 type = "critical";
4872 };
4873 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304874
4875 cooling-maps {
4876 map0 {
4877 trip = <&cpu7_alert0>;
4878 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4879 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4880 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4881 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4882 };
4883 map1 {
4884 trip = <&cpu7_alert1>;
4885 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4886 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4887 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4888 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4889 };
4890 };
Amit Kucheria48847882018-06-12 15:26:54 +03004891 };
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304892
4893 aoss0-thermal {
4894 polling-delay-passive = <250>;
4895 polling-delay = <1000>;
4896
4897 thermal-sensors = <&tsens0 0>;
4898
4899 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304900 aoss0_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304901 temperature = <90000>;
4902 hysteresis = <2000>;
4903 type = "hot";
4904 };
4905 };
4906 };
4907
4908 cluster0-thermal {
4909 polling-delay-passive = <250>;
4910 polling-delay = <1000>;
4911
4912 thermal-sensors = <&tsens0 5>;
4913
4914 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304915 cluster0_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304916 temperature = <90000>;
4917 hysteresis = <2000>;
4918 type = "hot";
4919 };
4920 cluster0_crit: cluster0_crit {
4921 temperature = <110000>;
4922 hysteresis = <2000>;
4923 type = "critical";
4924 };
4925 };
4926 };
4927
4928 cluster1-thermal {
4929 polling-delay-passive = <250>;
4930 polling-delay = <1000>;
4931
4932 thermal-sensors = <&tsens0 6>;
4933
4934 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304935 cluster1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304936 temperature = <90000>;
4937 hysteresis = <2000>;
4938 type = "hot";
4939 };
4940 cluster1_crit: cluster1_crit {
4941 temperature = <110000>;
4942 hysteresis = <2000>;
4943 type = "critical";
4944 };
4945 };
4946 };
4947
4948 gpu-thermal-top {
4949 polling-delay-passive = <250>;
4950 polling-delay = <1000>;
4951
4952 thermal-sensors = <&tsens0 11>;
4953
4954 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304955 gpu1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304956 temperature = <90000>;
4957 hysteresis = <2000>;
4958 type = "hot";
4959 };
4960 };
4961 };
4962
4963 gpu-thermal-bottom {
4964 polling-delay-passive = <250>;
4965 polling-delay = <1000>;
4966
4967 thermal-sensors = <&tsens0 12>;
4968
4969 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304970 gpu2_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304971 temperature = <90000>;
4972 hysteresis = <2000>;
4973 type = "hot";
4974 };
4975 };
4976 };
4977
4978 aoss1-thermal {
4979 polling-delay-passive = <250>;
4980 polling-delay = <1000>;
4981
4982 thermal-sensors = <&tsens1 0>;
4983
4984 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304985 aoss1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304986 temperature = <90000>;
4987 hysteresis = <2000>;
4988 type = "hot";
4989 };
4990 };
4991 };
4992
4993 q6-modem-thermal {
4994 polling-delay-passive = <250>;
4995 polling-delay = <1000>;
4996
4997 thermal-sensors = <&tsens1 1>;
4998
4999 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305000 q6_modem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305001 temperature = <90000>;
5002 hysteresis = <2000>;
5003 type = "hot";
5004 };
5005 };
5006 };
5007
5008 mem-thermal {
5009 polling-delay-passive = <250>;
5010 polling-delay = <1000>;
5011
5012 thermal-sensors = <&tsens1 2>;
5013
5014 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305015 mem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305016 temperature = <90000>;
5017 hysteresis = <2000>;
5018 type = "hot";
5019 };
5020 };
5021 };
5022
5023 wlan-thermal {
5024 polling-delay-passive = <250>;
5025 polling-delay = <1000>;
5026
5027 thermal-sensors = <&tsens1 3>;
5028
5029 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305030 wlan_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305031 temperature = <90000>;
5032 hysteresis = <2000>;
5033 type = "hot";
5034 };
5035 };
5036 };
5037
5038 q6-hvx-thermal {
5039 polling-delay-passive = <250>;
5040 polling-delay = <1000>;
5041
5042 thermal-sensors = <&tsens1 4>;
5043
5044 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305045 q6_hvx_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305046 temperature = <90000>;
5047 hysteresis = <2000>;
5048 type = "hot";
5049 };
5050 };
5051 };
5052
5053 camera-thermal {
5054 polling-delay-passive = <250>;
5055 polling-delay = <1000>;
5056
5057 thermal-sensors = <&tsens1 5>;
5058
5059 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305060 camera_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305061 temperature = <90000>;
5062 hysteresis = <2000>;
5063 type = "hot";
5064 };
5065 };
5066 };
5067
5068 video-thermal {
5069 polling-delay-passive = <250>;
5070 polling-delay = <1000>;
5071
5072 thermal-sensors = <&tsens1 6>;
5073
5074 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305075 video_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305076 temperature = <90000>;
5077 hysteresis = <2000>;
5078 type = "hot";
5079 };
5080 };
5081 };
5082
5083 modem-thermal {
5084 polling-delay-passive = <250>;
5085 polling-delay = <1000>;
5086
5087 thermal-sensors = <&tsens1 7>;
5088
5089 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305090 modem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305091 temperature = <90000>;
5092 hysteresis = <2000>;
5093 type = "hot";
5094 };
5095 };
5096 };
Amit Kucheria48847882018-06-12 15:26:54 +03005097 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05305098};