blob: b0d8308a3e958d656453d77a7975bb176612e655 [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
Douglas Anderson897cf342018-06-13 09:53:51 -07001093 qupv3_id_0: geniqup@8c0000 {
1094 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001095 reg = <0 0x008c0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001096 clock-names = "m-ahb", "s-ahb";
1097 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
1098 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001099 #address-cells = <2>;
1100 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001101 ranges;
Douglas Anderson499ff112018-06-29 11:45:27 -07001102 status = "disabled";
Douglas Anderson897cf342018-06-13 09:53:51 -07001103
1104 i2c0: i2c@880000 {
1105 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001106 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001107 clock-names = "se";
1108 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1109 pinctrl-names = "default";
1110 pinctrl-0 = <&qup_i2c0_default>;
1111 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
1112 #address-cells = <1>;
1113 #size-cells = <0>;
1114 status = "disabled";
1115 };
1116
1117 spi0: spi@880000 {
1118 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001119 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001120 clock-names = "se";
1121 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1122 pinctrl-names = "default";
1123 pinctrl-0 = <&qup_spi0_default>;
1124 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
1125 #address-cells = <1>;
1126 #size-cells = <0>;
1127 status = "disabled";
1128 };
1129
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001130 uart0: serial@880000 {
1131 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001132 reg = <0 0x00880000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001133 clock-names = "se";
1134 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1135 pinctrl-names = "default";
1136 pinctrl-0 = <&qup_uart0_default>;
1137 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
1138 status = "disabled";
1139 };
1140
Douglas Anderson897cf342018-06-13 09:53:51 -07001141 i2c1: i2c@884000 {
1142 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001143 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001144 clock-names = "se";
1145 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1146 pinctrl-names = "default";
1147 pinctrl-0 = <&qup_i2c1_default>;
1148 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
1149 #address-cells = <1>;
1150 #size-cells = <0>;
1151 status = "disabled";
1152 };
1153
1154 spi1: spi@884000 {
1155 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001156 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001157 clock-names = "se";
1158 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1159 pinctrl-names = "default";
1160 pinctrl-0 = <&qup_spi1_default>;
1161 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
1162 #address-cells = <1>;
1163 #size-cells = <0>;
1164 status = "disabled";
1165 };
1166
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001167 uart1: serial@884000 {
1168 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001169 reg = <0 0x00884000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001170 clock-names = "se";
1171 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1172 pinctrl-names = "default";
1173 pinctrl-0 = <&qup_uart1_default>;
1174 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
1175 status = "disabled";
1176 };
1177
Douglas Anderson897cf342018-06-13 09:53:51 -07001178 i2c2: i2c@888000 {
1179 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001180 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001181 clock-names = "se";
1182 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1183 pinctrl-names = "default";
1184 pinctrl-0 = <&qup_i2c2_default>;
1185 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1186 #address-cells = <1>;
1187 #size-cells = <0>;
1188 status = "disabled";
1189 };
1190
1191 spi2: spi@888000 {
1192 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001193 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001194 clock-names = "se";
1195 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1196 pinctrl-names = "default";
1197 pinctrl-0 = <&qup_spi2_default>;
1198 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1199 #address-cells = <1>;
1200 #size-cells = <0>;
1201 status = "disabled";
1202 };
1203
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001204 uart2: serial@888000 {
1205 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001206 reg = <0 0x00888000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001207 clock-names = "se";
1208 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1209 pinctrl-names = "default";
1210 pinctrl-0 = <&qup_uart2_default>;
1211 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1212 status = "disabled";
1213 };
1214
Douglas Anderson897cf342018-06-13 09:53:51 -07001215 i2c3: i2c@88c000 {
1216 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001217 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001218 clock-names = "se";
1219 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1220 pinctrl-names = "default";
1221 pinctrl-0 = <&qup_i2c3_default>;
1222 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1223 #address-cells = <1>;
1224 #size-cells = <0>;
1225 status = "disabled";
1226 };
1227
1228 spi3: spi@88c000 {
1229 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001230 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001231 clock-names = "se";
1232 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1233 pinctrl-names = "default";
1234 pinctrl-0 = <&qup_spi3_default>;
1235 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1236 #address-cells = <1>;
1237 #size-cells = <0>;
1238 status = "disabled";
1239 };
1240
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001241 uart3: serial@88c000 {
1242 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001243 reg = <0 0x0088c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001244 clock-names = "se";
1245 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1246 pinctrl-names = "default";
1247 pinctrl-0 = <&qup_uart3_default>;
1248 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1249 status = "disabled";
1250 };
1251
Douglas Anderson897cf342018-06-13 09:53:51 -07001252 i2c4: i2c@890000 {
1253 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001254 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001255 clock-names = "se";
1256 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1257 pinctrl-names = "default";
1258 pinctrl-0 = <&qup_i2c4_default>;
1259 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1260 #address-cells = <1>;
1261 #size-cells = <0>;
1262 status = "disabled";
1263 };
1264
1265 spi4: spi@890000 {
1266 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001267 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001268 clock-names = "se";
1269 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1270 pinctrl-names = "default";
1271 pinctrl-0 = <&qup_spi4_default>;
1272 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1273 #address-cells = <1>;
1274 #size-cells = <0>;
1275 status = "disabled";
1276 };
1277
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001278 uart4: serial@890000 {
1279 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001280 reg = <0 0x00890000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001281 clock-names = "se";
1282 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1283 pinctrl-names = "default";
1284 pinctrl-0 = <&qup_uart4_default>;
1285 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1286 status = "disabled";
1287 };
1288
Douglas Anderson897cf342018-06-13 09:53:51 -07001289 i2c5: i2c@894000 {
1290 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001291 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001292 clock-names = "se";
1293 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1294 pinctrl-names = "default";
1295 pinctrl-0 = <&qup_i2c5_default>;
1296 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1297 #address-cells = <1>;
1298 #size-cells = <0>;
1299 status = "disabled";
1300 };
1301
1302 spi5: spi@894000 {
1303 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001304 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001305 clock-names = "se";
1306 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1307 pinctrl-names = "default";
1308 pinctrl-0 = <&qup_spi5_default>;
1309 interrupts = <GIC_SPI 606 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 uart5: serial@894000 {
1316 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001317 reg = <0 0x00894000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001318 clock-names = "se";
1319 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1320 pinctrl-names = "default";
1321 pinctrl-0 = <&qup_uart5_default>;
1322 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1323 status = "disabled";
1324 };
1325
Douglas Anderson897cf342018-06-13 09:53:51 -07001326 i2c6: i2c@898000 {
1327 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001328 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001329 clock-names = "se";
1330 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1331 pinctrl-names = "default";
1332 pinctrl-0 = <&qup_i2c6_default>;
1333 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1334 #address-cells = <1>;
1335 #size-cells = <0>;
1336 status = "disabled";
1337 };
1338
1339 spi6: spi@898000 {
1340 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001341 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001342 clock-names = "se";
1343 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1344 pinctrl-names = "default";
1345 pinctrl-0 = <&qup_spi6_default>;
1346 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1347 #address-cells = <1>;
1348 #size-cells = <0>;
1349 status = "disabled";
1350 };
1351
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001352 uart6: serial@898000 {
1353 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001354 reg = <0 0x00898000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001355 clock-names = "se";
1356 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1357 pinctrl-names = "default";
1358 pinctrl-0 = <&qup_uart6_default>;
1359 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1360 status = "disabled";
1361 };
1362
Douglas Anderson897cf342018-06-13 09:53:51 -07001363 i2c7: i2c@89c000 {
1364 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001365 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001366 clock-names = "se";
1367 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1368 pinctrl-names = "default";
1369 pinctrl-0 = <&qup_i2c7_default>;
1370 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1371 #address-cells = <1>;
1372 #size-cells = <0>;
1373 status = "disabled";
1374 };
1375
1376 spi7: spi@89c000 {
1377 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001378 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001379 clock-names = "se";
1380 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1381 pinctrl-names = "default";
1382 pinctrl-0 = <&qup_spi7_default>;
1383 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1384 #address-cells = <1>;
1385 #size-cells = <0>;
1386 status = "disabled";
1387 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001388
1389 uart7: serial@89c000 {
1390 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001391 reg = <0 0x0089c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001392 clock-names = "se";
1393 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1394 pinctrl-names = "default";
1395 pinctrl-0 = <&qup_uart7_default>;
1396 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1397 status = "disabled";
1398 };
Douglas Anderson897cf342018-06-13 09:53:51 -07001399 };
1400
1401 qupv3_id_1: geniqup@ac0000 {
1402 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001403 reg = <0 0x00ac0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001404 clock-names = "m-ahb", "s-ahb";
1405 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
1406 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001407 #address-cells = <2>;
1408 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001409 ranges;
1410 status = "disabled";
1411
1412 i2c8: i2c@a80000 {
1413 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001414 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001415 clock-names = "se";
1416 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1417 pinctrl-names = "default";
1418 pinctrl-0 = <&qup_i2c8_default>;
1419 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1420 #address-cells = <1>;
1421 #size-cells = <0>;
1422 status = "disabled";
1423 };
1424
1425 spi8: spi@a80000 {
1426 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001427 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001428 clock-names = "se";
1429 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1430 pinctrl-names = "default";
1431 pinctrl-0 = <&qup_spi8_default>;
1432 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1433 #address-cells = <1>;
1434 #size-cells = <0>;
1435 status = "disabled";
1436 };
1437
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001438 uart8: serial@a80000 {
1439 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001440 reg = <0 0x00a80000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001441 clock-names = "se";
1442 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1443 pinctrl-names = "default";
1444 pinctrl-0 = <&qup_uart8_default>;
1445 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1446 status = "disabled";
1447 };
1448
Douglas Anderson897cf342018-06-13 09:53:51 -07001449 i2c9: i2c@a84000 {
1450 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001451 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001452 clock-names = "se";
1453 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1454 pinctrl-names = "default";
1455 pinctrl-0 = <&qup_i2c9_default>;
1456 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1457 #address-cells = <1>;
1458 #size-cells = <0>;
1459 status = "disabled";
1460 };
1461
1462 spi9: spi@a84000 {
1463 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001464 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001465 clock-names = "se";
1466 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1467 pinctrl-names = "default";
1468 pinctrl-0 = <&qup_spi9_default>;
1469 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1470 #address-cells = <1>;
1471 #size-cells = <0>;
1472 status = "disabled";
1473 };
1474
1475 uart9: serial@a84000 {
1476 compatible = "qcom,geni-debug-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001477 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001478 clock-names = "se";
1479 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1480 pinctrl-names = "default";
1481 pinctrl-0 = <&qup_uart9_default>;
1482 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1483 status = "disabled";
1484 };
1485
1486 i2c10: i2c@a88000 {
1487 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001488 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001489 clock-names = "se";
1490 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1491 pinctrl-names = "default";
1492 pinctrl-0 = <&qup_i2c10_default>;
1493 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1494 #address-cells = <1>;
1495 #size-cells = <0>;
1496 status = "disabled";
1497 };
1498
1499 spi10: spi@a88000 {
1500 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001501 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001502 clock-names = "se";
1503 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1504 pinctrl-names = "default";
1505 pinctrl-0 = <&qup_spi10_default>;
1506 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1507 #address-cells = <1>;
1508 #size-cells = <0>;
1509 status = "disabled";
1510 };
1511
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001512 uart10: serial@a88000 {
1513 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001514 reg = <0 0x00a88000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001515 clock-names = "se";
1516 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1517 pinctrl-names = "default";
1518 pinctrl-0 = <&qup_uart10_default>;
1519 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1520 status = "disabled";
1521 };
1522
Douglas Anderson897cf342018-06-13 09:53:51 -07001523 i2c11: i2c@a8c000 {
1524 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001525 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001526 clock-names = "se";
1527 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1528 pinctrl-names = "default";
1529 pinctrl-0 = <&qup_i2c11_default>;
1530 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1531 #address-cells = <1>;
1532 #size-cells = <0>;
1533 status = "disabled";
1534 };
1535
1536 spi11: spi@a8c000 {
1537 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001538 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001539 clock-names = "se";
1540 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1541 pinctrl-names = "default";
1542 pinctrl-0 = <&qup_spi11_default>;
1543 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1544 #address-cells = <1>;
1545 #size-cells = <0>;
1546 status = "disabled";
1547 };
1548
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001549 uart11: serial@a8c000 {
1550 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001551 reg = <0 0x00a8c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001552 clock-names = "se";
1553 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1554 pinctrl-names = "default";
1555 pinctrl-0 = <&qup_uart11_default>;
1556 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1557 status = "disabled";
1558 };
1559
Douglas Anderson897cf342018-06-13 09:53:51 -07001560 i2c12: i2c@a90000 {
1561 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001562 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001563 clock-names = "se";
1564 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1565 pinctrl-names = "default";
1566 pinctrl-0 = <&qup_i2c12_default>;
1567 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1568 #address-cells = <1>;
1569 #size-cells = <0>;
1570 status = "disabled";
1571 };
1572
1573 spi12: spi@a90000 {
1574 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001575 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001576 clock-names = "se";
1577 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1578 pinctrl-names = "default";
1579 pinctrl-0 = <&qup_spi12_default>;
1580 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1581 #address-cells = <1>;
1582 #size-cells = <0>;
1583 status = "disabled";
1584 };
1585
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001586 uart12: serial@a90000 {
1587 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001588 reg = <0 0x00a90000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001589 clock-names = "se";
1590 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1591 pinctrl-names = "default";
1592 pinctrl-0 = <&qup_uart12_default>;
1593 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1594 status = "disabled";
1595 };
1596
Douglas Anderson897cf342018-06-13 09:53:51 -07001597 i2c13: i2c@a94000 {
1598 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001599 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001600 clock-names = "se";
1601 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1602 pinctrl-names = "default";
1603 pinctrl-0 = <&qup_i2c13_default>;
1604 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1605 #address-cells = <1>;
1606 #size-cells = <0>;
1607 status = "disabled";
1608 };
1609
1610 spi13: spi@a94000 {
1611 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001612 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001613 clock-names = "se";
1614 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1615 pinctrl-names = "default";
1616 pinctrl-0 = <&qup_spi13_default>;
1617 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1618 #address-cells = <1>;
1619 #size-cells = <0>;
1620 status = "disabled";
1621 };
1622
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001623 uart13: serial@a94000 {
1624 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001625 reg = <0 0x00a94000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001626 clock-names = "se";
1627 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1628 pinctrl-names = "default";
1629 pinctrl-0 = <&qup_uart13_default>;
1630 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1631 status = "disabled";
1632 };
1633
Douglas Anderson897cf342018-06-13 09:53:51 -07001634 i2c14: i2c@a98000 {
1635 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001636 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001637 clock-names = "se";
1638 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1639 pinctrl-names = "default";
1640 pinctrl-0 = <&qup_i2c14_default>;
1641 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1642 #address-cells = <1>;
1643 #size-cells = <0>;
1644 status = "disabled";
1645 };
1646
1647 spi14: spi@a98000 {
1648 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001649 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001650 clock-names = "se";
1651 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1652 pinctrl-names = "default";
1653 pinctrl-0 = <&qup_spi14_default>;
1654 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1655 #address-cells = <1>;
1656 #size-cells = <0>;
1657 status = "disabled";
1658 };
1659
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001660 uart14: serial@a98000 {
1661 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001662 reg = <0 0x00a98000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001663 clock-names = "se";
1664 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1665 pinctrl-names = "default";
1666 pinctrl-0 = <&qup_uart14_default>;
1667 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1668 status = "disabled";
1669 };
1670
Douglas Anderson897cf342018-06-13 09:53:51 -07001671 i2c15: i2c@a9c000 {
1672 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001673 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001674 clock-names = "se";
1675 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1676 pinctrl-names = "default";
1677 pinctrl-0 = <&qup_i2c15_default>;
1678 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1679 #address-cells = <1>;
1680 #size-cells = <0>;
1681 status = "disabled";
1682 };
1683
1684 spi15: spi@a9c000 {
1685 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001686 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001687 clock-names = "se";
1688 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1689 pinctrl-names = "default";
1690 pinctrl-0 = <&qup_spi15_default>;
1691 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1692 #address-cells = <1>;
1693 #size-cells = <0>;
1694 status = "disabled";
1695 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001696
1697 uart15: serial@a9c000 {
1698 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001699 reg = <0 0x00a9c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001700 clock-names = "se";
1701 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1702 pinctrl-names = "default";
1703 pinctrl-0 = <&qup_uart15_default>;
1704 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1705 status = "disabled";
1706 };
Douglas Anderson897cf342018-06-13 09:53:51 -07001707 };
1708
Sai Prakash Ranjan39abbd32019-11-15 16:29:12 +05301709 system-cache-controller@1100000 {
Sai Prakash Ranjanba0411d2019-07-10 16:59:24 +05301710 compatible = "qcom,sdm845-llcc";
1711 reg = <0 0x01100000 0 0x200000>, <0 0x01300000 0 0x50000>;
1712 reg-names = "llcc_base", "llcc_broadcast_base";
1713 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
1714 };
1715
Bjorn Andersson5c538e092019-11-06 16:22:45 -08001716 pcie0: pci@1c00000 {
1717 compatible = "qcom,pcie-sdm845", "snps,dw-pcie";
1718 reg = <0 0x01c00000 0 0x2000>,
1719 <0 0x60000000 0 0xf1d>,
1720 <0 0x60000f20 0 0xa8>,
1721 <0 0x60100000 0 0x100000>;
1722 reg-names = "parf", "dbi", "elbi", "config";
1723 device_type = "pci";
1724 linux,pci-domain = <0>;
1725 bus-range = <0x00 0xff>;
1726 num-lanes = <1>;
1727
1728 #address-cells = <3>;
1729 #size-cells = <2>;
1730
1731 ranges = <0x01000000 0x0 0x60200000 0 0x60200000 0x0 0x100000>,
1732 <0x02000000 0x0 0x60300000 0 0x60300000 0x0 0xd00000>;
1733
1734 interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
1735 interrupt-names = "msi";
1736 #interrupt-cells = <1>;
1737 interrupt-map-mask = <0 0 0 0x7>;
1738 interrupt-map = <0 0 0 1 &intc 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1739 <0 0 0 2 &intc 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1740 <0 0 0 3 &intc 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1741 <0 0 0 4 &intc 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1742
1743 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
1744 <&gcc GCC_PCIE_0_AUX_CLK>,
1745 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
1746 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
1747 <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
1748 <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
1749 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>;
1750 clock-names = "pipe",
1751 "aux",
1752 "cfg",
1753 "bus_master",
1754 "bus_slave",
1755 "slave_q2a",
1756 "tbu";
1757
1758 iommus = <&apps_smmu 0x1c10 0xf>;
1759 iommu-map = <0x0 &apps_smmu 0x1c10 0x1>,
1760 <0x100 &apps_smmu 0x1c11 0x1>,
1761 <0x200 &apps_smmu 0x1c12 0x1>,
1762 <0x300 &apps_smmu 0x1c13 0x1>,
1763 <0x400 &apps_smmu 0x1c14 0x1>,
1764 <0x500 &apps_smmu 0x1c15 0x1>,
1765 <0x600 &apps_smmu 0x1c16 0x1>,
1766 <0x700 &apps_smmu 0x1c17 0x1>,
1767 <0x800 &apps_smmu 0x1c18 0x1>,
1768 <0x900 &apps_smmu 0x1c19 0x1>,
1769 <0xa00 &apps_smmu 0x1c1a 0x1>,
1770 <0xb00 &apps_smmu 0x1c1b 0x1>,
1771 <0xc00 &apps_smmu 0x1c1c 0x1>,
1772 <0xd00 &apps_smmu 0x1c1d 0x1>,
1773 <0xe00 &apps_smmu 0x1c1e 0x1>,
1774 <0xf00 &apps_smmu 0x1c1f 0x1>;
1775
1776 resets = <&gcc GCC_PCIE_0_BCR>;
1777 reset-names = "pci";
1778
1779 power-domains = <&gcc PCIE_0_GDSC>;
1780
1781 phys = <&pcie0_lane>;
1782 phy-names = "pciephy";
1783
1784 status = "disabled";
1785 };
1786
1787 pcie0_phy: phy@1c06000 {
1788 compatible = "qcom,sdm845-qmp-pcie-phy";
1789 reg = <0 0x01c06000 0 0x18c>;
1790 #address-cells = <2>;
1791 #size-cells = <2>;
1792 ranges;
1793 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
1794 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
1795 <&gcc GCC_PCIE_0_CLKREF_CLK>,
1796 <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
1797 clock-names = "aux", "cfg_ahb", "ref", "refgen";
1798
1799 resets = <&gcc GCC_PCIE_0_PHY_BCR>;
1800 reset-names = "phy";
1801
1802 assigned-clocks = <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
1803 assigned-clock-rates = <100000000>;
1804
1805 status = "disabled";
1806
1807 pcie0_lane: lanes@1c06200 {
1808 reg = <0 0x01c06200 0 0x128>,
1809 <0 0x01c06400 0 0x1fc>,
1810 <0 0x01c06800 0 0x218>,
1811 <0 0x01c06600 0 0x70>;
1812 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
1813 clock-names = "pipe0";
1814
1815 #phy-cells = <0>;
1816 clock-output-names = "pcie_0_pipe_clk";
1817 };
1818 };
1819
Bjorn Andersson42ad2312019-11-06 16:22:46 -08001820 pcie1: pci@1c08000 {
1821 compatible = "qcom,pcie-sdm845", "snps,dw-pcie";
1822 reg = <0 0x01c08000 0 0x2000>,
1823 <0 0x40000000 0 0xf1d>,
1824 <0 0x40000f20 0 0xa8>,
1825 <0 0x40100000 0 0x100000>;
1826 reg-names = "parf", "dbi", "elbi", "config";
1827 device_type = "pci";
1828 linux,pci-domain = <1>;
1829 bus-range = <0x00 0xff>;
1830 num-lanes = <1>;
1831
1832 #address-cells = <3>;
1833 #size-cells = <2>;
1834
1835 ranges = <0x01000000 0x0 0x40200000 0x0 0x40200000 0x0 0x100000>,
1836 <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>;
1837
1838 interrupts = <GIC_SPI 307 IRQ_TYPE_EDGE_RISING>;
1839 interrupt-names = "msi";
1840 #interrupt-cells = <1>;
1841 interrupt-map-mask = <0 0 0 0x7>;
1842 interrupt-map = <0 0 0 1 &intc 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1843 <0 0 0 2 &intc 0 435 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1844 <0 0 0 3 &intc 0 438 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1845 <0 0 0 4 &intc 0 439 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1846
1847 clocks = <&gcc GCC_PCIE_1_PIPE_CLK>,
1848 <&gcc GCC_PCIE_1_AUX_CLK>,
1849 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
1850 <&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
1851 <&gcc GCC_PCIE_1_SLV_AXI_CLK>,
1852 <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>,
1853 <&gcc GCC_PCIE_1_CLKREF_CLK>,
1854 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>;
1855 clock-names = "pipe",
1856 "aux",
1857 "cfg",
1858 "bus_master",
1859 "bus_slave",
1860 "slave_q2a",
1861 "ref",
1862 "tbu";
1863
1864 assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>;
1865 assigned-clock-rates = <19200000>;
1866
1867 iommus = <&apps_smmu 0x1c00 0xf>;
1868 iommu-map = <0x0 &apps_smmu 0x1c00 0x1>,
1869 <0x100 &apps_smmu 0x1c01 0x1>,
1870 <0x200 &apps_smmu 0x1c02 0x1>,
1871 <0x300 &apps_smmu 0x1c03 0x1>,
1872 <0x400 &apps_smmu 0x1c04 0x1>,
1873 <0x500 &apps_smmu 0x1c05 0x1>,
1874 <0x600 &apps_smmu 0x1c06 0x1>,
1875 <0x700 &apps_smmu 0x1c07 0x1>,
1876 <0x800 &apps_smmu 0x1c08 0x1>,
1877 <0x900 &apps_smmu 0x1c09 0x1>,
1878 <0xa00 &apps_smmu 0x1c0a 0x1>,
1879 <0xb00 &apps_smmu 0x1c0b 0x1>,
1880 <0xc00 &apps_smmu 0x1c0c 0x1>,
1881 <0xd00 &apps_smmu 0x1c0d 0x1>,
1882 <0xe00 &apps_smmu 0x1c0e 0x1>,
1883 <0xf00 &apps_smmu 0x1c0f 0x1>;
1884
1885 resets = <&gcc GCC_PCIE_1_BCR>;
1886 reset-names = "pci";
1887
1888 power-domains = <&gcc PCIE_1_GDSC>;
1889
1890 phys = <&pcie1_lane>;
1891 phy-names = "pciephy";
1892
1893 status = "disabled";
1894 };
1895
1896 pcie1_phy: phy@1c0a000 {
1897 compatible = "qcom,sdm845-qhp-pcie-phy";
1898 reg = <0 0x01c0a000 0 0x800>;
1899 #address-cells = <2>;
1900 #size-cells = <2>;
1901 ranges;
1902 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
1903 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
1904 <&gcc GCC_PCIE_1_CLKREF_CLK>,
1905 <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
1906 clock-names = "aux", "cfg_ahb", "ref", "refgen";
1907
1908 resets = <&gcc GCC_PCIE_1_PHY_BCR>;
1909 reset-names = "phy";
1910
1911 assigned-clocks = <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
1912 assigned-clock-rates = <100000000>;
1913
1914 status = "disabled";
1915
1916 pcie1_lane: lanes@1c06200 {
1917 reg = <0 0x01c0a800 0 0x800>,
1918 <0 0x01c0a800 0 0x800>,
1919 <0 0x01c0b800 0 0x400>;
1920 clocks = <&gcc GCC_PCIE_1_PIPE_CLK>;
1921 clock-names = "pipe0";
1922
1923 #phy-cells = <0>;
1924 clock-output-names = "pcie_1_pipe_clk";
1925 };
1926 };
1927
David Daib303f9f2020-02-10 00:04:11 +05301928 mem_noc: interconnect@1380000 {
1929 compatible = "qcom,sdm845-mem-noc";
1930 reg = <0 0x01380000 0 0x27200>;
1931 #interconnect-cells = <1>;
1932 qcom,bcm-voters = <&apps_bcm_voter>;
1933 };
1934
1935 dc_noc: interconnect@14e0000 {
1936 compatible = "qcom,sdm845-dc-noc";
1937 reg = <0 0x014e0000 0 0x400>;
1938 #interconnect-cells = <1>;
1939 qcom,bcm-voters = <&apps_bcm_voter>;
1940 };
1941
1942 config_noc: interconnect@1500000 {
1943 compatible = "qcom,sdm845-config-noc";
1944 reg = <0 0x01500000 0 0x5080>;
1945 #interconnect-cells = <1>;
1946 qcom,bcm-voters = <&apps_bcm_voter>;
1947 };
1948
1949 system_noc: interconnect@1620000 {
1950 compatible = "qcom,sdm845-system-noc";
1951 reg = <0 0x01620000 0 0x18080>;
1952 #interconnect-cells = <1>;
1953 qcom,bcm-voters = <&apps_bcm_voter>;
1954 };
1955
1956 aggre1_noc: interconnect@16e0000 {
1957 compatible = "qcom,sdm845-aggre1-noc";
1958 reg = <0 0x016e0000 0 0x15080>;
1959 #interconnect-cells = <1>;
1960 qcom,bcm-voters = <&apps_bcm_voter>;
1961 };
1962
1963 aggre2_noc: interconnect@1700000 {
1964 compatible = "qcom,sdm845-aggre2-noc";
1965 reg = <0 0x01700000 0 0x1f300>;
1966 #interconnect-cells = <1>;
1967 qcom,bcm-voters = <&apps_bcm_voter>;
1968 };
1969
1970 mmss_noc: interconnect@1740000 {
1971 compatible = "qcom,sdm845-mmss-noc";
1972 reg = <0 0x01740000 0 0x1c100>;
1973 #interconnect-cells = <1>;
1974 qcom,bcm-voters = <&apps_bcm_voter>;
1975 };
1976
Evan Greencc166872018-12-10 11:28:24 -08001977 ufs_mem_hc: ufshc@1d84000 {
1978 compatible = "qcom,sdm845-ufshc", "qcom,ufshc",
1979 "jedec,ufs-2.0";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001980 reg = <0 0x01d84000 0 0x2500>;
Evan Greencc166872018-12-10 11:28:24 -08001981 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1982 phys = <&ufs_mem_phy_lanes>;
1983 phy-names = "ufsphy";
1984 lanes-per-direction = <2>;
1985 power-domains = <&gcc UFS_PHY_GDSC>;
Evan Green71278b02019-03-21 10:17:56 -07001986 #reset-cells = <1>;
Vinod Koula8aa4812020-01-06 12:38:26 +05301987 resets = <&gcc GCC_UFS_PHY_BCR>;
1988 reset-names = "rst";
Evan Greencc166872018-12-10 11:28:24 -08001989
1990 iommus = <&apps_smmu 0x100 0xf>;
1991
1992 clock-names =
1993 "core_clk",
1994 "bus_aggr_clk",
1995 "iface_clk",
1996 "core_clk_unipro",
1997 "ref_clk",
1998 "tx_lane0_sync_clk",
1999 "rx_lane0_sync_clk",
2000 "rx_lane1_sync_clk";
2001 clocks =
2002 <&gcc GCC_UFS_PHY_AXI_CLK>,
2003 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
2004 <&gcc GCC_UFS_PHY_AHB_CLK>,
2005 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
2006 <&rpmhcc RPMH_CXO_CLK>,
2007 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
2008 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
2009 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
2010 freq-table-hz =
2011 <50000000 200000000>,
2012 <0 0>,
2013 <0 0>,
2014 <37500000 150000000>,
2015 <0 0>,
2016 <0 0>,
2017 <0 0>,
2018 <0 0>;
2019
2020 status = "disabled";
2021 };
2022
2023 ufs_mem_phy: phy@1d87000 {
2024 compatible = "qcom,sdm845-qmp-ufs-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002025 reg = <0 0x01d87000 0 0x18c>;
2026 #address-cells = <2>;
2027 #size-cells = <2>;
Evan Greencc166872018-12-10 11:28:24 -08002028 ranges;
2029 clock-names = "ref",
2030 "ref_aux";
2031 clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
2032 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
2033
Evan Green71278b02019-03-21 10:17:56 -07002034 resets = <&ufs_mem_hc 0>;
2035 reset-names = "ufsphy";
Evan Greencc166872018-12-10 11:28:24 -08002036 status = "disabled";
2037
2038 ufs_mem_phy_lanes: lanes@1d87400 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002039 reg = <0 0x01d87400 0 0x108>,
2040 <0 0x01d87600 0 0x1e0>,
2041 <0 0x01d87c00 0 0x1dc>,
2042 <0 0x01d87800 0 0x108>,
2043 <0 0x01d87a00 0 0x1e0>;
Evan Greencc166872018-12-10 11:28:24 -08002044 #phy-cells = <0>;
2045 };
2046 };
2047
Alex Elder392a5852020-03-13 06:52:36 -05002048 ipa: ipa@1e40000 {
2049 compatible = "qcom,sdm845-ipa";
Alex Eldere9e89c42020-05-04 13:13:50 -05002050
2051 iommus = <&apps_smmu 0x720 0x3>;
Alex Elder392a5852020-03-13 06:52:36 -05002052 reg = <0 0x1e40000 0 0x7000>,
2053 <0 0x1e47000 0 0x2000>,
2054 <0 0x1e04000 0 0x2c000>;
2055 reg-names = "ipa-reg",
2056 "ipa-shared",
2057 "gsi";
2058
2059 interrupts-extended = <&intc 0 311 IRQ_TYPE_EDGE_RISING>,
2060 <&intc 0 432 IRQ_TYPE_LEVEL_HIGH>,
2061 <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2062 <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
2063 interrupt-names = "ipa",
2064 "gsi",
2065 "ipa-clock-query",
2066 "ipa-setup-ready";
2067
2068 clocks = <&rpmhcc RPMH_IPA_CLK>;
2069 clock-names = "core";
2070
2071 interconnects = <&aggre2_noc MASTER_IPA &mem_noc SLAVE_EBI1>,
2072 <&aggre2_noc MASTER_IPA &system_noc SLAVE_IMEM>,
2073 <&gladiator_noc MASTER_APPSS_PROC &config_noc SLAVE_IPA_CFG>;
2074 interconnect-names = "memory",
2075 "imem",
2076 "config";
2077
2078 qcom,smem-states = <&ipa_smp2p_out 0>,
2079 <&ipa_smp2p_out 1>;
2080 qcom,smem-state-names = "ipa-clock-enabled-valid",
2081 "ipa-clock-enabled";
2082
2083 modem-remoteproc = <&mss_pil>;
2084
2085 status = "disabled";
2086 };
2087
Douglas Anderson54d7a202018-05-14 20:59:22 -07002088 tcsr_mutex_regs: syscon@1f40000 {
2089 compatible = "syscon";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002090 reg = <0 0x01f40000 0 0x40000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07002091 };
2092
2093 tlmm: pinctrl@3400000 {
2094 compatible = "qcom,sdm845-pinctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002095 reg = <0 0x03400000 0 0xc00000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07002096 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
2097 gpio-controller;
2098 #gpio-cells = <2>;
2099 interrupt-controller;
2100 #interrupt-cells = <2>;
Evan Greenbc2c8062018-11-09 15:52:12 -08002101 gpio-ranges = <&tlmm 0 0 150>;
Lina Iyeraeae9482019-11-15 15:11:54 -07002102 wakeup-parent = <&pdc_intc>;
Douglas Anderson897cf342018-06-13 09:53:51 -07002103
Robert Foss07484de2020-03-24 16:58:39 +01002104 cci0_default: cci0-default {
2105 /* SDA, SCL */
2106 pins = "gpio17", "gpio18";
2107 function = "cci_i2c";
2108
2109 bias-pull-up;
2110 drive-strength = <2>; /* 2 mA */
2111 };
2112
2113 cci0_sleep: cci0-sleep {
2114 /* SDA, SCL */
2115 pins = "gpio17", "gpio18";
2116 function = "cci_i2c";
2117
2118 drive-strength = <2>; /* 2 mA */
2119 bias-pull-down;
2120 };
2121
2122 cci1_default: cci1-default {
2123 /* SDA, SCL */
2124 pins = "gpio19", "gpio20";
2125 function = "cci_i2c";
2126
2127 bias-pull-up;
2128 drive-strength = <2>; /* 2 mA */
2129 };
2130
2131 cci1_sleep: cci1-sleep {
2132 /* SDA, SCL */
2133 pins = "gpio19", "gpio20";
2134 function = "cci_i2c";
2135
2136 drive-strength = <2>; /* 2 mA */
2137 bias-pull-down;
2138 };
2139
Douglas Andersone1ce8532018-10-08 13:17:11 -07002140 qspi_clk: qspi-clk {
2141 pinmux {
2142 pins = "gpio95";
2143 function = "qspi_clk";
2144 };
2145 };
2146
2147 qspi_cs0: qspi-cs0 {
2148 pinmux {
2149 pins = "gpio90";
2150 function = "qspi_cs";
2151 };
2152 };
2153
2154 qspi_cs1: qspi-cs1 {
2155 pinmux {
2156 pins = "gpio89";
2157 function = "qspi_cs";
2158 };
2159 };
2160
2161 qspi_data01: qspi-data01 {
2162 pinmux-data {
2163 pins = "gpio91", "gpio92";
2164 function = "qspi_data";
2165 };
2166 };
2167
2168 qspi_data12: qspi-data12 {
2169 pinmux-data {
2170 pins = "gpio93", "gpio94";
2171 function = "qspi_data";
2172 };
2173 };
2174
Douglas Anderson897cf342018-06-13 09:53:51 -07002175 qup_i2c0_default: qup-i2c0-default {
2176 pinmux {
2177 pins = "gpio0", "gpio1";
2178 function = "qup0";
2179 };
2180 };
2181
2182 qup_i2c1_default: qup-i2c1-default {
2183 pinmux {
2184 pins = "gpio17", "gpio18";
2185 function = "qup1";
2186 };
2187 };
2188
2189 qup_i2c2_default: qup-i2c2-default {
2190 pinmux {
2191 pins = "gpio27", "gpio28";
2192 function = "qup2";
2193 };
2194 };
2195
2196 qup_i2c3_default: qup-i2c3-default {
2197 pinmux {
2198 pins = "gpio41", "gpio42";
2199 function = "qup3";
2200 };
2201 };
2202
2203 qup_i2c4_default: qup-i2c4-default {
2204 pinmux {
2205 pins = "gpio89", "gpio90";
2206 function = "qup4";
2207 };
2208 };
2209
2210 qup_i2c5_default: qup-i2c5-default {
2211 pinmux {
2212 pins = "gpio85", "gpio86";
2213 function = "qup5";
2214 };
2215 };
2216
2217 qup_i2c6_default: qup-i2c6-default {
2218 pinmux {
2219 pins = "gpio45", "gpio46";
2220 function = "qup6";
2221 };
2222 };
2223
2224 qup_i2c7_default: qup-i2c7-default {
2225 pinmux {
2226 pins = "gpio93", "gpio94";
2227 function = "qup7";
2228 };
2229 };
2230
2231 qup_i2c8_default: qup-i2c8-default {
2232 pinmux {
2233 pins = "gpio65", "gpio66";
2234 function = "qup8";
2235 };
2236 };
2237
2238 qup_i2c9_default: qup-i2c9-default {
2239 pinmux {
2240 pins = "gpio6", "gpio7";
2241 function = "qup9";
2242 };
2243 };
2244
2245 qup_i2c10_default: qup-i2c10-default {
2246 pinmux {
2247 pins = "gpio55", "gpio56";
2248 function = "qup10";
2249 };
2250 };
2251
2252 qup_i2c11_default: qup-i2c11-default {
2253 pinmux {
2254 pins = "gpio31", "gpio32";
2255 function = "qup11";
2256 };
2257 };
2258
2259 qup_i2c12_default: qup-i2c12-default {
2260 pinmux {
2261 pins = "gpio49", "gpio50";
2262 function = "qup12";
2263 };
2264 };
2265
2266 qup_i2c13_default: qup-i2c13-default {
2267 pinmux {
2268 pins = "gpio105", "gpio106";
2269 function = "qup13";
2270 };
2271 };
2272
2273 qup_i2c14_default: qup-i2c14-default {
2274 pinmux {
2275 pins = "gpio33", "gpio34";
2276 function = "qup14";
2277 };
2278 };
2279
2280 qup_i2c15_default: qup-i2c15-default {
2281 pinmux {
2282 pins = "gpio81", "gpio82";
2283 function = "qup15";
2284 };
2285 };
2286
2287 qup_spi0_default: qup-spi0-default {
2288 pinmux {
2289 pins = "gpio0", "gpio1",
2290 "gpio2", "gpio3";
2291 function = "qup0";
2292 };
2293 };
2294
2295 qup_spi1_default: qup-spi1-default {
2296 pinmux {
2297 pins = "gpio17", "gpio18",
2298 "gpio19", "gpio20";
2299 function = "qup1";
2300 };
2301 };
2302
2303 qup_spi2_default: qup-spi2-default {
2304 pinmux {
2305 pins = "gpio27", "gpio28",
2306 "gpio29", "gpio30";
2307 function = "qup2";
2308 };
2309 };
2310
2311 qup_spi3_default: qup-spi3-default {
2312 pinmux {
2313 pins = "gpio41", "gpio42",
2314 "gpio43", "gpio44";
2315 function = "qup3";
2316 };
2317 };
2318
2319 qup_spi4_default: qup-spi4-default {
2320 pinmux {
2321 pins = "gpio89", "gpio90",
2322 "gpio91", "gpio92";
2323 function = "qup4";
2324 };
2325 };
2326
2327 qup_spi5_default: qup-spi5-default {
2328 pinmux {
2329 pins = "gpio85", "gpio86",
2330 "gpio87", "gpio88";
2331 function = "qup5";
2332 };
2333 };
2334
2335 qup_spi6_default: qup-spi6-default {
2336 pinmux {
2337 pins = "gpio45", "gpio46",
2338 "gpio47", "gpio48";
2339 function = "qup6";
2340 };
2341 };
2342
2343 qup_spi7_default: qup-spi7-default {
2344 pinmux {
2345 pins = "gpio93", "gpio94",
2346 "gpio95", "gpio96";
2347 function = "qup7";
2348 };
2349 };
2350
2351 qup_spi8_default: qup-spi8-default {
2352 pinmux {
2353 pins = "gpio65", "gpio66",
2354 "gpio67", "gpio68";
2355 function = "qup8";
2356 };
2357 };
2358
2359 qup_spi9_default: qup-spi9-default {
2360 pinmux {
2361 pins = "gpio6", "gpio7",
2362 "gpio4", "gpio5";
2363 function = "qup9";
2364 };
2365 };
2366
2367 qup_spi10_default: qup-spi10-default {
2368 pinmux {
2369 pins = "gpio55", "gpio56",
2370 "gpio53", "gpio54";
2371 function = "qup10";
2372 };
2373 };
2374
2375 qup_spi11_default: qup-spi11-default {
2376 pinmux {
2377 pins = "gpio31", "gpio32",
2378 "gpio33", "gpio34";
2379 function = "qup11";
2380 };
2381 };
2382
2383 qup_spi12_default: qup-spi12-default {
2384 pinmux {
2385 pins = "gpio49", "gpio50",
2386 "gpio51", "gpio52";
2387 function = "qup12";
2388 };
2389 };
2390
2391 qup_spi13_default: qup-spi13-default {
2392 pinmux {
2393 pins = "gpio105", "gpio106",
2394 "gpio107", "gpio108";
2395 function = "qup13";
2396 };
2397 };
2398
2399 qup_spi14_default: qup-spi14-default {
2400 pinmux {
2401 pins = "gpio33", "gpio34",
2402 "gpio31", "gpio32";
2403 function = "qup14";
2404 };
2405 };
2406
2407 qup_spi15_default: qup-spi15-default {
2408 pinmux {
2409 pins = "gpio81", "gpio82",
2410 "gpio83", "gpio84";
2411 function = "qup15";
2412 };
2413 };
2414
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07002415 qup_uart0_default: qup-uart0-default {
2416 pinmux {
2417 pins = "gpio2", "gpio3";
2418 function = "qup0";
2419 };
2420 };
2421
2422 qup_uart1_default: qup-uart1-default {
2423 pinmux {
2424 pins = "gpio19", "gpio20";
2425 function = "qup1";
2426 };
2427 };
2428
2429 qup_uart2_default: qup-uart2-default {
2430 pinmux {
2431 pins = "gpio29", "gpio30";
2432 function = "qup2";
2433 };
2434 };
2435
2436 qup_uart3_default: qup-uart3-default {
2437 pinmux {
2438 pins = "gpio43", "gpio44";
2439 function = "qup3";
2440 };
2441 };
2442
2443 qup_uart4_default: qup-uart4-default {
2444 pinmux {
2445 pins = "gpio91", "gpio92";
2446 function = "qup4";
2447 };
2448 };
2449
2450 qup_uart5_default: qup-uart5-default {
2451 pinmux {
2452 pins = "gpio87", "gpio88";
2453 function = "qup5";
2454 };
2455 };
2456
2457 qup_uart6_default: qup-uart6-default {
2458 pinmux {
2459 pins = "gpio47", "gpio48";
2460 function = "qup6";
2461 };
2462 };
2463
2464 qup_uart7_default: qup-uart7-default {
2465 pinmux {
2466 pins = "gpio95", "gpio96";
2467 function = "qup7";
2468 };
2469 };
2470
2471 qup_uart8_default: qup-uart8-default {
2472 pinmux {
2473 pins = "gpio67", "gpio68";
2474 function = "qup8";
2475 };
2476 };
2477
Douglas Anderson897cf342018-06-13 09:53:51 -07002478 qup_uart9_default: qup-uart9-default {
2479 pinmux {
2480 pins = "gpio4", "gpio5";
2481 function = "qup9";
2482 };
2483 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07002484
2485 qup_uart10_default: qup-uart10-default {
2486 pinmux {
2487 pins = "gpio53", "gpio54";
2488 function = "qup10";
2489 };
2490 };
2491
2492 qup_uart11_default: qup-uart11-default {
2493 pinmux {
2494 pins = "gpio33", "gpio34";
2495 function = "qup11";
2496 };
2497 };
2498
2499 qup_uart12_default: qup-uart12-default {
2500 pinmux {
2501 pins = "gpio51", "gpio52";
2502 function = "qup12";
2503 };
2504 };
2505
2506 qup_uart13_default: qup-uart13-default {
2507 pinmux {
2508 pins = "gpio107", "gpio108";
2509 function = "qup13";
2510 };
2511 };
2512
2513 qup_uart14_default: qup-uart14-default {
2514 pinmux {
2515 pins = "gpio31", "gpio32";
2516 function = "qup14";
2517 };
2518 };
2519
2520 qup_uart15_default: qup-uart15-default {
2521 pinmux {
2522 pins = "gpio83", "gpio84";
2523 function = "qup15";
2524 };
2525 };
Srinivas Kandagatla606057b2020-03-12 14:30:23 +00002526
2527 quat_mi2s_sleep: quat_mi2s_sleep {
2528 mux {
2529 pins = "gpio58", "gpio59";
2530 function = "gpio";
2531 };
2532
2533 config {
2534 pins = "gpio58", "gpio59";
2535 drive-strength = <2>;
2536 bias-pull-down;
2537 input-enable;
2538 };
2539 };
2540
2541 quat_mi2s_active: quat_mi2s_active {
2542 mux {
2543 pins = "gpio58", "gpio59";
2544 function = "qua_mi2s";
2545 };
2546
2547 config {
2548 pins = "gpio58", "gpio59";
2549 drive-strength = <8>;
2550 bias-disable;
2551 output-high;
2552 };
2553 };
2554
2555 quat_mi2s_sd0_sleep: quat_mi2s_sd0_sleep {
2556 mux {
2557 pins = "gpio60";
2558 function = "gpio";
2559 };
2560
2561 config {
2562 pins = "gpio60";
2563 drive-strength = <2>;
2564 bias-pull-down;
2565 input-enable;
2566 };
2567 };
2568
2569 quat_mi2s_sd0_active: quat_mi2s_sd0_active {
2570 mux {
2571 pins = "gpio60";
2572 function = "qua_mi2s";
2573 };
2574
2575 config {
2576 pins = "gpio60";
2577 drive-strength = <8>;
2578 bias-disable;
2579 };
2580 };
2581
2582 quat_mi2s_sd1_sleep: quat_mi2s_sd1_sleep {
2583 mux {
2584 pins = "gpio61";
2585 function = "gpio";
2586 };
2587
2588 config {
2589 pins = "gpio61";
2590 drive-strength = <2>;
2591 bias-pull-down;
2592 input-enable;
2593 };
2594 };
2595
2596 quat_mi2s_sd1_active: quat_mi2s_sd1_active {
2597 mux {
2598 pins = "gpio61";
2599 function = "qua_mi2s";
2600 };
2601
2602 config {
2603 pins = "gpio61";
2604 drive-strength = <8>;
2605 bias-disable;
2606 };
2607 };
2608
2609 quat_mi2s_sd2_sleep: quat_mi2s_sd2_sleep {
2610 mux {
2611 pins = "gpio62";
2612 function = "gpio";
2613 };
2614
2615 config {
2616 pins = "gpio62";
2617 drive-strength = <2>;
2618 bias-pull-down;
2619 input-enable;
2620 };
2621 };
2622
2623 quat_mi2s_sd2_active: quat_mi2s_sd2_active {
2624 mux {
2625 pins = "gpio62";
2626 function = "qua_mi2s";
2627 };
2628
2629 config {
2630 pins = "gpio62";
2631 drive-strength = <8>;
2632 bias-disable;
2633 };
2634 };
2635
2636 quat_mi2s_sd3_sleep: quat_mi2s_sd3_sleep {
2637 mux {
2638 pins = "gpio63";
2639 function = "gpio";
2640 };
2641
2642 config {
2643 pins = "gpio63";
2644 drive-strength = <2>;
2645 bias-pull-down;
2646 input-enable;
2647 };
2648 };
2649
2650 quat_mi2s_sd3_active: quat_mi2s_sd3_active {
2651 mux {
2652 pins = "gpio63";
2653 function = "qua_mi2s";
2654 };
2655
2656 config {
2657 pins = "gpio63";
2658 drive-strength = <8>;
2659 bias-disable;
2660 };
2661 };
Douglas Anderson54d7a202018-05-14 20:59:22 -07002662 };
2663
Sibi Sankare76c3672019-06-11 21:45:36 -07002664 mss_pil: remoteproc@4080000 {
2665 compatible = "qcom,sdm845-mss-pil";
2666 reg = <0 0x04080000 0 0x408>, <0 0x04180000 0 0x48>;
2667 reg-names = "qdsp6", "rmb";
2668
2669 interrupts-extended =
2670 <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,
2671 <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2672 <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
2673 <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
2674 <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
2675 <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
2676 interrupt-names = "wdog", "fatal", "ready",
2677 "handover", "stop-ack",
2678 "shutdown-ack";
2679
2680 clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
2681 <&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
2682 <&gcc GCC_BOOT_ROM_AHB_CLK>,
2683 <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
2684 <&gcc GCC_MSS_SNOC_AXI_CLK>,
2685 <&gcc GCC_MSS_MFAB_AXIS_CLK>,
2686 <&gcc GCC_PRNG_AHB_CLK>,
2687 <&rpmhcc RPMH_CXO_CLK>;
2688 clock-names = "iface", "bus", "mem", "gpll0_mss",
2689 "snoc_axi", "mnoc_axi", "prng", "xo";
2690
2691 qcom,smem-states = <&modem_smp2p_out 0>;
2692 qcom,smem-state-names = "stop";
2693
2694 resets = <&aoss_reset AOSS_CC_MSS_RESTART>,
2695 <&pdc_reset PDC_MODEM_SYNC_RESET>;
2696 reset-names = "mss_restart", "pdc_reset";
2697
2698 qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>;
2699
2700 power-domains = <&aoss_qmp 2>,
2701 <&rpmhpd SDM845_CX>,
2702 <&rpmhpd SDM845_MX>,
2703 <&rpmhpd SDM845_MSS>;
2704 power-domain-names = "load_state", "cx", "mx", "mss";
2705
2706 mba {
2707 memory-region = <&mba_region>;
2708 };
2709
2710 mpss {
2711 memory-region = <&mpss_region>;
2712 };
2713
2714 glink-edge {
2715 interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
2716 label = "modem";
2717 qcom,remote-pid = <1>;
2718 mboxes = <&apss_shared 12>;
2719 };
2720 };
2721
Douglas Anderson9aa4a272018-11-28 10:57:43 -08002722 gpucc: clock-controller@5090000 {
2723 compatible = "qcom,sdm845-gpucc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002724 reg = <0 0x05090000 0 0x9000>;
Douglas Anderson9aa4a272018-11-28 10:57:43 -08002725 #clock-cells = <1>;
2726 #reset-cells = <1>;
2727 #power-domain-cells = <1>;
Douglas Andersonbb2bd9b2020-02-03 10:31:41 -08002728 clocks = <&rpmhcc RPMH_CXO_CLK>,
2729 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
2730 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
2731 clock-names = "bi_tcxo",
2732 "gcc_gpu_gpll0_clk_src",
2733 "gcc_gpu_gpll0_div_clk_src";
Douglas Anderson9aa4a272018-11-28 10:57:43 -08002734 };
2735
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05302736 stm@6002000 {
2737 compatible = "arm,coresight-stm", "arm,primecell";
2738 reg = <0 0x06002000 0 0x1000>,
2739 <0 0x16280000 0 0x180000>;
2740 reg-names = "stm-base", "stm-stimulus-base";
2741
2742 clocks = <&aoss_qmp>;
2743 clock-names = "apb_pclk";
2744
2745 out-ports {
2746 port {
2747 stm_out: endpoint {
2748 remote-endpoint =
2749 <&funnel0_in7>;
2750 };
2751 };
2752 };
2753 };
2754
2755 funnel@6041000 {
2756 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2757 reg = <0 0x06041000 0 0x1000>;
2758
2759 clocks = <&aoss_qmp>;
2760 clock-names = "apb_pclk";
2761
2762 out-ports {
2763 port {
2764 funnel0_out: endpoint {
2765 remote-endpoint =
2766 <&merge_funnel_in0>;
2767 };
2768 };
2769 };
2770
2771 in-ports {
2772 #address-cells = <1>;
2773 #size-cells = <0>;
2774
2775 port@7 {
2776 reg = <7>;
2777 funnel0_in7: endpoint {
2778 remote-endpoint = <&stm_out>;
2779 };
2780 };
2781 };
2782 };
2783
2784 funnel@6043000 {
2785 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2786 reg = <0 0x06043000 0 0x1000>;
2787
2788 clocks = <&aoss_qmp>;
2789 clock-names = "apb_pclk";
2790
2791 out-ports {
2792 port {
2793 funnel2_out: endpoint {
2794 remote-endpoint =
2795 <&merge_funnel_in2>;
2796 };
2797 };
2798 };
2799
2800 in-ports {
2801 #address-cells = <1>;
2802 #size-cells = <0>;
2803
2804 port@5 {
2805 reg = <5>;
2806 funnel2_in5: endpoint {
2807 remote-endpoint =
2808 <&apss_merge_funnel_out>;
2809 };
2810 };
2811 };
2812 };
2813
2814 funnel@6045000 {
2815 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2816 reg = <0 0x06045000 0 0x1000>;
2817
2818 clocks = <&aoss_qmp>;
2819 clock-names = "apb_pclk";
2820
2821 out-ports {
2822 port {
2823 merge_funnel_out: endpoint {
2824 remote-endpoint = <&etf_in>;
2825 };
2826 };
2827 };
2828
2829 in-ports {
2830 #address-cells = <1>;
2831 #size-cells = <0>;
2832
2833 port@0 {
2834 reg = <0>;
2835 merge_funnel_in0: endpoint {
2836 remote-endpoint =
2837 <&funnel0_out>;
2838 };
2839 };
2840
2841 port@2 {
2842 reg = <2>;
2843 merge_funnel_in2: endpoint {
2844 remote-endpoint =
2845 <&funnel2_out>;
2846 };
2847 };
2848 };
2849 };
2850
2851 replicator@6046000 {
2852 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
2853 reg = <0 0x06046000 0 0x1000>;
2854
2855 clocks = <&aoss_qmp>;
2856 clock-names = "apb_pclk";
2857
2858 out-ports {
2859 port {
2860 replicator_out: endpoint {
2861 remote-endpoint = <&etr_in>;
2862 };
2863 };
2864 };
2865
2866 in-ports {
2867 port {
2868 replicator_in: endpoint {
2869 remote-endpoint = <&etf_out>;
2870 };
2871 };
2872 };
2873 };
2874
2875 etf@6047000 {
2876 compatible = "arm,coresight-tmc", "arm,primecell";
2877 reg = <0 0x06047000 0 0x1000>;
2878
2879 clocks = <&aoss_qmp>;
2880 clock-names = "apb_pclk";
2881
2882 out-ports {
2883 port {
2884 etf_out: endpoint {
2885 remote-endpoint =
2886 <&replicator_in>;
2887 };
2888 };
2889 };
2890
2891 in-ports {
2892 #address-cells = <1>;
2893 #size-cells = <0>;
2894
2895 port@1 {
2896 reg = <1>;
2897 etf_in: endpoint {
2898 remote-endpoint =
2899 <&merge_funnel_out>;
2900 };
2901 };
2902 };
2903 };
2904
2905 etr@6048000 {
2906 compatible = "arm,coresight-tmc", "arm,primecell";
2907 reg = <0 0x06048000 0 0x1000>;
2908
2909 clocks = <&aoss_qmp>;
2910 clock-names = "apb_pclk";
2911 arm,scatter-gather;
2912
2913 in-ports {
2914 port {
2915 etr_in: endpoint {
2916 remote-endpoint =
2917 <&replicator_out>;
2918 };
2919 };
2920 };
2921 };
2922
2923 etm@7040000 {
2924 compatible = "arm,coresight-etm4x", "arm,primecell";
2925 reg = <0 0x07040000 0 0x1000>;
2926
2927 cpu = <&CPU0>;
2928
2929 clocks = <&aoss_qmp>;
2930 clock-names = "apb_pclk";
2931
2932 out-ports {
2933 port {
2934 etm0_out: endpoint {
2935 remote-endpoint =
2936 <&apss_funnel_in0>;
2937 };
2938 };
2939 };
2940 };
2941
2942 etm@7140000 {
2943 compatible = "arm,coresight-etm4x", "arm,primecell";
2944 reg = <0 0x07140000 0 0x1000>;
2945
2946 cpu = <&CPU1>;
2947
2948 clocks = <&aoss_qmp>;
2949 clock-names = "apb_pclk";
2950
2951 out-ports {
2952 port {
2953 etm1_out: endpoint {
2954 remote-endpoint =
2955 <&apss_funnel_in1>;
2956 };
2957 };
2958 };
2959 };
2960
2961 etm@7240000 {
2962 compatible = "arm,coresight-etm4x", "arm,primecell";
2963 reg = <0 0x07240000 0 0x1000>;
2964
2965 cpu = <&CPU2>;
2966
2967 clocks = <&aoss_qmp>;
2968 clock-names = "apb_pclk";
2969
2970 out-ports {
2971 port {
2972 etm2_out: endpoint {
2973 remote-endpoint =
2974 <&apss_funnel_in2>;
2975 };
2976 };
2977 };
2978 };
2979
2980 etm@7340000 {
2981 compatible = "arm,coresight-etm4x", "arm,primecell";
2982 reg = <0 0x07340000 0 0x1000>;
2983
2984 cpu = <&CPU3>;
2985
2986 clocks = <&aoss_qmp>;
2987 clock-names = "apb_pclk";
2988
2989 out-ports {
2990 port {
2991 etm3_out: endpoint {
2992 remote-endpoint =
2993 <&apss_funnel_in3>;
2994 };
2995 };
2996 };
2997 };
2998
2999 etm@7440000 {
3000 compatible = "arm,coresight-etm4x", "arm,primecell";
3001 reg = <0 0x07440000 0 0x1000>;
3002
3003 cpu = <&CPU4>;
3004
3005 clocks = <&aoss_qmp>;
3006 clock-names = "apb_pclk";
3007
3008 out-ports {
3009 port {
3010 etm4_out: endpoint {
3011 remote-endpoint =
3012 <&apss_funnel_in4>;
3013 };
3014 };
3015 };
3016 };
3017
3018 etm@7540000 {
3019 compatible = "arm,coresight-etm4x", "arm,primecell";
3020 reg = <0 0x07540000 0 0x1000>;
3021
3022 cpu = <&CPU5>;
3023
3024 clocks = <&aoss_qmp>;
3025 clock-names = "apb_pclk";
3026
3027 out-ports {
3028 port {
3029 etm5_out: endpoint {
3030 remote-endpoint =
3031 <&apss_funnel_in5>;
3032 };
3033 };
3034 };
3035 };
3036
3037 etm@7640000 {
3038 compatible = "arm,coresight-etm4x", "arm,primecell";
3039 reg = <0 0x07640000 0 0x1000>;
3040
3041 cpu = <&CPU6>;
3042
3043 clocks = <&aoss_qmp>;
3044 clock-names = "apb_pclk";
3045
3046 out-ports {
3047 port {
3048 etm6_out: endpoint {
3049 remote-endpoint =
3050 <&apss_funnel_in6>;
3051 };
3052 };
3053 };
3054 };
3055
3056 etm@7740000 {
3057 compatible = "arm,coresight-etm4x", "arm,primecell";
3058 reg = <0 0x07740000 0 0x1000>;
3059
3060 cpu = <&CPU7>;
3061
3062 clocks = <&aoss_qmp>;
3063 clock-names = "apb_pclk";
3064
3065 out-ports {
3066 port {
3067 etm7_out: endpoint {
3068 remote-endpoint =
3069 <&apss_funnel_in7>;
3070 };
3071 };
3072 };
3073 };
3074
3075 funnel@7800000 { /* APSS Funnel */
3076 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3077 reg = <0 0x07800000 0 0x1000>;
3078
3079 clocks = <&aoss_qmp>;
3080 clock-names = "apb_pclk";
3081
3082 out-ports {
3083 port {
3084 apss_funnel_out: endpoint {
3085 remote-endpoint =
3086 <&apss_merge_funnel_in>;
3087 };
3088 };
3089 };
3090
3091 in-ports {
3092 #address-cells = <1>;
3093 #size-cells = <0>;
3094
3095 port@0 {
3096 reg = <0>;
3097 apss_funnel_in0: endpoint {
3098 remote-endpoint =
3099 <&etm0_out>;
3100 };
3101 };
3102
3103 port@1 {
3104 reg = <1>;
3105 apss_funnel_in1: endpoint {
3106 remote-endpoint =
3107 <&etm1_out>;
3108 };
3109 };
3110
3111 port@2 {
3112 reg = <2>;
3113 apss_funnel_in2: endpoint {
3114 remote-endpoint =
3115 <&etm2_out>;
3116 };
3117 };
3118
3119 port@3 {
3120 reg = <3>;
3121 apss_funnel_in3: endpoint {
3122 remote-endpoint =
3123 <&etm3_out>;
3124 };
3125 };
3126
3127 port@4 {
3128 reg = <4>;
3129 apss_funnel_in4: endpoint {
3130 remote-endpoint =
3131 <&etm4_out>;
3132 };
3133 };
3134
3135 port@5 {
3136 reg = <5>;
3137 apss_funnel_in5: endpoint {
3138 remote-endpoint =
3139 <&etm5_out>;
3140 };
3141 };
3142
3143 port@6 {
3144 reg = <6>;
3145 apss_funnel_in6: endpoint {
3146 remote-endpoint =
3147 <&etm6_out>;
3148 };
3149 };
3150
3151 port@7 {
3152 reg = <7>;
3153 apss_funnel_in7: endpoint {
3154 remote-endpoint =
3155 <&etm7_out>;
3156 };
3157 };
3158 };
3159 };
3160
3161 funnel@7810000 {
3162 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3163 reg = <0 0x07810000 0 0x1000>;
3164
3165 clocks = <&aoss_qmp>;
3166 clock-names = "apb_pclk";
3167
3168 out-ports {
3169 port {
3170 apss_merge_funnel_out: endpoint {
3171 remote-endpoint =
3172 <&funnel2_in5>;
3173 };
3174 };
3175 };
3176
3177 in-ports {
3178 port {
3179 apss_merge_funnel_in: endpoint {
3180 remote-endpoint =
3181 <&apss_funnel_out>;
3182 };
3183 };
3184 };
3185 };
3186
Evan Green67d62e52018-12-06 10:45:21 -08003187 sdhc_2: sdhci@8804000 {
3188 compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003189 reg = <0 0x08804000 0 0x1000>;
Evan Green67d62e52018-12-06 10:45:21 -08003190
3191 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
3192 <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
3193 interrupt-names = "hc_irq", "pwr_irq";
3194
3195 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
3196 <&gcc GCC_SDCC2_APPS_CLK>;
3197 clock-names = "iface", "core";
Bjorn Andersson55fae1d2019-02-04 16:54:52 -08003198 iommus = <&apps_smmu 0xa0 0xf>;
Evan Green67d62e52018-12-06 10:45:21 -08003199
3200 status = "disabled";
3201 };
3202
Douglas Andersone1ce8532018-10-08 13:17:11 -07003203 qspi: spi@88df000 {
3204 compatible = "qcom,sdm845-qspi", "qcom,qspi-v1";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003205 reg = <0 0x088df000 0 0x600>;
Douglas Andersone1ce8532018-10-08 13:17:11 -07003206 #address-cells = <1>;
3207 #size-cells = <0>;
3208 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
3209 clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
3210 <&gcc GCC_QSPI_CORE_CLK>;
3211 clock-names = "iface", "core";
3212 status = "disabled";
3213 };
3214
Srinivas Kandagatla27ca1de2020-03-12 14:30:20 +00003215 slim: slim@171c0000 {
3216 compatible = "qcom,slim-ngd-v2.1.0";
3217 reg = <0 0x171c0000 0 0x2c000>;
3218 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
3219
3220 qcom,apps-ch-pipes = <0x780000>;
3221 qcom,ea-pc = <0x270>;
3222 status = "okay";
3223 dmas = <&slimbam 3>, <&slimbam 4>,
3224 <&slimbam 5>, <&slimbam 6>;
3225 dma-names = "rx", "tx", "tx2", "rx2";
3226
3227 iommus = <&apps_smmu 0x1806 0x0>;
3228 #address-cells = <1>;
3229 #size-cells = <0>;
3230
3231 ngd@1 {
3232 reg = <1>;
3233 #address-cells = <2>;
3234 #size-cells = <0>;
3235
3236 wcd9340_ifd: ifd@0{
3237 compatible = "slim217,250";
3238 reg = <0 0>;
3239 };
3240
3241 wcd9340: codec@1{
3242 compatible = "slim217,250";
3243 reg = <1 0>;
3244 slim-ifc-dev = <&wcd9340_ifd>;
3245
3246 #sound-dai-cells = <1>;
3247
3248 interrupts-extended = <&tlmm 54 IRQ_TYPE_LEVEL_HIGH>;
3249 interrupt-controller;
3250 #interrupt-cells = <1>;
3251
3252 #clock-cells = <0>;
3253 clock-frequency = <9600000>;
3254 clock-output-names = "mclk";
3255 qcom,micbias1-millivolt = <1800>;
3256 qcom,micbias2-millivolt = <1800>;
3257 qcom,micbias3-millivolt = <1800>;
3258 qcom,micbias4-millivolt = <1800>;
3259
3260 #address-cells = <1>;
3261 #size-cells = <1>;
3262
3263 wcdgpio: gpio-controller@42 {
3264 compatible = "qcom,wcd9340-gpio";
3265 gpio-controller;
3266 #gpio-cells = <2>;
3267 reg = <0x42 0x2>;
3268 };
3269
3270 swm: swm@c85 {
3271 compatible = "qcom,soundwire-v1.3.0";
3272 reg = <0xc85 0x40>;
3273 interrupts-extended = <&wcd9340 20>;
3274
3275 qcom,dout-ports = <6>;
3276 qcom,din-ports = <2>;
3277 qcom,ports-sinterval-low =/bits/ 8 <0x07 0x1F 0x3F 0x7 0x1F 0x3F 0x0F 0x0F>;
3278 qcom,ports-offset1 = /bits/ 8 <0x01 0x02 0x0C 0x6 0x12 0x0D 0x07 0x0A >;
3279 qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x1F 0x00 0x00 0x1F 0x00 0x00>;
3280
3281 #sound-dai-cells = <1>;
3282 clocks = <&wcd9340>;
3283 clock-names = "iface";
3284 #address-cells = <2>;
3285 #size-cells = <0>;
3286
3287
3288 };
3289 };
3290 };
3291 };
3292
3293 sound: sound {
3294 };
3295
Manu Gautamca4db2b2018-08-22 10:36:27 -07003296 usb_1_hsphy: phy@88e2000 {
Sandeep Maheswaramd724b422020-03-09 15:23:08 +05303297 compatible = "qcom,sdm845-qusb2-phy", "qcom,qusb2-v2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003298 reg = <0 0x088e2000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003299 status = "disabled";
3300 #phy-cells = <0>;
3301
3302 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3303 <&rpmhcc RPMH_CXO_CLK>;
3304 clock-names = "cfg_ahb", "ref";
3305
3306 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
3307
3308 nvmem-cells = <&qusb2p_hstx_trim>;
3309 };
3310
3311 usb_2_hsphy: phy@88e3000 {
Sandeep Maheswaramd724b422020-03-09 15:23:08 +05303312 compatible = "qcom,sdm845-qusb2-phy", "qcom,qusb2-v2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003313 reg = <0 0x088e3000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003314 status = "disabled";
3315 #phy-cells = <0>;
3316
3317 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3318 <&rpmhcc RPMH_CXO_CLK>;
3319 clock-names = "cfg_ahb", "ref";
3320
3321 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
3322
3323 nvmem-cells = <&qusb2s_hstx_trim>;
3324 };
3325
3326 usb_1_qmpphy: phy@88e9000 {
3327 compatible = "qcom,sdm845-qmp-usb3-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003328 reg = <0 0x088e9000 0 0x18c>,
3329 <0 0x088e8000 0 0x10>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003330 reg-names = "reg-base", "dp_com";
3331 status = "disabled";
3332 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003333 #address-cells = <2>;
3334 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003335 ranges;
3336
3337 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
3338 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3339 <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
3340 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
3341 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
3342
3343 resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
3344 <&gcc GCC_USB3_PHY_PRIM_BCR>;
3345 reset-names = "phy", "common";
3346
Evan Green9ebfcba2018-12-10 11:28:26 -08003347 usb_1_ssphy: lanes@88e9200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003348 reg = <0 0x088e9200 0 0x128>,
3349 <0 0x088e9400 0 0x200>,
3350 <0 0x088e9c00 0 0x218>,
3351 <0 0x088e9600 0 0x128>,
3352 <0 0x088e9800 0 0x200>,
3353 <0 0x088e9a00 0 0x100>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003354 #phy-cells = <0>;
3355 clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
3356 clock-names = "pipe0";
3357 clock-output-names = "usb3_phy_pipe_clk_src";
3358 };
3359 };
3360
3361 usb_2_qmpphy: phy@88eb000 {
3362 compatible = "qcom,sdm845-qmp-usb3-uni-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003363 reg = <0 0x088eb000 0 0x18c>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003364 status = "disabled";
3365 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003366 #address-cells = <2>;
3367 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003368 ranges;
3369
3370 clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
3371 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3372 <&gcc GCC_USB3_SEC_CLKREF_CLK>,
3373 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
3374 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
3375
3376 resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
3377 <&gcc GCC_USB3_PHY_SEC_BCR>;
3378 reset-names = "phy", "common";
3379
3380 usb_2_ssphy: lane@88eb200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003381 reg = <0 0x088eb200 0 0x128>,
3382 <0 0x088eb400 0 0x1fc>,
3383 <0 0x088eb800 0 0x218>,
3384 <0 0x088eb600 0 0x70>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003385 #phy-cells = <0>;
3386 clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
3387 clock-names = "pipe0";
3388 clock-output-names = "usb3_uni_phy_pipe_clk_src";
3389 };
3390 };
3391
3392 usb_1: usb@a6f8800 {
3393 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003394 reg = <0 0x0a6f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003395 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003396 #address-cells = <2>;
3397 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003398 ranges;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08003399 dma-ranges;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003400
3401 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
3402 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
3403 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
3404 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
3405 <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
3406 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
3407 "sleep";
3408
3409 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
3410 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
3411 assigned-clock-rates = <19200000>, <150000000>;
3412
3413 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
3414 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
3415 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
3416 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
3417 interrupt-names = "hs_phy_irq", "ss_phy_irq",
3418 "dm_hs_phy_irq", "dp_hs_phy_irq";
3419
3420 power-domains = <&gcc USB30_PRIM_GDSC>;
3421
3422 resets = <&gcc GCC_USB30_PRIM_BCR>;
3423
Sandeep Maheswaram11a8b112020-04-01 10:45:44 +05303424 interconnects = <&aggre2_noc MASTER_USB3_0 &mem_noc SLAVE_EBI1>,
3425 <&gladiator_noc MASTER_APPSS_PROC &config_noc SLAVE_USB3_0>;
3426 interconnect-names = "usb-ddr", "apps-usb";
3427
Manu Gautamca4db2b2018-08-22 10:36:27 -07003428 usb_1_dwc3: dwc3@a600000 {
3429 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003430 reg = <0 0x0a600000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003431 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08003432 iommus = <&apps_smmu 0x740 0>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003433 snps,dis_u2_susphy_quirk;
3434 snps,dis_enblslpm_quirk;
3435 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
3436 phy-names = "usb2-phy", "usb3-phy";
3437 };
3438 };
3439
3440 usb_2: usb@a8f8800 {
3441 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003442 reg = <0 0x0a8f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003443 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003444 #address-cells = <2>;
3445 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003446 ranges;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08003447 dma-ranges;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003448
3449 clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
3450 <&gcc GCC_USB30_SEC_MASTER_CLK>,
3451 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
3452 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
3453 <&gcc GCC_USB30_SEC_SLEEP_CLK>;
3454 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
3455 "sleep";
3456
3457 assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
3458 <&gcc GCC_USB30_SEC_MASTER_CLK>;
3459 assigned-clock-rates = <19200000>, <150000000>;
3460
3461 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
3462 <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>,
3463 <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>,
3464 <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
3465 interrupt-names = "hs_phy_irq", "ss_phy_irq",
3466 "dm_hs_phy_irq", "dp_hs_phy_irq";
3467
3468 power-domains = <&gcc USB30_SEC_GDSC>;
3469
3470 resets = <&gcc GCC_USB30_SEC_BCR>;
3471
Sandeep Maheswaram11a8b112020-04-01 10:45:44 +05303472 interconnects = <&aggre2_noc MASTER_USB3_1 &mem_noc SLAVE_EBI1>,
3473 <&gladiator_noc MASTER_APPSS_PROC &config_noc SLAVE_USB3_1>;
3474 interconnect-names = "usb-ddr", "apps-usb";
3475
Manu Gautamca4db2b2018-08-22 10:36:27 -07003476 usb_2_dwc3: dwc3@a800000 {
3477 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003478 reg = <0 0x0a800000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003479 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08003480 iommus = <&apps_smmu 0x760 0>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003481 snps,dis_u2_susphy_quirk;
3482 snps,dis_enblslpm_quirk;
3483 phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
3484 phy-names = "usb2-phy", "usb3-phy";
3485 };
3486 };
3487
Alexandre Courbot48a05852020-01-08 12:26:23 +09003488 venus: video-codec@aa00000 {
Stanimir Varbanov12227832020-01-06 17:49:28 +02003489 compatible = "qcom,sdm845-venus-v2";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303490 reg = <0 0x0aa00000 0 0xff000>;
3491 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
Stanimir Varbanov12227832020-01-06 17:49:28 +02003492 power-domains = <&videocc VENUS_GDSC>,
3493 <&videocc VCODEC0_GDSC>,
3494 <&videocc VCODEC1_GDSC>;
3495 power-domain-names = "venus", "vcodec0", "vcodec1";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303496 clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
3497 <&videocc VIDEO_CC_VENUS_AHB_CLK>,
Stanimir Varbanov12227832020-01-06 17:49:28 +02003498 <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>,
3499 <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
3500 <&videocc VIDEO_CC_VCODEC0_AXI_CLK>,
3501 <&videocc VIDEO_CC_VCODEC1_CORE_CLK>,
3502 <&videocc VIDEO_CC_VCODEC1_AXI_CLK>;
3503 clock-names = "core", "iface", "bus",
3504 "vcodec0_core", "vcodec0_bus",
3505 "vcodec1_core", "vcodec1_bus";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303506 iommus = <&apps_smmu 0x10a0 0x8>,
3507 <&apps_smmu 0x10b0 0x0>;
3508 memory-region = <&venus_mem>;
3509
3510 video-core0 {
3511 compatible = "venus-decoder";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303512 };
3513
3514 video-core1 {
3515 compatible = "venus-encoder";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303516 };
3517 };
3518
Taniya Das05556682018-12-03 11:36:29 -08003519 videocc: clock-controller@ab00000 {
3520 compatible = "qcom,sdm845-videocc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003521 reg = <0 0x0ab00000 0 0x10000>;
Douglas Andersonaf85ef12020-02-03 10:31:47 -08003522 clocks = <&rpmhcc RPMH_CXO_CLK>;
3523 clock-names = "bi_tcxo";
Taniya Das05556682018-12-03 11:36:29 -08003524 #clock-cells = <1>;
3525 #power-domain-cells = <1>;
3526 #reset-cells = <1>;
3527 };
3528
Robert Foss07484de2020-03-24 16:58:39 +01003529 cci: cci@ac4a000 {
3530 compatible = "qcom,sdm845-cci";
3531 #address-cells = <1>;
3532 #size-cells = <0>;
3533
3534 reg = <0 0x0ac4a000 0 0x4000>;
3535 interrupts = <GIC_SPI 460 IRQ_TYPE_EDGE_RISING>;
3536 power-domains = <&clock_camcc TITAN_TOP_GDSC>;
3537
3538 clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>,
3539 <&clock_camcc CAM_CC_SOC_AHB_CLK>,
3540 <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>,
3541 <&clock_camcc CAM_CC_CPAS_AHB_CLK>,
3542 <&clock_camcc CAM_CC_CCI_CLK>,
3543 <&clock_camcc CAM_CC_CCI_CLK_SRC>;
3544 clock-names = "camnoc_axi",
3545 "soc_ahb",
3546 "slow_ahb_src",
3547 "cpas_ahb",
3548 "cci",
3549 "cci_src";
3550
3551 assigned-clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>,
3552 <&clock_camcc CAM_CC_CCI_CLK>;
3553 assigned-clock-rates = <80000000>, <37500000>;
3554
3555 pinctrl-names = "default", "sleep";
3556 pinctrl-0 = <&cci0_default &cci1_default>;
3557 pinctrl-1 = <&cci0_sleep &cci1_sleep>;
3558
3559 status = "disabled";
3560
3561 cci_i2c0: i2c-bus@0 {
3562 reg = <0>;
3563 clock-frequency = <1000000>;
3564 #address-cells = <1>;
3565 #size-cells = <0>;
3566 };
3567
3568 cci_i2c1: i2c-bus@1 {
3569 reg = <1>;
3570 clock-frequency = <1000000>;
3571 #address-cells = <1>;
3572 #size-cells = <0>;
3573 };
3574 };
3575
3576 clock_camcc: clock-controller@ad00000 {
3577 compatible = "qcom,sdm845-camcc";
3578 reg = <0 0x0ad00000 0 0x10000>;
3579 #clock-cells = <1>;
3580 #reset-cells = <1>;
3581 #power-domain-cells = <1>;
3582 };
3583
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003584 mdss: mdss@ae00000 {
3585 compatible = "qcom,sdm845-mdss";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003586 reg = <0 0x0ae00000 0 0x1000>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003587 reg-names = "mdss";
3588
3589 power-domains = <&dispcc MDSS_GDSC>;
3590
3591 clocks = <&gcc GCC_DISP_AHB_CLK>,
3592 <&gcc GCC_DISP_AXI_CLK>,
3593 <&dispcc DISP_CC_MDSS_MDP_CLK>;
3594 clock-names = "iface", "bus", "core";
3595
3596 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>;
3597 assigned-clock-rates = <300000000>;
3598
3599 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
3600 interrupt-controller;
3601 #interrupt-cells = <1>;
3602
3603 iommus = <&apps_smmu 0x880 0x8>,
3604 <&apps_smmu 0xc80 0x8>;
3605
3606 status = "disabled";
3607
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003608 #address-cells = <2>;
3609 #size-cells = <2>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003610 ranges;
3611
3612 mdss_mdp: mdp@ae01000 {
3613 compatible = "qcom,sdm845-dpu";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003614 reg = <0 0x0ae01000 0 0x8f000>,
3615 <0 0x0aeb0000 0 0x2008>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003616 reg-names = "mdp", "vbif";
3617
3618 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
3619 <&dispcc DISP_CC_MDSS_AXI_CLK>,
3620 <&dispcc DISP_CC_MDSS_MDP_CLK>,
3621 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
3622 clock-names = "iface", "bus", "core", "vsync";
3623
3624 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>,
3625 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
3626 assigned-clock-rates = <300000000>,
3627 <19200000>;
3628
3629 interrupt-parent = <&mdss>;
3630 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
3631
3632 status = "disabled";
3633
3634 ports {
3635 #address-cells = <1>;
3636 #size-cells = <0>;
3637
3638 port@0 {
3639 reg = <0>;
3640 dpu_intf1_out: endpoint {
3641 remote-endpoint = <&dsi0_in>;
3642 };
3643 };
3644
3645 port@1 {
3646 reg = <1>;
3647 dpu_intf2_out: endpoint {
3648 remote-endpoint = <&dsi1_in>;
3649 };
3650 };
3651 };
3652 };
3653
3654 dsi0: dsi@ae94000 {
3655 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003656 reg = <0 0x0ae94000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003657 reg-names = "dsi_ctrl";
3658
3659 interrupt-parent = <&mdss>;
3660 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
3661
3662 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
3663 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
3664 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
3665 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
3666 <&dispcc DISP_CC_MDSS_AHB_CLK>,
3667 <&dispcc DISP_CC_MDSS_AXI_CLK>;
3668 clock-names = "byte",
3669 "byte_intf",
3670 "pixel",
3671 "core",
3672 "iface",
3673 "bus";
3674
3675 phys = <&dsi0_phy>;
3676 phy-names = "dsi";
3677
3678 status = "disabled";
3679
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003680 ports {
3681 #address-cells = <1>;
3682 #size-cells = <0>;
3683
3684 port@0 {
3685 reg = <0>;
3686 dsi0_in: endpoint {
3687 remote-endpoint = <&dpu_intf1_out>;
3688 };
3689 };
3690
3691 port@1 {
3692 reg = <1>;
3693 dsi0_out: endpoint {
3694 };
3695 };
3696 };
3697 };
3698
3699 dsi0_phy: dsi-phy@ae94400 {
3700 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003701 reg = <0 0x0ae94400 0 0x200>,
3702 <0 0x0ae94600 0 0x280>,
3703 <0 0x0ae94a00 0 0x1e0>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003704 reg-names = "dsi_phy",
3705 "dsi_phy_lane",
3706 "dsi_pll";
3707
3708 #clock-cells = <1>;
3709 #phy-cells = <0>;
3710
Matthias Kaehlcke0c0e7272018-12-19 15:55:27 -08003711 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
3712 <&rpmhcc RPMH_CXO_CLK>;
3713 clock-names = "iface", "ref";
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003714
3715 status = "disabled";
3716 };
3717
3718 dsi1: dsi@ae96000 {
3719 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003720 reg = <0 0x0ae96000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003721 reg-names = "dsi_ctrl";
3722
3723 interrupt-parent = <&mdss>;
3724 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
3725
3726 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
3727 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
3728 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
3729 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
3730 <&dispcc DISP_CC_MDSS_AHB_CLK>,
3731 <&dispcc DISP_CC_MDSS_AXI_CLK>;
3732 clock-names = "byte",
3733 "byte_intf",
3734 "pixel",
3735 "core",
3736 "iface",
3737 "bus";
3738
3739 phys = <&dsi1_phy>;
3740 phy-names = "dsi";
3741
3742 status = "disabled";
3743
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003744 ports {
3745 #address-cells = <1>;
3746 #size-cells = <0>;
3747
3748 port@0 {
3749 reg = <0>;
3750 dsi1_in: endpoint {
3751 remote-endpoint = <&dpu_intf2_out>;
3752 };
3753 };
3754
3755 port@1 {
3756 reg = <1>;
3757 dsi1_out: endpoint {
3758 };
3759 };
3760 };
3761 };
3762
3763 dsi1_phy: dsi-phy@ae96400 {
3764 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003765 reg = <0 0x0ae96400 0 0x200>,
3766 <0 0x0ae96600 0 0x280>,
3767 <0 0x0ae96a00 0 0x10e>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003768 reg-names = "dsi_phy",
3769 "dsi_phy_lane",
3770 "dsi_pll";
3771
3772 #clock-cells = <1>;
3773 #phy-cells = <0>;
3774
Matthias Kaehlcke0c0e7272018-12-19 15:55:27 -08003775 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
3776 <&rpmhcc RPMH_CXO_CLK>;
3777 clock-names = "iface", "ref";
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003778
3779 status = "disabled";
3780 };
3781 };
3782
Rob Clarkf489b132020-01-12 11:54:00 -08003783 gpu: gpu@5000000 {
Jordan Crousec7980012019-01-16 11:03:29 -07003784 compatible = "qcom,adreno-630.2", "qcom,adreno";
3785 #stream-id-cells = <16>;
3786
3787 reg = <0 0x5000000 0 0x40000>, <0 0x509e000 0 0x10>;
3788 reg-names = "kgsl_3d0_reg_memory", "cx_mem";
3789
3790 /*
3791 * Look ma, no clocks! The GPU clocks and power are
3792 * controlled entirely by the GMU
3793 */
3794
3795 interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
3796
3797 iommus = <&adreno_smmu 0>;
3798
3799 operating-points-v2 = <&gpu_opp_table>;
3800
3801 qcom,gmu = <&gmu>;
3802
3803 gpu_opp_table: opp-table {
3804 compatible = "operating-points-v2";
3805
3806 opp-710000000 {
3807 opp-hz = /bits/ 64 <710000000>;
3808 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
3809 };
3810
3811 opp-675000000 {
3812 opp-hz = /bits/ 64 <675000000>;
3813 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
3814 };
3815
3816 opp-596000000 {
3817 opp-hz = /bits/ 64 <596000000>;
3818 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
3819 };
3820
3821 opp-520000000 {
3822 opp-hz = /bits/ 64 <520000000>;
3823 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
3824 };
3825
3826 opp-414000000 {
3827 opp-hz = /bits/ 64 <414000000>;
3828 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
3829 };
3830
3831 opp-342000000 {
3832 opp-hz = /bits/ 64 <342000000>;
3833 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
3834 };
3835
3836 opp-257000000 {
3837 opp-hz = /bits/ 64 <257000000>;
3838 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
3839 };
3840 };
3841 };
3842
3843 adreno_smmu: iommu@5040000 {
3844 compatible = "qcom,sdm845-smmu-v2", "qcom,smmu-v2";
3845 reg = <0 0x5040000 0 0x10000>;
3846 #iommu-cells = <1>;
3847 #global-interrupts = <2>;
3848 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>,
3849 <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>,
3850 <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
3851 <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
3852 <GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
3853 <GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
3854 <GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
3855 <GIC_SPI 369 IRQ_TYPE_EDGE_RISING>,
3856 <GIC_SPI 370 IRQ_TYPE_EDGE_RISING>,
3857 <GIC_SPI 371 IRQ_TYPE_EDGE_RISING>;
3858 clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
3859 <&gcc GCC_GPU_CFG_AHB_CLK>;
3860 clock-names = "bus", "iface";
3861
3862 power-domains = <&gpucc GPU_CX_GDSC>;
3863 };
3864
3865 gmu: gmu@506a000 {
3866 compatible="qcom,adreno-gmu-630.2", "qcom,adreno-gmu";
3867
3868 reg = <0 0x506a000 0 0x30000>,
3869 <0 0xb280000 0 0x10000>,
3870 <0 0xb480000 0 0x10000>;
3871 reg-names = "gmu", "gmu_pdc", "gmu_pdc_seq";
3872
3873 interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
3874 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
3875 interrupt-names = "hfi", "gmu";
3876
3877 clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
3878 <&gpucc GPU_CC_CXO_CLK>,
3879 <&gcc GCC_DDRSS_GPU_AXI_CLK>,
3880 <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
3881 clock-names = "gmu", "cxo", "axi", "memnoc";
3882
3883 power-domains = <&gpucc GPU_CX_GDSC>,
3884 <&gpucc GPU_GX_GDSC>;
3885 power-domain-names = "cx", "gx";
3886
3887 iommus = <&adreno_smmu 5>;
3888
3889 operating-points-v2 = <&gmu_opp_table>;
3890
3891 gmu_opp_table: opp-table {
3892 compatible = "operating-points-v2";
3893
3894 opp-400000000 {
3895 opp-hz = /bits/ 64 <400000000>;
3896 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
3897 };
3898
3899 opp-200000000 {
3900 opp-hz = /bits/ 64 <200000000>;
3901 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
3902 };
3903 };
3904 };
3905
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07003906 dispcc: clock-controller@af00000 {
3907 compatible = "qcom,sdm845-dispcc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003908 reg = <0 0x0af00000 0 0x10000>;
Douglas Anderson09978822020-02-03 10:31:36 -08003909 clocks = <&rpmhcc RPMH_CXO_CLK>,
3910 <&gcc GCC_DISP_GPLL0_CLK_SRC>,
3911 <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
3912 <&dsi0_phy 0>,
3913 <&dsi0_phy 1>,
3914 <&dsi1_phy 0>,
3915 <&dsi1_phy 1>,
3916 <0>,
3917 <0>;
3918 clock-names = "bi_tcxo",
3919 "gcc_disp_gpll0_clk_src",
3920 "gcc_disp_gpll0_div_clk_src",
3921 "dsi0_phy_pll_out_byteclk",
3922 "dsi0_phy_pll_out_dsiclk",
3923 "dsi1_phy_pll_out_byteclk",
3924 "dsi1_phy_pll_out_dsiclk",
3925 "dp_link_clk_divsel_ten",
3926 "dp_vco_divided_clk_src_mux";
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07003927 #clock-cells = <1>;
3928 #reset-cells = <1>;
3929 #power-domain-cells = <1>;
3930 };
3931
Lina Iyer72b67eb2019-11-15 15:11:53 -07003932 pdc_intc: interrupt-controller@b220000 {
3933 compatible = "qcom,sdm845-pdc", "qcom,pdc";
3934 reg = <0 0x0b220000 0 0x30000>;
3935 qcom,pdc-ranges = <0 480 94>, <94 609 15>, <115 630 7>;
3936 #interrupt-cells = <2>;
3937 interrupt-parent = <&intc>;
3938 interrupt-controller;
3939 };
3940
Sibi Sankar13393da2018-10-26 17:56:53 +05303941 pdc_reset: reset-controller@b2e0000 {
3942 compatible = "qcom,sdm845-pdc-global";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003943 reg = <0 0x0b2e0000 0 0x20000>;
Sibi Sankar13393da2018-10-26 17:56:53 +05303944 #reset-cells = <1>;
3945 };
3946
Amit Kucheriacda676b2018-07-18 12:13:13 +05303947 tsens0: thermal-sensor@c263000 {
3948 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003949 reg = <0 0x0c263000 0 0x1ff>, /* TM */
3950 <0 0x0c222000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05303951 #qcom,sensors = <13>;
Amit Kucheriae68ca6b2019-11-12 00:51:29 +05303952 interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
3953 <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
3954 interrupt-names = "uplow", "critical";
Amit Kucheriacda676b2018-07-18 12:13:13 +05303955 #thermal-sensor-cells = <1>;
3956 };
3957
3958 tsens1: thermal-sensor@c265000 {
3959 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003960 reg = <0 0x0c265000 0 0x1ff>, /* TM */
3961 <0 0x0c223000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05303962 #qcom,sensors = <8>;
Amit Kucheriae68ca6b2019-11-12 00:51:29 +05303963 interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
3964 <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
3965 interrupt-names = "uplow", "critical";
Amit Kucheriacda676b2018-07-18 12:13:13 +05303966 #thermal-sensor-cells = <1>;
3967 };
3968
Sibi Sankaread5eea2018-09-01 15:23:55 -07003969 aoss_reset: reset-controller@c2a0000 {
3970 compatible = "qcom,sdm845-aoss-cc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003971 reg = <0 0x0c2a0000 0 0x31000>;
Sibi Sankaread5eea2018-09-01 15:23:55 -07003972 #reset-cells = <1>;
3973 };
3974
Bjorn Anderssona7977432019-06-11 21:45:35 -07003975 aoss_qmp: qmp@c300000 {
3976 compatible = "qcom,sdm845-aoss-qmp";
3977 reg = <0 0x0c300000 0 0x100000>;
3978 interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>;
3979 mboxes = <&apss_shared 0>;
3980
3981 #clock-cells = <0>;
3982 #power-domain-cells = <1>;
Thara Gopinath7e4b5f22019-07-30 11:24:43 -04003983
3984 cx_cdev: cx {
3985 #cooling-cells = <2>;
3986 };
3987
3988 ebi_cdev: ebi {
3989 #cooling-cells = <2>;
3990 };
Bjorn Anderssona7977432019-06-11 21:45:35 -07003991 };
3992
Douglas Anderson54d7a202018-05-14 20:59:22 -07003993 spmi_bus: spmi@c440000 {
3994 compatible = "qcom,spmi-pmic-arb";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003995 reg = <0 0x0c440000 0 0x1100>,
3996 <0 0x0c600000 0 0x2000000>,
3997 <0 0x0e600000 0 0x100000>,
3998 <0 0x0e700000 0 0xa0000>,
3999 <0 0x0c40a000 0 0x26000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07004000 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
4001 interrupt-names = "periph_irq";
4002 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
4003 qcom,ee = <0>;
4004 qcom,channel = <0>;
4005 #address-cells = <2>;
4006 #size-cells = <0>;
4007 interrupt-controller;
4008 #interrupt-cells = <4>;
4009 cell-index = <0>;
4010 };
4011
Bjorn Andersson948f6162020-06-22 12:19:42 -07004012 imem@146bf000 {
4013 compatible = "simple-mfd";
4014 reg = <0 0x146bf000 0 0x1000>;
4015
4016 #address-cells = <1>;
4017 #size-cells = <1>;
4018
4019 ranges = <0 0 0x146bf000 0x1000>;
4020
4021 pil-reloc@94c {
4022 compatible = "qcom,pil-reloc-info";
4023 reg = <0x94c 0xc8>;
4024 };
4025 };
4026
Vivek Gautam4429e572018-10-11 15:19:30 +05304027 apps_smmu: iommu@15000000 {
4028 compatible = "qcom,sdm845-smmu-500", "arm,mmu-500";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004029 reg = <0 0x15000000 0 0x80000>;
Vivek Gautam4429e572018-10-11 15:19:30 +05304030 #iommu-cells = <2>;
4031 #global-interrupts = <1>;
4032 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
4033 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
4034 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
4035 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
4036 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
4037 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
4038 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
4039 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
4040 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
4041 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
4042 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
4043 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
4044 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
4045 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
4046 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
4047 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
4048 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
4049 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
4050 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
4051 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
4052 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
4053 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
4054 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
4055 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
4056 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
4057 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
4058 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
4059 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
4060 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
4061 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
4062 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
4063 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
4064 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
4065 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
4066 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
4067 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
4068 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
4069 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
4070 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
4071 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
4072 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
4073 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
4074 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
4075 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
4076 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
4077 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
4078 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
4079 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
4080 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
4081 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
4082 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
4083 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
4084 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
4085 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
4086 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
4087 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
4088 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
4089 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
4090 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
4091 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
4092 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
4093 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
4094 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
4095 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
4096 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
4097 };
4098
Taniya Das0cef5dd2018-12-05 13:30:36 +05304099 lpasscc: clock-controller@17014000 {
4100 compatible = "qcom,sdm845-lpasscc";
Bjorn Andersson1d918e92019-01-17 11:29:55 -08004101 reg = <0 0x17014000 0 0x1f004>, <0 0x17300000 0 0x200>;
Taniya Das0cef5dd2018-12-05 13:30:36 +05304102 reg-names = "cc", "qdsp6ss";
4103 #clock-cells = <1>;
4104 status = "disabled";
4105 };
4106
David Daib303f9f2020-02-10 00:04:11 +05304107 gladiator_noc: interconnect@17900000 {
4108 compatible = "qcom,sdm845-gladiator-noc";
4109 reg = <0 0x17900000 0 0xd080>;
4110 #interconnect-cells = <1>;
4111 qcom,bcm-voters = <&apps_bcm_voter>;
4112 };
4113
Bjorn Anderssonef857672019-10-02 21:13:45 -07004114 watchdog@17980000 {
4115 compatible = "qcom,apss-wdt-sdm845", "qcom,kpss-wdt";
4116 reg = <0 0x17980000 0 0x1000>;
4117 clocks = <&sleep_clk>;
4118 };
4119
Douglas Anderson54d7a202018-05-14 20:59:22 -07004120 apss_shared: mailbox@17990000 {
4121 compatible = "qcom,sdm845-apss-shared";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004122 reg = <0 0x17990000 0 0x1000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07004123 #mbox-cells = <1>;
4124 };
4125
Douglas Andersonc83545d2018-06-18 14:50:50 -07004126 apps_rsc: rsc@179c0000 {
4127 label = "apps_rsc";
4128 compatible = "qcom,rpmh-rsc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004129 reg = <0 0x179c0000 0 0x10000>,
4130 <0 0x179d0000 0 0x10000>,
4131 <0 0x179e0000 0 0x10000>;
Douglas Andersonc83545d2018-06-18 14:50:50 -07004132 reg-names = "drv-0", "drv-1", "drv-2";
4133 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
4134 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
4135 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
4136 qcom,tcs-offset = <0xd00>;
4137 qcom,drv-id = <2>;
4138 qcom,tcs-config = <ACTIVE_TCS 2>,
4139 <SLEEP_TCS 3>,
4140 <WAKE_TCS 3>,
4141 <CONTROL_TCS 1>;
Douglas Anderson717f2012018-06-18 14:50:51 -07004142
David Daib303f9f2020-02-10 00:04:11 +05304143 apps_bcm_voter: bcm-voter {
4144 compatible = "qcom,bcm-voter";
4145 };
4146
Douglas Anderson717f2012018-06-18 14:50:51 -07004147 rpmhcc: clock-controller {
4148 compatible = "qcom,sdm845-rpmh-clk";
4149 #clock-cells = <1>;
Vinod Koul1dd70852019-08-26 23:12:33 +05304150 clock-names = "xo";
4151 clocks = <&xo_board>;
Douglas Anderson717f2012018-06-18 14:50:51 -07004152 };
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304153
4154 rpmhpd: power-controller {
4155 compatible = "qcom,sdm845-rpmhpd";
4156 #power-domain-cells = <1>;
4157 operating-points-v2 = <&rpmhpd_opp_table>;
4158
4159 rpmhpd_opp_table: opp-table {
4160 compatible = "operating-points-v2";
4161
4162 rpmhpd_opp_ret: opp1 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304163 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304164 };
4165
4166 rpmhpd_opp_min_svs: opp2 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304167 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304168 };
4169
4170 rpmhpd_opp_low_svs: opp3 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304171 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304172 };
4173
4174 rpmhpd_opp_svs: opp4 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304175 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304176 };
4177
4178 rpmhpd_opp_svs_l1: opp5 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304179 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304180 };
4181
4182 rpmhpd_opp_nom: opp6 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304183 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304184 };
4185
4186 rpmhpd_opp_nom_l1: opp7 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304187 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304188 };
4189
4190 rpmhpd_opp_nom_l2: opp8 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304191 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304192 };
4193
4194 rpmhpd_opp_turbo: opp9 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304195 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304196 };
4197
4198 rpmhpd_opp_turbo_l1: opp10 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304199 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304200 };
4201 };
4202 };
Douglas Andersonc83545d2018-06-18 14:50:50 -07004203 };
4204
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304205 intc: interrupt-controller@17a00000 {
4206 compatible = "arm,gic-v3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004207 #address-cells = <2>;
4208 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304209 ranges;
4210 #interrupt-cells = <3>;
4211 interrupt-controller;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004212 reg = <0 0x17a00000 0 0x10000>, /* GICD */
4213 <0 0x17a60000 0 0x100000>; /* GICR * 8 */
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304214 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
4215
Douglas Anderson276bb282019-12-16 22:20:25 -08004216 msi-controller@17a40000 {
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304217 compatible = "arm,gic-v3-its";
4218 msi-controller;
4219 #msi-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004220 reg = <0 0x17a40000 0 0x20000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304221 status = "disabled";
4222 };
4223 };
4224
Srinivas Kandagatla27ca1de2020-03-12 14:30:20 +00004225 slimbam: dma@17184000 {
4226 compatible = "qcom,bam-v1.7.0";
4227 qcom,controlled-remotely;
4228 reg = <0 0x17184000 0 0x2a000>;
4229 num-channels = <31>;
4230 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
4231 #dma-cells = <1>;
4232 qcom,ee = <1>;
4233 qcom,num-ees = <2>;
4234 iommus = <&apps_smmu 0x1806 0x0>;
4235 };
4236
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304237 timer@17c90000 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004238 #address-cells = <2>;
4239 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304240 ranges;
4241 compatible = "arm,armv7-timer-mem";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004242 reg = <0 0x17c90000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304243
4244 frame@17ca0000 {
4245 frame-number = <0>;
4246 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
4247 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004248 reg = <0 0x17ca0000 0 0x1000>,
4249 <0 0x17cb0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304250 };
4251
4252 frame@17cc0000 {
4253 frame-number = <1>;
4254 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004255 reg = <0 0x17cc0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304256 status = "disabled";
4257 };
4258
4259 frame@17cd0000 {
4260 frame-number = <2>;
4261 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004262 reg = <0 0x17cd0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304263 status = "disabled";
4264 };
4265
4266 frame@17ce0000 {
4267 frame-number = <3>;
4268 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004269 reg = <0 0x17ce0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304270 status = "disabled";
4271 };
4272
4273 frame@17cf0000 {
4274 frame-number = <4>;
4275 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004276 reg = <0 0x17cf0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304277 status = "disabled";
4278 };
4279
4280 frame@17d00000 {
4281 frame-number = <5>;
4282 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004283 reg = <0 0x17d00000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304284 status = "disabled";
4285 };
4286
4287 frame@17d10000 {
4288 frame-number = <6>;
4289 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004290 reg = <0 0x17d10000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304291 status = "disabled";
4292 };
4293 };
Taniya Dasc604b82a2018-12-21 23:44:23 +05304294
Sibi Sankar74f26592020-02-27 16:26:30 +05304295 osm_l3: interconnect@17d41000 {
4296 compatible = "qcom,sdm845-osm-l3";
4297 reg = <0 0x17d41000 0 0x1400>;
4298
4299 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
4300 clock-names = "xo", "alternate";
4301
4302 #interconnect-cells = <1>;
4303 };
4304
Taniya Dasc604b82a2018-12-21 23:44:23 +05304305 cpufreq_hw: cpufreq@17d43000 {
4306 compatible = "qcom,cpufreq-hw";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004307 reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>;
Taniya Dasc604b82a2018-12-21 23:44:23 +05304308 reg-names = "freq-domain0", "freq-domain1";
4309
4310 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
4311 clock-names = "xo", "alternate";
4312
4313 #freq-domain-cells = <1>;
4314 };
Govind Singh022bccb2018-11-05 18:38:37 +05304315
4316 wifi: wifi@18800000 {
4317 compatible = "qcom,wcn3990-wifi";
4318 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004319 reg = <0 0x18800000 0 0x800000>;
Govind Singh022bccb2018-11-05 18:38:37 +05304320 reg-names = "membase";
4321 memory-region = <&wlan_msa_mem>;
Douglas Andersonbc94e5f2019-01-18 16:00:15 -08004322 clock-names = "cxo_ref_clk_pin";
4323 clocks = <&rpmhcc RPMH_RF_CLK2>;
Govind Singh022bccb2018-11-05 18:38:37 +05304324 interrupts =
4325 <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
4326 <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
4327 <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
4328 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
4329 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
4330 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
4331 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
4332 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
4333 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
4334 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
4335 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
4336 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
Douglas Andersonbc94e5f2019-01-18 16:00:15 -08004337 iommus = <&apps_smmu 0x0040 0x1>;
Govind Singh022bccb2018-11-05 18:38:37 +05304338 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304339 };
Amit Kucheria48847882018-06-12 15:26:54 +03004340
4341 thermal-zones {
4342 cpu0-thermal {
4343 polling-delay-passive = <250>;
4344 polling-delay = <1000>;
4345
4346 thermal-sensors = <&tsens0 1>;
4347
4348 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304349 cpu0_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304350 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004351 hysteresis = <2000>;
4352 type = "passive";
4353 };
4354
Vinod Koul19e684e2019-07-24 10:19:04 +05304355 cpu0_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304356 temperature = <95000>;
4357 hysteresis = <2000>;
4358 type = "passive";
4359 };
4360
4361 cpu0_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004362 temperature = <110000>;
4363 hysteresis = <1000>;
4364 type = "critical";
4365 };
4366 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304367
4368 cooling-maps {
4369 map0 {
4370 trip = <&cpu0_alert0>;
4371 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4372 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4373 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4374 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4375 };
4376 map1 {
4377 trip = <&cpu0_alert1>;
4378 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4379 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4380 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4381 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4382 };
4383 };
Amit Kucheria48847882018-06-12 15:26:54 +03004384 };
4385
4386 cpu1-thermal {
4387 polling-delay-passive = <250>;
4388 polling-delay = <1000>;
4389
4390 thermal-sensors = <&tsens0 2>;
4391
4392 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304393 cpu1_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304394 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004395 hysteresis = <2000>;
4396 type = "passive";
4397 };
4398
Vinod Koul19e684e2019-07-24 10:19:04 +05304399 cpu1_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304400 temperature = <95000>;
4401 hysteresis = <2000>;
4402 type = "passive";
4403 };
4404
4405 cpu1_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004406 temperature = <110000>;
4407 hysteresis = <1000>;
4408 type = "critical";
4409 };
4410 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304411
4412 cooling-maps {
4413 map0 {
4414 trip = <&cpu1_alert0>;
4415 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4416 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4417 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4418 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4419 };
4420 map1 {
4421 trip = <&cpu1_alert1>;
4422 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4423 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4424 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4425 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4426 };
4427 };
Amit Kucheria48847882018-06-12 15:26:54 +03004428 };
4429
4430 cpu2-thermal {
4431 polling-delay-passive = <250>;
4432 polling-delay = <1000>;
4433
4434 thermal-sensors = <&tsens0 3>;
4435
4436 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304437 cpu2_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304438 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004439 hysteresis = <2000>;
4440 type = "passive";
4441 };
4442
Vinod Koul19e684e2019-07-24 10:19:04 +05304443 cpu2_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304444 temperature = <95000>;
4445 hysteresis = <2000>;
4446 type = "passive";
4447 };
4448
4449 cpu2_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004450 temperature = <110000>;
4451 hysteresis = <1000>;
4452 type = "critical";
4453 };
4454 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304455
4456 cooling-maps {
4457 map0 {
4458 trip = <&cpu2_alert0>;
4459 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4460 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4461 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4462 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4463 };
4464 map1 {
4465 trip = <&cpu2_alert1>;
4466 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4467 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4468 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4469 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4470 };
4471 };
Amit Kucheria48847882018-06-12 15:26:54 +03004472 };
4473
4474 cpu3-thermal {
4475 polling-delay-passive = <250>;
4476 polling-delay = <1000>;
4477
4478 thermal-sensors = <&tsens0 4>;
4479
4480 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304481 cpu3_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304482 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004483 hysteresis = <2000>;
4484 type = "passive";
4485 };
4486
Vinod Koul19e684e2019-07-24 10:19:04 +05304487 cpu3_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304488 temperature = <95000>;
4489 hysteresis = <2000>;
4490 type = "passive";
4491 };
4492
4493 cpu3_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004494 temperature = <110000>;
4495 hysteresis = <1000>;
4496 type = "critical";
4497 };
4498 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304499
4500 cooling-maps {
4501 map0 {
4502 trip = <&cpu3_alert0>;
4503 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4504 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4505 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4506 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4507 };
4508 map1 {
4509 trip = <&cpu3_alert1>;
4510 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4511 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4512 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4513 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4514 };
4515 };
Amit Kucheria48847882018-06-12 15:26:54 +03004516 };
4517
4518 cpu4-thermal {
4519 polling-delay-passive = <250>;
4520 polling-delay = <1000>;
4521
4522 thermal-sensors = <&tsens0 7>;
4523
4524 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304525 cpu4_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304526 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004527 hysteresis = <2000>;
4528 type = "passive";
4529 };
4530
Vinod Koul19e684e2019-07-24 10:19:04 +05304531 cpu4_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304532 temperature = <95000>;
4533 hysteresis = <2000>;
4534 type = "passive";
4535 };
4536
4537 cpu4_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004538 temperature = <110000>;
4539 hysteresis = <1000>;
4540 type = "critical";
4541 };
4542 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304543
4544 cooling-maps {
4545 map0 {
4546 trip = <&cpu4_alert0>;
4547 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4548 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4549 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4550 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4551 };
4552 map1 {
4553 trip = <&cpu4_alert1>;
4554 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4555 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4556 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4557 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4558 };
4559 };
Amit Kucheria48847882018-06-12 15:26:54 +03004560 };
4561
4562 cpu5-thermal {
4563 polling-delay-passive = <250>;
4564 polling-delay = <1000>;
4565
4566 thermal-sensors = <&tsens0 8>;
4567
4568 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304569 cpu5_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304570 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004571 hysteresis = <2000>;
4572 type = "passive";
4573 };
4574
Vinod Koul19e684e2019-07-24 10:19:04 +05304575 cpu5_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304576 temperature = <95000>;
4577 hysteresis = <2000>;
4578 type = "passive";
4579 };
4580
4581 cpu5_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004582 temperature = <110000>;
4583 hysteresis = <1000>;
4584 type = "critical";
4585 };
4586 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304587
4588 cooling-maps {
4589 map0 {
4590 trip = <&cpu5_alert0>;
4591 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4592 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4593 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4594 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4595 };
4596 map1 {
4597 trip = <&cpu5_alert1>;
4598 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4599 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4600 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4601 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4602 };
4603 };
Amit Kucheria48847882018-06-12 15:26:54 +03004604 };
4605
4606 cpu6-thermal {
4607 polling-delay-passive = <250>;
4608 polling-delay = <1000>;
4609
4610 thermal-sensors = <&tsens0 9>;
4611
4612 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304613 cpu6_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304614 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004615 hysteresis = <2000>;
4616 type = "passive";
4617 };
4618
Vinod Koul19e684e2019-07-24 10:19:04 +05304619 cpu6_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304620 temperature = <95000>;
4621 hysteresis = <2000>;
4622 type = "passive";
4623 };
4624
4625 cpu6_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004626 temperature = <110000>;
4627 hysteresis = <1000>;
4628 type = "critical";
4629 };
4630 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304631
4632 cooling-maps {
4633 map0 {
4634 trip = <&cpu6_alert0>;
4635 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4636 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4637 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4638 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4639 };
4640 map1 {
4641 trip = <&cpu6_alert1>;
4642 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4643 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4644 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4645 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4646 };
4647 };
Amit Kucheria48847882018-06-12 15:26:54 +03004648 };
4649
4650 cpu7-thermal {
4651 polling-delay-passive = <250>;
4652 polling-delay = <1000>;
4653
4654 thermal-sensors = <&tsens0 10>;
4655
4656 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304657 cpu7_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304658 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004659 hysteresis = <2000>;
4660 type = "passive";
4661 };
4662
Vinod Koul19e684e2019-07-24 10:19:04 +05304663 cpu7_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304664 temperature = <95000>;
4665 hysteresis = <2000>;
4666 type = "passive";
4667 };
4668
4669 cpu7_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004670 temperature = <110000>;
4671 hysteresis = <1000>;
4672 type = "critical";
4673 };
4674 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304675
4676 cooling-maps {
4677 map0 {
4678 trip = <&cpu7_alert0>;
4679 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4680 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4681 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4682 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4683 };
4684 map1 {
4685 trip = <&cpu7_alert1>;
4686 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4687 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4688 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4689 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4690 };
4691 };
Amit Kucheria48847882018-06-12 15:26:54 +03004692 };
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304693
4694 aoss0-thermal {
4695 polling-delay-passive = <250>;
4696 polling-delay = <1000>;
4697
4698 thermal-sensors = <&tsens0 0>;
4699
4700 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304701 aoss0_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304702 temperature = <90000>;
4703 hysteresis = <2000>;
4704 type = "hot";
4705 };
4706 };
4707 };
4708
4709 cluster0-thermal {
4710 polling-delay-passive = <250>;
4711 polling-delay = <1000>;
4712
4713 thermal-sensors = <&tsens0 5>;
4714
4715 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304716 cluster0_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304717 temperature = <90000>;
4718 hysteresis = <2000>;
4719 type = "hot";
4720 };
4721 cluster0_crit: cluster0_crit {
4722 temperature = <110000>;
4723 hysteresis = <2000>;
4724 type = "critical";
4725 };
4726 };
4727 };
4728
4729 cluster1-thermal {
4730 polling-delay-passive = <250>;
4731 polling-delay = <1000>;
4732
4733 thermal-sensors = <&tsens0 6>;
4734
4735 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304736 cluster1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304737 temperature = <90000>;
4738 hysteresis = <2000>;
4739 type = "hot";
4740 };
4741 cluster1_crit: cluster1_crit {
4742 temperature = <110000>;
4743 hysteresis = <2000>;
4744 type = "critical";
4745 };
4746 };
4747 };
4748
4749 gpu-thermal-top {
4750 polling-delay-passive = <250>;
4751 polling-delay = <1000>;
4752
4753 thermal-sensors = <&tsens0 11>;
4754
4755 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304756 gpu1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304757 temperature = <90000>;
4758 hysteresis = <2000>;
4759 type = "hot";
4760 };
4761 };
4762 };
4763
4764 gpu-thermal-bottom {
4765 polling-delay-passive = <250>;
4766 polling-delay = <1000>;
4767
4768 thermal-sensors = <&tsens0 12>;
4769
4770 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304771 gpu2_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304772 temperature = <90000>;
4773 hysteresis = <2000>;
4774 type = "hot";
4775 };
4776 };
4777 };
4778
4779 aoss1-thermal {
4780 polling-delay-passive = <250>;
4781 polling-delay = <1000>;
4782
4783 thermal-sensors = <&tsens1 0>;
4784
4785 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304786 aoss1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304787 temperature = <90000>;
4788 hysteresis = <2000>;
4789 type = "hot";
4790 };
4791 };
4792 };
4793
4794 q6-modem-thermal {
4795 polling-delay-passive = <250>;
4796 polling-delay = <1000>;
4797
4798 thermal-sensors = <&tsens1 1>;
4799
4800 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304801 q6_modem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304802 temperature = <90000>;
4803 hysteresis = <2000>;
4804 type = "hot";
4805 };
4806 };
4807 };
4808
4809 mem-thermal {
4810 polling-delay-passive = <250>;
4811 polling-delay = <1000>;
4812
4813 thermal-sensors = <&tsens1 2>;
4814
4815 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304816 mem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304817 temperature = <90000>;
4818 hysteresis = <2000>;
4819 type = "hot";
4820 };
4821 };
4822 };
4823
4824 wlan-thermal {
4825 polling-delay-passive = <250>;
4826 polling-delay = <1000>;
4827
4828 thermal-sensors = <&tsens1 3>;
4829
4830 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304831 wlan_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304832 temperature = <90000>;
4833 hysteresis = <2000>;
4834 type = "hot";
4835 };
4836 };
4837 };
4838
4839 q6-hvx-thermal {
4840 polling-delay-passive = <250>;
4841 polling-delay = <1000>;
4842
4843 thermal-sensors = <&tsens1 4>;
4844
4845 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304846 q6_hvx_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304847 temperature = <90000>;
4848 hysteresis = <2000>;
4849 type = "hot";
4850 };
4851 };
4852 };
4853
4854 camera-thermal {
4855 polling-delay-passive = <250>;
4856 polling-delay = <1000>;
4857
4858 thermal-sensors = <&tsens1 5>;
4859
4860 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304861 camera_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304862 temperature = <90000>;
4863 hysteresis = <2000>;
4864 type = "hot";
4865 };
4866 };
4867 };
4868
4869 video-thermal {
4870 polling-delay-passive = <250>;
4871 polling-delay = <1000>;
4872
4873 thermal-sensors = <&tsens1 6>;
4874
4875 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304876 video_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304877 temperature = <90000>;
4878 hysteresis = <2000>;
4879 type = "hot";
4880 };
4881 };
4882 };
4883
4884 modem-thermal {
4885 polling-delay-passive = <250>;
4886 polling-delay = <1000>;
4887
4888 thermal-sensors = <&tsens1 7>;
4889
4890 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304891 modem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304892 temperature = <90000>;
4893 hysteresis = <2000>;
4894 type = "hot";
4895 };
4896 };
4897 };
Amit Kucheria48847882018-06-12 15:26:54 +03004898 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304899};