blob: d6b7b1bfa2021f71f6a17fb340c7d21a146b4506 [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>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +0300203 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
Sibi Sankar54b50f22020-07-03 02:16:43 +0530204 <&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>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +0300228 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
Sibi Sankar54b50f22020-07-03 02:16:43 +0530229 <&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>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +0300250 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
Sibi Sankar54b50f22020-07-03 02:16:43 +0530251 <&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>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +0300272 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
Sibi Sankar54b50f22020-07-03 02:16:43 +0530273 <&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>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +0300294 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
Sibi Sankar54b50f22020-07-03 02:16:43 +0530295 <&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>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +0300316 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
Sibi Sankar54b50f22020-07-03 02:16:43 +0530317 <&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>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +0300338 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
Sibi Sankar54b50f22020-07-03 02:16:43 +0530339 <&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>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +0300360 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>,
Sibi Sankar54b50f22020-07-03 02:16:43 +0530361 <&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
Rajendra Nayake0b760a2020-08-12 15:52:10 +05301096 opp-50000000 {
1097 opp-hz = /bits/ 64 <50000000>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301098 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 };
Rajendra Nayake0b760a2020-08-12 15:52:10 +05301110
1111 opp-128000000 {
1112 opp-hz = /bits/ 64 <128000000>;
1113 required-opps = <&rpmhpd_opp_nom>;
1114 };
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301115 };
1116
Douglas Anderson897cf342018-06-13 09:53:51 -07001117 qupv3_id_0: geniqup@8c0000 {
1118 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001119 reg = <0 0x008c0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001120 clock-names = "m-ahb", "s-ahb";
1121 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
1122 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
Stephen Boyd4785cff2020-11-21 19:41:49 -08001123 iommus = <&apps_smmu 0x3 0x0>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001124 #address-cells = <2>;
1125 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001126 ranges;
Douglas Anderson499ff112018-06-29 11:45:27 -07001127 status = "disabled";
Douglas Anderson897cf342018-06-13 09:53:51 -07001128
1129 i2c0: i2c@880000 {
1130 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001131 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001132 clock-names = "se";
1133 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1134 pinctrl-names = "default";
1135 pinctrl-0 = <&qup_i2c0_default>;
1136 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
1137 #address-cells = <1>;
1138 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301139 power-domains = <&rpmhpd SDM845_CX>;
1140 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001141 status = "disabled";
1142 };
1143
1144 spi0: spi@880000 {
1145 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001146 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001147 clock-names = "se";
1148 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1149 pinctrl-names = "default";
1150 pinctrl-0 = <&qup_spi0_default>;
1151 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
1152 #address-cells = <1>;
1153 #size-cells = <0>;
1154 status = "disabled";
1155 };
1156
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001157 uart0: serial@880000 {
1158 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001159 reg = <0 0x00880000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001160 clock-names = "se";
1161 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1162 pinctrl-names = "default";
1163 pinctrl-0 = <&qup_uart0_default>;
1164 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301165 power-domains = <&rpmhpd SDM845_CX>;
1166 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001167 status = "disabled";
1168 };
1169
Douglas Anderson897cf342018-06-13 09:53:51 -07001170 i2c1: i2c@884000 {
1171 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001172 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001173 clock-names = "se";
1174 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1175 pinctrl-names = "default";
1176 pinctrl-0 = <&qup_i2c1_default>;
1177 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
1178 #address-cells = <1>;
1179 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301180 power-domains = <&rpmhpd SDM845_CX>;
1181 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001182 status = "disabled";
1183 };
1184
1185 spi1: spi@884000 {
1186 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001187 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001188 clock-names = "se";
1189 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1190 pinctrl-names = "default";
1191 pinctrl-0 = <&qup_spi1_default>;
1192 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
1193 #address-cells = <1>;
1194 #size-cells = <0>;
1195 status = "disabled";
1196 };
1197
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001198 uart1: serial@884000 {
1199 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001200 reg = <0 0x00884000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001201 clock-names = "se";
1202 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1203 pinctrl-names = "default";
1204 pinctrl-0 = <&qup_uart1_default>;
1205 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301206 power-domains = <&rpmhpd SDM845_CX>;
1207 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001208 status = "disabled";
1209 };
1210
Douglas Anderson897cf342018-06-13 09:53:51 -07001211 i2c2: i2c@888000 {
1212 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001213 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001214 clock-names = "se";
1215 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1216 pinctrl-names = "default";
1217 pinctrl-0 = <&qup_i2c2_default>;
1218 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1219 #address-cells = <1>;
1220 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301221 power-domains = <&rpmhpd SDM845_CX>;
1222 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001223 status = "disabled";
1224 };
1225
1226 spi2: spi@888000 {
1227 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001228 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001229 clock-names = "se";
1230 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1231 pinctrl-names = "default";
1232 pinctrl-0 = <&qup_spi2_default>;
1233 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1234 #address-cells = <1>;
1235 #size-cells = <0>;
1236 status = "disabled";
1237 };
1238
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001239 uart2: serial@888000 {
1240 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001241 reg = <0 0x00888000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001242 clock-names = "se";
1243 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1244 pinctrl-names = "default";
1245 pinctrl-0 = <&qup_uart2_default>;
1246 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301247 power-domains = <&rpmhpd SDM845_CX>;
1248 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001249 status = "disabled";
1250 };
1251
Douglas Anderson897cf342018-06-13 09:53:51 -07001252 i2c3: i2c@88c000 {
1253 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001254 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001255 clock-names = "se";
1256 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1257 pinctrl-names = "default";
1258 pinctrl-0 = <&qup_i2c3_default>;
1259 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1260 #address-cells = <1>;
1261 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301262 power-domains = <&rpmhpd SDM845_CX>;
1263 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001264 status = "disabled";
1265 };
1266
1267 spi3: spi@88c000 {
1268 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001269 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001270 clock-names = "se";
1271 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1272 pinctrl-names = "default";
1273 pinctrl-0 = <&qup_spi3_default>;
1274 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1275 #address-cells = <1>;
1276 #size-cells = <0>;
1277 status = "disabled";
1278 };
1279
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001280 uart3: serial@88c000 {
1281 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001282 reg = <0 0x0088c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001283 clock-names = "se";
1284 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1285 pinctrl-names = "default";
1286 pinctrl-0 = <&qup_uart3_default>;
1287 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301288 power-domains = <&rpmhpd SDM845_CX>;
1289 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001290 status = "disabled";
1291 };
1292
Douglas Anderson897cf342018-06-13 09:53:51 -07001293 i2c4: i2c@890000 {
1294 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001295 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001296 clock-names = "se";
1297 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1298 pinctrl-names = "default";
1299 pinctrl-0 = <&qup_i2c4_default>;
1300 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1301 #address-cells = <1>;
1302 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301303 power-domains = <&rpmhpd SDM845_CX>;
1304 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001305 status = "disabled";
1306 };
1307
1308 spi4: spi@890000 {
1309 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001310 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001311 clock-names = "se";
1312 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1313 pinctrl-names = "default";
1314 pinctrl-0 = <&qup_spi4_default>;
1315 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1316 #address-cells = <1>;
1317 #size-cells = <0>;
1318 status = "disabled";
1319 };
1320
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001321 uart4: serial@890000 {
1322 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001323 reg = <0 0x00890000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001324 clock-names = "se";
1325 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1326 pinctrl-names = "default";
1327 pinctrl-0 = <&qup_uart4_default>;
1328 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301329 power-domains = <&rpmhpd SDM845_CX>;
1330 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001331 status = "disabled";
1332 };
1333
Douglas Anderson897cf342018-06-13 09:53:51 -07001334 i2c5: i2c@894000 {
1335 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001336 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001337 clock-names = "se";
1338 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1339 pinctrl-names = "default";
1340 pinctrl-0 = <&qup_i2c5_default>;
1341 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1342 #address-cells = <1>;
1343 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301344 power-domains = <&rpmhpd SDM845_CX>;
1345 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001346 status = "disabled";
1347 };
1348
1349 spi5: spi@894000 {
1350 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001351 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001352 clock-names = "se";
1353 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1354 pinctrl-names = "default";
1355 pinctrl-0 = <&qup_spi5_default>;
1356 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1357 #address-cells = <1>;
1358 #size-cells = <0>;
1359 status = "disabled";
1360 };
1361
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001362 uart5: serial@894000 {
1363 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001364 reg = <0 0x00894000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001365 clock-names = "se";
1366 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1367 pinctrl-names = "default";
1368 pinctrl-0 = <&qup_uart5_default>;
1369 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301370 power-domains = <&rpmhpd SDM845_CX>;
1371 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001372 status = "disabled";
1373 };
1374
Douglas Anderson897cf342018-06-13 09:53:51 -07001375 i2c6: i2c@898000 {
1376 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001377 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001378 clock-names = "se";
1379 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1380 pinctrl-names = "default";
1381 pinctrl-0 = <&qup_i2c6_default>;
1382 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1383 #address-cells = <1>;
1384 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301385 power-domains = <&rpmhpd SDM845_CX>;
1386 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001387 status = "disabled";
1388 };
1389
1390 spi6: spi@898000 {
1391 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001392 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001393 clock-names = "se";
1394 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1395 pinctrl-names = "default";
1396 pinctrl-0 = <&qup_spi6_default>;
1397 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1398 #address-cells = <1>;
1399 #size-cells = <0>;
1400 status = "disabled";
1401 };
1402
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001403 uart6: serial@898000 {
1404 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001405 reg = <0 0x00898000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001406 clock-names = "se";
1407 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1408 pinctrl-names = "default";
1409 pinctrl-0 = <&qup_uart6_default>;
1410 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301411 power-domains = <&rpmhpd SDM845_CX>;
1412 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001413 status = "disabled";
1414 };
1415
Douglas Anderson897cf342018-06-13 09:53:51 -07001416 i2c7: i2c@89c000 {
1417 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001418 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001419 clock-names = "se";
1420 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1421 pinctrl-names = "default";
1422 pinctrl-0 = <&qup_i2c7_default>;
1423 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1424 #address-cells = <1>;
1425 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301426 power-domains = <&rpmhpd SDM845_CX>;
1427 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001428 status = "disabled";
1429 };
1430
1431 spi7: spi@89c000 {
1432 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001433 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001434 clock-names = "se";
1435 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1436 pinctrl-names = "default";
1437 pinctrl-0 = <&qup_spi7_default>;
1438 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1439 #address-cells = <1>;
1440 #size-cells = <0>;
1441 status = "disabled";
1442 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001443
1444 uart7: serial@89c000 {
1445 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001446 reg = <0 0x0089c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001447 clock-names = "se";
1448 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1449 pinctrl-names = "default";
1450 pinctrl-0 = <&qup_uart7_default>;
1451 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301452 power-domains = <&rpmhpd SDM845_CX>;
1453 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001454 status = "disabled";
1455 };
Douglas Anderson897cf342018-06-13 09:53:51 -07001456 };
1457
1458 qupv3_id_1: geniqup@ac0000 {
1459 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001460 reg = <0 0x00ac0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001461 clock-names = "m-ahb", "s-ahb";
1462 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
1463 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
Stephen Boyd4785cff2020-11-21 19:41:49 -08001464 iommus = <&apps_smmu 0x6c3 0x0>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001465 #address-cells = <2>;
1466 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001467 ranges;
1468 status = "disabled";
1469
1470 i2c8: i2c@a80000 {
1471 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001472 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001473 clock-names = "se";
1474 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1475 pinctrl-names = "default";
1476 pinctrl-0 = <&qup_i2c8_default>;
1477 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1478 #address-cells = <1>;
1479 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301480 power-domains = <&rpmhpd SDM845_CX>;
1481 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001482 status = "disabled";
1483 };
1484
1485 spi8: spi@a80000 {
1486 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001487 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001488 clock-names = "se";
1489 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1490 pinctrl-names = "default";
1491 pinctrl-0 = <&qup_spi8_default>;
1492 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1493 #address-cells = <1>;
1494 #size-cells = <0>;
1495 status = "disabled";
1496 };
1497
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001498 uart8: serial@a80000 {
1499 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001500 reg = <0 0x00a80000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001501 clock-names = "se";
1502 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1503 pinctrl-names = "default";
1504 pinctrl-0 = <&qup_uart8_default>;
1505 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301506 power-domains = <&rpmhpd SDM845_CX>;
1507 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001508 status = "disabled";
1509 };
1510
Douglas Anderson897cf342018-06-13 09:53:51 -07001511 i2c9: i2c@a84000 {
1512 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001513 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001514 clock-names = "se";
1515 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1516 pinctrl-names = "default";
1517 pinctrl-0 = <&qup_i2c9_default>;
1518 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1519 #address-cells = <1>;
1520 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301521 power-domains = <&rpmhpd SDM845_CX>;
1522 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001523 status = "disabled";
1524 };
1525
1526 spi9: spi@a84000 {
1527 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001528 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001529 clock-names = "se";
1530 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1531 pinctrl-names = "default";
1532 pinctrl-0 = <&qup_spi9_default>;
1533 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1534 #address-cells = <1>;
1535 #size-cells = <0>;
1536 status = "disabled";
1537 };
1538
1539 uart9: serial@a84000 {
1540 compatible = "qcom,geni-debug-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001541 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001542 clock-names = "se";
1543 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1544 pinctrl-names = "default";
1545 pinctrl-0 = <&qup_uart9_default>;
1546 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301547 power-domains = <&rpmhpd SDM845_CX>;
1548 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001549 status = "disabled";
1550 };
1551
1552 i2c10: i2c@a88000 {
1553 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001554 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001555 clock-names = "se";
1556 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1557 pinctrl-names = "default";
1558 pinctrl-0 = <&qup_i2c10_default>;
1559 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1560 #address-cells = <1>;
1561 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301562 power-domains = <&rpmhpd SDM845_CX>;
1563 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001564 status = "disabled";
1565 };
1566
1567 spi10: spi@a88000 {
1568 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001569 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001570 clock-names = "se";
1571 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1572 pinctrl-names = "default";
1573 pinctrl-0 = <&qup_spi10_default>;
1574 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1575 #address-cells = <1>;
1576 #size-cells = <0>;
1577 status = "disabled";
1578 };
1579
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001580 uart10: serial@a88000 {
1581 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001582 reg = <0 0x00a88000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001583 clock-names = "se";
1584 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1585 pinctrl-names = "default";
1586 pinctrl-0 = <&qup_uart10_default>;
1587 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301588 power-domains = <&rpmhpd SDM845_CX>;
1589 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001590 status = "disabled";
1591 };
1592
Douglas Anderson897cf342018-06-13 09:53:51 -07001593 i2c11: i2c@a8c000 {
1594 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001595 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001596 clock-names = "se";
1597 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1598 pinctrl-names = "default";
1599 pinctrl-0 = <&qup_i2c11_default>;
1600 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1601 #address-cells = <1>;
1602 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301603 power-domains = <&rpmhpd SDM845_CX>;
1604 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001605 status = "disabled";
1606 };
1607
1608 spi11: spi@a8c000 {
1609 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001610 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001611 clock-names = "se";
1612 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1613 pinctrl-names = "default";
1614 pinctrl-0 = <&qup_spi11_default>;
1615 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1616 #address-cells = <1>;
1617 #size-cells = <0>;
1618 status = "disabled";
1619 };
1620
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001621 uart11: serial@a8c000 {
1622 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001623 reg = <0 0x00a8c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001624 clock-names = "se";
1625 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1626 pinctrl-names = "default";
1627 pinctrl-0 = <&qup_uart11_default>;
1628 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301629 power-domains = <&rpmhpd SDM845_CX>;
1630 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001631 status = "disabled";
1632 };
1633
Douglas Anderson897cf342018-06-13 09:53:51 -07001634 i2c12: i2c@a90000 {
1635 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001636 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001637 clock-names = "se";
1638 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1639 pinctrl-names = "default";
1640 pinctrl-0 = <&qup_i2c12_default>;
1641 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1642 #address-cells = <1>;
1643 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301644 power-domains = <&rpmhpd SDM845_CX>;
1645 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001646 status = "disabled";
1647 };
1648
1649 spi12: spi@a90000 {
1650 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001651 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001652 clock-names = "se";
1653 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1654 pinctrl-names = "default";
1655 pinctrl-0 = <&qup_spi12_default>;
1656 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1657 #address-cells = <1>;
1658 #size-cells = <0>;
1659 status = "disabled";
1660 };
1661
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001662 uart12: serial@a90000 {
1663 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001664 reg = <0 0x00a90000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001665 clock-names = "se";
1666 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1667 pinctrl-names = "default";
1668 pinctrl-0 = <&qup_uart12_default>;
1669 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301670 power-domains = <&rpmhpd SDM845_CX>;
1671 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001672 status = "disabled";
1673 };
1674
Douglas Anderson897cf342018-06-13 09:53:51 -07001675 i2c13: i2c@a94000 {
1676 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001677 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001678 clock-names = "se";
1679 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1680 pinctrl-names = "default";
1681 pinctrl-0 = <&qup_i2c13_default>;
1682 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1683 #address-cells = <1>;
1684 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301685 power-domains = <&rpmhpd SDM845_CX>;
1686 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001687 status = "disabled";
1688 };
1689
1690 spi13: spi@a94000 {
1691 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001692 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001693 clock-names = "se";
1694 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1695 pinctrl-names = "default";
1696 pinctrl-0 = <&qup_spi13_default>;
1697 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1698 #address-cells = <1>;
1699 #size-cells = <0>;
1700 status = "disabled";
1701 };
1702
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001703 uart13: serial@a94000 {
1704 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001705 reg = <0 0x00a94000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001706 clock-names = "se";
1707 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1708 pinctrl-names = "default";
1709 pinctrl-0 = <&qup_uart13_default>;
1710 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301711 power-domains = <&rpmhpd SDM845_CX>;
1712 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001713 status = "disabled";
1714 };
1715
Douglas Anderson897cf342018-06-13 09:53:51 -07001716 i2c14: i2c@a98000 {
1717 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001718 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001719 clock-names = "se";
1720 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1721 pinctrl-names = "default";
1722 pinctrl-0 = <&qup_i2c14_default>;
1723 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1724 #address-cells = <1>;
1725 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301726 power-domains = <&rpmhpd SDM845_CX>;
1727 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001728 status = "disabled";
1729 };
1730
1731 spi14: spi@a98000 {
1732 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001733 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001734 clock-names = "se";
1735 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1736 pinctrl-names = "default";
1737 pinctrl-0 = <&qup_spi14_default>;
1738 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1739 #address-cells = <1>;
1740 #size-cells = <0>;
1741 status = "disabled";
1742 };
1743
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001744 uart14: serial@a98000 {
1745 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001746 reg = <0 0x00a98000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001747 clock-names = "se";
1748 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1749 pinctrl-names = "default";
1750 pinctrl-0 = <&qup_uart14_default>;
1751 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301752 power-domains = <&rpmhpd SDM845_CX>;
1753 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001754 status = "disabled";
1755 };
1756
Douglas Anderson897cf342018-06-13 09:53:51 -07001757 i2c15: i2c@a9c000 {
1758 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001759 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001760 clock-names = "se";
1761 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1762 pinctrl-names = "default";
1763 pinctrl-0 = <&qup_i2c15_default>;
1764 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1765 #address-cells = <1>;
1766 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301767 power-domains = <&rpmhpd SDM845_CX>;
1768 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001769 status = "disabled";
1770 };
1771
1772 spi15: spi@a9c000 {
1773 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001774 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001775 clock-names = "se";
1776 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1777 pinctrl-names = "default";
1778 pinctrl-0 = <&qup_spi15_default>;
1779 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1780 #address-cells = <1>;
1781 #size-cells = <0>;
1782 status = "disabled";
1783 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001784
1785 uart15: serial@a9c000 {
1786 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001787 reg = <0 0x00a9c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001788 clock-names = "se";
1789 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1790 pinctrl-names = "default";
1791 pinctrl-0 = <&qup_uart15_default>;
1792 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301793 power-domains = <&rpmhpd SDM845_CX>;
1794 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001795 status = "disabled";
1796 };
Douglas Anderson897cf342018-06-13 09:53:51 -07001797 };
1798
Sai Prakash Ranjan39abbd32019-11-15 16:29:12 +05301799 system-cache-controller@1100000 {
Sai Prakash Ranjanba0411d2019-07-10 16:59:24 +05301800 compatible = "qcom,sdm845-llcc";
1801 reg = <0 0x01100000 0 0x200000>, <0 0x01300000 0 0x50000>;
1802 reg-names = "llcc_base", "llcc_broadcast_base";
1803 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
1804 };
1805
Bjorn Andersson5c538e092019-11-06 16:22:45 -08001806 pcie0: pci@1c00000 {
1807 compatible = "qcom,pcie-sdm845", "snps,dw-pcie";
1808 reg = <0 0x01c00000 0 0x2000>,
1809 <0 0x60000000 0 0xf1d>,
1810 <0 0x60000f20 0 0xa8>,
1811 <0 0x60100000 0 0x100000>;
1812 reg-names = "parf", "dbi", "elbi", "config";
1813 device_type = "pci";
1814 linux,pci-domain = <0>;
1815 bus-range = <0x00 0xff>;
1816 num-lanes = <1>;
1817
1818 #address-cells = <3>;
1819 #size-cells = <2>;
1820
1821 ranges = <0x01000000 0x0 0x60200000 0 0x60200000 0x0 0x100000>,
1822 <0x02000000 0x0 0x60300000 0 0x60300000 0x0 0xd00000>;
1823
1824 interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
1825 interrupt-names = "msi";
1826 #interrupt-cells = <1>;
1827 interrupt-map-mask = <0 0 0 0x7>;
1828 interrupt-map = <0 0 0 1 &intc 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1829 <0 0 0 2 &intc 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1830 <0 0 0 3 &intc 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1831 <0 0 0 4 &intc 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1832
1833 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
1834 <&gcc GCC_PCIE_0_AUX_CLK>,
1835 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
1836 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
1837 <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
1838 <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
1839 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>;
1840 clock-names = "pipe",
1841 "aux",
1842 "cfg",
1843 "bus_master",
1844 "bus_slave",
1845 "slave_q2a",
1846 "tbu";
1847
1848 iommus = <&apps_smmu 0x1c10 0xf>;
1849 iommu-map = <0x0 &apps_smmu 0x1c10 0x1>,
1850 <0x100 &apps_smmu 0x1c11 0x1>,
1851 <0x200 &apps_smmu 0x1c12 0x1>,
1852 <0x300 &apps_smmu 0x1c13 0x1>,
1853 <0x400 &apps_smmu 0x1c14 0x1>,
1854 <0x500 &apps_smmu 0x1c15 0x1>,
1855 <0x600 &apps_smmu 0x1c16 0x1>,
1856 <0x700 &apps_smmu 0x1c17 0x1>,
1857 <0x800 &apps_smmu 0x1c18 0x1>,
1858 <0x900 &apps_smmu 0x1c19 0x1>,
1859 <0xa00 &apps_smmu 0x1c1a 0x1>,
1860 <0xb00 &apps_smmu 0x1c1b 0x1>,
1861 <0xc00 &apps_smmu 0x1c1c 0x1>,
1862 <0xd00 &apps_smmu 0x1c1d 0x1>,
1863 <0xe00 &apps_smmu 0x1c1e 0x1>,
1864 <0xf00 &apps_smmu 0x1c1f 0x1>;
1865
1866 resets = <&gcc GCC_PCIE_0_BCR>;
1867 reset-names = "pci";
1868
1869 power-domains = <&gcc PCIE_0_GDSC>;
1870
1871 phys = <&pcie0_lane>;
1872 phy-names = "pciephy";
1873
1874 status = "disabled";
1875 };
1876
1877 pcie0_phy: phy@1c06000 {
1878 compatible = "qcom,sdm845-qmp-pcie-phy";
1879 reg = <0 0x01c06000 0 0x18c>;
1880 #address-cells = <2>;
1881 #size-cells = <2>;
1882 ranges;
1883 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
1884 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
1885 <&gcc GCC_PCIE_0_CLKREF_CLK>,
1886 <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
1887 clock-names = "aux", "cfg_ahb", "ref", "refgen";
1888
1889 resets = <&gcc GCC_PCIE_0_PHY_BCR>;
1890 reset-names = "phy";
1891
1892 assigned-clocks = <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
1893 assigned-clock-rates = <100000000>;
1894
1895 status = "disabled";
1896
1897 pcie0_lane: lanes@1c06200 {
1898 reg = <0 0x01c06200 0 0x128>,
1899 <0 0x01c06400 0 0x1fc>,
1900 <0 0x01c06800 0 0x218>,
1901 <0 0x01c06600 0 0x70>;
1902 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
1903 clock-names = "pipe0";
1904
1905 #phy-cells = <0>;
1906 clock-output-names = "pcie_0_pipe_clk";
1907 };
1908 };
1909
Bjorn Andersson42ad2312019-11-06 16:22:46 -08001910 pcie1: pci@1c08000 {
1911 compatible = "qcom,pcie-sdm845", "snps,dw-pcie";
1912 reg = <0 0x01c08000 0 0x2000>,
1913 <0 0x40000000 0 0xf1d>,
1914 <0 0x40000f20 0 0xa8>,
1915 <0 0x40100000 0 0x100000>;
1916 reg-names = "parf", "dbi", "elbi", "config";
1917 device_type = "pci";
1918 linux,pci-domain = <1>;
1919 bus-range = <0x00 0xff>;
1920 num-lanes = <1>;
1921
1922 #address-cells = <3>;
1923 #size-cells = <2>;
1924
1925 ranges = <0x01000000 0x0 0x40200000 0x0 0x40200000 0x0 0x100000>,
1926 <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>;
1927
1928 interrupts = <GIC_SPI 307 IRQ_TYPE_EDGE_RISING>;
1929 interrupt-names = "msi";
1930 #interrupt-cells = <1>;
1931 interrupt-map-mask = <0 0 0 0x7>;
1932 interrupt-map = <0 0 0 1 &intc 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1933 <0 0 0 2 &intc 0 435 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1934 <0 0 0 3 &intc 0 438 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1935 <0 0 0 4 &intc 0 439 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1936
1937 clocks = <&gcc GCC_PCIE_1_PIPE_CLK>,
1938 <&gcc GCC_PCIE_1_AUX_CLK>,
1939 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
1940 <&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
1941 <&gcc GCC_PCIE_1_SLV_AXI_CLK>,
1942 <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>,
1943 <&gcc GCC_PCIE_1_CLKREF_CLK>,
1944 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>;
1945 clock-names = "pipe",
1946 "aux",
1947 "cfg",
1948 "bus_master",
1949 "bus_slave",
1950 "slave_q2a",
1951 "ref",
1952 "tbu";
1953
1954 assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>;
1955 assigned-clock-rates = <19200000>;
1956
1957 iommus = <&apps_smmu 0x1c00 0xf>;
1958 iommu-map = <0x0 &apps_smmu 0x1c00 0x1>,
1959 <0x100 &apps_smmu 0x1c01 0x1>,
1960 <0x200 &apps_smmu 0x1c02 0x1>,
1961 <0x300 &apps_smmu 0x1c03 0x1>,
1962 <0x400 &apps_smmu 0x1c04 0x1>,
1963 <0x500 &apps_smmu 0x1c05 0x1>,
1964 <0x600 &apps_smmu 0x1c06 0x1>,
1965 <0x700 &apps_smmu 0x1c07 0x1>,
1966 <0x800 &apps_smmu 0x1c08 0x1>,
1967 <0x900 &apps_smmu 0x1c09 0x1>,
1968 <0xa00 &apps_smmu 0x1c0a 0x1>,
1969 <0xb00 &apps_smmu 0x1c0b 0x1>,
1970 <0xc00 &apps_smmu 0x1c0c 0x1>,
1971 <0xd00 &apps_smmu 0x1c0d 0x1>,
1972 <0xe00 &apps_smmu 0x1c0e 0x1>,
1973 <0xf00 &apps_smmu 0x1c0f 0x1>;
1974
1975 resets = <&gcc GCC_PCIE_1_BCR>;
1976 reset-names = "pci";
1977
1978 power-domains = <&gcc PCIE_1_GDSC>;
1979
1980 phys = <&pcie1_lane>;
1981 phy-names = "pciephy";
1982
1983 status = "disabled";
1984 };
1985
1986 pcie1_phy: phy@1c0a000 {
1987 compatible = "qcom,sdm845-qhp-pcie-phy";
1988 reg = <0 0x01c0a000 0 0x800>;
1989 #address-cells = <2>;
1990 #size-cells = <2>;
1991 ranges;
1992 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
1993 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
1994 <&gcc GCC_PCIE_1_CLKREF_CLK>,
1995 <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
1996 clock-names = "aux", "cfg_ahb", "ref", "refgen";
1997
1998 resets = <&gcc GCC_PCIE_1_PHY_BCR>;
1999 reset-names = "phy";
2000
2001 assigned-clocks = <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
2002 assigned-clock-rates = <100000000>;
2003
2004 status = "disabled";
2005
2006 pcie1_lane: lanes@1c06200 {
2007 reg = <0 0x01c0a800 0 0x800>,
2008 <0 0x01c0a800 0 0x800>,
2009 <0 0x01c0b800 0 0x400>;
2010 clocks = <&gcc GCC_PCIE_1_PIPE_CLK>;
2011 clock-names = "pipe0";
2012
2013 #phy-cells = <0>;
2014 clock-output-names = "pcie_1_pipe_clk";
2015 };
2016 };
2017
David Daib303f9f2020-02-10 00:04:11 +05302018 mem_noc: interconnect@1380000 {
2019 compatible = "qcom,sdm845-mem-noc";
2020 reg = <0 0x01380000 0 0x27200>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +03002021 #interconnect-cells = <2>;
David Daib303f9f2020-02-10 00:04:11 +05302022 qcom,bcm-voters = <&apps_bcm_voter>;
2023 };
2024
2025 dc_noc: interconnect@14e0000 {
2026 compatible = "qcom,sdm845-dc-noc";
2027 reg = <0 0x014e0000 0 0x400>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +03002028 #interconnect-cells = <2>;
David Daib303f9f2020-02-10 00:04:11 +05302029 qcom,bcm-voters = <&apps_bcm_voter>;
2030 };
2031
2032 config_noc: interconnect@1500000 {
2033 compatible = "qcom,sdm845-config-noc";
2034 reg = <0 0x01500000 0 0x5080>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +03002035 #interconnect-cells = <2>;
David Daib303f9f2020-02-10 00:04:11 +05302036 qcom,bcm-voters = <&apps_bcm_voter>;
2037 };
2038
2039 system_noc: interconnect@1620000 {
2040 compatible = "qcom,sdm845-system-noc";
2041 reg = <0 0x01620000 0 0x18080>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +03002042 #interconnect-cells = <2>;
David Daib303f9f2020-02-10 00:04:11 +05302043 qcom,bcm-voters = <&apps_bcm_voter>;
2044 };
2045
2046 aggre1_noc: interconnect@16e0000 {
2047 compatible = "qcom,sdm845-aggre1-noc";
2048 reg = <0 0x016e0000 0 0x15080>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +03002049 #interconnect-cells = <2>;
David Daib303f9f2020-02-10 00:04:11 +05302050 qcom,bcm-voters = <&apps_bcm_voter>;
2051 };
2052
2053 aggre2_noc: interconnect@1700000 {
2054 compatible = "qcom,sdm845-aggre2-noc";
2055 reg = <0 0x01700000 0 0x1f300>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +03002056 #interconnect-cells = <2>;
David Daib303f9f2020-02-10 00:04:11 +05302057 qcom,bcm-voters = <&apps_bcm_voter>;
2058 };
2059
2060 mmss_noc: interconnect@1740000 {
2061 compatible = "qcom,sdm845-mmss-noc";
2062 reg = <0 0x01740000 0 0x1c100>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +03002063 #interconnect-cells = <2>;
David Daib303f9f2020-02-10 00:04:11 +05302064 qcom,bcm-voters = <&apps_bcm_voter>;
2065 };
2066
Evan Greencc166872018-12-10 11:28:24 -08002067 ufs_mem_hc: ufshc@1d84000 {
2068 compatible = "qcom,sdm845-ufshc", "qcom,ufshc",
2069 "jedec,ufs-2.0";
Eric Biggers433f9a52020-07-10 00:20:10 -07002070 reg = <0 0x01d84000 0 0x2500>,
2071 <0 0x01d90000 0 0x8000>;
2072 reg-names = "std", "ice";
Evan Greencc166872018-12-10 11:28:24 -08002073 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
2074 phys = <&ufs_mem_phy_lanes>;
2075 phy-names = "ufsphy";
2076 lanes-per-direction = <2>;
2077 power-domains = <&gcc UFS_PHY_GDSC>;
Evan Green71278b02019-03-21 10:17:56 -07002078 #reset-cells = <1>;
Vinod Koula8aa4812020-01-06 12:38:26 +05302079 resets = <&gcc GCC_UFS_PHY_BCR>;
2080 reset-names = "rst";
Evan Greencc166872018-12-10 11:28:24 -08002081
2082 iommus = <&apps_smmu 0x100 0xf>;
2083
2084 clock-names =
2085 "core_clk",
2086 "bus_aggr_clk",
2087 "iface_clk",
2088 "core_clk_unipro",
2089 "ref_clk",
2090 "tx_lane0_sync_clk",
2091 "rx_lane0_sync_clk",
Eric Biggers433f9a52020-07-10 00:20:10 -07002092 "rx_lane1_sync_clk",
2093 "ice_core_clk";
Evan Greencc166872018-12-10 11:28:24 -08002094 clocks =
2095 <&gcc GCC_UFS_PHY_AXI_CLK>,
2096 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
2097 <&gcc GCC_UFS_PHY_AHB_CLK>,
2098 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
2099 <&rpmhcc RPMH_CXO_CLK>,
2100 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
2101 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
Eric Biggers433f9a52020-07-10 00:20:10 -07002102 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>,
2103 <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
Evan Greencc166872018-12-10 11:28:24 -08002104 freq-table-hz =
2105 <50000000 200000000>,
2106 <0 0>,
2107 <0 0>,
2108 <37500000 150000000>,
2109 <0 0>,
2110 <0 0>,
2111 <0 0>,
Eric Biggers433f9a52020-07-10 00:20:10 -07002112 <0 0>,
2113 <0 300000000>;
Evan Greencc166872018-12-10 11:28:24 -08002114
2115 status = "disabled";
2116 };
2117
2118 ufs_mem_phy: phy@1d87000 {
2119 compatible = "qcom,sdm845-qmp-ufs-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002120 reg = <0 0x01d87000 0 0x18c>;
2121 #address-cells = <2>;
2122 #size-cells = <2>;
Evan Greencc166872018-12-10 11:28:24 -08002123 ranges;
2124 clock-names = "ref",
2125 "ref_aux";
2126 clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
2127 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
2128
Evan Green71278b02019-03-21 10:17:56 -07002129 resets = <&ufs_mem_hc 0>;
2130 reset-names = "ufsphy";
Evan Greencc166872018-12-10 11:28:24 -08002131 status = "disabled";
2132
2133 ufs_mem_phy_lanes: lanes@1d87400 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002134 reg = <0 0x01d87400 0 0x108>,
2135 <0 0x01d87600 0 0x1e0>,
2136 <0 0x01d87c00 0 0x1dc>,
2137 <0 0x01d87800 0 0x108>,
2138 <0 0x01d87a00 0 0x1e0>;
Evan Greencc166872018-12-10 11:28:24 -08002139 #phy-cells = <0>;
2140 };
2141 };
2142
Alex Elder392a5852020-03-13 06:52:36 -05002143 ipa: ipa@1e40000 {
2144 compatible = "qcom,sdm845-ipa";
Alex Eldere9e89c42020-05-04 13:13:50 -05002145
2146 iommus = <&apps_smmu 0x720 0x3>;
Alex Elder392a5852020-03-13 06:52:36 -05002147 reg = <0 0x1e40000 0 0x7000>,
2148 <0 0x1e47000 0 0x2000>,
2149 <0 0x1e04000 0 0x2c000>;
2150 reg-names = "ipa-reg",
2151 "ipa-shared",
2152 "gsi";
2153
2154 interrupts-extended = <&intc 0 311 IRQ_TYPE_EDGE_RISING>,
2155 <&intc 0 432 IRQ_TYPE_LEVEL_HIGH>,
2156 <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2157 <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
2158 interrupt-names = "ipa",
2159 "gsi",
2160 "ipa-clock-query",
2161 "ipa-setup-ready";
2162
2163 clocks = <&rpmhcc RPMH_IPA_CLK>;
2164 clock-names = "core";
2165
Georgi Djakov7901c2b2020-09-03 16:31:32 +03002166 interconnects = <&aggre2_noc MASTER_IPA 0 &mem_noc SLAVE_EBI1 0>,
2167 <&aggre2_noc MASTER_IPA 0 &system_noc SLAVE_IMEM 0>,
2168 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_IPA_CFG 0>;
Alex Elder392a5852020-03-13 06:52:36 -05002169 interconnect-names = "memory",
2170 "imem",
2171 "config";
2172
2173 qcom,smem-states = <&ipa_smp2p_out 0>,
2174 <&ipa_smp2p_out 1>;
2175 qcom,smem-state-names = "ipa-clock-enabled-valid",
2176 "ipa-clock-enabled";
2177
2178 modem-remoteproc = <&mss_pil>;
2179
2180 status = "disabled";
2181 };
2182
Douglas Anderson54d7a202018-05-14 20:59:22 -07002183 tcsr_mutex_regs: syscon@1f40000 {
2184 compatible = "syscon";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002185 reg = <0 0x01f40000 0 0x40000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07002186 };
2187
2188 tlmm: pinctrl@3400000 {
2189 compatible = "qcom,sdm845-pinctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002190 reg = <0 0x03400000 0 0xc00000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07002191 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
2192 gpio-controller;
2193 #gpio-cells = <2>;
2194 interrupt-controller;
2195 #interrupt-cells = <2>;
Evan Greenbc2c8062018-11-09 15:52:12 -08002196 gpio-ranges = <&tlmm 0 0 150>;
Lina Iyeraeae9482019-11-15 15:11:54 -07002197 wakeup-parent = <&pdc_intc>;
Douglas Anderson897cf342018-06-13 09:53:51 -07002198
Robert Foss07484de2020-03-24 16:58:39 +01002199 cci0_default: cci0-default {
2200 /* SDA, SCL */
2201 pins = "gpio17", "gpio18";
2202 function = "cci_i2c";
2203
2204 bias-pull-up;
2205 drive-strength = <2>; /* 2 mA */
2206 };
2207
2208 cci0_sleep: cci0-sleep {
2209 /* SDA, SCL */
2210 pins = "gpio17", "gpio18";
2211 function = "cci_i2c";
2212
2213 drive-strength = <2>; /* 2 mA */
2214 bias-pull-down;
2215 };
2216
2217 cci1_default: cci1-default {
2218 /* SDA, SCL */
2219 pins = "gpio19", "gpio20";
2220 function = "cci_i2c";
2221
2222 bias-pull-up;
2223 drive-strength = <2>; /* 2 mA */
2224 };
2225
2226 cci1_sleep: cci1-sleep {
2227 /* SDA, SCL */
2228 pins = "gpio19", "gpio20";
2229 function = "cci_i2c";
2230
2231 drive-strength = <2>; /* 2 mA */
2232 bias-pull-down;
2233 };
2234
Douglas Andersone1ce8532018-10-08 13:17:11 -07002235 qspi_clk: qspi-clk {
2236 pinmux {
2237 pins = "gpio95";
2238 function = "qspi_clk";
2239 };
2240 };
2241
2242 qspi_cs0: qspi-cs0 {
2243 pinmux {
2244 pins = "gpio90";
2245 function = "qspi_cs";
2246 };
2247 };
2248
2249 qspi_cs1: qspi-cs1 {
2250 pinmux {
2251 pins = "gpio89";
2252 function = "qspi_cs";
2253 };
2254 };
2255
2256 qspi_data01: qspi-data01 {
2257 pinmux-data {
2258 pins = "gpio91", "gpio92";
2259 function = "qspi_data";
2260 };
2261 };
2262
2263 qspi_data12: qspi-data12 {
2264 pinmux-data {
2265 pins = "gpio93", "gpio94";
2266 function = "qspi_data";
2267 };
2268 };
2269
Douglas Anderson897cf342018-06-13 09:53:51 -07002270 qup_i2c0_default: qup-i2c0-default {
2271 pinmux {
2272 pins = "gpio0", "gpio1";
2273 function = "qup0";
2274 };
2275 };
2276
2277 qup_i2c1_default: qup-i2c1-default {
2278 pinmux {
2279 pins = "gpio17", "gpio18";
2280 function = "qup1";
2281 };
2282 };
2283
2284 qup_i2c2_default: qup-i2c2-default {
2285 pinmux {
2286 pins = "gpio27", "gpio28";
2287 function = "qup2";
2288 };
2289 };
2290
2291 qup_i2c3_default: qup-i2c3-default {
2292 pinmux {
2293 pins = "gpio41", "gpio42";
2294 function = "qup3";
2295 };
2296 };
2297
2298 qup_i2c4_default: qup-i2c4-default {
2299 pinmux {
2300 pins = "gpio89", "gpio90";
2301 function = "qup4";
2302 };
2303 };
2304
2305 qup_i2c5_default: qup-i2c5-default {
2306 pinmux {
2307 pins = "gpio85", "gpio86";
2308 function = "qup5";
2309 };
2310 };
2311
2312 qup_i2c6_default: qup-i2c6-default {
2313 pinmux {
2314 pins = "gpio45", "gpio46";
2315 function = "qup6";
2316 };
2317 };
2318
2319 qup_i2c7_default: qup-i2c7-default {
2320 pinmux {
2321 pins = "gpio93", "gpio94";
2322 function = "qup7";
2323 };
2324 };
2325
2326 qup_i2c8_default: qup-i2c8-default {
2327 pinmux {
2328 pins = "gpio65", "gpio66";
2329 function = "qup8";
2330 };
2331 };
2332
2333 qup_i2c9_default: qup-i2c9-default {
2334 pinmux {
2335 pins = "gpio6", "gpio7";
2336 function = "qup9";
2337 };
2338 };
2339
2340 qup_i2c10_default: qup-i2c10-default {
2341 pinmux {
2342 pins = "gpio55", "gpio56";
2343 function = "qup10";
2344 };
2345 };
2346
2347 qup_i2c11_default: qup-i2c11-default {
2348 pinmux {
2349 pins = "gpio31", "gpio32";
2350 function = "qup11";
2351 };
2352 };
2353
2354 qup_i2c12_default: qup-i2c12-default {
2355 pinmux {
2356 pins = "gpio49", "gpio50";
2357 function = "qup12";
2358 };
2359 };
2360
2361 qup_i2c13_default: qup-i2c13-default {
2362 pinmux {
2363 pins = "gpio105", "gpio106";
2364 function = "qup13";
2365 };
2366 };
2367
2368 qup_i2c14_default: qup-i2c14-default {
2369 pinmux {
2370 pins = "gpio33", "gpio34";
2371 function = "qup14";
2372 };
2373 };
2374
2375 qup_i2c15_default: qup-i2c15-default {
2376 pinmux {
2377 pins = "gpio81", "gpio82";
2378 function = "qup15";
2379 };
2380 };
2381
2382 qup_spi0_default: qup-spi0-default {
2383 pinmux {
2384 pins = "gpio0", "gpio1",
2385 "gpio2", "gpio3";
2386 function = "qup0";
2387 };
2388 };
2389
2390 qup_spi1_default: qup-spi1-default {
2391 pinmux {
2392 pins = "gpio17", "gpio18",
2393 "gpio19", "gpio20";
2394 function = "qup1";
2395 };
2396 };
2397
2398 qup_spi2_default: qup-spi2-default {
2399 pinmux {
2400 pins = "gpio27", "gpio28",
2401 "gpio29", "gpio30";
2402 function = "qup2";
2403 };
2404 };
2405
2406 qup_spi3_default: qup-spi3-default {
2407 pinmux {
2408 pins = "gpio41", "gpio42",
2409 "gpio43", "gpio44";
2410 function = "qup3";
2411 };
2412 };
2413
2414 qup_spi4_default: qup-spi4-default {
2415 pinmux {
2416 pins = "gpio89", "gpio90",
2417 "gpio91", "gpio92";
2418 function = "qup4";
2419 };
2420 };
2421
2422 qup_spi5_default: qup-spi5-default {
2423 pinmux {
2424 pins = "gpio85", "gpio86",
2425 "gpio87", "gpio88";
2426 function = "qup5";
2427 };
2428 };
2429
2430 qup_spi6_default: qup-spi6-default {
2431 pinmux {
2432 pins = "gpio45", "gpio46",
2433 "gpio47", "gpio48";
2434 function = "qup6";
2435 };
2436 };
2437
2438 qup_spi7_default: qup-spi7-default {
2439 pinmux {
2440 pins = "gpio93", "gpio94",
2441 "gpio95", "gpio96";
2442 function = "qup7";
2443 };
2444 };
2445
2446 qup_spi8_default: qup-spi8-default {
2447 pinmux {
2448 pins = "gpio65", "gpio66",
2449 "gpio67", "gpio68";
2450 function = "qup8";
2451 };
2452 };
2453
2454 qup_spi9_default: qup-spi9-default {
2455 pinmux {
2456 pins = "gpio6", "gpio7",
2457 "gpio4", "gpio5";
2458 function = "qup9";
2459 };
2460 };
2461
2462 qup_spi10_default: qup-spi10-default {
2463 pinmux {
2464 pins = "gpio55", "gpio56",
2465 "gpio53", "gpio54";
2466 function = "qup10";
2467 };
2468 };
2469
2470 qup_spi11_default: qup-spi11-default {
2471 pinmux {
2472 pins = "gpio31", "gpio32",
2473 "gpio33", "gpio34";
2474 function = "qup11";
2475 };
2476 };
2477
2478 qup_spi12_default: qup-spi12-default {
2479 pinmux {
2480 pins = "gpio49", "gpio50",
2481 "gpio51", "gpio52";
2482 function = "qup12";
2483 };
2484 };
2485
2486 qup_spi13_default: qup-spi13-default {
2487 pinmux {
2488 pins = "gpio105", "gpio106",
2489 "gpio107", "gpio108";
2490 function = "qup13";
2491 };
2492 };
2493
2494 qup_spi14_default: qup-spi14-default {
2495 pinmux {
2496 pins = "gpio33", "gpio34",
2497 "gpio31", "gpio32";
2498 function = "qup14";
2499 };
2500 };
2501
2502 qup_spi15_default: qup-spi15-default {
2503 pinmux {
2504 pins = "gpio81", "gpio82",
2505 "gpio83", "gpio84";
2506 function = "qup15";
2507 };
2508 };
2509
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07002510 qup_uart0_default: qup-uart0-default {
2511 pinmux {
2512 pins = "gpio2", "gpio3";
2513 function = "qup0";
2514 };
2515 };
2516
2517 qup_uart1_default: qup-uart1-default {
2518 pinmux {
2519 pins = "gpio19", "gpio20";
2520 function = "qup1";
2521 };
2522 };
2523
2524 qup_uart2_default: qup-uart2-default {
2525 pinmux {
2526 pins = "gpio29", "gpio30";
2527 function = "qup2";
2528 };
2529 };
2530
2531 qup_uart3_default: qup-uart3-default {
2532 pinmux {
2533 pins = "gpio43", "gpio44";
2534 function = "qup3";
2535 };
2536 };
2537
2538 qup_uart4_default: qup-uart4-default {
2539 pinmux {
2540 pins = "gpio91", "gpio92";
2541 function = "qup4";
2542 };
2543 };
2544
2545 qup_uart5_default: qup-uart5-default {
2546 pinmux {
2547 pins = "gpio87", "gpio88";
2548 function = "qup5";
2549 };
2550 };
2551
2552 qup_uart6_default: qup-uart6-default {
2553 pinmux {
2554 pins = "gpio47", "gpio48";
2555 function = "qup6";
2556 };
2557 };
2558
2559 qup_uart7_default: qup-uart7-default {
2560 pinmux {
2561 pins = "gpio95", "gpio96";
2562 function = "qup7";
2563 };
2564 };
2565
2566 qup_uart8_default: qup-uart8-default {
2567 pinmux {
2568 pins = "gpio67", "gpio68";
2569 function = "qup8";
2570 };
2571 };
2572
Douglas Anderson897cf342018-06-13 09:53:51 -07002573 qup_uart9_default: qup-uart9-default {
2574 pinmux {
2575 pins = "gpio4", "gpio5";
2576 function = "qup9";
2577 };
2578 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07002579
2580 qup_uart10_default: qup-uart10-default {
2581 pinmux {
2582 pins = "gpio53", "gpio54";
2583 function = "qup10";
2584 };
2585 };
2586
2587 qup_uart11_default: qup-uart11-default {
2588 pinmux {
2589 pins = "gpio33", "gpio34";
2590 function = "qup11";
2591 };
2592 };
2593
2594 qup_uart12_default: qup-uart12-default {
2595 pinmux {
2596 pins = "gpio51", "gpio52";
2597 function = "qup12";
2598 };
2599 };
2600
2601 qup_uart13_default: qup-uart13-default {
2602 pinmux {
2603 pins = "gpio107", "gpio108";
2604 function = "qup13";
2605 };
2606 };
2607
2608 qup_uart14_default: qup-uart14-default {
2609 pinmux {
2610 pins = "gpio31", "gpio32";
2611 function = "qup14";
2612 };
2613 };
2614
2615 qup_uart15_default: qup-uart15-default {
2616 pinmux {
2617 pins = "gpio83", "gpio84";
2618 function = "qup15";
2619 };
2620 };
Srinivas Kandagatla606057b2020-03-12 14:30:23 +00002621
2622 quat_mi2s_sleep: quat_mi2s_sleep {
2623 mux {
2624 pins = "gpio58", "gpio59";
2625 function = "gpio";
2626 };
2627
2628 config {
2629 pins = "gpio58", "gpio59";
2630 drive-strength = <2>;
2631 bias-pull-down;
2632 input-enable;
2633 };
2634 };
2635
2636 quat_mi2s_active: quat_mi2s_active {
2637 mux {
2638 pins = "gpio58", "gpio59";
2639 function = "qua_mi2s";
2640 };
2641
2642 config {
2643 pins = "gpio58", "gpio59";
2644 drive-strength = <8>;
2645 bias-disable;
2646 output-high;
2647 };
2648 };
2649
2650 quat_mi2s_sd0_sleep: quat_mi2s_sd0_sleep {
2651 mux {
2652 pins = "gpio60";
2653 function = "gpio";
2654 };
2655
2656 config {
2657 pins = "gpio60";
2658 drive-strength = <2>;
2659 bias-pull-down;
2660 input-enable;
2661 };
2662 };
2663
2664 quat_mi2s_sd0_active: quat_mi2s_sd0_active {
2665 mux {
2666 pins = "gpio60";
2667 function = "qua_mi2s";
2668 };
2669
2670 config {
2671 pins = "gpio60";
2672 drive-strength = <8>;
2673 bias-disable;
2674 };
2675 };
2676
2677 quat_mi2s_sd1_sleep: quat_mi2s_sd1_sleep {
2678 mux {
2679 pins = "gpio61";
2680 function = "gpio";
2681 };
2682
2683 config {
2684 pins = "gpio61";
2685 drive-strength = <2>;
2686 bias-pull-down;
2687 input-enable;
2688 };
2689 };
2690
2691 quat_mi2s_sd1_active: quat_mi2s_sd1_active {
2692 mux {
2693 pins = "gpio61";
2694 function = "qua_mi2s";
2695 };
2696
2697 config {
2698 pins = "gpio61";
2699 drive-strength = <8>;
2700 bias-disable;
2701 };
2702 };
2703
2704 quat_mi2s_sd2_sleep: quat_mi2s_sd2_sleep {
2705 mux {
2706 pins = "gpio62";
2707 function = "gpio";
2708 };
2709
2710 config {
2711 pins = "gpio62";
2712 drive-strength = <2>;
2713 bias-pull-down;
2714 input-enable;
2715 };
2716 };
2717
2718 quat_mi2s_sd2_active: quat_mi2s_sd2_active {
2719 mux {
2720 pins = "gpio62";
2721 function = "qua_mi2s";
2722 };
2723
2724 config {
2725 pins = "gpio62";
2726 drive-strength = <8>;
2727 bias-disable;
2728 };
2729 };
2730
2731 quat_mi2s_sd3_sleep: quat_mi2s_sd3_sleep {
2732 mux {
2733 pins = "gpio63";
2734 function = "gpio";
2735 };
2736
2737 config {
2738 pins = "gpio63";
2739 drive-strength = <2>;
2740 bias-pull-down;
2741 input-enable;
2742 };
2743 };
2744
2745 quat_mi2s_sd3_active: quat_mi2s_sd3_active {
2746 mux {
2747 pins = "gpio63";
2748 function = "qua_mi2s";
2749 };
2750
2751 config {
2752 pins = "gpio63";
2753 drive-strength = <8>;
2754 bias-disable;
2755 };
2756 };
Douglas Anderson54d7a202018-05-14 20:59:22 -07002757 };
2758
Sibi Sankare76c3672019-06-11 21:45:36 -07002759 mss_pil: remoteproc@4080000 {
2760 compatible = "qcom,sdm845-mss-pil";
2761 reg = <0 0x04080000 0 0x408>, <0 0x04180000 0 0x48>;
2762 reg-names = "qdsp6", "rmb";
2763
2764 interrupts-extended =
2765 <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,
2766 <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2767 <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
2768 <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
2769 <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
2770 <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
2771 interrupt-names = "wdog", "fatal", "ready",
2772 "handover", "stop-ack",
2773 "shutdown-ack";
2774
2775 clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
2776 <&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
2777 <&gcc GCC_BOOT_ROM_AHB_CLK>,
2778 <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
2779 <&gcc GCC_MSS_SNOC_AXI_CLK>,
2780 <&gcc GCC_MSS_MFAB_AXIS_CLK>,
2781 <&gcc GCC_PRNG_AHB_CLK>,
2782 <&rpmhcc RPMH_CXO_CLK>;
2783 clock-names = "iface", "bus", "mem", "gpll0_mss",
2784 "snoc_axi", "mnoc_axi", "prng", "xo";
2785
2786 qcom,smem-states = <&modem_smp2p_out 0>;
2787 qcom,smem-state-names = "stop";
2788
2789 resets = <&aoss_reset AOSS_CC_MSS_RESTART>,
2790 <&pdc_reset PDC_MODEM_SYNC_RESET>;
2791 reset-names = "mss_restart", "pdc_reset";
2792
2793 qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>;
2794
2795 power-domains = <&aoss_qmp 2>,
2796 <&rpmhpd SDM845_CX>,
2797 <&rpmhpd SDM845_MX>,
2798 <&rpmhpd SDM845_MSS>;
2799 power-domain-names = "load_state", "cx", "mx", "mss";
2800
2801 mba {
2802 memory-region = <&mba_region>;
2803 };
2804
2805 mpss {
2806 memory-region = <&mpss_region>;
2807 };
2808
2809 glink-edge {
2810 interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
2811 label = "modem";
2812 qcom,remote-pid = <1>;
2813 mboxes = <&apss_shared 12>;
2814 };
2815 };
2816
Douglas Anderson9aa4a272018-11-28 10:57:43 -08002817 gpucc: clock-controller@5090000 {
2818 compatible = "qcom,sdm845-gpucc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002819 reg = <0 0x05090000 0 0x9000>;
Douglas Anderson9aa4a272018-11-28 10:57:43 -08002820 #clock-cells = <1>;
2821 #reset-cells = <1>;
2822 #power-domain-cells = <1>;
Douglas Andersonbb2bd9b2020-02-03 10:31:41 -08002823 clocks = <&rpmhcc RPMH_CXO_CLK>,
2824 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
2825 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
2826 clock-names = "bi_tcxo",
2827 "gcc_gpu_gpll0_clk_src",
2828 "gcc_gpu_gpll0_div_clk_src";
Douglas Anderson9aa4a272018-11-28 10:57:43 -08002829 };
2830
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05302831 stm@6002000 {
2832 compatible = "arm,coresight-stm", "arm,primecell";
2833 reg = <0 0x06002000 0 0x1000>,
2834 <0 0x16280000 0 0x180000>;
2835 reg-names = "stm-base", "stm-stimulus-base";
2836
2837 clocks = <&aoss_qmp>;
2838 clock-names = "apb_pclk";
2839
2840 out-ports {
2841 port {
2842 stm_out: endpoint {
2843 remote-endpoint =
2844 <&funnel0_in7>;
2845 };
2846 };
2847 };
2848 };
2849
2850 funnel@6041000 {
2851 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2852 reg = <0 0x06041000 0 0x1000>;
2853
2854 clocks = <&aoss_qmp>;
2855 clock-names = "apb_pclk";
2856
2857 out-ports {
2858 port {
2859 funnel0_out: endpoint {
2860 remote-endpoint =
2861 <&merge_funnel_in0>;
2862 };
2863 };
2864 };
2865
2866 in-ports {
2867 #address-cells = <1>;
2868 #size-cells = <0>;
2869
2870 port@7 {
2871 reg = <7>;
2872 funnel0_in7: endpoint {
2873 remote-endpoint = <&stm_out>;
2874 };
2875 };
2876 };
2877 };
2878
2879 funnel@6043000 {
2880 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2881 reg = <0 0x06043000 0 0x1000>;
2882
2883 clocks = <&aoss_qmp>;
2884 clock-names = "apb_pclk";
2885
2886 out-ports {
2887 port {
2888 funnel2_out: endpoint {
2889 remote-endpoint =
2890 <&merge_funnel_in2>;
2891 };
2892 };
2893 };
2894
2895 in-ports {
2896 #address-cells = <1>;
2897 #size-cells = <0>;
2898
2899 port@5 {
2900 reg = <5>;
2901 funnel2_in5: endpoint {
2902 remote-endpoint =
2903 <&apss_merge_funnel_out>;
2904 };
2905 };
2906 };
2907 };
2908
2909 funnel@6045000 {
2910 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2911 reg = <0 0x06045000 0 0x1000>;
2912
2913 clocks = <&aoss_qmp>;
2914 clock-names = "apb_pclk";
2915
2916 out-ports {
2917 port {
2918 merge_funnel_out: endpoint {
2919 remote-endpoint = <&etf_in>;
2920 };
2921 };
2922 };
2923
2924 in-ports {
2925 #address-cells = <1>;
2926 #size-cells = <0>;
2927
2928 port@0 {
2929 reg = <0>;
2930 merge_funnel_in0: endpoint {
2931 remote-endpoint =
2932 <&funnel0_out>;
2933 };
2934 };
2935
2936 port@2 {
2937 reg = <2>;
2938 merge_funnel_in2: endpoint {
2939 remote-endpoint =
2940 <&funnel2_out>;
2941 };
2942 };
2943 };
2944 };
2945
2946 replicator@6046000 {
2947 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
2948 reg = <0 0x06046000 0 0x1000>;
2949
2950 clocks = <&aoss_qmp>;
2951 clock-names = "apb_pclk";
2952
2953 out-ports {
2954 port {
2955 replicator_out: endpoint {
2956 remote-endpoint = <&etr_in>;
2957 };
2958 };
2959 };
2960
2961 in-ports {
2962 port {
2963 replicator_in: endpoint {
2964 remote-endpoint = <&etf_out>;
2965 };
2966 };
2967 };
2968 };
2969
2970 etf@6047000 {
2971 compatible = "arm,coresight-tmc", "arm,primecell";
2972 reg = <0 0x06047000 0 0x1000>;
2973
2974 clocks = <&aoss_qmp>;
2975 clock-names = "apb_pclk";
2976
2977 out-ports {
2978 port {
2979 etf_out: endpoint {
2980 remote-endpoint =
2981 <&replicator_in>;
2982 };
2983 };
2984 };
2985
2986 in-ports {
2987 #address-cells = <1>;
2988 #size-cells = <0>;
2989
2990 port@1 {
2991 reg = <1>;
2992 etf_in: endpoint {
2993 remote-endpoint =
2994 <&merge_funnel_out>;
2995 };
2996 };
2997 };
2998 };
2999
3000 etr@6048000 {
3001 compatible = "arm,coresight-tmc", "arm,primecell";
3002 reg = <0 0x06048000 0 0x1000>;
3003
3004 clocks = <&aoss_qmp>;
3005 clock-names = "apb_pclk";
3006 arm,scatter-gather;
3007
3008 in-ports {
3009 port {
3010 etr_in: endpoint {
3011 remote-endpoint =
3012 <&replicator_out>;
3013 };
3014 };
3015 };
3016 };
3017
3018 etm@7040000 {
3019 compatible = "arm,coresight-etm4x", "arm,primecell";
3020 reg = <0 0x07040000 0 0x1000>;
3021
3022 cpu = <&CPU0>;
3023
3024 clocks = <&aoss_qmp>;
3025 clock-names = "apb_pclk";
Sai Prakash Ranjan4a183022020-07-21 12:43:43 +05303026 arm,coresight-loses-context-with-cpu;
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05303027
3028 out-ports {
3029 port {
3030 etm0_out: endpoint {
3031 remote-endpoint =
3032 <&apss_funnel_in0>;
3033 };
3034 };
3035 };
3036 };
3037
3038 etm@7140000 {
3039 compatible = "arm,coresight-etm4x", "arm,primecell";
3040 reg = <0 0x07140000 0 0x1000>;
3041
3042 cpu = <&CPU1>;
3043
3044 clocks = <&aoss_qmp>;
3045 clock-names = "apb_pclk";
Sai Prakash Ranjan4a183022020-07-21 12:43:43 +05303046 arm,coresight-loses-context-with-cpu;
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05303047
3048 out-ports {
3049 port {
3050 etm1_out: endpoint {
3051 remote-endpoint =
3052 <&apss_funnel_in1>;
3053 };
3054 };
3055 };
3056 };
3057
3058 etm@7240000 {
3059 compatible = "arm,coresight-etm4x", "arm,primecell";
3060 reg = <0 0x07240000 0 0x1000>;
3061
3062 cpu = <&CPU2>;
3063
3064 clocks = <&aoss_qmp>;
3065 clock-names = "apb_pclk";
Sai Prakash Ranjan4a183022020-07-21 12:43:43 +05303066 arm,coresight-loses-context-with-cpu;
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05303067
3068 out-ports {
3069 port {
3070 etm2_out: endpoint {
3071 remote-endpoint =
3072 <&apss_funnel_in2>;
3073 };
3074 };
3075 };
3076 };
3077
3078 etm@7340000 {
3079 compatible = "arm,coresight-etm4x", "arm,primecell";
3080 reg = <0 0x07340000 0 0x1000>;
3081
3082 cpu = <&CPU3>;
3083
3084 clocks = <&aoss_qmp>;
3085 clock-names = "apb_pclk";
Sai Prakash Ranjan4a183022020-07-21 12:43:43 +05303086 arm,coresight-loses-context-with-cpu;
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05303087
3088 out-ports {
3089 port {
3090 etm3_out: endpoint {
3091 remote-endpoint =
3092 <&apss_funnel_in3>;
3093 };
3094 };
3095 };
3096 };
3097
3098 etm@7440000 {
3099 compatible = "arm,coresight-etm4x", "arm,primecell";
3100 reg = <0 0x07440000 0 0x1000>;
3101
3102 cpu = <&CPU4>;
3103
3104 clocks = <&aoss_qmp>;
3105 clock-names = "apb_pclk";
Sai Prakash Ranjan4a183022020-07-21 12:43:43 +05303106 arm,coresight-loses-context-with-cpu;
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05303107
3108 out-ports {
3109 port {
3110 etm4_out: endpoint {
3111 remote-endpoint =
3112 <&apss_funnel_in4>;
3113 };
3114 };
3115 };
3116 };
3117
3118 etm@7540000 {
3119 compatible = "arm,coresight-etm4x", "arm,primecell";
3120 reg = <0 0x07540000 0 0x1000>;
3121
3122 cpu = <&CPU5>;
3123
3124 clocks = <&aoss_qmp>;
3125 clock-names = "apb_pclk";
Sai Prakash Ranjan4a183022020-07-21 12:43:43 +05303126 arm,coresight-loses-context-with-cpu;
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05303127
3128 out-ports {
3129 port {
3130 etm5_out: endpoint {
3131 remote-endpoint =
3132 <&apss_funnel_in5>;
3133 };
3134 };
3135 };
3136 };
3137
3138 etm@7640000 {
3139 compatible = "arm,coresight-etm4x", "arm,primecell";
3140 reg = <0 0x07640000 0 0x1000>;
3141
3142 cpu = <&CPU6>;
3143
3144 clocks = <&aoss_qmp>;
3145 clock-names = "apb_pclk";
Sai Prakash Ranjan4a183022020-07-21 12:43:43 +05303146 arm,coresight-loses-context-with-cpu;
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05303147
3148 out-ports {
3149 port {
3150 etm6_out: endpoint {
3151 remote-endpoint =
3152 <&apss_funnel_in6>;
3153 };
3154 };
3155 };
3156 };
3157
3158 etm@7740000 {
3159 compatible = "arm,coresight-etm4x", "arm,primecell";
3160 reg = <0 0x07740000 0 0x1000>;
3161
3162 cpu = <&CPU7>;
3163
3164 clocks = <&aoss_qmp>;
3165 clock-names = "apb_pclk";
Sai Prakash Ranjan4a183022020-07-21 12:43:43 +05303166 arm,coresight-loses-context-with-cpu;
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05303167
3168 out-ports {
3169 port {
3170 etm7_out: endpoint {
3171 remote-endpoint =
3172 <&apss_funnel_in7>;
3173 };
3174 };
3175 };
3176 };
3177
3178 funnel@7800000 { /* APSS Funnel */
3179 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3180 reg = <0 0x07800000 0 0x1000>;
3181
3182 clocks = <&aoss_qmp>;
3183 clock-names = "apb_pclk";
3184
3185 out-ports {
3186 port {
3187 apss_funnel_out: endpoint {
3188 remote-endpoint =
3189 <&apss_merge_funnel_in>;
3190 };
3191 };
3192 };
3193
3194 in-ports {
3195 #address-cells = <1>;
3196 #size-cells = <0>;
3197
3198 port@0 {
3199 reg = <0>;
3200 apss_funnel_in0: endpoint {
3201 remote-endpoint =
3202 <&etm0_out>;
3203 };
3204 };
3205
3206 port@1 {
3207 reg = <1>;
3208 apss_funnel_in1: endpoint {
3209 remote-endpoint =
3210 <&etm1_out>;
3211 };
3212 };
3213
3214 port@2 {
3215 reg = <2>;
3216 apss_funnel_in2: endpoint {
3217 remote-endpoint =
3218 <&etm2_out>;
3219 };
3220 };
3221
3222 port@3 {
3223 reg = <3>;
3224 apss_funnel_in3: endpoint {
3225 remote-endpoint =
3226 <&etm3_out>;
3227 };
3228 };
3229
3230 port@4 {
3231 reg = <4>;
3232 apss_funnel_in4: endpoint {
3233 remote-endpoint =
3234 <&etm4_out>;
3235 };
3236 };
3237
3238 port@5 {
3239 reg = <5>;
3240 apss_funnel_in5: endpoint {
3241 remote-endpoint =
3242 <&etm5_out>;
3243 };
3244 };
3245
3246 port@6 {
3247 reg = <6>;
3248 apss_funnel_in6: endpoint {
3249 remote-endpoint =
3250 <&etm6_out>;
3251 };
3252 };
3253
3254 port@7 {
3255 reg = <7>;
3256 apss_funnel_in7: endpoint {
3257 remote-endpoint =
3258 <&etm7_out>;
3259 };
3260 };
3261 };
3262 };
3263
3264 funnel@7810000 {
3265 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3266 reg = <0 0x07810000 0 0x1000>;
3267
3268 clocks = <&aoss_qmp>;
3269 clock-names = "apb_pclk";
3270
3271 out-ports {
3272 port {
3273 apss_merge_funnel_out: endpoint {
3274 remote-endpoint =
3275 <&funnel2_in5>;
3276 };
3277 };
3278 };
3279
3280 in-ports {
3281 port {
3282 apss_merge_funnel_in: endpoint {
3283 remote-endpoint =
3284 <&apss_funnel_out>;
3285 };
3286 };
3287 };
3288 };
3289
Evan Green67d62e52018-12-06 10:45:21 -08003290 sdhc_2: sdhci@8804000 {
3291 compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003292 reg = <0 0x08804000 0 0x1000>;
Evan Green67d62e52018-12-06 10:45:21 -08003293
3294 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
3295 <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
3296 interrupt-names = "hc_irq", "pwr_irq";
3297
3298 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
3299 <&gcc GCC_SDCC2_APPS_CLK>;
3300 clock-names = "iface", "core";
Bjorn Andersson55fae1d2019-02-04 16:54:52 -08003301 iommus = <&apps_smmu 0xa0 0xf>;
Rajendra Nayak6123e742020-06-30 14:15:11 +05303302 power-domains = <&rpmhpd SDM845_CX>;
3303 operating-points-v2 = <&sdhc2_opp_table>;
Evan Green67d62e52018-12-06 10:45:21 -08003304
3305 status = "disabled";
Rajendra Nayak6123e742020-06-30 14:15:11 +05303306
3307 sdhc2_opp_table: sdhc2-opp-table {
3308 compatible = "operating-points-v2";
3309
3310 opp-9600000 {
3311 opp-hz = /bits/ 64 <9600000>;
3312 required-opps = <&rpmhpd_opp_min_svs>;
3313 };
3314
3315 opp-19200000 {
3316 opp-hz = /bits/ 64 <19200000>;
3317 required-opps = <&rpmhpd_opp_low_svs>;
3318 };
3319
3320 opp-100000000 {
3321 opp-hz = /bits/ 64 <100000000>;
3322 required-opps = <&rpmhpd_opp_svs>;
3323 };
3324
3325 opp-201500000 {
3326 opp-hz = /bits/ 64 <201500000>;
3327 required-opps = <&rpmhpd_opp_svs_l1>;
3328 };
3329 };
Evan Green67d62e52018-12-06 10:45:21 -08003330 };
3331
Rajendra Nayak5b4de2f2020-07-03 15:11:32 +05303332 qspi_opp_table: qspi-opp-table {
3333 compatible = "operating-points-v2";
3334
3335 opp-19200000 {
3336 opp-hz = /bits/ 64 <19200000>;
3337 required-opps = <&rpmhpd_opp_min_svs>;
3338 };
3339
3340 opp-100000000 {
3341 opp-hz = /bits/ 64 <100000000>;
3342 required-opps = <&rpmhpd_opp_low_svs>;
3343 };
3344
3345 opp-150000000 {
3346 opp-hz = /bits/ 64 <150000000>;
3347 required-opps = <&rpmhpd_opp_svs>;
3348 };
3349
3350 opp-300000000 {
3351 opp-hz = /bits/ 64 <300000000>;
3352 required-opps = <&rpmhpd_opp_nom>;
3353 };
3354 };
3355
Douglas Andersone1ce8532018-10-08 13:17:11 -07003356 qspi: spi@88df000 {
3357 compatible = "qcom,sdm845-qspi", "qcom,qspi-v1";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003358 reg = <0 0x088df000 0 0x600>;
Douglas Andersone1ce8532018-10-08 13:17:11 -07003359 #address-cells = <1>;
3360 #size-cells = <0>;
3361 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
3362 clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
3363 <&gcc GCC_QSPI_CORE_CLK>;
3364 clock-names = "iface", "core";
Rajendra Nayak5b4de2f2020-07-03 15:11:32 +05303365 power-domains = <&rpmhpd SDM845_CX>;
3366 operating-points-v2 = <&qspi_opp_table>;
Douglas Andersone1ce8532018-10-08 13:17:11 -07003367 status = "disabled";
3368 };
3369
Srinivas Kandagatla27ca1de2020-03-12 14:30:20 +00003370 slim: slim@171c0000 {
3371 compatible = "qcom,slim-ngd-v2.1.0";
3372 reg = <0 0x171c0000 0 0x2c000>;
3373 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
3374
3375 qcom,apps-ch-pipes = <0x780000>;
3376 qcom,ea-pc = <0x270>;
3377 status = "okay";
3378 dmas = <&slimbam 3>, <&slimbam 4>,
3379 <&slimbam 5>, <&slimbam 6>;
3380 dma-names = "rx", "tx", "tx2", "rx2";
3381
3382 iommus = <&apps_smmu 0x1806 0x0>;
3383 #address-cells = <1>;
3384 #size-cells = <0>;
3385
3386 ngd@1 {
3387 reg = <1>;
3388 #address-cells = <2>;
3389 #size-cells = <0>;
3390
3391 wcd9340_ifd: ifd@0{
3392 compatible = "slim217,250";
3393 reg = <0 0>;
3394 };
3395
3396 wcd9340: codec@1{
3397 compatible = "slim217,250";
3398 reg = <1 0>;
3399 slim-ifc-dev = <&wcd9340_ifd>;
3400
3401 #sound-dai-cells = <1>;
3402
3403 interrupts-extended = <&tlmm 54 IRQ_TYPE_LEVEL_HIGH>;
3404 interrupt-controller;
3405 #interrupt-cells = <1>;
3406
3407 #clock-cells = <0>;
3408 clock-frequency = <9600000>;
3409 clock-output-names = "mclk";
3410 qcom,micbias1-millivolt = <1800>;
3411 qcom,micbias2-millivolt = <1800>;
3412 qcom,micbias3-millivolt = <1800>;
3413 qcom,micbias4-millivolt = <1800>;
3414
3415 #address-cells = <1>;
3416 #size-cells = <1>;
3417
3418 wcdgpio: gpio-controller@42 {
3419 compatible = "qcom,wcd9340-gpio";
3420 gpio-controller;
3421 #gpio-cells = <2>;
3422 reg = <0x42 0x2>;
3423 };
3424
3425 swm: swm@c85 {
3426 compatible = "qcom,soundwire-v1.3.0";
3427 reg = <0xc85 0x40>;
3428 interrupts-extended = <&wcd9340 20>;
3429
3430 qcom,dout-ports = <6>;
3431 qcom,din-ports = <2>;
3432 qcom,ports-sinterval-low =/bits/ 8 <0x07 0x1F 0x3F 0x7 0x1F 0x3F 0x0F 0x0F>;
3433 qcom,ports-offset1 = /bits/ 8 <0x01 0x02 0x0C 0x6 0x12 0x0D 0x07 0x0A >;
3434 qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x1F 0x00 0x00 0x1F 0x00 0x00>;
3435
3436 #sound-dai-cells = <1>;
3437 clocks = <&wcd9340>;
3438 clock-names = "iface";
3439 #address-cells = <2>;
3440 #size-cells = <0>;
3441
3442
3443 };
3444 };
3445 };
3446 };
3447
3448 sound: sound {
3449 };
3450
Manu Gautamca4db2b2018-08-22 10:36:27 -07003451 usb_1_hsphy: phy@88e2000 {
Sandeep Maheswaramd724b422020-03-09 15:23:08 +05303452 compatible = "qcom,sdm845-qusb2-phy", "qcom,qusb2-v2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003453 reg = <0 0x088e2000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003454 status = "disabled";
3455 #phy-cells = <0>;
3456
3457 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3458 <&rpmhcc RPMH_CXO_CLK>;
3459 clock-names = "cfg_ahb", "ref";
3460
3461 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
3462
3463 nvmem-cells = <&qusb2p_hstx_trim>;
3464 };
3465
3466 usb_2_hsphy: phy@88e3000 {
Sandeep Maheswaramd724b422020-03-09 15:23:08 +05303467 compatible = "qcom,sdm845-qusb2-phy", "qcom,qusb2-v2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003468 reg = <0 0x088e3000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003469 status = "disabled";
3470 #phy-cells = <0>;
3471
3472 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3473 <&rpmhcc RPMH_CXO_CLK>;
3474 clock-names = "cfg_ahb", "ref";
3475
3476 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
3477
3478 nvmem-cells = <&qusb2s_hstx_trim>;
3479 };
3480
3481 usb_1_qmpphy: phy@88e9000 {
3482 compatible = "qcom,sdm845-qmp-usb3-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003483 reg = <0 0x088e9000 0 0x18c>,
3484 <0 0x088e8000 0 0x10>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003485 reg-names = "reg-base", "dp_com";
3486 status = "disabled";
3487 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003488 #address-cells = <2>;
3489 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003490 ranges;
3491
3492 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
3493 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3494 <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
3495 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
3496 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
3497
3498 resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
3499 <&gcc GCC_USB3_PHY_PRIM_BCR>;
3500 reset-names = "phy", "common";
3501
Evan Green9ebfcba2018-12-10 11:28:26 -08003502 usb_1_ssphy: lanes@88e9200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003503 reg = <0 0x088e9200 0 0x128>,
3504 <0 0x088e9400 0 0x200>,
3505 <0 0x088e9c00 0 0x218>,
3506 <0 0x088e9600 0 0x128>,
3507 <0 0x088e9800 0 0x200>,
3508 <0 0x088e9a00 0 0x100>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003509 #phy-cells = <0>;
3510 clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
3511 clock-names = "pipe0";
3512 clock-output-names = "usb3_phy_pipe_clk_src";
3513 };
3514 };
3515
3516 usb_2_qmpphy: phy@88eb000 {
3517 compatible = "qcom,sdm845-qmp-usb3-uni-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003518 reg = <0 0x088eb000 0 0x18c>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003519 status = "disabled";
3520 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003521 #address-cells = <2>;
3522 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003523 ranges;
3524
3525 clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
3526 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3527 <&gcc GCC_USB3_SEC_CLKREF_CLK>,
3528 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
3529 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
3530
3531 resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
3532 <&gcc GCC_USB3_PHY_SEC_BCR>;
3533 reset-names = "phy", "common";
3534
3535 usb_2_ssphy: lane@88eb200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003536 reg = <0 0x088eb200 0 0x128>,
3537 <0 0x088eb400 0 0x1fc>,
3538 <0 0x088eb800 0 0x218>,
3539 <0 0x088eb600 0 0x70>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003540 #phy-cells = <0>;
3541 clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
3542 clock-names = "pipe0";
3543 clock-output-names = "usb3_uni_phy_pipe_clk_src";
3544 };
3545 };
3546
3547 usb_1: usb@a6f8800 {
3548 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003549 reg = <0 0x0a6f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003550 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003551 #address-cells = <2>;
3552 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003553 ranges;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08003554 dma-ranges;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003555
3556 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
3557 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
3558 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
3559 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
3560 <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
3561 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
3562 "sleep";
3563
3564 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
3565 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
3566 assigned-clock-rates = <19200000>, <150000000>;
3567
3568 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
3569 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
3570 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
3571 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
3572 interrupt-names = "hs_phy_irq", "ss_phy_irq",
3573 "dm_hs_phy_irq", "dp_hs_phy_irq";
3574
3575 power-domains = <&gcc USB30_PRIM_GDSC>;
3576
3577 resets = <&gcc GCC_USB30_PRIM_BCR>;
3578
Georgi Djakov7901c2b2020-09-03 16:31:32 +03003579 interconnects = <&aggre2_noc MASTER_USB3_0 0 &mem_noc SLAVE_EBI1 0>,
3580 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_0 0>;
Sandeep Maheswaram11a8b112020-04-01 10:45:44 +05303581 interconnect-names = "usb-ddr", "apps-usb";
3582
Manu Gautamca4db2b2018-08-22 10:36:27 -07003583 usb_1_dwc3: dwc3@a600000 {
3584 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003585 reg = <0 0x0a600000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003586 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08003587 iommus = <&apps_smmu 0x740 0>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003588 snps,dis_u2_susphy_quirk;
3589 snps,dis_enblslpm_quirk;
3590 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
3591 phy-names = "usb2-phy", "usb3-phy";
3592 };
3593 };
3594
3595 usb_2: usb@a8f8800 {
3596 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003597 reg = <0 0x0a8f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003598 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003599 #address-cells = <2>;
3600 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003601 ranges;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08003602 dma-ranges;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003603
3604 clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
3605 <&gcc GCC_USB30_SEC_MASTER_CLK>,
3606 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
3607 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
3608 <&gcc GCC_USB30_SEC_SLEEP_CLK>;
3609 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
3610 "sleep";
3611
3612 assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
3613 <&gcc GCC_USB30_SEC_MASTER_CLK>;
3614 assigned-clock-rates = <19200000>, <150000000>;
3615
3616 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
3617 <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>,
3618 <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>,
3619 <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
3620 interrupt-names = "hs_phy_irq", "ss_phy_irq",
3621 "dm_hs_phy_irq", "dp_hs_phy_irq";
3622
3623 power-domains = <&gcc USB30_SEC_GDSC>;
3624
3625 resets = <&gcc GCC_USB30_SEC_BCR>;
3626
Georgi Djakov7901c2b2020-09-03 16:31:32 +03003627 interconnects = <&aggre2_noc MASTER_USB3_1 0 &mem_noc SLAVE_EBI1 0>,
3628 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_1 0>;
Sandeep Maheswaram11a8b112020-04-01 10:45:44 +05303629 interconnect-names = "usb-ddr", "apps-usb";
3630
Manu Gautamca4db2b2018-08-22 10:36:27 -07003631 usb_2_dwc3: dwc3@a800000 {
3632 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003633 reg = <0 0x0a800000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003634 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08003635 iommus = <&apps_smmu 0x760 0>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003636 snps,dis_u2_susphy_quirk;
3637 snps,dis_enblslpm_quirk;
3638 phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
3639 phy-names = "usb2-phy", "usb3-phy";
3640 };
3641 };
3642
Alexandre Courbot48a05852020-01-08 12:26:23 +09003643 venus: video-codec@aa00000 {
Stanimir Varbanov12227832020-01-06 17:49:28 +02003644 compatible = "qcom,sdm845-venus-v2";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303645 reg = <0 0x0aa00000 0 0xff000>;
3646 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
Stanimir Varbanov12227832020-01-06 17:49:28 +02003647 power-domains = <&videocc VENUS_GDSC>,
3648 <&videocc VCODEC0_GDSC>,
Rajendra Nayak13715482020-09-01 19:50:25 +05303649 <&videocc VCODEC1_GDSC>,
3650 <&rpmhpd SDM845_CX>;
3651 power-domain-names = "venus", "vcodec0", "vcodec1", "cx";
3652 operating-points-v2 = <&venus_opp_table>;
Malathi Gottam36a80df2019-07-02 17:42:29 +05303653 clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
3654 <&videocc VIDEO_CC_VENUS_AHB_CLK>,
Stanimir Varbanov12227832020-01-06 17:49:28 +02003655 <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>,
3656 <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
3657 <&videocc VIDEO_CC_VCODEC0_AXI_CLK>,
3658 <&videocc VIDEO_CC_VCODEC1_CORE_CLK>,
3659 <&videocc VIDEO_CC_VCODEC1_AXI_CLK>;
3660 clock-names = "core", "iface", "bus",
3661 "vcodec0_core", "vcodec0_bus",
3662 "vcodec1_core", "vcodec1_bus";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303663 iommus = <&apps_smmu 0x10a0 0x8>,
3664 <&apps_smmu 0x10b0 0x0>;
3665 memory-region = <&venus_mem>;
Stanimir Varbanovc422aa82020-11-02 13:35:29 +02003666 interconnects = <&mmss_noc MASTER_VIDEO_P0 0 &mem_noc SLAVE_EBI1 0>,
3667 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_VENUS_CFG 0>;
3668 interconnect-names = "video-mem", "cpu-cfg";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303669
3670 video-core0 {
3671 compatible = "venus-decoder";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303672 };
3673
3674 video-core1 {
3675 compatible = "venus-encoder";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303676 };
Rajendra Nayak13715482020-09-01 19:50:25 +05303677
3678 venus_opp_table: venus-opp-table {
3679 compatible = "operating-points-v2";
3680
3681 opp-100000000 {
3682 opp-hz = /bits/ 64 <100000000>;
3683 required-opps = <&rpmhpd_opp_min_svs>;
3684 };
3685
3686 opp-200000000 {
3687 opp-hz = /bits/ 64 <200000000>;
3688 required-opps = <&rpmhpd_opp_low_svs>;
3689 };
3690
3691 opp-320000000 {
3692 opp-hz = /bits/ 64 <320000000>;
3693 required-opps = <&rpmhpd_opp_svs>;
3694 };
3695
3696 opp-380000000 {
3697 opp-hz = /bits/ 64 <380000000>;
3698 required-opps = <&rpmhpd_opp_svs_l1>;
3699 };
3700
3701 opp-444000000 {
3702 opp-hz = /bits/ 64 <444000000>;
3703 required-opps = <&rpmhpd_opp_nom>;
3704 };
3705
3706 opp-533000097 {
3707 opp-hz = /bits/ 64 <533000097>;
3708 required-opps = <&rpmhpd_opp_turbo>;
3709 };
3710 };
Malathi Gottam36a80df2019-07-02 17:42:29 +05303711 };
3712
Taniya Das05556682018-12-03 11:36:29 -08003713 videocc: clock-controller@ab00000 {
3714 compatible = "qcom,sdm845-videocc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003715 reg = <0 0x0ab00000 0 0x10000>;
Douglas Andersonaf85ef12020-02-03 10:31:47 -08003716 clocks = <&rpmhcc RPMH_CXO_CLK>;
3717 clock-names = "bi_tcxo";
Taniya Das05556682018-12-03 11:36:29 -08003718 #clock-cells = <1>;
3719 #power-domain-cells = <1>;
3720 #reset-cells = <1>;
3721 };
3722
Robert Foss07484de2020-03-24 16:58:39 +01003723 cci: cci@ac4a000 {
3724 compatible = "qcom,sdm845-cci";
3725 #address-cells = <1>;
3726 #size-cells = <0>;
3727
3728 reg = <0 0x0ac4a000 0 0x4000>;
3729 interrupts = <GIC_SPI 460 IRQ_TYPE_EDGE_RISING>;
3730 power-domains = <&clock_camcc TITAN_TOP_GDSC>;
3731
3732 clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>,
3733 <&clock_camcc CAM_CC_SOC_AHB_CLK>,
3734 <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>,
3735 <&clock_camcc CAM_CC_CPAS_AHB_CLK>,
3736 <&clock_camcc CAM_CC_CCI_CLK>,
3737 <&clock_camcc CAM_CC_CCI_CLK_SRC>;
3738 clock-names = "camnoc_axi",
3739 "soc_ahb",
3740 "slow_ahb_src",
3741 "cpas_ahb",
3742 "cci",
3743 "cci_src";
3744
3745 assigned-clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>,
3746 <&clock_camcc CAM_CC_CCI_CLK>;
3747 assigned-clock-rates = <80000000>, <37500000>;
3748
3749 pinctrl-names = "default", "sleep";
3750 pinctrl-0 = <&cci0_default &cci1_default>;
3751 pinctrl-1 = <&cci0_sleep &cci1_sleep>;
3752
3753 status = "disabled";
3754
3755 cci_i2c0: i2c-bus@0 {
3756 reg = <0>;
3757 clock-frequency = <1000000>;
3758 #address-cells = <1>;
3759 #size-cells = <0>;
3760 };
3761
3762 cci_i2c1: i2c-bus@1 {
3763 reg = <1>;
3764 clock-frequency = <1000000>;
3765 #address-cells = <1>;
3766 #size-cells = <0>;
3767 };
3768 };
3769
3770 clock_camcc: clock-controller@ad00000 {
3771 compatible = "qcom,sdm845-camcc";
3772 reg = <0 0x0ad00000 0 0x10000>;
3773 #clock-cells = <1>;
3774 #reset-cells = <1>;
3775 #power-domain-cells = <1>;
3776 };
3777
Rajendra Nayak19ecbc82020-07-09 16:34:33 +05303778 dsi_opp_table: dsi-opp-table {
3779 compatible = "operating-points-v2";
3780
3781 opp-19200000 {
3782 opp-hz = /bits/ 64 <19200000>;
3783 required-opps = <&rpmhpd_opp_min_svs>;
3784 };
3785
3786 opp-180000000 {
3787 opp-hz = /bits/ 64 <180000000>;
3788 required-opps = <&rpmhpd_opp_low_svs>;
3789 };
3790
3791 opp-275000000 {
3792 opp-hz = /bits/ 64 <275000000>;
3793 required-opps = <&rpmhpd_opp_svs>;
3794 };
3795
3796 opp-328580000 {
3797 opp-hz = /bits/ 64 <328580000>;
3798 required-opps = <&rpmhpd_opp_svs_l1>;
3799 };
3800
3801 opp-358000000 {
3802 opp-hz = /bits/ 64 <358000000>;
3803 required-opps = <&rpmhpd_opp_nom>;
3804 };
3805 };
3806
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003807 mdss: mdss@ae00000 {
3808 compatible = "qcom,sdm845-mdss";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003809 reg = <0 0x0ae00000 0 0x1000>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003810 reg-names = "mdss";
3811
3812 power-domains = <&dispcc MDSS_GDSC>;
3813
3814 clocks = <&gcc GCC_DISP_AHB_CLK>,
3815 <&gcc GCC_DISP_AXI_CLK>,
3816 <&dispcc DISP_CC_MDSS_MDP_CLK>;
3817 clock-names = "iface", "bus", "core";
3818
3819 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>;
3820 assigned-clock-rates = <300000000>;
3821
3822 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
3823 interrupt-controller;
3824 #interrupt-cells = <1>;
3825
Georgi Djakovc8c61c02020-09-16 00:45:11 +03003826 interconnects = <&mmss_noc MASTER_MDP0 0 &mem_noc SLAVE_EBI1 0>,
3827 <&mmss_noc MASTER_MDP1 0 &mem_noc SLAVE_EBI1 0>;
3828 interconnect-names = "mdp0-mem", "mdp1-mem";
3829
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003830 iommus = <&apps_smmu 0x880 0x8>,
3831 <&apps_smmu 0xc80 0x8>;
3832
3833 status = "disabled";
3834
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003835 #address-cells = <2>;
3836 #size-cells = <2>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003837 ranges;
3838
3839 mdss_mdp: mdp@ae01000 {
3840 compatible = "qcom,sdm845-dpu";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003841 reg = <0 0x0ae01000 0 0x8f000>,
3842 <0 0x0aeb0000 0 0x2008>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003843 reg-names = "mdp", "vbif";
3844
3845 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
3846 <&dispcc DISP_CC_MDSS_AXI_CLK>,
3847 <&dispcc DISP_CC_MDSS_MDP_CLK>,
3848 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
3849 clock-names = "iface", "bus", "core", "vsync";
3850
3851 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>,
3852 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
3853 assigned-clock-rates = <300000000>,
3854 <19200000>;
Rajendra Nayak19ecbc82020-07-09 16:34:33 +05303855 operating-points-v2 = <&mdp_opp_table>;
3856 power-domains = <&rpmhpd SDM845_CX>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003857
3858 interrupt-parent = <&mdss>;
3859 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
3860
3861 status = "disabled";
3862
3863 ports {
3864 #address-cells = <1>;
3865 #size-cells = <0>;
3866
3867 port@0 {
3868 reg = <0>;
3869 dpu_intf1_out: endpoint {
3870 remote-endpoint = <&dsi0_in>;
3871 };
3872 };
3873
3874 port@1 {
3875 reg = <1>;
3876 dpu_intf2_out: endpoint {
3877 remote-endpoint = <&dsi1_in>;
3878 };
3879 };
3880 };
Rajendra Nayak19ecbc82020-07-09 16:34:33 +05303881
3882 mdp_opp_table: mdp-opp-table {
3883 compatible = "operating-points-v2";
3884
3885 opp-19200000 {
3886 opp-hz = /bits/ 64 <19200000>;
3887 required-opps = <&rpmhpd_opp_min_svs>;
3888 };
3889
3890 opp-171428571 {
3891 opp-hz = /bits/ 64 <171428571>;
3892 required-opps = <&rpmhpd_opp_low_svs>;
3893 };
3894
3895 opp-344000000 {
3896 opp-hz = /bits/ 64 <344000000>;
3897 required-opps = <&rpmhpd_opp_svs_l1>;
3898 };
3899
3900 opp-430000000 {
3901 opp-hz = /bits/ 64 <430000000>;
3902 required-opps = <&rpmhpd_opp_nom>;
3903 };
3904 };
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003905 };
3906
3907 dsi0: dsi@ae94000 {
3908 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003909 reg = <0 0x0ae94000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003910 reg-names = "dsi_ctrl";
3911
3912 interrupt-parent = <&mdss>;
3913 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
3914
3915 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
3916 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
3917 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
3918 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
3919 <&dispcc DISP_CC_MDSS_AHB_CLK>,
3920 <&dispcc DISP_CC_MDSS_AXI_CLK>;
3921 clock-names = "byte",
3922 "byte_intf",
3923 "pixel",
3924 "core",
3925 "iface",
3926 "bus";
Rajendra Nayak19ecbc82020-07-09 16:34:33 +05303927 operating-points-v2 = <&dsi_opp_table>;
3928 power-domains = <&rpmhpd SDM845_CX>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003929
3930 phys = <&dsi0_phy>;
3931 phy-names = "dsi";
3932
3933 status = "disabled";
3934
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003935 ports {
3936 #address-cells = <1>;
3937 #size-cells = <0>;
3938
3939 port@0 {
3940 reg = <0>;
3941 dsi0_in: endpoint {
3942 remote-endpoint = <&dpu_intf1_out>;
3943 };
3944 };
3945
3946 port@1 {
3947 reg = <1>;
3948 dsi0_out: endpoint {
3949 };
3950 };
3951 };
3952 };
3953
3954 dsi0_phy: dsi-phy@ae94400 {
3955 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003956 reg = <0 0x0ae94400 0 0x200>,
3957 <0 0x0ae94600 0 0x280>,
3958 <0 0x0ae94a00 0 0x1e0>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003959 reg-names = "dsi_phy",
3960 "dsi_phy_lane",
3961 "dsi_pll";
3962
3963 #clock-cells = <1>;
3964 #phy-cells = <0>;
3965
Matthias Kaehlcke0c0e7272018-12-19 15:55:27 -08003966 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
3967 <&rpmhcc RPMH_CXO_CLK>;
3968 clock-names = "iface", "ref";
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003969
3970 status = "disabled";
3971 };
3972
3973 dsi1: dsi@ae96000 {
3974 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003975 reg = <0 0x0ae96000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003976 reg-names = "dsi_ctrl";
3977
3978 interrupt-parent = <&mdss>;
3979 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
3980
3981 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
3982 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
3983 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
3984 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
3985 <&dispcc DISP_CC_MDSS_AHB_CLK>,
3986 <&dispcc DISP_CC_MDSS_AXI_CLK>;
3987 clock-names = "byte",
3988 "byte_intf",
3989 "pixel",
3990 "core",
3991 "iface",
3992 "bus";
Rajendra Nayak19ecbc82020-07-09 16:34:33 +05303993 operating-points-v2 = <&dsi_opp_table>;
3994 power-domains = <&rpmhpd SDM845_CX>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003995
3996 phys = <&dsi1_phy>;
3997 phy-names = "dsi";
3998
3999 status = "disabled";
4000
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08004001 ports {
4002 #address-cells = <1>;
4003 #size-cells = <0>;
4004
4005 port@0 {
4006 reg = <0>;
4007 dsi1_in: endpoint {
4008 remote-endpoint = <&dpu_intf2_out>;
4009 };
4010 };
4011
4012 port@1 {
4013 reg = <1>;
4014 dsi1_out: endpoint {
4015 };
4016 };
4017 };
4018 };
4019
4020 dsi1_phy: dsi-phy@ae96400 {
4021 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004022 reg = <0 0x0ae96400 0 0x200>,
4023 <0 0x0ae96600 0 0x280>,
4024 <0 0x0ae96a00 0 0x10e>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08004025 reg-names = "dsi_phy",
4026 "dsi_phy_lane",
4027 "dsi_pll";
4028
4029 #clock-cells = <1>;
4030 #phy-cells = <0>;
4031
Matthias Kaehlcke0c0e7272018-12-19 15:55:27 -08004032 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
4033 <&rpmhcc RPMH_CXO_CLK>;
4034 clock-names = "iface", "ref";
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08004035
4036 status = "disabled";
4037 };
4038 };
4039
Rob Clarkf489b132020-01-12 11:54:00 -08004040 gpu: gpu@5000000 {
Jordan Crousec7980012019-01-16 11:03:29 -07004041 compatible = "qcom,adreno-630.2", "qcom,adreno";
4042 #stream-id-cells = <16>;
4043
4044 reg = <0 0x5000000 0 0x40000>, <0 0x509e000 0 0x10>;
4045 reg-names = "kgsl_3d0_reg_memory", "cx_mem";
4046
4047 /*
4048 * Look ma, no clocks! The GPU clocks and power are
4049 * controlled entirely by the GMU
4050 */
4051
4052 interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
4053
4054 iommus = <&adreno_smmu 0>;
4055
4056 operating-points-v2 = <&gpu_opp_table>;
4057
4058 qcom,gmu = <&gmu>;
4059
Georgi Djakov7901c2b2020-09-03 16:31:32 +03004060 interconnects = <&mem_noc MASTER_GFX3D 0 &mem_noc SLAVE_EBI1 0>;
Sharat Masetty338bdbc2020-07-17 18:59:37 +05304061 interconnect-names = "gfx-mem";
4062
Jordan Crousec7980012019-01-16 11:03:29 -07004063 gpu_opp_table: opp-table {
4064 compatible = "operating-points-v2";
4065
4066 opp-710000000 {
4067 opp-hz = /bits/ 64 <710000000>;
4068 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
Sharat Masetty338bdbc2020-07-17 18:59:37 +05304069 opp-peak-kBps = <7216000>;
Jordan Crousec7980012019-01-16 11:03:29 -07004070 };
4071
4072 opp-675000000 {
4073 opp-hz = /bits/ 64 <675000000>;
4074 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
Sharat Masetty338bdbc2020-07-17 18:59:37 +05304075 opp-peak-kBps = <7216000>;
Jordan Crousec7980012019-01-16 11:03:29 -07004076 };
4077
4078 opp-596000000 {
4079 opp-hz = /bits/ 64 <596000000>;
4080 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
Sharat Masetty338bdbc2020-07-17 18:59:37 +05304081 opp-peak-kBps = <6220000>;
Jordan Crousec7980012019-01-16 11:03:29 -07004082 };
4083
4084 opp-520000000 {
4085 opp-hz = /bits/ 64 <520000000>;
4086 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
Sharat Masetty338bdbc2020-07-17 18:59:37 +05304087 opp-peak-kBps = <6220000>;
Jordan Crousec7980012019-01-16 11:03:29 -07004088 };
4089
4090 opp-414000000 {
4091 opp-hz = /bits/ 64 <414000000>;
4092 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
Sharat Masetty338bdbc2020-07-17 18:59:37 +05304093 opp-peak-kBps = <4068000>;
Jordan Crousec7980012019-01-16 11:03:29 -07004094 };
4095
4096 opp-342000000 {
4097 opp-hz = /bits/ 64 <342000000>;
4098 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
Sharat Masetty338bdbc2020-07-17 18:59:37 +05304099 opp-peak-kBps = <2724000>;
Jordan Crousec7980012019-01-16 11:03:29 -07004100 };
4101
4102 opp-257000000 {
4103 opp-hz = /bits/ 64 <257000000>;
4104 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
Sharat Masetty338bdbc2020-07-17 18:59:37 +05304105 opp-peak-kBps = <1648000>;
Jordan Crousec7980012019-01-16 11:03:29 -07004106 };
4107 };
4108 };
4109
4110 adreno_smmu: iommu@5040000 {
Jordan Crouse7e5258b2020-11-09 11:47:28 -07004111 compatible = "qcom,sdm845-smmu-v2", "qcom,adreno-smmu", "qcom,smmu-v2";
Jordan Crousec7980012019-01-16 11:03:29 -07004112 reg = <0 0x5040000 0 0x10000>;
4113 #iommu-cells = <1>;
4114 #global-interrupts = <2>;
4115 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>,
4116 <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>,
4117 <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
4118 <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
4119 <GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
4120 <GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
4121 <GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
4122 <GIC_SPI 369 IRQ_TYPE_EDGE_RISING>,
4123 <GIC_SPI 370 IRQ_TYPE_EDGE_RISING>,
4124 <GIC_SPI 371 IRQ_TYPE_EDGE_RISING>;
4125 clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
4126 <&gcc GCC_GPU_CFG_AHB_CLK>;
4127 clock-names = "bus", "iface";
4128
4129 power-domains = <&gpucc GPU_CX_GDSC>;
4130 };
4131
4132 gmu: gmu@506a000 {
4133 compatible="qcom,adreno-gmu-630.2", "qcom,adreno-gmu";
4134
4135 reg = <0 0x506a000 0 0x30000>,
4136 <0 0xb280000 0 0x10000>,
4137 <0 0xb480000 0 0x10000>;
4138 reg-names = "gmu", "gmu_pdc", "gmu_pdc_seq";
4139
4140 interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
4141 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
4142 interrupt-names = "hfi", "gmu";
4143
4144 clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
4145 <&gpucc GPU_CC_CXO_CLK>,
4146 <&gcc GCC_DDRSS_GPU_AXI_CLK>,
4147 <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
4148 clock-names = "gmu", "cxo", "axi", "memnoc";
4149
4150 power-domains = <&gpucc GPU_CX_GDSC>,
4151 <&gpucc GPU_GX_GDSC>;
4152 power-domain-names = "cx", "gx";
4153
4154 iommus = <&adreno_smmu 5>;
4155
4156 operating-points-v2 = <&gmu_opp_table>;
4157
4158 gmu_opp_table: opp-table {
4159 compatible = "operating-points-v2";
4160
4161 opp-400000000 {
4162 opp-hz = /bits/ 64 <400000000>;
4163 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
4164 };
4165
4166 opp-200000000 {
4167 opp-hz = /bits/ 64 <200000000>;
4168 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
4169 };
4170 };
4171 };
4172
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07004173 dispcc: clock-controller@af00000 {
4174 compatible = "qcom,sdm845-dispcc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004175 reg = <0 0x0af00000 0 0x10000>;
Douglas Anderson09978822020-02-03 10:31:36 -08004176 clocks = <&rpmhcc RPMH_CXO_CLK>,
4177 <&gcc GCC_DISP_GPLL0_CLK_SRC>,
4178 <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
4179 <&dsi0_phy 0>,
4180 <&dsi0_phy 1>,
4181 <&dsi1_phy 0>,
4182 <&dsi1_phy 1>,
4183 <0>,
4184 <0>;
4185 clock-names = "bi_tcxo",
4186 "gcc_disp_gpll0_clk_src",
4187 "gcc_disp_gpll0_div_clk_src",
4188 "dsi0_phy_pll_out_byteclk",
4189 "dsi0_phy_pll_out_dsiclk",
4190 "dsi1_phy_pll_out_byteclk",
4191 "dsi1_phy_pll_out_dsiclk",
4192 "dp_link_clk_divsel_ten",
4193 "dp_vco_divided_clk_src_mux";
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07004194 #clock-cells = <1>;
4195 #reset-cells = <1>;
4196 #power-domain-cells = <1>;
4197 };
4198
Lina Iyer72b67eb2019-11-15 15:11:53 -07004199 pdc_intc: interrupt-controller@b220000 {
4200 compatible = "qcom,sdm845-pdc", "qcom,pdc";
4201 reg = <0 0x0b220000 0 0x30000>;
4202 qcom,pdc-ranges = <0 480 94>, <94 609 15>, <115 630 7>;
4203 #interrupt-cells = <2>;
4204 interrupt-parent = <&intc>;
4205 interrupt-controller;
4206 };
4207
Sibi Sankar13393da2018-10-26 17:56:53 +05304208 pdc_reset: reset-controller@b2e0000 {
4209 compatible = "qcom,sdm845-pdc-global";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004210 reg = <0 0x0b2e0000 0 0x20000>;
Sibi Sankar13393da2018-10-26 17:56:53 +05304211 #reset-cells = <1>;
4212 };
4213
Amit Kucheriacda676b2018-07-18 12:13:13 +05304214 tsens0: thermal-sensor@c263000 {
4215 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004216 reg = <0 0x0c263000 0 0x1ff>, /* TM */
4217 <0 0x0c222000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05304218 #qcom,sensors = <13>;
Amit Kucheriae68ca6b2019-11-12 00:51:29 +05304219 interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
4220 <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
4221 interrupt-names = "uplow", "critical";
Amit Kucheriacda676b2018-07-18 12:13:13 +05304222 #thermal-sensor-cells = <1>;
4223 };
4224
4225 tsens1: thermal-sensor@c265000 {
4226 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004227 reg = <0 0x0c265000 0 0x1ff>, /* TM */
4228 <0 0x0c223000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05304229 #qcom,sensors = <8>;
Amit Kucheriae68ca6b2019-11-12 00:51:29 +05304230 interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
4231 <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
4232 interrupt-names = "uplow", "critical";
Amit Kucheriacda676b2018-07-18 12:13:13 +05304233 #thermal-sensor-cells = <1>;
4234 };
4235
Sibi Sankaread5eea2018-09-01 15:23:55 -07004236 aoss_reset: reset-controller@c2a0000 {
4237 compatible = "qcom,sdm845-aoss-cc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004238 reg = <0 0x0c2a0000 0 0x31000>;
Sibi Sankaread5eea2018-09-01 15:23:55 -07004239 #reset-cells = <1>;
4240 };
4241
Bjorn Anderssona7977432019-06-11 21:45:35 -07004242 aoss_qmp: qmp@c300000 {
4243 compatible = "qcom,sdm845-aoss-qmp";
4244 reg = <0 0x0c300000 0 0x100000>;
4245 interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>;
4246 mboxes = <&apss_shared 0>;
4247
4248 #clock-cells = <0>;
4249 #power-domain-cells = <1>;
Thara Gopinath7e4b5f22019-07-30 11:24:43 -04004250
4251 cx_cdev: cx {
4252 #cooling-cells = <2>;
4253 };
4254
4255 ebi_cdev: ebi {
4256 #cooling-cells = <2>;
4257 };
Bjorn Anderssona7977432019-06-11 21:45:35 -07004258 };
4259
Douglas Anderson54d7a202018-05-14 20:59:22 -07004260 spmi_bus: spmi@c440000 {
4261 compatible = "qcom,spmi-pmic-arb";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004262 reg = <0 0x0c440000 0 0x1100>,
4263 <0 0x0c600000 0 0x2000000>,
4264 <0 0x0e600000 0 0x100000>,
4265 <0 0x0e700000 0 0xa0000>,
4266 <0 0x0c40a000 0 0x26000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07004267 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
4268 interrupt-names = "periph_irq";
4269 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
4270 qcom,ee = <0>;
4271 qcom,channel = <0>;
4272 #address-cells = <2>;
4273 #size-cells = <0>;
4274 interrupt-controller;
4275 #interrupt-cells = <4>;
4276 cell-index = <0>;
4277 };
4278
Bjorn Andersson948f6162020-06-22 12:19:42 -07004279 imem@146bf000 {
4280 compatible = "simple-mfd";
4281 reg = <0 0x146bf000 0 0x1000>;
4282
4283 #address-cells = <1>;
4284 #size-cells = <1>;
4285
4286 ranges = <0 0 0x146bf000 0x1000>;
4287
4288 pil-reloc@94c {
4289 compatible = "qcom,pil-reloc-info";
4290 reg = <0x94c 0xc8>;
4291 };
4292 };
4293
Vivek Gautam4429e572018-10-11 15:19:30 +05304294 apps_smmu: iommu@15000000 {
4295 compatible = "qcom,sdm845-smmu-500", "arm,mmu-500";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004296 reg = <0 0x15000000 0 0x80000>;
Vivek Gautam4429e572018-10-11 15:19:30 +05304297 #iommu-cells = <2>;
4298 #global-interrupts = <1>;
4299 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
4300 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
4301 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
4302 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
4303 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
4304 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
4305 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
4306 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
4307 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
4308 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
4309 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
4310 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
4311 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
4312 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
4313 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
4314 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
4315 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
4316 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
4317 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
4318 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
4319 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
4320 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
4321 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
4322 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
4323 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
4324 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
4325 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
4326 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
4327 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
4328 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
4329 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
4330 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
4331 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
4332 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
4333 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
4334 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
4335 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
4336 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
4337 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
4338 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
4339 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
4340 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
4341 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
4342 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
4343 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
4344 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
4345 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
4346 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
4347 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
4348 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
4349 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
4350 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
4351 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
4352 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
4353 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
4354 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
4355 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
4356 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
4357 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
4358 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
4359 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
4360 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
4361 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
4362 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
4363 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
4364 };
4365
Taniya Das0cef5dd2018-12-05 13:30:36 +05304366 lpasscc: clock-controller@17014000 {
4367 compatible = "qcom,sdm845-lpasscc";
Bjorn Andersson1d918e92019-01-17 11:29:55 -08004368 reg = <0 0x17014000 0 0x1f004>, <0 0x17300000 0 0x200>;
Taniya Das0cef5dd2018-12-05 13:30:36 +05304369 reg-names = "cc", "qdsp6ss";
4370 #clock-cells = <1>;
4371 status = "disabled";
4372 };
4373
David Daib303f9f2020-02-10 00:04:11 +05304374 gladiator_noc: interconnect@17900000 {
4375 compatible = "qcom,sdm845-gladiator-noc";
4376 reg = <0 0x17900000 0 0xd080>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +03004377 #interconnect-cells = <2>;
David Daib303f9f2020-02-10 00:04:11 +05304378 qcom,bcm-voters = <&apps_bcm_voter>;
4379 };
4380
Bjorn Anderssonef857672019-10-02 21:13:45 -07004381 watchdog@17980000 {
4382 compatible = "qcom,apss-wdt-sdm845", "qcom,kpss-wdt";
4383 reg = <0 0x17980000 0 0x1000>;
4384 clocks = <&sleep_clk>;
4385 };
4386
Douglas Anderson54d7a202018-05-14 20:59:22 -07004387 apss_shared: mailbox@17990000 {
4388 compatible = "qcom,sdm845-apss-shared";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004389 reg = <0 0x17990000 0 0x1000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07004390 #mbox-cells = <1>;
4391 };
4392
Douglas Andersonc83545d2018-06-18 14:50:50 -07004393 apps_rsc: rsc@179c0000 {
4394 label = "apps_rsc";
4395 compatible = "qcom,rpmh-rsc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004396 reg = <0 0x179c0000 0 0x10000>,
4397 <0 0x179d0000 0 0x10000>,
4398 <0 0x179e0000 0 0x10000>;
Douglas Andersonc83545d2018-06-18 14:50:50 -07004399 reg-names = "drv-0", "drv-1", "drv-2";
4400 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
4401 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
4402 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
4403 qcom,tcs-offset = <0xd00>;
4404 qcom,drv-id = <2>;
4405 qcom,tcs-config = <ACTIVE_TCS 2>,
4406 <SLEEP_TCS 3>,
4407 <WAKE_TCS 3>,
4408 <CONTROL_TCS 1>;
Douglas Anderson717f2012018-06-18 14:50:51 -07004409
David Daib303f9f2020-02-10 00:04:11 +05304410 apps_bcm_voter: bcm-voter {
4411 compatible = "qcom,bcm-voter";
4412 };
4413
Douglas Anderson717f2012018-06-18 14:50:51 -07004414 rpmhcc: clock-controller {
4415 compatible = "qcom,sdm845-rpmh-clk";
4416 #clock-cells = <1>;
Vinod Koul1dd70852019-08-26 23:12:33 +05304417 clock-names = "xo";
4418 clocks = <&xo_board>;
Douglas Anderson717f2012018-06-18 14:50:51 -07004419 };
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304420
4421 rpmhpd: power-controller {
4422 compatible = "qcom,sdm845-rpmhpd";
4423 #power-domain-cells = <1>;
4424 operating-points-v2 = <&rpmhpd_opp_table>;
4425
4426 rpmhpd_opp_table: opp-table {
4427 compatible = "operating-points-v2";
4428
4429 rpmhpd_opp_ret: opp1 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304430 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304431 };
4432
4433 rpmhpd_opp_min_svs: opp2 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304434 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304435 };
4436
4437 rpmhpd_opp_low_svs: opp3 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304438 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304439 };
4440
4441 rpmhpd_opp_svs: opp4 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304442 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304443 };
4444
4445 rpmhpd_opp_svs_l1: opp5 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304446 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304447 };
4448
4449 rpmhpd_opp_nom: opp6 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304450 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304451 };
4452
4453 rpmhpd_opp_nom_l1: opp7 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304454 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304455 };
4456
4457 rpmhpd_opp_nom_l2: opp8 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304458 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304459 };
4460
4461 rpmhpd_opp_turbo: opp9 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304462 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304463 };
4464
4465 rpmhpd_opp_turbo_l1: opp10 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304466 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304467 };
4468 };
4469 };
Douglas Andersonc83545d2018-06-18 14:50:50 -07004470 };
4471
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304472 intc: interrupt-controller@17a00000 {
4473 compatible = "arm,gic-v3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004474 #address-cells = <2>;
4475 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304476 ranges;
4477 #interrupt-cells = <3>;
4478 interrupt-controller;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004479 reg = <0 0x17a00000 0 0x10000>, /* GICD */
4480 <0 0x17a60000 0 0x100000>; /* GICR * 8 */
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304481 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
4482
Douglas Anderson276bb282019-12-16 22:20:25 -08004483 msi-controller@17a40000 {
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304484 compatible = "arm,gic-v3-its";
4485 msi-controller;
4486 #msi-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004487 reg = <0 0x17a40000 0 0x20000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304488 status = "disabled";
4489 };
4490 };
4491
Vinod Koula8fbc8b2020-10-27 22:15:03 +05304492 slimbam: dma-controller@17184000 {
Srinivas Kandagatla27ca1de2020-03-12 14:30:20 +00004493 compatible = "qcom,bam-v1.7.0";
4494 qcom,controlled-remotely;
4495 reg = <0 0x17184000 0 0x2a000>;
4496 num-channels = <31>;
4497 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
4498 #dma-cells = <1>;
4499 qcom,ee = <1>;
4500 qcom,num-ees = <2>;
4501 iommus = <&apps_smmu 0x1806 0x0>;
4502 };
4503
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304504 timer@17c90000 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004505 #address-cells = <2>;
4506 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304507 ranges;
4508 compatible = "arm,armv7-timer-mem";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004509 reg = <0 0x17c90000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304510
4511 frame@17ca0000 {
4512 frame-number = <0>;
4513 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
4514 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004515 reg = <0 0x17ca0000 0 0x1000>,
4516 <0 0x17cb0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304517 };
4518
4519 frame@17cc0000 {
4520 frame-number = <1>;
4521 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004522 reg = <0 0x17cc0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304523 status = "disabled";
4524 };
4525
4526 frame@17cd0000 {
4527 frame-number = <2>;
4528 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004529 reg = <0 0x17cd0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304530 status = "disabled";
4531 };
4532
4533 frame@17ce0000 {
4534 frame-number = <3>;
4535 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004536 reg = <0 0x17ce0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304537 status = "disabled";
4538 };
4539
4540 frame@17cf0000 {
4541 frame-number = <4>;
4542 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004543 reg = <0 0x17cf0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304544 status = "disabled";
4545 };
4546
4547 frame@17d00000 {
4548 frame-number = <5>;
4549 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004550 reg = <0 0x17d00000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304551 status = "disabled";
4552 };
4553
4554 frame@17d10000 {
4555 frame-number = <6>;
4556 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004557 reg = <0 0x17d10000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304558 status = "disabled";
4559 };
4560 };
Taniya Dasc604b82a2018-12-21 23:44:23 +05304561
Sibi Sankar74f26592020-02-27 16:26:30 +05304562 osm_l3: interconnect@17d41000 {
4563 compatible = "qcom,sdm845-osm-l3";
4564 reg = <0 0x17d41000 0 0x1400>;
4565
4566 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
4567 clock-names = "xo", "alternate";
4568
4569 #interconnect-cells = <1>;
4570 };
4571
Taniya Dasc604b82a2018-12-21 23:44:23 +05304572 cpufreq_hw: cpufreq@17d43000 {
4573 compatible = "qcom,cpufreq-hw";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004574 reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>;
Taniya Dasc604b82a2018-12-21 23:44:23 +05304575 reg-names = "freq-domain0", "freq-domain1";
4576
4577 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
4578 clock-names = "xo", "alternate";
4579
4580 #freq-domain-cells = <1>;
4581 };
Govind Singh022bccb2018-11-05 18:38:37 +05304582
4583 wifi: wifi@18800000 {
4584 compatible = "qcom,wcn3990-wifi";
4585 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004586 reg = <0 0x18800000 0 0x800000>;
Govind Singh022bccb2018-11-05 18:38:37 +05304587 reg-names = "membase";
4588 memory-region = <&wlan_msa_mem>;
Douglas Andersonbc94e5f2019-01-18 16:00:15 -08004589 clock-names = "cxo_ref_clk_pin";
4590 clocks = <&rpmhcc RPMH_RF_CLK2>;
Govind Singh022bccb2018-11-05 18:38:37 +05304591 interrupts =
4592 <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
4593 <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
4594 <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
4595 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
4596 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
4597 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
4598 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
4599 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
4600 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
4601 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
4602 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
4603 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
Douglas Andersonbc94e5f2019-01-18 16:00:15 -08004604 iommus = <&apps_smmu 0x0040 0x1>;
Govind Singh022bccb2018-11-05 18:38:37 +05304605 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304606 };
Amit Kucheria48847882018-06-12 15:26:54 +03004607
4608 thermal-zones {
4609 cpu0-thermal {
4610 polling-delay-passive = <250>;
4611 polling-delay = <1000>;
4612
4613 thermal-sensors = <&tsens0 1>;
4614
4615 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304616 cpu0_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304617 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004618 hysteresis = <2000>;
4619 type = "passive";
4620 };
4621
Vinod Koul19e684e2019-07-24 10:19:04 +05304622 cpu0_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304623 temperature = <95000>;
4624 hysteresis = <2000>;
4625 type = "passive";
4626 };
4627
4628 cpu0_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004629 temperature = <110000>;
4630 hysteresis = <1000>;
4631 type = "critical";
4632 };
4633 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304634
4635 cooling-maps {
4636 map0 {
4637 trip = <&cpu0_alert0>;
4638 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4639 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4640 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4641 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4642 };
4643 map1 {
4644 trip = <&cpu0_alert1>;
4645 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4646 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4647 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4648 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4649 };
4650 };
Amit Kucheria48847882018-06-12 15:26:54 +03004651 };
4652
4653 cpu1-thermal {
4654 polling-delay-passive = <250>;
4655 polling-delay = <1000>;
4656
4657 thermal-sensors = <&tsens0 2>;
4658
4659 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304660 cpu1_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304661 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004662 hysteresis = <2000>;
4663 type = "passive";
4664 };
4665
Vinod Koul19e684e2019-07-24 10:19:04 +05304666 cpu1_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304667 temperature = <95000>;
4668 hysteresis = <2000>;
4669 type = "passive";
4670 };
4671
4672 cpu1_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004673 temperature = <110000>;
4674 hysteresis = <1000>;
4675 type = "critical";
4676 };
4677 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304678
4679 cooling-maps {
4680 map0 {
4681 trip = <&cpu1_alert0>;
4682 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4683 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4684 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4685 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4686 };
4687 map1 {
4688 trip = <&cpu1_alert1>;
4689 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4690 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4691 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4692 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4693 };
4694 };
Amit Kucheria48847882018-06-12 15:26:54 +03004695 };
4696
4697 cpu2-thermal {
4698 polling-delay-passive = <250>;
4699 polling-delay = <1000>;
4700
4701 thermal-sensors = <&tsens0 3>;
4702
4703 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304704 cpu2_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304705 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004706 hysteresis = <2000>;
4707 type = "passive";
4708 };
4709
Vinod Koul19e684e2019-07-24 10:19:04 +05304710 cpu2_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304711 temperature = <95000>;
4712 hysteresis = <2000>;
4713 type = "passive";
4714 };
4715
4716 cpu2_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004717 temperature = <110000>;
4718 hysteresis = <1000>;
4719 type = "critical";
4720 };
4721 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304722
4723 cooling-maps {
4724 map0 {
4725 trip = <&cpu2_alert0>;
4726 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4727 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4728 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4729 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4730 };
4731 map1 {
4732 trip = <&cpu2_alert1>;
4733 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4734 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4735 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4736 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4737 };
4738 };
Amit Kucheria48847882018-06-12 15:26:54 +03004739 };
4740
4741 cpu3-thermal {
4742 polling-delay-passive = <250>;
4743 polling-delay = <1000>;
4744
4745 thermal-sensors = <&tsens0 4>;
4746
4747 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304748 cpu3_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304749 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004750 hysteresis = <2000>;
4751 type = "passive";
4752 };
4753
Vinod Koul19e684e2019-07-24 10:19:04 +05304754 cpu3_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304755 temperature = <95000>;
4756 hysteresis = <2000>;
4757 type = "passive";
4758 };
4759
4760 cpu3_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004761 temperature = <110000>;
4762 hysteresis = <1000>;
4763 type = "critical";
4764 };
4765 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304766
4767 cooling-maps {
4768 map0 {
4769 trip = <&cpu3_alert0>;
4770 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4771 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4772 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4773 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4774 };
4775 map1 {
4776 trip = <&cpu3_alert1>;
4777 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4778 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4779 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4780 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4781 };
4782 };
Amit Kucheria48847882018-06-12 15:26:54 +03004783 };
4784
4785 cpu4-thermal {
4786 polling-delay-passive = <250>;
4787 polling-delay = <1000>;
4788
4789 thermal-sensors = <&tsens0 7>;
4790
4791 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304792 cpu4_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304793 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004794 hysteresis = <2000>;
4795 type = "passive";
4796 };
4797
Vinod Koul19e684e2019-07-24 10:19:04 +05304798 cpu4_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304799 temperature = <95000>;
4800 hysteresis = <2000>;
4801 type = "passive";
4802 };
4803
4804 cpu4_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004805 temperature = <110000>;
4806 hysteresis = <1000>;
4807 type = "critical";
4808 };
4809 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304810
4811 cooling-maps {
4812 map0 {
4813 trip = <&cpu4_alert0>;
4814 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4815 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4816 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4817 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4818 };
4819 map1 {
4820 trip = <&cpu4_alert1>;
4821 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4822 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4823 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4824 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4825 };
4826 };
Amit Kucheria48847882018-06-12 15:26:54 +03004827 };
4828
4829 cpu5-thermal {
4830 polling-delay-passive = <250>;
4831 polling-delay = <1000>;
4832
4833 thermal-sensors = <&tsens0 8>;
4834
4835 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304836 cpu5_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304837 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004838 hysteresis = <2000>;
4839 type = "passive";
4840 };
4841
Vinod Koul19e684e2019-07-24 10:19:04 +05304842 cpu5_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304843 temperature = <95000>;
4844 hysteresis = <2000>;
4845 type = "passive";
4846 };
4847
4848 cpu5_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004849 temperature = <110000>;
4850 hysteresis = <1000>;
4851 type = "critical";
4852 };
4853 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304854
4855 cooling-maps {
4856 map0 {
4857 trip = <&cpu5_alert0>;
4858 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4859 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4860 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4861 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4862 };
4863 map1 {
4864 trip = <&cpu5_alert1>;
4865 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4866 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4867 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4868 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4869 };
4870 };
Amit Kucheria48847882018-06-12 15:26:54 +03004871 };
4872
4873 cpu6-thermal {
4874 polling-delay-passive = <250>;
4875 polling-delay = <1000>;
4876
4877 thermal-sensors = <&tsens0 9>;
4878
4879 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304880 cpu6_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304881 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004882 hysteresis = <2000>;
4883 type = "passive";
4884 };
4885
Vinod Koul19e684e2019-07-24 10:19:04 +05304886 cpu6_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304887 temperature = <95000>;
4888 hysteresis = <2000>;
4889 type = "passive";
4890 };
4891
4892 cpu6_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004893 temperature = <110000>;
4894 hysteresis = <1000>;
4895 type = "critical";
4896 };
4897 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304898
4899 cooling-maps {
4900 map0 {
4901 trip = <&cpu6_alert0>;
4902 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4903 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4904 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4905 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4906 };
4907 map1 {
4908 trip = <&cpu6_alert1>;
4909 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4910 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4911 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4912 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4913 };
4914 };
Amit Kucheria48847882018-06-12 15:26:54 +03004915 };
4916
4917 cpu7-thermal {
4918 polling-delay-passive = <250>;
4919 polling-delay = <1000>;
4920
4921 thermal-sensors = <&tsens0 10>;
4922
4923 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304924 cpu7_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304925 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004926 hysteresis = <2000>;
4927 type = "passive";
4928 };
4929
Vinod Koul19e684e2019-07-24 10:19:04 +05304930 cpu7_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304931 temperature = <95000>;
4932 hysteresis = <2000>;
4933 type = "passive";
4934 };
4935
4936 cpu7_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004937 temperature = <110000>;
4938 hysteresis = <1000>;
4939 type = "critical";
4940 };
4941 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304942
4943 cooling-maps {
4944 map0 {
4945 trip = <&cpu7_alert0>;
4946 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4947 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4948 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4949 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4950 };
4951 map1 {
4952 trip = <&cpu7_alert1>;
4953 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4954 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4955 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4956 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4957 };
4958 };
Amit Kucheria48847882018-06-12 15:26:54 +03004959 };
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304960
4961 aoss0-thermal {
4962 polling-delay-passive = <250>;
4963 polling-delay = <1000>;
4964
4965 thermal-sensors = <&tsens0 0>;
4966
4967 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304968 aoss0_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304969 temperature = <90000>;
4970 hysteresis = <2000>;
4971 type = "hot";
4972 };
4973 };
4974 };
4975
4976 cluster0-thermal {
4977 polling-delay-passive = <250>;
4978 polling-delay = <1000>;
4979
4980 thermal-sensors = <&tsens0 5>;
4981
4982 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304983 cluster0_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304984 temperature = <90000>;
4985 hysteresis = <2000>;
4986 type = "hot";
4987 };
4988 cluster0_crit: cluster0_crit {
4989 temperature = <110000>;
4990 hysteresis = <2000>;
4991 type = "critical";
4992 };
4993 };
4994 };
4995
4996 cluster1-thermal {
4997 polling-delay-passive = <250>;
4998 polling-delay = <1000>;
4999
5000 thermal-sensors = <&tsens0 6>;
5001
5002 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305003 cluster1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305004 temperature = <90000>;
5005 hysteresis = <2000>;
5006 type = "hot";
5007 };
5008 cluster1_crit: cluster1_crit {
5009 temperature = <110000>;
5010 hysteresis = <2000>;
5011 type = "critical";
5012 };
5013 };
5014 };
5015
5016 gpu-thermal-top {
5017 polling-delay-passive = <250>;
5018 polling-delay = <1000>;
5019
5020 thermal-sensors = <&tsens0 11>;
5021
5022 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305023 gpu1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305024 temperature = <90000>;
5025 hysteresis = <2000>;
5026 type = "hot";
5027 };
5028 };
5029 };
5030
5031 gpu-thermal-bottom {
5032 polling-delay-passive = <250>;
5033 polling-delay = <1000>;
5034
5035 thermal-sensors = <&tsens0 12>;
5036
5037 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305038 gpu2_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305039 temperature = <90000>;
5040 hysteresis = <2000>;
5041 type = "hot";
5042 };
5043 };
5044 };
5045
5046 aoss1-thermal {
5047 polling-delay-passive = <250>;
5048 polling-delay = <1000>;
5049
5050 thermal-sensors = <&tsens1 0>;
5051
5052 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305053 aoss1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305054 temperature = <90000>;
5055 hysteresis = <2000>;
5056 type = "hot";
5057 };
5058 };
5059 };
5060
5061 q6-modem-thermal {
5062 polling-delay-passive = <250>;
5063 polling-delay = <1000>;
5064
5065 thermal-sensors = <&tsens1 1>;
5066
5067 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305068 q6_modem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305069 temperature = <90000>;
5070 hysteresis = <2000>;
5071 type = "hot";
5072 };
5073 };
5074 };
5075
5076 mem-thermal {
5077 polling-delay-passive = <250>;
5078 polling-delay = <1000>;
5079
5080 thermal-sensors = <&tsens1 2>;
5081
5082 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305083 mem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305084 temperature = <90000>;
5085 hysteresis = <2000>;
5086 type = "hot";
5087 };
5088 };
5089 };
5090
5091 wlan-thermal {
5092 polling-delay-passive = <250>;
5093 polling-delay = <1000>;
5094
5095 thermal-sensors = <&tsens1 3>;
5096
5097 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305098 wlan_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305099 temperature = <90000>;
5100 hysteresis = <2000>;
5101 type = "hot";
5102 };
5103 };
5104 };
5105
5106 q6-hvx-thermal {
5107 polling-delay-passive = <250>;
5108 polling-delay = <1000>;
5109
5110 thermal-sensors = <&tsens1 4>;
5111
5112 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305113 q6_hvx_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305114 temperature = <90000>;
5115 hysteresis = <2000>;
5116 type = "hot";
5117 };
5118 };
5119 };
5120
5121 camera-thermal {
5122 polling-delay-passive = <250>;
5123 polling-delay = <1000>;
5124
5125 thermal-sensors = <&tsens1 5>;
5126
5127 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305128 camera_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305129 temperature = <90000>;
5130 hysteresis = <2000>;
5131 type = "hot";
5132 };
5133 };
5134 };
5135
5136 video-thermal {
5137 polling-delay-passive = <250>;
5138 polling-delay = <1000>;
5139
5140 thermal-sensors = <&tsens1 6>;
5141
5142 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305143 video_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305144 temperature = <90000>;
5145 hysteresis = <2000>;
5146 type = "hot";
5147 };
5148 };
5149 };
5150
5151 modem-thermal {
5152 polling-delay-passive = <250>;
5153 polling-delay = <1000>;
5154
5155 thermal-sensors = <&tsens1 7>;
5156
5157 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305158 modem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305159 temperature = <90000>;
5160 hysteresis = <2000>;
5161 type = "hot";
5162 };
5163 };
5164 };
Amit Kucheria48847882018-06-12 15:26:54 +03005165 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05305166};