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