blob: 6465a6653ad9875fff607cd20f9c9a30a3403f14 [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>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001123 #address-cells = <2>;
1124 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001125 ranges;
Douglas Anderson499ff112018-06-29 11:45:27 -07001126 status = "disabled";
Douglas Anderson897cf342018-06-13 09:53:51 -07001127
1128 i2c0: i2c@880000 {
1129 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001130 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001131 clock-names = "se";
1132 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1133 pinctrl-names = "default";
1134 pinctrl-0 = <&qup_i2c0_default>;
1135 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
1136 #address-cells = <1>;
1137 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301138 power-domains = <&rpmhpd SDM845_CX>;
1139 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001140 status = "disabled";
1141 };
1142
1143 spi0: spi@880000 {
1144 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001145 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001146 clock-names = "se";
1147 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1148 pinctrl-names = "default";
1149 pinctrl-0 = <&qup_spi0_default>;
1150 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
1151 #address-cells = <1>;
1152 #size-cells = <0>;
1153 status = "disabled";
1154 };
1155
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001156 uart0: serial@880000 {
1157 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001158 reg = <0 0x00880000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001159 clock-names = "se";
1160 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
1161 pinctrl-names = "default";
1162 pinctrl-0 = <&qup_uart0_default>;
1163 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301164 power-domains = <&rpmhpd SDM845_CX>;
1165 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001166 status = "disabled";
1167 };
1168
Douglas Anderson897cf342018-06-13 09:53:51 -07001169 i2c1: i2c@884000 {
1170 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001171 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001172 clock-names = "se";
1173 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1174 pinctrl-names = "default";
1175 pinctrl-0 = <&qup_i2c1_default>;
1176 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
1177 #address-cells = <1>;
1178 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301179 power-domains = <&rpmhpd SDM845_CX>;
1180 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001181 status = "disabled";
1182 };
1183
1184 spi1: spi@884000 {
1185 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001186 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001187 clock-names = "se";
1188 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1189 pinctrl-names = "default";
1190 pinctrl-0 = <&qup_spi1_default>;
1191 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
1192 #address-cells = <1>;
1193 #size-cells = <0>;
1194 status = "disabled";
1195 };
1196
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001197 uart1: serial@884000 {
1198 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001199 reg = <0 0x00884000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001200 clock-names = "se";
1201 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
1202 pinctrl-names = "default";
1203 pinctrl-0 = <&qup_uart1_default>;
1204 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301205 power-domains = <&rpmhpd SDM845_CX>;
1206 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001207 status = "disabled";
1208 };
1209
Douglas Anderson897cf342018-06-13 09:53:51 -07001210 i2c2: i2c@888000 {
1211 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001212 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001213 clock-names = "se";
1214 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1215 pinctrl-names = "default";
1216 pinctrl-0 = <&qup_i2c2_default>;
1217 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1218 #address-cells = <1>;
1219 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301220 power-domains = <&rpmhpd SDM845_CX>;
1221 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001222 status = "disabled";
1223 };
1224
1225 spi2: spi@888000 {
1226 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001227 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001228 clock-names = "se";
1229 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1230 pinctrl-names = "default";
1231 pinctrl-0 = <&qup_spi2_default>;
1232 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
1233 #address-cells = <1>;
1234 #size-cells = <0>;
1235 status = "disabled";
1236 };
1237
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001238 uart2: serial@888000 {
1239 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001240 reg = <0 0x00888000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001241 clock-names = "se";
1242 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
1243 pinctrl-names = "default";
1244 pinctrl-0 = <&qup_uart2_default>;
1245 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301246 power-domains = <&rpmhpd SDM845_CX>;
1247 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001248 status = "disabled";
1249 };
1250
Douglas Anderson897cf342018-06-13 09:53:51 -07001251 i2c3: i2c@88c000 {
1252 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001253 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001254 clock-names = "se";
1255 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1256 pinctrl-names = "default";
1257 pinctrl-0 = <&qup_i2c3_default>;
1258 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1259 #address-cells = <1>;
1260 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301261 power-domains = <&rpmhpd SDM845_CX>;
1262 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001263 status = "disabled";
1264 };
1265
1266 spi3: spi@88c000 {
1267 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001268 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001269 clock-names = "se";
1270 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1271 pinctrl-names = "default";
1272 pinctrl-0 = <&qup_spi3_default>;
1273 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
1274 #address-cells = <1>;
1275 #size-cells = <0>;
1276 status = "disabled";
1277 };
1278
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001279 uart3: serial@88c000 {
1280 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001281 reg = <0 0x0088c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001282 clock-names = "se";
1283 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
1284 pinctrl-names = "default";
1285 pinctrl-0 = <&qup_uart3_default>;
1286 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301287 power-domains = <&rpmhpd SDM845_CX>;
1288 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001289 status = "disabled";
1290 };
1291
Douglas Anderson897cf342018-06-13 09:53:51 -07001292 i2c4: i2c@890000 {
1293 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001294 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001295 clock-names = "se";
1296 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1297 pinctrl-names = "default";
1298 pinctrl-0 = <&qup_i2c4_default>;
1299 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1300 #address-cells = <1>;
1301 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301302 power-domains = <&rpmhpd SDM845_CX>;
1303 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001304 status = "disabled";
1305 };
1306
1307 spi4: spi@890000 {
1308 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001309 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001310 clock-names = "se";
1311 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1312 pinctrl-names = "default";
1313 pinctrl-0 = <&qup_spi4_default>;
1314 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
1315 #address-cells = <1>;
1316 #size-cells = <0>;
1317 status = "disabled";
1318 };
1319
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001320 uart4: serial@890000 {
1321 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001322 reg = <0 0x00890000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001323 clock-names = "se";
1324 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
1325 pinctrl-names = "default";
1326 pinctrl-0 = <&qup_uart4_default>;
1327 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301328 power-domains = <&rpmhpd SDM845_CX>;
1329 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001330 status = "disabled";
1331 };
1332
Douglas Anderson897cf342018-06-13 09:53:51 -07001333 i2c5: i2c@894000 {
1334 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001335 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001336 clock-names = "se";
1337 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1338 pinctrl-names = "default";
1339 pinctrl-0 = <&qup_i2c5_default>;
1340 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1341 #address-cells = <1>;
1342 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301343 power-domains = <&rpmhpd SDM845_CX>;
1344 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001345 status = "disabled";
1346 };
1347
1348 spi5: spi@894000 {
1349 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001350 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001351 clock-names = "se";
1352 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1353 pinctrl-names = "default";
1354 pinctrl-0 = <&qup_spi5_default>;
1355 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
1356 #address-cells = <1>;
1357 #size-cells = <0>;
1358 status = "disabled";
1359 };
1360
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001361 uart5: serial@894000 {
1362 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001363 reg = <0 0x00894000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001364 clock-names = "se";
1365 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
1366 pinctrl-names = "default";
1367 pinctrl-0 = <&qup_uart5_default>;
1368 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301369 power-domains = <&rpmhpd SDM845_CX>;
1370 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001371 status = "disabled";
1372 };
1373
Douglas Anderson897cf342018-06-13 09:53:51 -07001374 i2c6: i2c@898000 {
1375 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001376 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001377 clock-names = "se";
1378 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1379 pinctrl-names = "default";
1380 pinctrl-0 = <&qup_i2c6_default>;
1381 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1382 #address-cells = <1>;
1383 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301384 power-domains = <&rpmhpd SDM845_CX>;
1385 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001386 status = "disabled";
1387 };
1388
1389 spi6: spi@898000 {
1390 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001391 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001392 clock-names = "se";
1393 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1394 pinctrl-names = "default";
1395 pinctrl-0 = <&qup_spi6_default>;
1396 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
1397 #address-cells = <1>;
1398 #size-cells = <0>;
1399 status = "disabled";
1400 };
1401
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001402 uart6: serial@898000 {
1403 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001404 reg = <0 0x00898000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001405 clock-names = "se";
1406 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
1407 pinctrl-names = "default";
1408 pinctrl-0 = <&qup_uart6_default>;
1409 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301410 power-domains = <&rpmhpd SDM845_CX>;
1411 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001412 status = "disabled";
1413 };
1414
Douglas Anderson897cf342018-06-13 09:53:51 -07001415 i2c7: i2c@89c000 {
1416 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001417 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001418 clock-names = "se";
1419 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1420 pinctrl-names = "default";
1421 pinctrl-0 = <&qup_i2c7_default>;
1422 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1423 #address-cells = <1>;
1424 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301425 power-domains = <&rpmhpd SDM845_CX>;
1426 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001427 status = "disabled";
1428 };
1429
1430 spi7: spi@89c000 {
1431 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001432 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001433 clock-names = "se";
1434 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1435 pinctrl-names = "default";
1436 pinctrl-0 = <&qup_spi7_default>;
1437 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
1438 #address-cells = <1>;
1439 #size-cells = <0>;
1440 status = "disabled";
1441 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001442
1443 uart7: serial@89c000 {
1444 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001445 reg = <0 0x0089c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001446 clock-names = "se";
1447 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
1448 pinctrl-names = "default";
1449 pinctrl-0 = <&qup_uart7_default>;
1450 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301451 power-domains = <&rpmhpd SDM845_CX>;
1452 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001453 status = "disabled";
1454 };
Douglas Anderson897cf342018-06-13 09:53:51 -07001455 };
1456
1457 qupv3_id_1: geniqup@ac0000 {
1458 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001459 reg = <0 0x00ac0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001460 clock-names = "m-ahb", "s-ahb";
1461 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
1462 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001463 #address-cells = <2>;
1464 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001465 ranges;
1466 status = "disabled";
1467
1468 i2c8: i2c@a80000 {
1469 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001470 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001471 clock-names = "se";
1472 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1473 pinctrl-names = "default";
1474 pinctrl-0 = <&qup_i2c8_default>;
1475 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1476 #address-cells = <1>;
1477 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301478 power-domains = <&rpmhpd SDM845_CX>;
1479 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001480 status = "disabled";
1481 };
1482
1483 spi8: spi@a80000 {
1484 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001485 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001486 clock-names = "se";
1487 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1488 pinctrl-names = "default";
1489 pinctrl-0 = <&qup_spi8_default>;
1490 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1491 #address-cells = <1>;
1492 #size-cells = <0>;
1493 status = "disabled";
1494 };
1495
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001496 uart8: serial@a80000 {
1497 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001498 reg = <0 0x00a80000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001499 clock-names = "se";
1500 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
1501 pinctrl-names = "default";
1502 pinctrl-0 = <&qup_uart8_default>;
1503 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301504 power-domains = <&rpmhpd SDM845_CX>;
1505 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001506 status = "disabled";
1507 };
1508
Douglas Anderson897cf342018-06-13 09:53:51 -07001509 i2c9: i2c@a84000 {
1510 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001511 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001512 clock-names = "se";
1513 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1514 pinctrl-names = "default";
1515 pinctrl-0 = <&qup_i2c9_default>;
1516 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1517 #address-cells = <1>;
1518 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301519 power-domains = <&rpmhpd SDM845_CX>;
1520 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001521 status = "disabled";
1522 };
1523
1524 spi9: spi@a84000 {
1525 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001526 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001527 clock-names = "se";
1528 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1529 pinctrl-names = "default";
1530 pinctrl-0 = <&qup_spi9_default>;
1531 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1532 #address-cells = <1>;
1533 #size-cells = <0>;
1534 status = "disabled";
1535 };
1536
1537 uart9: serial@a84000 {
1538 compatible = "qcom,geni-debug-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001539 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001540 clock-names = "se";
1541 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
1542 pinctrl-names = "default";
1543 pinctrl-0 = <&qup_uart9_default>;
1544 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301545 power-domains = <&rpmhpd SDM845_CX>;
1546 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001547 status = "disabled";
1548 };
1549
1550 i2c10: i2c@a88000 {
1551 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001552 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001553 clock-names = "se";
1554 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1555 pinctrl-names = "default";
1556 pinctrl-0 = <&qup_i2c10_default>;
1557 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1558 #address-cells = <1>;
1559 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301560 power-domains = <&rpmhpd SDM845_CX>;
1561 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001562 status = "disabled";
1563 };
1564
1565 spi10: spi@a88000 {
1566 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001567 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001568 clock-names = "se";
1569 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1570 pinctrl-names = "default";
1571 pinctrl-0 = <&qup_spi10_default>;
1572 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1573 #address-cells = <1>;
1574 #size-cells = <0>;
1575 status = "disabled";
1576 };
1577
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001578 uart10: serial@a88000 {
1579 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001580 reg = <0 0x00a88000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001581 clock-names = "se";
1582 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
1583 pinctrl-names = "default";
1584 pinctrl-0 = <&qup_uart10_default>;
1585 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301586 power-domains = <&rpmhpd SDM845_CX>;
1587 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001588 status = "disabled";
1589 };
1590
Douglas Anderson897cf342018-06-13 09:53:51 -07001591 i2c11: i2c@a8c000 {
1592 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001593 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001594 clock-names = "se";
1595 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1596 pinctrl-names = "default";
1597 pinctrl-0 = <&qup_i2c11_default>;
1598 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1599 #address-cells = <1>;
1600 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301601 power-domains = <&rpmhpd SDM845_CX>;
1602 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001603 status = "disabled";
1604 };
1605
1606 spi11: spi@a8c000 {
1607 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001608 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001609 clock-names = "se";
1610 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1611 pinctrl-names = "default";
1612 pinctrl-0 = <&qup_spi11_default>;
1613 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1614 #address-cells = <1>;
1615 #size-cells = <0>;
1616 status = "disabled";
1617 };
1618
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001619 uart11: serial@a8c000 {
1620 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001621 reg = <0 0x00a8c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001622 clock-names = "se";
1623 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
1624 pinctrl-names = "default";
1625 pinctrl-0 = <&qup_uart11_default>;
1626 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301627 power-domains = <&rpmhpd SDM845_CX>;
1628 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001629 status = "disabled";
1630 };
1631
Douglas Anderson897cf342018-06-13 09:53:51 -07001632 i2c12: i2c@a90000 {
1633 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001634 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001635 clock-names = "se";
1636 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1637 pinctrl-names = "default";
1638 pinctrl-0 = <&qup_i2c12_default>;
1639 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1640 #address-cells = <1>;
1641 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301642 power-domains = <&rpmhpd SDM845_CX>;
1643 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001644 status = "disabled";
1645 };
1646
1647 spi12: spi@a90000 {
1648 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001649 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001650 clock-names = "se";
1651 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1652 pinctrl-names = "default";
1653 pinctrl-0 = <&qup_spi12_default>;
1654 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1655 #address-cells = <1>;
1656 #size-cells = <0>;
1657 status = "disabled";
1658 };
1659
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001660 uart12: serial@a90000 {
1661 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001662 reg = <0 0x00a90000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001663 clock-names = "se";
1664 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
1665 pinctrl-names = "default";
1666 pinctrl-0 = <&qup_uart12_default>;
1667 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301668 power-domains = <&rpmhpd SDM845_CX>;
1669 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001670 status = "disabled";
1671 };
1672
Douglas Anderson897cf342018-06-13 09:53:51 -07001673 i2c13: i2c@a94000 {
1674 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001675 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001676 clock-names = "se";
1677 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1678 pinctrl-names = "default";
1679 pinctrl-0 = <&qup_i2c13_default>;
1680 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1681 #address-cells = <1>;
1682 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301683 power-domains = <&rpmhpd SDM845_CX>;
1684 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001685 status = "disabled";
1686 };
1687
1688 spi13: spi@a94000 {
1689 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001690 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001691 clock-names = "se";
1692 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1693 pinctrl-names = "default";
1694 pinctrl-0 = <&qup_spi13_default>;
1695 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1696 #address-cells = <1>;
1697 #size-cells = <0>;
1698 status = "disabled";
1699 };
1700
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001701 uart13: serial@a94000 {
1702 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001703 reg = <0 0x00a94000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001704 clock-names = "se";
1705 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
1706 pinctrl-names = "default";
1707 pinctrl-0 = <&qup_uart13_default>;
1708 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301709 power-domains = <&rpmhpd SDM845_CX>;
1710 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001711 status = "disabled";
1712 };
1713
Douglas Anderson897cf342018-06-13 09:53:51 -07001714 i2c14: i2c@a98000 {
1715 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001716 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001717 clock-names = "se";
1718 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1719 pinctrl-names = "default";
1720 pinctrl-0 = <&qup_i2c14_default>;
1721 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1722 #address-cells = <1>;
1723 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301724 power-domains = <&rpmhpd SDM845_CX>;
1725 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001726 status = "disabled";
1727 };
1728
1729 spi14: spi@a98000 {
1730 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001731 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001732 clock-names = "se";
1733 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1734 pinctrl-names = "default";
1735 pinctrl-0 = <&qup_spi14_default>;
1736 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1737 #address-cells = <1>;
1738 #size-cells = <0>;
1739 status = "disabled";
1740 };
1741
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001742 uart14: serial@a98000 {
1743 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001744 reg = <0 0x00a98000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001745 clock-names = "se";
1746 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
1747 pinctrl-names = "default";
1748 pinctrl-0 = <&qup_uart14_default>;
1749 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301750 power-domains = <&rpmhpd SDM845_CX>;
1751 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001752 status = "disabled";
1753 };
1754
Douglas Anderson897cf342018-06-13 09:53:51 -07001755 i2c15: i2c@a9c000 {
1756 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001757 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001758 clock-names = "se";
1759 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1760 pinctrl-names = "default";
1761 pinctrl-0 = <&qup_i2c15_default>;
1762 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1763 #address-cells = <1>;
1764 #size-cells = <0>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301765 power-domains = <&rpmhpd SDM845_CX>;
1766 operating-points-v2 = <&qup_opp_table>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001767 status = "disabled";
1768 };
1769
1770 spi15: spi@a9c000 {
1771 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001772 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001773 clock-names = "se";
1774 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1775 pinctrl-names = "default";
1776 pinctrl-0 = <&qup_spi15_default>;
1777 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1778 #address-cells = <1>;
1779 #size-cells = <0>;
1780 status = "disabled";
1781 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001782
1783 uart15: serial@a9c000 {
1784 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001785 reg = <0 0x00a9c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001786 clock-names = "se";
1787 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1788 pinctrl-names = "default";
1789 pinctrl-0 = <&qup_uart15_default>;
1790 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
Rajendra Nayak13cadb32020-06-30 14:15:09 +05301791 power-domains = <&rpmhpd SDM845_CX>;
1792 operating-points-v2 = <&qup_opp_table>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001793 status = "disabled";
1794 };
Douglas Anderson897cf342018-06-13 09:53:51 -07001795 };
1796
Sai Prakash Ranjan39abbd32019-11-15 16:29:12 +05301797 system-cache-controller@1100000 {
Sai Prakash Ranjanba0411d2019-07-10 16:59:24 +05301798 compatible = "qcom,sdm845-llcc";
1799 reg = <0 0x01100000 0 0x200000>, <0 0x01300000 0 0x50000>;
1800 reg-names = "llcc_base", "llcc_broadcast_base";
1801 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
1802 };
1803
Bjorn Andersson5c538e092019-11-06 16:22:45 -08001804 pcie0: pci@1c00000 {
1805 compatible = "qcom,pcie-sdm845", "snps,dw-pcie";
1806 reg = <0 0x01c00000 0 0x2000>,
1807 <0 0x60000000 0 0xf1d>,
1808 <0 0x60000f20 0 0xa8>,
1809 <0 0x60100000 0 0x100000>;
1810 reg-names = "parf", "dbi", "elbi", "config";
1811 device_type = "pci";
1812 linux,pci-domain = <0>;
1813 bus-range = <0x00 0xff>;
1814 num-lanes = <1>;
1815
1816 #address-cells = <3>;
1817 #size-cells = <2>;
1818
1819 ranges = <0x01000000 0x0 0x60200000 0 0x60200000 0x0 0x100000>,
1820 <0x02000000 0x0 0x60300000 0 0x60300000 0x0 0xd00000>;
1821
1822 interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
1823 interrupt-names = "msi";
1824 #interrupt-cells = <1>;
1825 interrupt-map-mask = <0 0 0 0x7>;
1826 interrupt-map = <0 0 0 1 &intc 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1827 <0 0 0 2 &intc 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1828 <0 0 0 3 &intc 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1829 <0 0 0 4 &intc 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1830
1831 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
1832 <&gcc GCC_PCIE_0_AUX_CLK>,
1833 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
1834 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
1835 <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
1836 <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>,
1837 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>;
1838 clock-names = "pipe",
1839 "aux",
1840 "cfg",
1841 "bus_master",
1842 "bus_slave",
1843 "slave_q2a",
1844 "tbu";
1845
1846 iommus = <&apps_smmu 0x1c10 0xf>;
1847 iommu-map = <0x0 &apps_smmu 0x1c10 0x1>,
1848 <0x100 &apps_smmu 0x1c11 0x1>,
1849 <0x200 &apps_smmu 0x1c12 0x1>,
1850 <0x300 &apps_smmu 0x1c13 0x1>,
1851 <0x400 &apps_smmu 0x1c14 0x1>,
1852 <0x500 &apps_smmu 0x1c15 0x1>,
1853 <0x600 &apps_smmu 0x1c16 0x1>,
1854 <0x700 &apps_smmu 0x1c17 0x1>,
1855 <0x800 &apps_smmu 0x1c18 0x1>,
1856 <0x900 &apps_smmu 0x1c19 0x1>,
1857 <0xa00 &apps_smmu 0x1c1a 0x1>,
1858 <0xb00 &apps_smmu 0x1c1b 0x1>,
1859 <0xc00 &apps_smmu 0x1c1c 0x1>,
1860 <0xd00 &apps_smmu 0x1c1d 0x1>,
1861 <0xe00 &apps_smmu 0x1c1e 0x1>,
1862 <0xf00 &apps_smmu 0x1c1f 0x1>;
1863
1864 resets = <&gcc GCC_PCIE_0_BCR>;
1865 reset-names = "pci";
1866
1867 power-domains = <&gcc PCIE_0_GDSC>;
1868
1869 phys = <&pcie0_lane>;
1870 phy-names = "pciephy";
1871
1872 status = "disabled";
1873 };
1874
1875 pcie0_phy: phy@1c06000 {
1876 compatible = "qcom,sdm845-qmp-pcie-phy";
1877 reg = <0 0x01c06000 0 0x18c>;
1878 #address-cells = <2>;
1879 #size-cells = <2>;
1880 ranges;
1881 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
1882 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
1883 <&gcc GCC_PCIE_0_CLKREF_CLK>,
1884 <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
1885 clock-names = "aux", "cfg_ahb", "ref", "refgen";
1886
1887 resets = <&gcc GCC_PCIE_0_PHY_BCR>;
1888 reset-names = "phy";
1889
1890 assigned-clocks = <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
1891 assigned-clock-rates = <100000000>;
1892
1893 status = "disabled";
1894
1895 pcie0_lane: lanes@1c06200 {
1896 reg = <0 0x01c06200 0 0x128>,
1897 <0 0x01c06400 0 0x1fc>,
1898 <0 0x01c06800 0 0x218>,
1899 <0 0x01c06600 0 0x70>;
1900 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
1901 clock-names = "pipe0";
1902
1903 #phy-cells = <0>;
1904 clock-output-names = "pcie_0_pipe_clk";
1905 };
1906 };
1907
Bjorn Andersson42ad2312019-11-06 16:22:46 -08001908 pcie1: pci@1c08000 {
1909 compatible = "qcom,pcie-sdm845", "snps,dw-pcie";
1910 reg = <0 0x01c08000 0 0x2000>,
1911 <0 0x40000000 0 0xf1d>,
1912 <0 0x40000f20 0 0xa8>,
1913 <0 0x40100000 0 0x100000>;
1914 reg-names = "parf", "dbi", "elbi", "config";
1915 device_type = "pci";
1916 linux,pci-domain = <1>;
1917 bus-range = <0x00 0xff>;
1918 num-lanes = <1>;
1919
1920 #address-cells = <3>;
1921 #size-cells = <2>;
1922
1923 ranges = <0x01000000 0x0 0x40200000 0x0 0x40200000 0x0 0x100000>,
1924 <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>;
1925
1926 interrupts = <GIC_SPI 307 IRQ_TYPE_EDGE_RISING>;
1927 interrupt-names = "msi";
1928 #interrupt-cells = <1>;
1929 interrupt-map-mask = <0 0 0 0x7>;
1930 interrupt-map = <0 0 0 1 &intc 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
1931 <0 0 0 2 &intc 0 435 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
1932 <0 0 0 3 &intc 0 438 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
1933 <0 0 0 4 &intc 0 439 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
1934
1935 clocks = <&gcc GCC_PCIE_1_PIPE_CLK>,
1936 <&gcc GCC_PCIE_1_AUX_CLK>,
1937 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
1938 <&gcc GCC_PCIE_1_MSTR_AXI_CLK>,
1939 <&gcc GCC_PCIE_1_SLV_AXI_CLK>,
1940 <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>,
1941 <&gcc GCC_PCIE_1_CLKREF_CLK>,
1942 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>;
1943 clock-names = "pipe",
1944 "aux",
1945 "cfg",
1946 "bus_master",
1947 "bus_slave",
1948 "slave_q2a",
1949 "ref",
1950 "tbu";
1951
1952 assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>;
1953 assigned-clock-rates = <19200000>;
1954
1955 iommus = <&apps_smmu 0x1c00 0xf>;
1956 iommu-map = <0x0 &apps_smmu 0x1c00 0x1>,
1957 <0x100 &apps_smmu 0x1c01 0x1>,
1958 <0x200 &apps_smmu 0x1c02 0x1>,
1959 <0x300 &apps_smmu 0x1c03 0x1>,
1960 <0x400 &apps_smmu 0x1c04 0x1>,
1961 <0x500 &apps_smmu 0x1c05 0x1>,
1962 <0x600 &apps_smmu 0x1c06 0x1>,
1963 <0x700 &apps_smmu 0x1c07 0x1>,
1964 <0x800 &apps_smmu 0x1c08 0x1>,
1965 <0x900 &apps_smmu 0x1c09 0x1>,
1966 <0xa00 &apps_smmu 0x1c0a 0x1>,
1967 <0xb00 &apps_smmu 0x1c0b 0x1>,
1968 <0xc00 &apps_smmu 0x1c0c 0x1>,
1969 <0xd00 &apps_smmu 0x1c0d 0x1>,
1970 <0xe00 &apps_smmu 0x1c0e 0x1>,
1971 <0xf00 &apps_smmu 0x1c0f 0x1>;
1972
1973 resets = <&gcc GCC_PCIE_1_BCR>;
1974 reset-names = "pci";
1975
1976 power-domains = <&gcc PCIE_1_GDSC>;
1977
1978 phys = <&pcie1_lane>;
1979 phy-names = "pciephy";
1980
1981 status = "disabled";
1982 };
1983
1984 pcie1_phy: phy@1c0a000 {
1985 compatible = "qcom,sdm845-qhp-pcie-phy";
1986 reg = <0 0x01c0a000 0 0x800>;
1987 #address-cells = <2>;
1988 #size-cells = <2>;
1989 ranges;
1990 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
1991 <&gcc GCC_PCIE_1_CFG_AHB_CLK>,
1992 <&gcc GCC_PCIE_1_CLKREF_CLK>,
1993 <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
1994 clock-names = "aux", "cfg_ahb", "ref", "refgen";
1995
1996 resets = <&gcc GCC_PCIE_1_PHY_BCR>;
1997 reset-names = "phy";
1998
1999 assigned-clocks = <&gcc GCC_PCIE_PHY_REFGEN_CLK>;
2000 assigned-clock-rates = <100000000>;
2001
2002 status = "disabled";
2003
2004 pcie1_lane: lanes@1c06200 {
2005 reg = <0 0x01c0a800 0 0x800>,
2006 <0 0x01c0a800 0 0x800>,
2007 <0 0x01c0b800 0 0x400>;
2008 clocks = <&gcc GCC_PCIE_1_PIPE_CLK>;
2009 clock-names = "pipe0";
2010
2011 #phy-cells = <0>;
2012 clock-output-names = "pcie_1_pipe_clk";
2013 };
2014 };
2015
David Daib303f9f2020-02-10 00:04:11 +05302016 mem_noc: interconnect@1380000 {
2017 compatible = "qcom,sdm845-mem-noc";
2018 reg = <0 0x01380000 0 0x27200>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +03002019 #interconnect-cells = <2>;
David Daib303f9f2020-02-10 00:04:11 +05302020 qcom,bcm-voters = <&apps_bcm_voter>;
2021 };
2022
2023 dc_noc: interconnect@14e0000 {
2024 compatible = "qcom,sdm845-dc-noc";
2025 reg = <0 0x014e0000 0 0x400>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +03002026 #interconnect-cells = <2>;
David Daib303f9f2020-02-10 00:04:11 +05302027 qcom,bcm-voters = <&apps_bcm_voter>;
2028 };
2029
2030 config_noc: interconnect@1500000 {
2031 compatible = "qcom,sdm845-config-noc";
2032 reg = <0 0x01500000 0 0x5080>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +03002033 #interconnect-cells = <2>;
David Daib303f9f2020-02-10 00:04:11 +05302034 qcom,bcm-voters = <&apps_bcm_voter>;
2035 };
2036
2037 system_noc: interconnect@1620000 {
2038 compatible = "qcom,sdm845-system-noc";
2039 reg = <0 0x01620000 0 0x18080>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +03002040 #interconnect-cells = <2>;
David Daib303f9f2020-02-10 00:04:11 +05302041 qcom,bcm-voters = <&apps_bcm_voter>;
2042 };
2043
2044 aggre1_noc: interconnect@16e0000 {
2045 compatible = "qcom,sdm845-aggre1-noc";
2046 reg = <0 0x016e0000 0 0x15080>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +03002047 #interconnect-cells = <2>;
David Daib303f9f2020-02-10 00:04:11 +05302048 qcom,bcm-voters = <&apps_bcm_voter>;
2049 };
2050
2051 aggre2_noc: interconnect@1700000 {
2052 compatible = "qcom,sdm845-aggre2-noc";
2053 reg = <0 0x01700000 0 0x1f300>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +03002054 #interconnect-cells = <2>;
David Daib303f9f2020-02-10 00:04:11 +05302055 qcom,bcm-voters = <&apps_bcm_voter>;
2056 };
2057
2058 mmss_noc: interconnect@1740000 {
2059 compatible = "qcom,sdm845-mmss-noc";
2060 reg = <0 0x01740000 0 0x1c100>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +03002061 #interconnect-cells = <2>;
David Daib303f9f2020-02-10 00:04:11 +05302062 qcom,bcm-voters = <&apps_bcm_voter>;
2063 };
2064
Evan Greencc166872018-12-10 11:28:24 -08002065 ufs_mem_hc: ufshc@1d84000 {
2066 compatible = "qcom,sdm845-ufshc", "qcom,ufshc",
2067 "jedec,ufs-2.0";
Eric Biggers433f9a52020-07-10 00:20:10 -07002068 reg = <0 0x01d84000 0 0x2500>,
2069 <0 0x01d90000 0 0x8000>;
2070 reg-names = "std", "ice";
Evan Greencc166872018-12-10 11:28:24 -08002071 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
2072 phys = <&ufs_mem_phy_lanes>;
2073 phy-names = "ufsphy";
2074 lanes-per-direction = <2>;
2075 power-domains = <&gcc UFS_PHY_GDSC>;
Evan Green71278b02019-03-21 10:17:56 -07002076 #reset-cells = <1>;
Vinod Koula8aa4812020-01-06 12:38:26 +05302077 resets = <&gcc GCC_UFS_PHY_BCR>;
2078 reset-names = "rst";
Evan Greencc166872018-12-10 11:28:24 -08002079
2080 iommus = <&apps_smmu 0x100 0xf>;
2081
2082 clock-names =
2083 "core_clk",
2084 "bus_aggr_clk",
2085 "iface_clk",
2086 "core_clk_unipro",
2087 "ref_clk",
2088 "tx_lane0_sync_clk",
2089 "rx_lane0_sync_clk",
Eric Biggers433f9a52020-07-10 00:20:10 -07002090 "rx_lane1_sync_clk",
2091 "ice_core_clk";
Evan Greencc166872018-12-10 11:28:24 -08002092 clocks =
2093 <&gcc GCC_UFS_PHY_AXI_CLK>,
2094 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
2095 <&gcc GCC_UFS_PHY_AHB_CLK>,
2096 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
2097 <&rpmhcc RPMH_CXO_CLK>,
2098 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
2099 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
Eric Biggers433f9a52020-07-10 00:20:10 -07002100 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>,
2101 <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
Evan Greencc166872018-12-10 11:28:24 -08002102 freq-table-hz =
2103 <50000000 200000000>,
2104 <0 0>,
2105 <0 0>,
2106 <37500000 150000000>,
2107 <0 0>,
2108 <0 0>,
2109 <0 0>,
Eric Biggers433f9a52020-07-10 00:20:10 -07002110 <0 0>,
2111 <0 300000000>;
Evan Greencc166872018-12-10 11:28:24 -08002112
2113 status = "disabled";
2114 };
2115
2116 ufs_mem_phy: phy@1d87000 {
2117 compatible = "qcom,sdm845-qmp-ufs-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002118 reg = <0 0x01d87000 0 0x18c>;
2119 #address-cells = <2>;
2120 #size-cells = <2>;
Evan Greencc166872018-12-10 11:28:24 -08002121 ranges;
2122 clock-names = "ref",
2123 "ref_aux";
2124 clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
2125 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
2126
Evan Green71278b02019-03-21 10:17:56 -07002127 resets = <&ufs_mem_hc 0>;
2128 reset-names = "ufsphy";
Evan Greencc166872018-12-10 11:28:24 -08002129 status = "disabled";
2130
2131 ufs_mem_phy_lanes: lanes@1d87400 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002132 reg = <0 0x01d87400 0 0x108>,
2133 <0 0x01d87600 0 0x1e0>,
2134 <0 0x01d87c00 0 0x1dc>,
2135 <0 0x01d87800 0 0x108>,
2136 <0 0x01d87a00 0 0x1e0>;
Evan Greencc166872018-12-10 11:28:24 -08002137 #phy-cells = <0>;
2138 };
2139 };
2140
Alex Elder392a5852020-03-13 06:52:36 -05002141 ipa: ipa@1e40000 {
2142 compatible = "qcom,sdm845-ipa";
Alex Eldere9e89c42020-05-04 13:13:50 -05002143
2144 iommus = <&apps_smmu 0x720 0x3>;
Alex Elder392a5852020-03-13 06:52:36 -05002145 reg = <0 0x1e40000 0 0x7000>,
2146 <0 0x1e47000 0 0x2000>,
2147 <0 0x1e04000 0 0x2c000>;
2148 reg-names = "ipa-reg",
2149 "ipa-shared",
2150 "gsi";
2151
2152 interrupts-extended = <&intc 0 311 IRQ_TYPE_EDGE_RISING>,
2153 <&intc 0 432 IRQ_TYPE_LEVEL_HIGH>,
2154 <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2155 <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
2156 interrupt-names = "ipa",
2157 "gsi",
2158 "ipa-clock-query",
2159 "ipa-setup-ready";
2160
2161 clocks = <&rpmhcc RPMH_IPA_CLK>;
2162 clock-names = "core";
2163
Georgi Djakov7901c2b2020-09-03 16:31:32 +03002164 interconnects = <&aggre2_noc MASTER_IPA 0 &mem_noc SLAVE_EBI1 0>,
2165 <&aggre2_noc MASTER_IPA 0 &system_noc SLAVE_IMEM 0>,
2166 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_IPA_CFG 0>;
Alex Elder392a5852020-03-13 06:52:36 -05002167 interconnect-names = "memory",
2168 "imem",
2169 "config";
2170
2171 qcom,smem-states = <&ipa_smp2p_out 0>,
2172 <&ipa_smp2p_out 1>;
2173 qcom,smem-state-names = "ipa-clock-enabled-valid",
2174 "ipa-clock-enabled";
2175
2176 modem-remoteproc = <&mss_pil>;
2177
2178 status = "disabled";
2179 };
2180
Douglas Anderson54d7a202018-05-14 20:59:22 -07002181 tcsr_mutex_regs: syscon@1f40000 {
2182 compatible = "syscon";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002183 reg = <0 0x01f40000 0 0x40000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07002184 };
2185
2186 tlmm: pinctrl@3400000 {
2187 compatible = "qcom,sdm845-pinctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002188 reg = <0 0x03400000 0 0xc00000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07002189 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
2190 gpio-controller;
2191 #gpio-cells = <2>;
2192 interrupt-controller;
2193 #interrupt-cells = <2>;
Evan Greenbc2c8062018-11-09 15:52:12 -08002194 gpio-ranges = <&tlmm 0 0 150>;
Lina Iyeraeae9482019-11-15 15:11:54 -07002195 wakeup-parent = <&pdc_intc>;
Douglas Anderson897cf342018-06-13 09:53:51 -07002196
Robert Foss07484de2020-03-24 16:58:39 +01002197 cci0_default: cci0-default {
2198 /* SDA, SCL */
2199 pins = "gpio17", "gpio18";
2200 function = "cci_i2c";
2201
2202 bias-pull-up;
2203 drive-strength = <2>; /* 2 mA */
2204 };
2205
2206 cci0_sleep: cci0-sleep {
2207 /* SDA, SCL */
2208 pins = "gpio17", "gpio18";
2209 function = "cci_i2c";
2210
2211 drive-strength = <2>; /* 2 mA */
2212 bias-pull-down;
2213 };
2214
2215 cci1_default: cci1-default {
2216 /* SDA, SCL */
2217 pins = "gpio19", "gpio20";
2218 function = "cci_i2c";
2219
2220 bias-pull-up;
2221 drive-strength = <2>; /* 2 mA */
2222 };
2223
2224 cci1_sleep: cci1-sleep {
2225 /* SDA, SCL */
2226 pins = "gpio19", "gpio20";
2227 function = "cci_i2c";
2228
2229 drive-strength = <2>; /* 2 mA */
2230 bias-pull-down;
2231 };
2232
Douglas Andersone1ce8532018-10-08 13:17:11 -07002233 qspi_clk: qspi-clk {
2234 pinmux {
2235 pins = "gpio95";
2236 function = "qspi_clk";
2237 };
2238 };
2239
2240 qspi_cs0: qspi-cs0 {
2241 pinmux {
2242 pins = "gpio90";
2243 function = "qspi_cs";
2244 };
2245 };
2246
2247 qspi_cs1: qspi-cs1 {
2248 pinmux {
2249 pins = "gpio89";
2250 function = "qspi_cs";
2251 };
2252 };
2253
2254 qspi_data01: qspi-data01 {
2255 pinmux-data {
2256 pins = "gpio91", "gpio92";
2257 function = "qspi_data";
2258 };
2259 };
2260
2261 qspi_data12: qspi-data12 {
2262 pinmux-data {
2263 pins = "gpio93", "gpio94";
2264 function = "qspi_data";
2265 };
2266 };
2267
Douglas Anderson897cf342018-06-13 09:53:51 -07002268 qup_i2c0_default: qup-i2c0-default {
2269 pinmux {
2270 pins = "gpio0", "gpio1";
2271 function = "qup0";
2272 };
2273 };
2274
2275 qup_i2c1_default: qup-i2c1-default {
2276 pinmux {
2277 pins = "gpio17", "gpio18";
2278 function = "qup1";
2279 };
2280 };
2281
2282 qup_i2c2_default: qup-i2c2-default {
2283 pinmux {
2284 pins = "gpio27", "gpio28";
2285 function = "qup2";
2286 };
2287 };
2288
2289 qup_i2c3_default: qup-i2c3-default {
2290 pinmux {
2291 pins = "gpio41", "gpio42";
2292 function = "qup3";
2293 };
2294 };
2295
2296 qup_i2c4_default: qup-i2c4-default {
2297 pinmux {
2298 pins = "gpio89", "gpio90";
2299 function = "qup4";
2300 };
2301 };
2302
2303 qup_i2c5_default: qup-i2c5-default {
2304 pinmux {
2305 pins = "gpio85", "gpio86";
2306 function = "qup5";
2307 };
2308 };
2309
2310 qup_i2c6_default: qup-i2c6-default {
2311 pinmux {
2312 pins = "gpio45", "gpio46";
2313 function = "qup6";
2314 };
2315 };
2316
2317 qup_i2c7_default: qup-i2c7-default {
2318 pinmux {
2319 pins = "gpio93", "gpio94";
2320 function = "qup7";
2321 };
2322 };
2323
2324 qup_i2c8_default: qup-i2c8-default {
2325 pinmux {
2326 pins = "gpio65", "gpio66";
2327 function = "qup8";
2328 };
2329 };
2330
2331 qup_i2c9_default: qup-i2c9-default {
2332 pinmux {
2333 pins = "gpio6", "gpio7";
2334 function = "qup9";
2335 };
2336 };
2337
2338 qup_i2c10_default: qup-i2c10-default {
2339 pinmux {
2340 pins = "gpio55", "gpio56";
2341 function = "qup10";
2342 };
2343 };
2344
2345 qup_i2c11_default: qup-i2c11-default {
2346 pinmux {
2347 pins = "gpio31", "gpio32";
2348 function = "qup11";
2349 };
2350 };
2351
2352 qup_i2c12_default: qup-i2c12-default {
2353 pinmux {
2354 pins = "gpio49", "gpio50";
2355 function = "qup12";
2356 };
2357 };
2358
2359 qup_i2c13_default: qup-i2c13-default {
2360 pinmux {
2361 pins = "gpio105", "gpio106";
2362 function = "qup13";
2363 };
2364 };
2365
2366 qup_i2c14_default: qup-i2c14-default {
2367 pinmux {
2368 pins = "gpio33", "gpio34";
2369 function = "qup14";
2370 };
2371 };
2372
2373 qup_i2c15_default: qup-i2c15-default {
2374 pinmux {
2375 pins = "gpio81", "gpio82";
2376 function = "qup15";
2377 };
2378 };
2379
2380 qup_spi0_default: qup-spi0-default {
2381 pinmux {
2382 pins = "gpio0", "gpio1",
2383 "gpio2", "gpio3";
2384 function = "qup0";
2385 };
2386 };
2387
2388 qup_spi1_default: qup-spi1-default {
2389 pinmux {
2390 pins = "gpio17", "gpio18",
2391 "gpio19", "gpio20";
2392 function = "qup1";
2393 };
2394 };
2395
2396 qup_spi2_default: qup-spi2-default {
2397 pinmux {
2398 pins = "gpio27", "gpio28",
2399 "gpio29", "gpio30";
2400 function = "qup2";
2401 };
2402 };
2403
2404 qup_spi3_default: qup-spi3-default {
2405 pinmux {
2406 pins = "gpio41", "gpio42",
2407 "gpio43", "gpio44";
2408 function = "qup3";
2409 };
2410 };
2411
2412 qup_spi4_default: qup-spi4-default {
2413 pinmux {
2414 pins = "gpio89", "gpio90",
2415 "gpio91", "gpio92";
2416 function = "qup4";
2417 };
2418 };
2419
2420 qup_spi5_default: qup-spi5-default {
2421 pinmux {
2422 pins = "gpio85", "gpio86",
2423 "gpio87", "gpio88";
2424 function = "qup5";
2425 };
2426 };
2427
2428 qup_spi6_default: qup-spi6-default {
2429 pinmux {
2430 pins = "gpio45", "gpio46",
2431 "gpio47", "gpio48";
2432 function = "qup6";
2433 };
2434 };
2435
2436 qup_spi7_default: qup-spi7-default {
2437 pinmux {
2438 pins = "gpio93", "gpio94",
2439 "gpio95", "gpio96";
2440 function = "qup7";
2441 };
2442 };
2443
2444 qup_spi8_default: qup-spi8-default {
2445 pinmux {
2446 pins = "gpio65", "gpio66",
2447 "gpio67", "gpio68";
2448 function = "qup8";
2449 };
2450 };
2451
2452 qup_spi9_default: qup-spi9-default {
2453 pinmux {
2454 pins = "gpio6", "gpio7",
2455 "gpio4", "gpio5";
2456 function = "qup9";
2457 };
2458 };
2459
2460 qup_spi10_default: qup-spi10-default {
2461 pinmux {
2462 pins = "gpio55", "gpio56",
2463 "gpio53", "gpio54";
2464 function = "qup10";
2465 };
2466 };
2467
2468 qup_spi11_default: qup-spi11-default {
2469 pinmux {
2470 pins = "gpio31", "gpio32",
2471 "gpio33", "gpio34";
2472 function = "qup11";
2473 };
2474 };
2475
2476 qup_spi12_default: qup-spi12-default {
2477 pinmux {
2478 pins = "gpio49", "gpio50",
2479 "gpio51", "gpio52";
2480 function = "qup12";
2481 };
2482 };
2483
2484 qup_spi13_default: qup-spi13-default {
2485 pinmux {
2486 pins = "gpio105", "gpio106",
2487 "gpio107", "gpio108";
2488 function = "qup13";
2489 };
2490 };
2491
2492 qup_spi14_default: qup-spi14-default {
2493 pinmux {
2494 pins = "gpio33", "gpio34",
2495 "gpio31", "gpio32";
2496 function = "qup14";
2497 };
2498 };
2499
2500 qup_spi15_default: qup-spi15-default {
2501 pinmux {
2502 pins = "gpio81", "gpio82",
2503 "gpio83", "gpio84";
2504 function = "qup15";
2505 };
2506 };
2507
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07002508 qup_uart0_default: qup-uart0-default {
2509 pinmux {
2510 pins = "gpio2", "gpio3";
2511 function = "qup0";
2512 };
2513 };
2514
2515 qup_uart1_default: qup-uart1-default {
2516 pinmux {
2517 pins = "gpio19", "gpio20";
2518 function = "qup1";
2519 };
2520 };
2521
2522 qup_uart2_default: qup-uart2-default {
2523 pinmux {
2524 pins = "gpio29", "gpio30";
2525 function = "qup2";
2526 };
2527 };
2528
2529 qup_uart3_default: qup-uart3-default {
2530 pinmux {
2531 pins = "gpio43", "gpio44";
2532 function = "qup3";
2533 };
2534 };
2535
2536 qup_uart4_default: qup-uart4-default {
2537 pinmux {
2538 pins = "gpio91", "gpio92";
2539 function = "qup4";
2540 };
2541 };
2542
2543 qup_uart5_default: qup-uart5-default {
2544 pinmux {
2545 pins = "gpio87", "gpio88";
2546 function = "qup5";
2547 };
2548 };
2549
2550 qup_uart6_default: qup-uart6-default {
2551 pinmux {
2552 pins = "gpio47", "gpio48";
2553 function = "qup6";
2554 };
2555 };
2556
2557 qup_uart7_default: qup-uart7-default {
2558 pinmux {
2559 pins = "gpio95", "gpio96";
2560 function = "qup7";
2561 };
2562 };
2563
2564 qup_uart8_default: qup-uart8-default {
2565 pinmux {
2566 pins = "gpio67", "gpio68";
2567 function = "qup8";
2568 };
2569 };
2570
Douglas Anderson897cf342018-06-13 09:53:51 -07002571 qup_uart9_default: qup-uart9-default {
2572 pinmux {
2573 pins = "gpio4", "gpio5";
2574 function = "qup9";
2575 };
2576 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07002577
2578 qup_uart10_default: qup-uart10-default {
2579 pinmux {
2580 pins = "gpio53", "gpio54";
2581 function = "qup10";
2582 };
2583 };
2584
2585 qup_uart11_default: qup-uart11-default {
2586 pinmux {
2587 pins = "gpio33", "gpio34";
2588 function = "qup11";
2589 };
2590 };
2591
2592 qup_uart12_default: qup-uart12-default {
2593 pinmux {
2594 pins = "gpio51", "gpio52";
2595 function = "qup12";
2596 };
2597 };
2598
2599 qup_uart13_default: qup-uart13-default {
2600 pinmux {
2601 pins = "gpio107", "gpio108";
2602 function = "qup13";
2603 };
2604 };
2605
2606 qup_uart14_default: qup-uart14-default {
2607 pinmux {
2608 pins = "gpio31", "gpio32";
2609 function = "qup14";
2610 };
2611 };
2612
2613 qup_uart15_default: qup-uart15-default {
2614 pinmux {
2615 pins = "gpio83", "gpio84";
2616 function = "qup15";
2617 };
2618 };
Srinivas Kandagatla606057b2020-03-12 14:30:23 +00002619
2620 quat_mi2s_sleep: quat_mi2s_sleep {
2621 mux {
2622 pins = "gpio58", "gpio59";
2623 function = "gpio";
2624 };
2625
2626 config {
2627 pins = "gpio58", "gpio59";
2628 drive-strength = <2>;
2629 bias-pull-down;
2630 input-enable;
2631 };
2632 };
2633
2634 quat_mi2s_active: quat_mi2s_active {
2635 mux {
2636 pins = "gpio58", "gpio59";
2637 function = "qua_mi2s";
2638 };
2639
2640 config {
2641 pins = "gpio58", "gpio59";
2642 drive-strength = <8>;
2643 bias-disable;
2644 output-high;
2645 };
2646 };
2647
2648 quat_mi2s_sd0_sleep: quat_mi2s_sd0_sleep {
2649 mux {
2650 pins = "gpio60";
2651 function = "gpio";
2652 };
2653
2654 config {
2655 pins = "gpio60";
2656 drive-strength = <2>;
2657 bias-pull-down;
2658 input-enable;
2659 };
2660 };
2661
2662 quat_mi2s_sd0_active: quat_mi2s_sd0_active {
2663 mux {
2664 pins = "gpio60";
2665 function = "qua_mi2s";
2666 };
2667
2668 config {
2669 pins = "gpio60";
2670 drive-strength = <8>;
2671 bias-disable;
2672 };
2673 };
2674
2675 quat_mi2s_sd1_sleep: quat_mi2s_sd1_sleep {
2676 mux {
2677 pins = "gpio61";
2678 function = "gpio";
2679 };
2680
2681 config {
2682 pins = "gpio61";
2683 drive-strength = <2>;
2684 bias-pull-down;
2685 input-enable;
2686 };
2687 };
2688
2689 quat_mi2s_sd1_active: quat_mi2s_sd1_active {
2690 mux {
2691 pins = "gpio61";
2692 function = "qua_mi2s";
2693 };
2694
2695 config {
2696 pins = "gpio61";
2697 drive-strength = <8>;
2698 bias-disable;
2699 };
2700 };
2701
2702 quat_mi2s_sd2_sleep: quat_mi2s_sd2_sleep {
2703 mux {
2704 pins = "gpio62";
2705 function = "gpio";
2706 };
2707
2708 config {
2709 pins = "gpio62";
2710 drive-strength = <2>;
2711 bias-pull-down;
2712 input-enable;
2713 };
2714 };
2715
2716 quat_mi2s_sd2_active: quat_mi2s_sd2_active {
2717 mux {
2718 pins = "gpio62";
2719 function = "qua_mi2s";
2720 };
2721
2722 config {
2723 pins = "gpio62";
2724 drive-strength = <8>;
2725 bias-disable;
2726 };
2727 };
2728
2729 quat_mi2s_sd3_sleep: quat_mi2s_sd3_sleep {
2730 mux {
2731 pins = "gpio63";
2732 function = "gpio";
2733 };
2734
2735 config {
2736 pins = "gpio63";
2737 drive-strength = <2>;
2738 bias-pull-down;
2739 input-enable;
2740 };
2741 };
2742
2743 quat_mi2s_sd3_active: quat_mi2s_sd3_active {
2744 mux {
2745 pins = "gpio63";
2746 function = "qua_mi2s";
2747 };
2748
2749 config {
2750 pins = "gpio63";
2751 drive-strength = <8>;
2752 bias-disable;
2753 };
2754 };
Douglas Anderson54d7a202018-05-14 20:59:22 -07002755 };
2756
Sibi Sankare76c3672019-06-11 21:45:36 -07002757 mss_pil: remoteproc@4080000 {
2758 compatible = "qcom,sdm845-mss-pil";
2759 reg = <0 0x04080000 0 0x408>, <0 0x04180000 0 0x48>;
2760 reg-names = "qdsp6", "rmb";
2761
2762 interrupts-extended =
2763 <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,
2764 <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2765 <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
2766 <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
2767 <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
2768 <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
2769 interrupt-names = "wdog", "fatal", "ready",
2770 "handover", "stop-ack",
2771 "shutdown-ack";
2772
2773 clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
2774 <&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
2775 <&gcc GCC_BOOT_ROM_AHB_CLK>,
2776 <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
2777 <&gcc GCC_MSS_SNOC_AXI_CLK>,
2778 <&gcc GCC_MSS_MFAB_AXIS_CLK>,
2779 <&gcc GCC_PRNG_AHB_CLK>,
2780 <&rpmhcc RPMH_CXO_CLK>;
2781 clock-names = "iface", "bus", "mem", "gpll0_mss",
2782 "snoc_axi", "mnoc_axi", "prng", "xo";
2783
2784 qcom,smem-states = <&modem_smp2p_out 0>;
2785 qcom,smem-state-names = "stop";
2786
2787 resets = <&aoss_reset AOSS_CC_MSS_RESTART>,
2788 <&pdc_reset PDC_MODEM_SYNC_RESET>;
2789 reset-names = "mss_restart", "pdc_reset";
2790
2791 qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>;
2792
2793 power-domains = <&aoss_qmp 2>,
2794 <&rpmhpd SDM845_CX>,
2795 <&rpmhpd SDM845_MX>,
2796 <&rpmhpd SDM845_MSS>;
2797 power-domain-names = "load_state", "cx", "mx", "mss";
2798
2799 mba {
2800 memory-region = <&mba_region>;
2801 };
2802
2803 mpss {
2804 memory-region = <&mpss_region>;
2805 };
2806
2807 glink-edge {
2808 interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
2809 label = "modem";
2810 qcom,remote-pid = <1>;
2811 mboxes = <&apss_shared 12>;
2812 };
2813 };
2814
Douglas Anderson9aa4a272018-11-28 10:57:43 -08002815 gpucc: clock-controller@5090000 {
2816 compatible = "qcom,sdm845-gpucc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002817 reg = <0 0x05090000 0 0x9000>;
Douglas Anderson9aa4a272018-11-28 10:57:43 -08002818 #clock-cells = <1>;
2819 #reset-cells = <1>;
2820 #power-domain-cells = <1>;
Douglas Andersonbb2bd9b2020-02-03 10:31:41 -08002821 clocks = <&rpmhcc RPMH_CXO_CLK>,
2822 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
2823 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
2824 clock-names = "bi_tcxo",
2825 "gcc_gpu_gpll0_clk_src",
2826 "gcc_gpu_gpll0_div_clk_src";
Douglas Anderson9aa4a272018-11-28 10:57:43 -08002827 };
2828
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05302829 stm@6002000 {
2830 compatible = "arm,coresight-stm", "arm,primecell";
2831 reg = <0 0x06002000 0 0x1000>,
2832 <0 0x16280000 0 0x180000>;
2833 reg-names = "stm-base", "stm-stimulus-base";
2834
2835 clocks = <&aoss_qmp>;
2836 clock-names = "apb_pclk";
2837
2838 out-ports {
2839 port {
2840 stm_out: endpoint {
2841 remote-endpoint =
2842 <&funnel0_in7>;
2843 };
2844 };
2845 };
2846 };
2847
2848 funnel@6041000 {
2849 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2850 reg = <0 0x06041000 0 0x1000>;
2851
2852 clocks = <&aoss_qmp>;
2853 clock-names = "apb_pclk";
2854
2855 out-ports {
2856 port {
2857 funnel0_out: endpoint {
2858 remote-endpoint =
2859 <&merge_funnel_in0>;
2860 };
2861 };
2862 };
2863
2864 in-ports {
2865 #address-cells = <1>;
2866 #size-cells = <0>;
2867
2868 port@7 {
2869 reg = <7>;
2870 funnel0_in7: endpoint {
2871 remote-endpoint = <&stm_out>;
2872 };
2873 };
2874 };
2875 };
2876
2877 funnel@6043000 {
2878 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2879 reg = <0 0x06043000 0 0x1000>;
2880
2881 clocks = <&aoss_qmp>;
2882 clock-names = "apb_pclk";
2883
2884 out-ports {
2885 port {
2886 funnel2_out: endpoint {
2887 remote-endpoint =
2888 <&merge_funnel_in2>;
2889 };
2890 };
2891 };
2892
2893 in-ports {
2894 #address-cells = <1>;
2895 #size-cells = <0>;
2896
2897 port@5 {
2898 reg = <5>;
2899 funnel2_in5: endpoint {
2900 remote-endpoint =
2901 <&apss_merge_funnel_out>;
2902 };
2903 };
2904 };
2905 };
2906
2907 funnel@6045000 {
2908 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2909 reg = <0 0x06045000 0 0x1000>;
2910
2911 clocks = <&aoss_qmp>;
2912 clock-names = "apb_pclk";
2913
2914 out-ports {
2915 port {
2916 merge_funnel_out: endpoint {
2917 remote-endpoint = <&etf_in>;
2918 };
2919 };
2920 };
2921
2922 in-ports {
2923 #address-cells = <1>;
2924 #size-cells = <0>;
2925
2926 port@0 {
2927 reg = <0>;
2928 merge_funnel_in0: endpoint {
2929 remote-endpoint =
2930 <&funnel0_out>;
2931 };
2932 };
2933
2934 port@2 {
2935 reg = <2>;
2936 merge_funnel_in2: endpoint {
2937 remote-endpoint =
2938 <&funnel2_out>;
2939 };
2940 };
2941 };
2942 };
2943
2944 replicator@6046000 {
2945 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
2946 reg = <0 0x06046000 0 0x1000>;
2947
2948 clocks = <&aoss_qmp>;
2949 clock-names = "apb_pclk";
2950
2951 out-ports {
2952 port {
2953 replicator_out: endpoint {
2954 remote-endpoint = <&etr_in>;
2955 };
2956 };
2957 };
2958
2959 in-ports {
2960 port {
2961 replicator_in: endpoint {
2962 remote-endpoint = <&etf_out>;
2963 };
2964 };
2965 };
2966 };
2967
2968 etf@6047000 {
2969 compatible = "arm,coresight-tmc", "arm,primecell";
2970 reg = <0 0x06047000 0 0x1000>;
2971
2972 clocks = <&aoss_qmp>;
2973 clock-names = "apb_pclk";
2974
2975 out-ports {
2976 port {
2977 etf_out: endpoint {
2978 remote-endpoint =
2979 <&replicator_in>;
2980 };
2981 };
2982 };
2983
2984 in-ports {
2985 #address-cells = <1>;
2986 #size-cells = <0>;
2987
2988 port@1 {
2989 reg = <1>;
2990 etf_in: endpoint {
2991 remote-endpoint =
2992 <&merge_funnel_out>;
2993 };
2994 };
2995 };
2996 };
2997
2998 etr@6048000 {
2999 compatible = "arm,coresight-tmc", "arm,primecell";
3000 reg = <0 0x06048000 0 0x1000>;
3001
3002 clocks = <&aoss_qmp>;
3003 clock-names = "apb_pclk";
3004 arm,scatter-gather;
3005
3006 in-ports {
3007 port {
3008 etr_in: endpoint {
3009 remote-endpoint =
3010 <&replicator_out>;
3011 };
3012 };
3013 };
3014 };
3015
3016 etm@7040000 {
3017 compatible = "arm,coresight-etm4x", "arm,primecell";
3018 reg = <0 0x07040000 0 0x1000>;
3019
3020 cpu = <&CPU0>;
3021
3022 clocks = <&aoss_qmp>;
3023 clock-names = "apb_pclk";
Sai Prakash Ranjan4a183022020-07-21 12:43:43 +05303024 arm,coresight-loses-context-with-cpu;
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05303025
3026 out-ports {
3027 port {
3028 etm0_out: endpoint {
3029 remote-endpoint =
3030 <&apss_funnel_in0>;
3031 };
3032 };
3033 };
3034 };
3035
3036 etm@7140000 {
3037 compatible = "arm,coresight-etm4x", "arm,primecell";
3038 reg = <0 0x07140000 0 0x1000>;
3039
3040 cpu = <&CPU1>;
3041
3042 clocks = <&aoss_qmp>;
3043 clock-names = "apb_pclk";
Sai Prakash Ranjan4a183022020-07-21 12:43:43 +05303044 arm,coresight-loses-context-with-cpu;
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05303045
3046 out-ports {
3047 port {
3048 etm1_out: endpoint {
3049 remote-endpoint =
3050 <&apss_funnel_in1>;
3051 };
3052 };
3053 };
3054 };
3055
3056 etm@7240000 {
3057 compatible = "arm,coresight-etm4x", "arm,primecell";
3058 reg = <0 0x07240000 0 0x1000>;
3059
3060 cpu = <&CPU2>;
3061
3062 clocks = <&aoss_qmp>;
3063 clock-names = "apb_pclk";
Sai Prakash Ranjan4a183022020-07-21 12:43:43 +05303064 arm,coresight-loses-context-with-cpu;
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05303065
3066 out-ports {
3067 port {
3068 etm2_out: endpoint {
3069 remote-endpoint =
3070 <&apss_funnel_in2>;
3071 };
3072 };
3073 };
3074 };
3075
3076 etm@7340000 {
3077 compatible = "arm,coresight-etm4x", "arm,primecell";
3078 reg = <0 0x07340000 0 0x1000>;
3079
3080 cpu = <&CPU3>;
3081
3082 clocks = <&aoss_qmp>;
3083 clock-names = "apb_pclk";
Sai Prakash Ranjan4a183022020-07-21 12:43:43 +05303084 arm,coresight-loses-context-with-cpu;
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05303085
3086 out-ports {
3087 port {
3088 etm3_out: endpoint {
3089 remote-endpoint =
3090 <&apss_funnel_in3>;
3091 };
3092 };
3093 };
3094 };
3095
3096 etm@7440000 {
3097 compatible = "arm,coresight-etm4x", "arm,primecell";
3098 reg = <0 0x07440000 0 0x1000>;
3099
3100 cpu = <&CPU4>;
3101
3102 clocks = <&aoss_qmp>;
3103 clock-names = "apb_pclk";
Sai Prakash Ranjan4a183022020-07-21 12:43:43 +05303104 arm,coresight-loses-context-with-cpu;
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05303105
3106 out-ports {
3107 port {
3108 etm4_out: endpoint {
3109 remote-endpoint =
3110 <&apss_funnel_in4>;
3111 };
3112 };
3113 };
3114 };
3115
3116 etm@7540000 {
3117 compatible = "arm,coresight-etm4x", "arm,primecell";
3118 reg = <0 0x07540000 0 0x1000>;
3119
3120 cpu = <&CPU5>;
3121
3122 clocks = <&aoss_qmp>;
3123 clock-names = "apb_pclk";
Sai Prakash Ranjan4a183022020-07-21 12:43:43 +05303124 arm,coresight-loses-context-with-cpu;
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05303125
3126 out-ports {
3127 port {
3128 etm5_out: endpoint {
3129 remote-endpoint =
3130 <&apss_funnel_in5>;
3131 };
3132 };
3133 };
3134 };
3135
3136 etm@7640000 {
3137 compatible = "arm,coresight-etm4x", "arm,primecell";
3138 reg = <0 0x07640000 0 0x1000>;
3139
3140 cpu = <&CPU6>;
3141
3142 clocks = <&aoss_qmp>;
3143 clock-names = "apb_pclk";
Sai Prakash Ranjan4a183022020-07-21 12:43:43 +05303144 arm,coresight-loses-context-with-cpu;
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05303145
3146 out-ports {
3147 port {
3148 etm6_out: endpoint {
3149 remote-endpoint =
3150 <&apss_funnel_in6>;
3151 };
3152 };
3153 };
3154 };
3155
3156 etm@7740000 {
3157 compatible = "arm,coresight-etm4x", "arm,primecell";
3158 reg = <0 0x07740000 0 0x1000>;
3159
3160 cpu = <&CPU7>;
3161
3162 clocks = <&aoss_qmp>;
3163 clock-names = "apb_pclk";
Sai Prakash Ranjan4a183022020-07-21 12:43:43 +05303164 arm,coresight-loses-context-with-cpu;
Sai Prakash Ranjaned7d61102019-07-31 11:28:00 +05303165
3166 out-ports {
3167 port {
3168 etm7_out: endpoint {
3169 remote-endpoint =
3170 <&apss_funnel_in7>;
3171 };
3172 };
3173 };
3174 };
3175
3176 funnel@7800000 { /* APSS Funnel */
3177 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3178 reg = <0 0x07800000 0 0x1000>;
3179
3180 clocks = <&aoss_qmp>;
3181 clock-names = "apb_pclk";
3182
3183 out-ports {
3184 port {
3185 apss_funnel_out: endpoint {
3186 remote-endpoint =
3187 <&apss_merge_funnel_in>;
3188 };
3189 };
3190 };
3191
3192 in-ports {
3193 #address-cells = <1>;
3194 #size-cells = <0>;
3195
3196 port@0 {
3197 reg = <0>;
3198 apss_funnel_in0: endpoint {
3199 remote-endpoint =
3200 <&etm0_out>;
3201 };
3202 };
3203
3204 port@1 {
3205 reg = <1>;
3206 apss_funnel_in1: endpoint {
3207 remote-endpoint =
3208 <&etm1_out>;
3209 };
3210 };
3211
3212 port@2 {
3213 reg = <2>;
3214 apss_funnel_in2: endpoint {
3215 remote-endpoint =
3216 <&etm2_out>;
3217 };
3218 };
3219
3220 port@3 {
3221 reg = <3>;
3222 apss_funnel_in3: endpoint {
3223 remote-endpoint =
3224 <&etm3_out>;
3225 };
3226 };
3227
3228 port@4 {
3229 reg = <4>;
3230 apss_funnel_in4: endpoint {
3231 remote-endpoint =
3232 <&etm4_out>;
3233 };
3234 };
3235
3236 port@5 {
3237 reg = <5>;
3238 apss_funnel_in5: endpoint {
3239 remote-endpoint =
3240 <&etm5_out>;
3241 };
3242 };
3243
3244 port@6 {
3245 reg = <6>;
3246 apss_funnel_in6: endpoint {
3247 remote-endpoint =
3248 <&etm6_out>;
3249 };
3250 };
3251
3252 port@7 {
3253 reg = <7>;
3254 apss_funnel_in7: endpoint {
3255 remote-endpoint =
3256 <&etm7_out>;
3257 };
3258 };
3259 };
3260 };
3261
3262 funnel@7810000 {
3263 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
3264 reg = <0 0x07810000 0 0x1000>;
3265
3266 clocks = <&aoss_qmp>;
3267 clock-names = "apb_pclk";
3268
3269 out-ports {
3270 port {
3271 apss_merge_funnel_out: endpoint {
3272 remote-endpoint =
3273 <&funnel2_in5>;
3274 };
3275 };
3276 };
3277
3278 in-ports {
3279 port {
3280 apss_merge_funnel_in: endpoint {
3281 remote-endpoint =
3282 <&apss_funnel_out>;
3283 };
3284 };
3285 };
3286 };
3287
Evan Green67d62e52018-12-06 10:45:21 -08003288 sdhc_2: sdhci@8804000 {
3289 compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003290 reg = <0 0x08804000 0 0x1000>;
Evan Green67d62e52018-12-06 10:45:21 -08003291
3292 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
3293 <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
3294 interrupt-names = "hc_irq", "pwr_irq";
3295
3296 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
3297 <&gcc GCC_SDCC2_APPS_CLK>;
3298 clock-names = "iface", "core";
Bjorn Andersson55fae1d2019-02-04 16:54:52 -08003299 iommus = <&apps_smmu 0xa0 0xf>;
Rajendra Nayak6123e742020-06-30 14:15:11 +05303300 power-domains = <&rpmhpd SDM845_CX>;
3301 operating-points-v2 = <&sdhc2_opp_table>;
Evan Green67d62e52018-12-06 10:45:21 -08003302
3303 status = "disabled";
Rajendra Nayak6123e742020-06-30 14:15:11 +05303304
3305 sdhc2_opp_table: sdhc2-opp-table {
3306 compatible = "operating-points-v2";
3307
3308 opp-9600000 {
3309 opp-hz = /bits/ 64 <9600000>;
3310 required-opps = <&rpmhpd_opp_min_svs>;
3311 };
3312
3313 opp-19200000 {
3314 opp-hz = /bits/ 64 <19200000>;
3315 required-opps = <&rpmhpd_opp_low_svs>;
3316 };
3317
3318 opp-100000000 {
3319 opp-hz = /bits/ 64 <100000000>;
3320 required-opps = <&rpmhpd_opp_svs>;
3321 };
3322
3323 opp-201500000 {
3324 opp-hz = /bits/ 64 <201500000>;
3325 required-opps = <&rpmhpd_opp_svs_l1>;
3326 };
3327 };
Evan Green67d62e52018-12-06 10:45:21 -08003328 };
3329
Rajendra Nayak5b4de2f2020-07-03 15:11:32 +05303330 qspi_opp_table: qspi-opp-table {
3331 compatible = "operating-points-v2";
3332
3333 opp-19200000 {
3334 opp-hz = /bits/ 64 <19200000>;
3335 required-opps = <&rpmhpd_opp_min_svs>;
3336 };
3337
3338 opp-100000000 {
3339 opp-hz = /bits/ 64 <100000000>;
3340 required-opps = <&rpmhpd_opp_low_svs>;
3341 };
3342
3343 opp-150000000 {
3344 opp-hz = /bits/ 64 <150000000>;
3345 required-opps = <&rpmhpd_opp_svs>;
3346 };
3347
3348 opp-300000000 {
3349 opp-hz = /bits/ 64 <300000000>;
3350 required-opps = <&rpmhpd_opp_nom>;
3351 };
3352 };
3353
Douglas Andersone1ce8532018-10-08 13:17:11 -07003354 qspi: spi@88df000 {
3355 compatible = "qcom,sdm845-qspi", "qcom,qspi-v1";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003356 reg = <0 0x088df000 0 0x600>;
Douglas Andersone1ce8532018-10-08 13:17:11 -07003357 #address-cells = <1>;
3358 #size-cells = <0>;
3359 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
3360 clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
3361 <&gcc GCC_QSPI_CORE_CLK>;
3362 clock-names = "iface", "core";
Rajendra Nayak5b4de2f2020-07-03 15:11:32 +05303363 power-domains = <&rpmhpd SDM845_CX>;
3364 operating-points-v2 = <&qspi_opp_table>;
Douglas Andersone1ce8532018-10-08 13:17:11 -07003365 status = "disabled";
3366 };
3367
Srinivas Kandagatla27ca1de2020-03-12 14:30:20 +00003368 slim: slim@171c0000 {
3369 compatible = "qcom,slim-ngd-v2.1.0";
3370 reg = <0 0x171c0000 0 0x2c000>;
3371 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
3372
3373 qcom,apps-ch-pipes = <0x780000>;
3374 qcom,ea-pc = <0x270>;
3375 status = "okay";
3376 dmas = <&slimbam 3>, <&slimbam 4>,
3377 <&slimbam 5>, <&slimbam 6>;
3378 dma-names = "rx", "tx", "tx2", "rx2";
3379
3380 iommus = <&apps_smmu 0x1806 0x0>;
3381 #address-cells = <1>;
3382 #size-cells = <0>;
3383
3384 ngd@1 {
3385 reg = <1>;
3386 #address-cells = <2>;
3387 #size-cells = <0>;
3388
3389 wcd9340_ifd: ifd@0{
3390 compatible = "slim217,250";
3391 reg = <0 0>;
3392 };
3393
3394 wcd9340: codec@1{
3395 compatible = "slim217,250";
3396 reg = <1 0>;
3397 slim-ifc-dev = <&wcd9340_ifd>;
3398
3399 #sound-dai-cells = <1>;
3400
3401 interrupts-extended = <&tlmm 54 IRQ_TYPE_LEVEL_HIGH>;
3402 interrupt-controller;
3403 #interrupt-cells = <1>;
3404
3405 #clock-cells = <0>;
3406 clock-frequency = <9600000>;
3407 clock-output-names = "mclk";
3408 qcom,micbias1-millivolt = <1800>;
3409 qcom,micbias2-millivolt = <1800>;
3410 qcom,micbias3-millivolt = <1800>;
3411 qcom,micbias4-millivolt = <1800>;
3412
3413 #address-cells = <1>;
3414 #size-cells = <1>;
3415
3416 wcdgpio: gpio-controller@42 {
3417 compatible = "qcom,wcd9340-gpio";
3418 gpio-controller;
3419 #gpio-cells = <2>;
3420 reg = <0x42 0x2>;
3421 };
3422
3423 swm: swm@c85 {
3424 compatible = "qcom,soundwire-v1.3.0";
3425 reg = <0xc85 0x40>;
3426 interrupts-extended = <&wcd9340 20>;
3427
3428 qcom,dout-ports = <6>;
3429 qcom,din-ports = <2>;
3430 qcom,ports-sinterval-low =/bits/ 8 <0x07 0x1F 0x3F 0x7 0x1F 0x3F 0x0F 0x0F>;
3431 qcom,ports-offset1 = /bits/ 8 <0x01 0x02 0x0C 0x6 0x12 0x0D 0x07 0x0A >;
3432 qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x1F 0x00 0x00 0x1F 0x00 0x00>;
3433
3434 #sound-dai-cells = <1>;
3435 clocks = <&wcd9340>;
3436 clock-names = "iface";
3437 #address-cells = <2>;
3438 #size-cells = <0>;
3439
3440
3441 };
3442 };
3443 };
3444 };
3445
3446 sound: sound {
3447 };
3448
Manu Gautamca4db2b2018-08-22 10:36:27 -07003449 usb_1_hsphy: phy@88e2000 {
Sandeep Maheswaramd724b422020-03-09 15:23:08 +05303450 compatible = "qcom,sdm845-qusb2-phy", "qcom,qusb2-v2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003451 reg = <0 0x088e2000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003452 status = "disabled";
3453 #phy-cells = <0>;
3454
3455 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3456 <&rpmhcc RPMH_CXO_CLK>;
3457 clock-names = "cfg_ahb", "ref";
3458
3459 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
3460
3461 nvmem-cells = <&qusb2p_hstx_trim>;
3462 };
3463
3464 usb_2_hsphy: phy@88e3000 {
Sandeep Maheswaramd724b422020-03-09 15:23:08 +05303465 compatible = "qcom,sdm845-qusb2-phy", "qcom,qusb2-v2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003466 reg = <0 0x088e3000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003467 status = "disabled";
3468 #phy-cells = <0>;
3469
3470 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3471 <&rpmhcc RPMH_CXO_CLK>;
3472 clock-names = "cfg_ahb", "ref";
3473
3474 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
3475
3476 nvmem-cells = <&qusb2s_hstx_trim>;
3477 };
3478
3479 usb_1_qmpphy: phy@88e9000 {
3480 compatible = "qcom,sdm845-qmp-usb3-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003481 reg = <0 0x088e9000 0 0x18c>,
3482 <0 0x088e8000 0 0x10>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003483 reg-names = "reg-base", "dp_com";
3484 status = "disabled";
3485 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003486 #address-cells = <2>;
3487 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003488 ranges;
3489
3490 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
3491 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3492 <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
3493 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
3494 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
3495
3496 resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
3497 <&gcc GCC_USB3_PHY_PRIM_BCR>;
3498 reset-names = "phy", "common";
3499
Evan Green9ebfcba2018-12-10 11:28:26 -08003500 usb_1_ssphy: lanes@88e9200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003501 reg = <0 0x088e9200 0 0x128>,
3502 <0 0x088e9400 0 0x200>,
3503 <0 0x088e9c00 0 0x218>,
3504 <0 0x088e9600 0 0x128>,
3505 <0 0x088e9800 0 0x200>,
3506 <0 0x088e9a00 0 0x100>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003507 #phy-cells = <0>;
3508 clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
3509 clock-names = "pipe0";
3510 clock-output-names = "usb3_phy_pipe_clk_src";
3511 };
3512 };
3513
3514 usb_2_qmpphy: phy@88eb000 {
3515 compatible = "qcom,sdm845-qmp-usb3-uni-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003516 reg = <0 0x088eb000 0 0x18c>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003517 status = "disabled";
3518 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003519 #address-cells = <2>;
3520 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003521 ranges;
3522
3523 clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
3524 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
3525 <&gcc GCC_USB3_SEC_CLKREF_CLK>,
3526 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
3527 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
3528
3529 resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
3530 <&gcc GCC_USB3_PHY_SEC_BCR>;
3531 reset-names = "phy", "common";
3532
3533 usb_2_ssphy: lane@88eb200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003534 reg = <0 0x088eb200 0 0x128>,
3535 <0 0x088eb400 0 0x1fc>,
3536 <0 0x088eb800 0 0x218>,
3537 <0 0x088eb600 0 0x70>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003538 #phy-cells = <0>;
3539 clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
3540 clock-names = "pipe0";
3541 clock-output-names = "usb3_uni_phy_pipe_clk_src";
3542 };
3543 };
3544
3545 usb_1: usb@a6f8800 {
3546 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003547 reg = <0 0x0a6f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003548 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003549 #address-cells = <2>;
3550 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003551 ranges;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08003552 dma-ranges;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003553
3554 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
3555 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
3556 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
3557 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
3558 <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
3559 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
3560 "sleep";
3561
3562 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
3563 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
3564 assigned-clock-rates = <19200000>, <150000000>;
3565
3566 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
3567 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
3568 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
3569 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
3570 interrupt-names = "hs_phy_irq", "ss_phy_irq",
3571 "dm_hs_phy_irq", "dp_hs_phy_irq";
3572
3573 power-domains = <&gcc USB30_PRIM_GDSC>;
3574
3575 resets = <&gcc GCC_USB30_PRIM_BCR>;
3576
Georgi Djakov7901c2b2020-09-03 16:31:32 +03003577 interconnects = <&aggre2_noc MASTER_USB3_0 0 &mem_noc SLAVE_EBI1 0>,
3578 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_0 0>;
Sandeep Maheswaram11a8b112020-04-01 10:45:44 +05303579 interconnect-names = "usb-ddr", "apps-usb";
3580
Manu Gautamca4db2b2018-08-22 10:36:27 -07003581 usb_1_dwc3: dwc3@a600000 {
3582 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003583 reg = <0 0x0a600000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003584 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08003585 iommus = <&apps_smmu 0x740 0>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003586 snps,dis_u2_susphy_quirk;
3587 snps,dis_enblslpm_quirk;
3588 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
3589 phy-names = "usb2-phy", "usb3-phy";
3590 };
3591 };
3592
3593 usb_2: usb@a8f8800 {
3594 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003595 reg = <0 0x0a8f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003596 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003597 #address-cells = <2>;
3598 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003599 ranges;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08003600 dma-ranges;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003601
3602 clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
3603 <&gcc GCC_USB30_SEC_MASTER_CLK>,
3604 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
3605 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
3606 <&gcc GCC_USB30_SEC_SLEEP_CLK>;
3607 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
3608 "sleep";
3609
3610 assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
3611 <&gcc GCC_USB30_SEC_MASTER_CLK>;
3612 assigned-clock-rates = <19200000>, <150000000>;
3613
3614 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
3615 <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>,
3616 <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>,
3617 <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
3618 interrupt-names = "hs_phy_irq", "ss_phy_irq",
3619 "dm_hs_phy_irq", "dp_hs_phy_irq";
3620
3621 power-domains = <&gcc USB30_SEC_GDSC>;
3622
3623 resets = <&gcc GCC_USB30_SEC_BCR>;
3624
Georgi Djakov7901c2b2020-09-03 16:31:32 +03003625 interconnects = <&aggre2_noc MASTER_USB3_1 0 &mem_noc SLAVE_EBI1 0>,
3626 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_1 0>;
Sandeep Maheswaram11a8b112020-04-01 10:45:44 +05303627 interconnect-names = "usb-ddr", "apps-usb";
3628
Manu Gautamca4db2b2018-08-22 10:36:27 -07003629 usb_2_dwc3: dwc3@a800000 {
3630 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003631 reg = <0 0x0a800000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003632 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Andersson9a8a9d12019-02-04 16:56:08 -08003633 iommus = <&apps_smmu 0x760 0>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07003634 snps,dis_u2_susphy_quirk;
3635 snps,dis_enblslpm_quirk;
3636 phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
3637 phy-names = "usb2-phy", "usb3-phy";
3638 };
3639 };
3640
Alexandre Courbot48a05852020-01-08 12:26:23 +09003641 venus: video-codec@aa00000 {
Stanimir Varbanov12227832020-01-06 17:49:28 +02003642 compatible = "qcom,sdm845-venus-v2";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303643 reg = <0 0x0aa00000 0 0xff000>;
3644 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
Stanimir Varbanov12227832020-01-06 17:49:28 +02003645 power-domains = <&videocc VENUS_GDSC>,
3646 <&videocc VCODEC0_GDSC>,
Rajendra Nayak13715482020-09-01 19:50:25 +05303647 <&videocc VCODEC1_GDSC>,
3648 <&rpmhpd SDM845_CX>;
3649 power-domain-names = "venus", "vcodec0", "vcodec1", "cx";
3650 operating-points-v2 = <&venus_opp_table>;
Malathi Gottam36a80df2019-07-02 17:42:29 +05303651 clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
3652 <&videocc VIDEO_CC_VENUS_AHB_CLK>,
Stanimir Varbanov12227832020-01-06 17:49:28 +02003653 <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>,
3654 <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
3655 <&videocc VIDEO_CC_VCODEC0_AXI_CLK>,
3656 <&videocc VIDEO_CC_VCODEC1_CORE_CLK>,
3657 <&videocc VIDEO_CC_VCODEC1_AXI_CLK>;
3658 clock-names = "core", "iface", "bus",
3659 "vcodec0_core", "vcodec0_bus",
3660 "vcodec1_core", "vcodec1_bus";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303661 iommus = <&apps_smmu 0x10a0 0x8>,
3662 <&apps_smmu 0x10b0 0x0>;
3663 memory-region = <&venus_mem>;
Stanimir Varbanovc422aa82020-11-02 13:35:29 +02003664 interconnects = <&mmss_noc MASTER_VIDEO_P0 0 &mem_noc SLAVE_EBI1 0>,
3665 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_VENUS_CFG 0>;
3666 interconnect-names = "video-mem", "cpu-cfg";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303667
3668 video-core0 {
3669 compatible = "venus-decoder";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303670 };
3671
3672 video-core1 {
3673 compatible = "venus-encoder";
Malathi Gottam36a80df2019-07-02 17:42:29 +05303674 };
Rajendra Nayak13715482020-09-01 19:50:25 +05303675
3676 venus_opp_table: venus-opp-table {
3677 compatible = "operating-points-v2";
3678
3679 opp-100000000 {
3680 opp-hz = /bits/ 64 <100000000>;
3681 required-opps = <&rpmhpd_opp_min_svs>;
3682 };
3683
3684 opp-200000000 {
3685 opp-hz = /bits/ 64 <200000000>;
3686 required-opps = <&rpmhpd_opp_low_svs>;
3687 };
3688
3689 opp-320000000 {
3690 opp-hz = /bits/ 64 <320000000>;
3691 required-opps = <&rpmhpd_opp_svs>;
3692 };
3693
3694 opp-380000000 {
3695 opp-hz = /bits/ 64 <380000000>;
3696 required-opps = <&rpmhpd_opp_svs_l1>;
3697 };
3698
3699 opp-444000000 {
3700 opp-hz = /bits/ 64 <444000000>;
3701 required-opps = <&rpmhpd_opp_nom>;
3702 };
3703
3704 opp-533000097 {
3705 opp-hz = /bits/ 64 <533000097>;
3706 required-opps = <&rpmhpd_opp_turbo>;
3707 };
3708 };
Malathi Gottam36a80df2019-07-02 17:42:29 +05303709 };
3710
Taniya Das05556682018-12-03 11:36:29 -08003711 videocc: clock-controller@ab00000 {
3712 compatible = "qcom,sdm845-videocc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003713 reg = <0 0x0ab00000 0 0x10000>;
Douglas Andersonaf85ef12020-02-03 10:31:47 -08003714 clocks = <&rpmhcc RPMH_CXO_CLK>;
3715 clock-names = "bi_tcxo";
Taniya Das05556682018-12-03 11:36:29 -08003716 #clock-cells = <1>;
3717 #power-domain-cells = <1>;
3718 #reset-cells = <1>;
3719 };
3720
Robert Foss07484de2020-03-24 16:58:39 +01003721 cci: cci@ac4a000 {
3722 compatible = "qcom,sdm845-cci";
3723 #address-cells = <1>;
3724 #size-cells = <0>;
3725
3726 reg = <0 0x0ac4a000 0 0x4000>;
3727 interrupts = <GIC_SPI 460 IRQ_TYPE_EDGE_RISING>;
3728 power-domains = <&clock_camcc TITAN_TOP_GDSC>;
3729
3730 clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>,
3731 <&clock_camcc CAM_CC_SOC_AHB_CLK>,
3732 <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>,
3733 <&clock_camcc CAM_CC_CPAS_AHB_CLK>,
3734 <&clock_camcc CAM_CC_CCI_CLK>,
3735 <&clock_camcc CAM_CC_CCI_CLK_SRC>;
3736 clock-names = "camnoc_axi",
3737 "soc_ahb",
3738 "slow_ahb_src",
3739 "cpas_ahb",
3740 "cci",
3741 "cci_src";
3742
3743 assigned-clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>,
3744 <&clock_camcc CAM_CC_CCI_CLK>;
3745 assigned-clock-rates = <80000000>, <37500000>;
3746
3747 pinctrl-names = "default", "sleep";
3748 pinctrl-0 = <&cci0_default &cci1_default>;
3749 pinctrl-1 = <&cci0_sleep &cci1_sleep>;
3750
3751 status = "disabled";
3752
3753 cci_i2c0: i2c-bus@0 {
3754 reg = <0>;
3755 clock-frequency = <1000000>;
3756 #address-cells = <1>;
3757 #size-cells = <0>;
3758 };
3759
3760 cci_i2c1: i2c-bus@1 {
3761 reg = <1>;
3762 clock-frequency = <1000000>;
3763 #address-cells = <1>;
3764 #size-cells = <0>;
3765 };
3766 };
3767
3768 clock_camcc: clock-controller@ad00000 {
3769 compatible = "qcom,sdm845-camcc";
3770 reg = <0 0x0ad00000 0 0x10000>;
3771 #clock-cells = <1>;
3772 #reset-cells = <1>;
3773 #power-domain-cells = <1>;
3774 };
3775
Rajendra Nayak19ecbc82020-07-09 16:34:33 +05303776 dsi_opp_table: dsi-opp-table {
3777 compatible = "operating-points-v2";
3778
3779 opp-19200000 {
3780 opp-hz = /bits/ 64 <19200000>;
3781 required-opps = <&rpmhpd_opp_min_svs>;
3782 };
3783
3784 opp-180000000 {
3785 opp-hz = /bits/ 64 <180000000>;
3786 required-opps = <&rpmhpd_opp_low_svs>;
3787 };
3788
3789 opp-275000000 {
3790 opp-hz = /bits/ 64 <275000000>;
3791 required-opps = <&rpmhpd_opp_svs>;
3792 };
3793
3794 opp-328580000 {
3795 opp-hz = /bits/ 64 <328580000>;
3796 required-opps = <&rpmhpd_opp_svs_l1>;
3797 };
3798
3799 opp-358000000 {
3800 opp-hz = /bits/ 64 <358000000>;
3801 required-opps = <&rpmhpd_opp_nom>;
3802 };
3803 };
3804
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003805 mdss: mdss@ae00000 {
3806 compatible = "qcom,sdm845-mdss";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003807 reg = <0 0x0ae00000 0 0x1000>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003808 reg-names = "mdss";
3809
3810 power-domains = <&dispcc MDSS_GDSC>;
3811
3812 clocks = <&gcc GCC_DISP_AHB_CLK>,
3813 <&gcc GCC_DISP_AXI_CLK>,
3814 <&dispcc DISP_CC_MDSS_MDP_CLK>;
3815 clock-names = "iface", "bus", "core";
3816
3817 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>;
3818 assigned-clock-rates = <300000000>;
3819
3820 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
3821 interrupt-controller;
3822 #interrupt-cells = <1>;
3823
Georgi Djakovc8c61c02020-09-16 00:45:11 +03003824 interconnects = <&mmss_noc MASTER_MDP0 0 &mem_noc SLAVE_EBI1 0>,
3825 <&mmss_noc MASTER_MDP1 0 &mem_noc SLAVE_EBI1 0>;
3826 interconnect-names = "mdp0-mem", "mdp1-mem";
3827
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003828 iommus = <&apps_smmu 0x880 0x8>,
3829 <&apps_smmu 0xc80 0x8>;
3830
3831 status = "disabled";
3832
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003833 #address-cells = <2>;
3834 #size-cells = <2>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003835 ranges;
3836
3837 mdss_mdp: mdp@ae01000 {
3838 compatible = "qcom,sdm845-dpu";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003839 reg = <0 0x0ae01000 0 0x8f000>,
3840 <0 0x0aeb0000 0 0x2008>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003841 reg-names = "mdp", "vbif";
3842
3843 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
3844 <&dispcc DISP_CC_MDSS_AXI_CLK>,
3845 <&dispcc DISP_CC_MDSS_MDP_CLK>,
3846 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
3847 clock-names = "iface", "bus", "core", "vsync";
3848
3849 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>,
3850 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
3851 assigned-clock-rates = <300000000>,
3852 <19200000>;
Rajendra Nayak19ecbc82020-07-09 16:34:33 +05303853 operating-points-v2 = <&mdp_opp_table>;
3854 power-domains = <&rpmhpd SDM845_CX>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003855
3856 interrupt-parent = <&mdss>;
3857 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
3858
3859 status = "disabled";
3860
3861 ports {
3862 #address-cells = <1>;
3863 #size-cells = <0>;
3864
3865 port@0 {
3866 reg = <0>;
3867 dpu_intf1_out: endpoint {
3868 remote-endpoint = <&dsi0_in>;
3869 };
3870 };
3871
3872 port@1 {
3873 reg = <1>;
3874 dpu_intf2_out: endpoint {
3875 remote-endpoint = <&dsi1_in>;
3876 };
3877 };
3878 };
Rajendra Nayak19ecbc82020-07-09 16:34:33 +05303879
3880 mdp_opp_table: mdp-opp-table {
3881 compatible = "operating-points-v2";
3882
3883 opp-19200000 {
3884 opp-hz = /bits/ 64 <19200000>;
3885 required-opps = <&rpmhpd_opp_min_svs>;
3886 };
3887
3888 opp-171428571 {
3889 opp-hz = /bits/ 64 <171428571>;
3890 required-opps = <&rpmhpd_opp_low_svs>;
3891 };
3892
3893 opp-344000000 {
3894 opp-hz = /bits/ 64 <344000000>;
3895 required-opps = <&rpmhpd_opp_svs_l1>;
3896 };
3897
3898 opp-430000000 {
3899 opp-hz = /bits/ 64 <430000000>;
3900 required-opps = <&rpmhpd_opp_nom>;
3901 };
3902 };
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003903 };
3904
3905 dsi0: dsi@ae94000 {
3906 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003907 reg = <0 0x0ae94000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003908 reg-names = "dsi_ctrl";
3909
3910 interrupt-parent = <&mdss>;
3911 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
3912
3913 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
3914 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
3915 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
3916 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
3917 <&dispcc DISP_CC_MDSS_AHB_CLK>,
3918 <&dispcc DISP_CC_MDSS_AXI_CLK>;
3919 clock-names = "byte",
3920 "byte_intf",
3921 "pixel",
3922 "core",
3923 "iface",
3924 "bus";
Rajendra Nayak19ecbc82020-07-09 16:34:33 +05303925 operating-points-v2 = <&dsi_opp_table>;
3926 power-domains = <&rpmhpd SDM845_CX>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003927
3928 phys = <&dsi0_phy>;
3929 phy-names = "dsi";
3930
3931 status = "disabled";
3932
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003933 ports {
3934 #address-cells = <1>;
3935 #size-cells = <0>;
3936
3937 port@0 {
3938 reg = <0>;
3939 dsi0_in: endpoint {
3940 remote-endpoint = <&dpu_intf1_out>;
3941 };
3942 };
3943
3944 port@1 {
3945 reg = <1>;
3946 dsi0_out: endpoint {
3947 };
3948 };
3949 };
3950 };
3951
3952 dsi0_phy: dsi-phy@ae94400 {
3953 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003954 reg = <0 0x0ae94400 0 0x200>,
3955 <0 0x0ae94600 0 0x280>,
3956 <0 0x0ae94a00 0 0x1e0>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003957 reg-names = "dsi_phy",
3958 "dsi_phy_lane",
3959 "dsi_pll";
3960
3961 #clock-cells = <1>;
3962 #phy-cells = <0>;
3963
Matthias Kaehlcke0c0e7272018-12-19 15:55:27 -08003964 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
3965 <&rpmhcc RPMH_CXO_CLK>;
3966 clock-names = "iface", "ref";
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003967
3968 status = "disabled";
3969 };
3970
3971 dsi1: dsi@ae96000 {
3972 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08003973 reg = <0 0x0ae96000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003974 reg-names = "dsi_ctrl";
3975
3976 interrupt-parent = <&mdss>;
3977 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
3978
3979 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
3980 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
3981 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
3982 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
3983 <&dispcc DISP_CC_MDSS_AHB_CLK>,
3984 <&dispcc DISP_CC_MDSS_AXI_CLK>;
3985 clock-names = "byte",
3986 "byte_intf",
3987 "pixel",
3988 "core",
3989 "iface",
3990 "bus";
Rajendra Nayak19ecbc82020-07-09 16:34:33 +05303991 operating-points-v2 = <&dsi_opp_table>;
3992 power-domains = <&rpmhpd SDM845_CX>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003993
3994 phys = <&dsi1_phy>;
3995 phy-names = "dsi";
3996
3997 status = "disabled";
3998
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08003999 ports {
4000 #address-cells = <1>;
4001 #size-cells = <0>;
4002
4003 port@0 {
4004 reg = <0>;
4005 dsi1_in: endpoint {
4006 remote-endpoint = <&dpu_intf2_out>;
4007 };
4008 };
4009
4010 port@1 {
4011 reg = <1>;
4012 dsi1_out: endpoint {
4013 };
4014 };
4015 };
4016 };
4017
4018 dsi1_phy: dsi-phy@ae96400 {
4019 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004020 reg = <0 0x0ae96400 0 0x200>,
4021 <0 0x0ae96600 0 0x280>,
4022 <0 0x0ae96a00 0 0x10e>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08004023 reg-names = "dsi_phy",
4024 "dsi_phy_lane",
4025 "dsi_pll";
4026
4027 #clock-cells = <1>;
4028 #phy-cells = <0>;
4029
Matthias Kaehlcke0c0e7272018-12-19 15:55:27 -08004030 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
4031 <&rpmhcc RPMH_CXO_CLK>;
4032 clock-names = "iface", "ref";
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08004033
4034 status = "disabled";
4035 };
4036 };
4037
Rob Clarkf489b132020-01-12 11:54:00 -08004038 gpu: gpu@5000000 {
Jordan Crousec7980012019-01-16 11:03:29 -07004039 compatible = "qcom,adreno-630.2", "qcom,adreno";
4040 #stream-id-cells = <16>;
4041
4042 reg = <0 0x5000000 0 0x40000>, <0 0x509e000 0 0x10>;
4043 reg-names = "kgsl_3d0_reg_memory", "cx_mem";
4044
4045 /*
4046 * Look ma, no clocks! The GPU clocks and power are
4047 * controlled entirely by the GMU
4048 */
4049
4050 interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
4051
4052 iommus = <&adreno_smmu 0>;
4053
4054 operating-points-v2 = <&gpu_opp_table>;
4055
4056 qcom,gmu = <&gmu>;
4057
Georgi Djakov7901c2b2020-09-03 16:31:32 +03004058 interconnects = <&mem_noc MASTER_GFX3D 0 &mem_noc SLAVE_EBI1 0>;
Sharat Masetty338bdbc2020-07-17 18:59:37 +05304059 interconnect-names = "gfx-mem";
4060
Jordan Crousec7980012019-01-16 11:03:29 -07004061 gpu_opp_table: opp-table {
4062 compatible = "operating-points-v2";
4063
4064 opp-710000000 {
4065 opp-hz = /bits/ 64 <710000000>;
4066 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
Sharat Masetty338bdbc2020-07-17 18:59:37 +05304067 opp-peak-kBps = <7216000>;
Jordan Crousec7980012019-01-16 11:03:29 -07004068 };
4069
4070 opp-675000000 {
4071 opp-hz = /bits/ 64 <675000000>;
4072 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
Sharat Masetty338bdbc2020-07-17 18:59:37 +05304073 opp-peak-kBps = <7216000>;
Jordan Crousec7980012019-01-16 11:03:29 -07004074 };
4075
4076 opp-596000000 {
4077 opp-hz = /bits/ 64 <596000000>;
4078 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
Sharat Masetty338bdbc2020-07-17 18:59:37 +05304079 opp-peak-kBps = <6220000>;
Jordan Crousec7980012019-01-16 11:03:29 -07004080 };
4081
4082 opp-520000000 {
4083 opp-hz = /bits/ 64 <520000000>;
4084 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
Sharat Masetty338bdbc2020-07-17 18:59:37 +05304085 opp-peak-kBps = <6220000>;
Jordan Crousec7980012019-01-16 11:03:29 -07004086 };
4087
4088 opp-414000000 {
4089 opp-hz = /bits/ 64 <414000000>;
4090 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
Sharat Masetty338bdbc2020-07-17 18:59:37 +05304091 opp-peak-kBps = <4068000>;
Jordan Crousec7980012019-01-16 11:03:29 -07004092 };
4093
4094 opp-342000000 {
4095 opp-hz = /bits/ 64 <342000000>;
4096 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
Sharat Masetty338bdbc2020-07-17 18:59:37 +05304097 opp-peak-kBps = <2724000>;
Jordan Crousec7980012019-01-16 11:03:29 -07004098 };
4099
4100 opp-257000000 {
4101 opp-hz = /bits/ 64 <257000000>;
4102 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
Sharat Masetty338bdbc2020-07-17 18:59:37 +05304103 opp-peak-kBps = <1648000>;
Jordan Crousec7980012019-01-16 11:03:29 -07004104 };
4105 };
4106 };
4107
4108 adreno_smmu: iommu@5040000 {
Jordan Crouse7e5258b2020-11-09 11:47:28 -07004109 compatible = "qcom,sdm845-smmu-v2", "qcom,adreno-smmu", "qcom,smmu-v2";
Jordan Crousec7980012019-01-16 11:03:29 -07004110 reg = <0 0x5040000 0 0x10000>;
4111 #iommu-cells = <1>;
4112 #global-interrupts = <2>;
4113 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>,
4114 <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>,
4115 <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
4116 <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
4117 <GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
4118 <GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
4119 <GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
4120 <GIC_SPI 369 IRQ_TYPE_EDGE_RISING>,
4121 <GIC_SPI 370 IRQ_TYPE_EDGE_RISING>,
4122 <GIC_SPI 371 IRQ_TYPE_EDGE_RISING>;
4123 clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
4124 <&gcc GCC_GPU_CFG_AHB_CLK>;
4125 clock-names = "bus", "iface";
4126
4127 power-domains = <&gpucc GPU_CX_GDSC>;
4128 };
4129
4130 gmu: gmu@506a000 {
4131 compatible="qcom,adreno-gmu-630.2", "qcom,adreno-gmu";
4132
4133 reg = <0 0x506a000 0 0x30000>,
4134 <0 0xb280000 0 0x10000>,
4135 <0 0xb480000 0 0x10000>;
4136 reg-names = "gmu", "gmu_pdc", "gmu_pdc_seq";
4137
4138 interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
4139 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
4140 interrupt-names = "hfi", "gmu";
4141
4142 clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
4143 <&gpucc GPU_CC_CXO_CLK>,
4144 <&gcc GCC_DDRSS_GPU_AXI_CLK>,
4145 <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
4146 clock-names = "gmu", "cxo", "axi", "memnoc";
4147
4148 power-domains = <&gpucc GPU_CX_GDSC>,
4149 <&gpucc GPU_GX_GDSC>;
4150 power-domain-names = "cx", "gx";
4151
4152 iommus = <&adreno_smmu 5>;
4153
4154 operating-points-v2 = <&gmu_opp_table>;
4155
4156 gmu_opp_table: opp-table {
4157 compatible = "operating-points-v2";
4158
4159 opp-400000000 {
4160 opp-hz = /bits/ 64 <400000000>;
4161 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
4162 };
4163
4164 opp-200000000 {
4165 opp-hz = /bits/ 64 <200000000>;
4166 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
4167 };
4168 };
4169 };
4170
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07004171 dispcc: clock-controller@af00000 {
4172 compatible = "qcom,sdm845-dispcc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004173 reg = <0 0x0af00000 0 0x10000>;
Douglas Anderson09978822020-02-03 10:31:36 -08004174 clocks = <&rpmhcc RPMH_CXO_CLK>,
4175 <&gcc GCC_DISP_GPLL0_CLK_SRC>,
4176 <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
4177 <&dsi0_phy 0>,
4178 <&dsi0_phy 1>,
4179 <&dsi1_phy 0>,
4180 <&dsi1_phy 1>,
4181 <0>,
4182 <0>;
4183 clock-names = "bi_tcxo",
4184 "gcc_disp_gpll0_clk_src",
4185 "gcc_disp_gpll0_div_clk_src",
4186 "dsi0_phy_pll_out_byteclk",
4187 "dsi0_phy_pll_out_dsiclk",
4188 "dsi1_phy_pll_out_byteclk",
4189 "dsi1_phy_pll_out_dsiclk",
4190 "dp_link_clk_divsel_ten",
4191 "dp_vco_divided_clk_src_mux";
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07004192 #clock-cells = <1>;
4193 #reset-cells = <1>;
4194 #power-domain-cells = <1>;
4195 };
4196
Lina Iyer72b67eb2019-11-15 15:11:53 -07004197 pdc_intc: interrupt-controller@b220000 {
4198 compatible = "qcom,sdm845-pdc", "qcom,pdc";
4199 reg = <0 0x0b220000 0 0x30000>;
4200 qcom,pdc-ranges = <0 480 94>, <94 609 15>, <115 630 7>;
4201 #interrupt-cells = <2>;
4202 interrupt-parent = <&intc>;
4203 interrupt-controller;
4204 };
4205
Sibi Sankar13393da2018-10-26 17:56:53 +05304206 pdc_reset: reset-controller@b2e0000 {
4207 compatible = "qcom,sdm845-pdc-global";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004208 reg = <0 0x0b2e0000 0 0x20000>;
Sibi Sankar13393da2018-10-26 17:56:53 +05304209 #reset-cells = <1>;
4210 };
4211
Amit Kucheriacda676b2018-07-18 12:13:13 +05304212 tsens0: thermal-sensor@c263000 {
4213 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004214 reg = <0 0x0c263000 0 0x1ff>, /* TM */
4215 <0 0x0c222000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05304216 #qcom,sensors = <13>;
Amit Kucheriae68ca6b2019-11-12 00:51:29 +05304217 interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
4218 <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
4219 interrupt-names = "uplow", "critical";
Amit Kucheriacda676b2018-07-18 12:13:13 +05304220 #thermal-sensor-cells = <1>;
4221 };
4222
4223 tsens1: thermal-sensor@c265000 {
4224 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004225 reg = <0 0x0c265000 0 0x1ff>, /* TM */
4226 <0 0x0c223000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05304227 #qcom,sensors = <8>;
Amit Kucheriae68ca6b2019-11-12 00:51:29 +05304228 interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
4229 <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
4230 interrupt-names = "uplow", "critical";
Amit Kucheriacda676b2018-07-18 12:13:13 +05304231 #thermal-sensor-cells = <1>;
4232 };
4233
Sibi Sankaread5eea2018-09-01 15:23:55 -07004234 aoss_reset: reset-controller@c2a0000 {
4235 compatible = "qcom,sdm845-aoss-cc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004236 reg = <0 0x0c2a0000 0 0x31000>;
Sibi Sankaread5eea2018-09-01 15:23:55 -07004237 #reset-cells = <1>;
4238 };
4239
Bjorn Anderssona7977432019-06-11 21:45:35 -07004240 aoss_qmp: qmp@c300000 {
4241 compatible = "qcom,sdm845-aoss-qmp";
4242 reg = <0 0x0c300000 0 0x100000>;
4243 interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>;
4244 mboxes = <&apss_shared 0>;
4245
4246 #clock-cells = <0>;
4247 #power-domain-cells = <1>;
Thara Gopinath7e4b5f22019-07-30 11:24:43 -04004248
4249 cx_cdev: cx {
4250 #cooling-cells = <2>;
4251 };
4252
4253 ebi_cdev: ebi {
4254 #cooling-cells = <2>;
4255 };
Bjorn Anderssona7977432019-06-11 21:45:35 -07004256 };
4257
Douglas Anderson54d7a202018-05-14 20:59:22 -07004258 spmi_bus: spmi@c440000 {
4259 compatible = "qcom,spmi-pmic-arb";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004260 reg = <0 0x0c440000 0 0x1100>,
4261 <0 0x0c600000 0 0x2000000>,
4262 <0 0x0e600000 0 0x100000>,
4263 <0 0x0e700000 0 0xa0000>,
4264 <0 0x0c40a000 0 0x26000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07004265 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
4266 interrupt-names = "periph_irq";
4267 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
4268 qcom,ee = <0>;
4269 qcom,channel = <0>;
4270 #address-cells = <2>;
4271 #size-cells = <0>;
4272 interrupt-controller;
4273 #interrupt-cells = <4>;
4274 cell-index = <0>;
4275 };
4276
Bjorn Andersson948f6162020-06-22 12:19:42 -07004277 imem@146bf000 {
4278 compatible = "simple-mfd";
4279 reg = <0 0x146bf000 0 0x1000>;
4280
4281 #address-cells = <1>;
4282 #size-cells = <1>;
4283
4284 ranges = <0 0 0x146bf000 0x1000>;
4285
4286 pil-reloc@94c {
4287 compatible = "qcom,pil-reloc-info";
4288 reg = <0x94c 0xc8>;
4289 };
4290 };
4291
Vivek Gautam4429e572018-10-11 15:19:30 +05304292 apps_smmu: iommu@15000000 {
4293 compatible = "qcom,sdm845-smmu-500", "arm,mmu-500";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004294 reg = <0 0x15000000 0 0x80000>;
Vivek Gautam4429e572018-10-11 15:19:30 +05304295 #iommu-cells = <2>;
4296 #global-interrupts = <1>;
4297 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
4298 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
4299 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
4300 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
4301 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
4302 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
4303 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
4304 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
4305 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
4306 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
4307 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
4308 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
4309 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
4310 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
4311 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
4312 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
4313 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
4314 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
4315 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
4316 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
4317 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
4318 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
4319 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
4320 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
4321 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
4322 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
4323 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
4324 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
4325 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
4326 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
4327 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
4328 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
4329 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
4330 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
4331 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
4332 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
4333 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
4334 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
4335 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
4336 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
4337 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
4338 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
4339 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
4340 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
4341 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
4342 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
4343 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
4344 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
4345 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
4346 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
4347 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
4348 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
4349 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
4350 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
4351 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
4352 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
4353 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
4354 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
4355 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
4356 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
4357 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
4358 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
4359 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
4360 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
4361 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
4362 };
4363
Taniya Das0cef5dd2018-12-05 13:30:36 +05304364 lpasscc: clock-controller@17014000 {
4365 compatible = "qcom,sdm845-lpasscc";
Bjorn Andersson1d918e92019-01-17 11:29:55 -08004366 reg = <0 0x17014000 0 0x1f004>, <0 0x17300000 0 0x200>;
Taniya Das0cef5dd2018-12-05 13:30:36 +05304367 reg-names = "cc", "qdsp6ss";
4368 #clock-cells = <1>;
4369 status = "disabled";
4370 };
4371
David Daib303f9f2020-02-10 00:04:11 +05304372 gladiator_noc: interconnect@17900000 {
4373 compatible = "qcom,sdm845-gladiator-noc";
4374 reg = <0 0x17900000 0 0xd080>;
Georgi Djakov7901c2b2020-09-03 16:31:32 +03004375 #interconnect-cells = <2>;
David Daib303f9f2020-02-10 00:04:11 +05304376 qcom,bcm-voters = <&apps_bcm_voter>;
4377 };
4378
Bjorn Anderssonef857672019-10-02 21:13:45 -07004379 watchdog@17980000 {
4380 compatible = "qcom,apss-wdt-sdm845", "qcom,kpss-wdt";
4381 reg = <0 0x17980000 0 0x1000>;
4382 clocks = <&sleep_clk>;
4383 };
4384
Douglas Anderson54d7a202018-05-14 20:59:22 -07004385 apss_shared: mailbox@17990000 {
4386 compatible = "qcom,sdm845-apss-shared";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004387 reg = <0 0x17990000 0 0x1000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07004388 #mbox-cells = <1>;
4389 };
4390
Douglas Andersonc83545d2018-06-18 14:50:50 -07004391 apps_rsc: rsc@179c0000 {
4392 label = "apps_rsc";
4393 compatible = "qcom,rpmh-rsc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004394 reg = <0 0x179c0000 0 0x10000>,
4395 <0 0x179d0000 0 0x10000>,
4396 <0 0x179e0000 0 0x10000>;
Douglas Andersonc83545d2018-06-18 14:50:50 -07004397 reg-names = "drv-0", "drv-1", "drv-2";
4398 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
4399 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
4400 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
4401 qcom,tcs-offset = <0xd00>;
4402 qcom,drv-id = <2>;
4403 qcom,tcs-config = <ACTIVE_TCS 2>,
4404 <SLEEP_TCS 3>,
4405 <WAKE_TCS 3>,
4406 <CONTROL_TCS 1>;
Douglas Anderson717f2012018-06-18 14:50:51 -07004407
David Daib303f9f2020-02-10 00:04:11 +05304408 apps_bcm_voter: bcm-voter {
4409 compatible = "qcom,bcm-voter";
4410 };
4411
Douglas Anderson717f2012018-06-18 14:50:51 -07004412 rpmhcc: clock-controller {
4413 compatible = "qcom,sdm845-rpmh-clk";
4414 #clock-cells = <1>;
Vinod Koul1dd70852019-08-26 23:12:33 +05304415 clock-names = "xo";
4416 clocks = <&xo_board>;
Douglas Anderson717f2012018-06-18 14:50:51 -07004417 };
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304418
4419 rpmhpd: power-controller {
4420 compatible = "qcom,sdm845-rpmhpd";
4421 #power-domain-cells = <1>;
4422 operating-points-v2 = <&rpmhpd_opp_table>;
4423
4424 rpmhpd_opp_table: opp-table {
4425 compatible = "operating-points-v2";
4426
4427 rpmhpd_opp_ret: opp1 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304428 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304429 };
4430
4431 rpmhpd_opp_min_svs: opp2 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304432 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304433 };
4434
4435 rpmhpd_opp_low_svs: opp3 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304436 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304437 };
4438
4439 rpmhpd_opp_svs: opp4 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304440 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304441 };
4442
4443 rpmhpd_opp_svs_l1: opp5 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304444 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304445 };
4446
4447 rpmhpd_opp_nom: opp6 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304448 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304449 };
4450
4451 rpmhpd_opp_nom_l1: opp7 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304452 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304453 };
4454
4455 rpmhpd_opp_nom_l2: opp8 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304456 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304457 };
4458
4459 rpmhpd_opp_turbo: opp9 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304460 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304461 };
4462
4463 rpmhpd_opp_turbo_l1: opp10 {
Rajendra Nayak596a4342019-03-20 13:39:45 +05304464 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05304465 };
4466 };
4467 };
Douglas Andersonc83545d2018-06-18 14:50:50 -07004468 };
4469
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304470 intc: interrupt-controller@17a00000 {
4471 compatible = "arm,gic-v3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004472 #address-cells = <2>;
4473 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304474 ranges;
4475 #interrupt-cells = <3>;
4476 interrupt-controller;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004477 reg = <0 0x17a00000 0 0x10000>, /* GICD */
4478 <0 0x17a60000 0 0x100000>; /* GICR * 8 */
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304479 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
4480
Douglas Anderson276bb282019-12-16 22:20:25 -08004481 msi-controller@17a40000 {
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304482 compatible = "arm,gic-v3-its";
4483 msi-controller;
4484 #msi-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004485 reg = <0 0x17a40000 0 0x20000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304486 status = "disabled";
4487 };
4488 };
4489
Vinod Koula8fbc8b2020-10-27 22:15:03 +05304490 slimbam: dma-controller@17184000 {
Srinivas Kandagatla27ca1de2020-03-12 14:30:20 +00004491 compatible = "qcom,bam-v1.7.0";
4492 qcom,controlled-remotely;
4493 reg = <0 0x17184000 0 0x2a000>;
4494 num-channels = <31>;
4495 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
4496 #dma-cells = <1>;
4497 qcom,ee = <1>;
4498 qcom,num-ees = <2>;
4499 iommus = <&apps_smmu 0x1806 0x0>;
4500 };
4501
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304502 timer@17c90000 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004503 #address-cells = <2>;
4504 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304505 ranges;
4506 compatible = "arm,armv7-timer-mem";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004507 reg = <0 0x17c90000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304508
4509 frame@17ca0000 {
4510 frame-number = <0>;
4511 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
4512 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004513 reg = <0 0x17ca0000 0 0x1000>,
4514 <0 0x17cb0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304515 };
4516
4517 frame@17cc0000 {
4518 frame-number = <1>;
4519 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004520 reg = <0 0x17cc0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304521 status = "disabled";
4522 };
4523
4524 frame@17cd0000 {
4525 frame-number = <2>;
4526 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004527 reg = <0 0x17cd0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304528 status = "disabled";
4529 };
4530
4531 frame@17ce0000 {
4532 frame-number = <3>;
4533 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004534 reg = <0 0x17ce0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304535 status = "disabled";
4536 };
4537
4538 frame@17cf0000 {
4539 frame-number = <4>;
4540 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004541 reg = <0 0x17cf0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304542 status = "disabled";
4543 };
4544
4545 frame@17d00000 {
4546 frame-number = <5>;
4547 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004548 reg = <0 0x17d00000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304549 status = "disabled";
4550 };
4551
4552 frame@17d10000 {
4553 frame-number = <6>;
4554 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004555 reg = <0 0x17d10000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304556 status = "disabled";
4557 };
4558 };
Taniya Dasc604b82a2018-12-21 23:44:23 +05304559
Sibi Sankar74f26592020-02-27 16:26:30 +05304560 osm_l3: interconnect@17d41000 {
4561 compatible = "qcom,sdm845-osm-l3";
4562 reg = <0 0x17d41000 0 0x1400>;
4563
4564 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
4565 clock-names = "xo", "alternate";
4566
4567 #interconnect-cells = <1>;
4568 };
4569
Taniya Dasc604b82a2018-12-21 23:44:23 +05304570 cpufreq_hw: cpufreq@17d43000 {
4571 compatible = "qcom,cpufreq-hw";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004572 reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>;
Taniya Dasc604b82a2018-12-21 23:44:23 +05304573 reg-names = "freq-domain0", "freq-domain1";
4574
4575 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
4576 clock-names = "xo", "alternate";
4577
4578 #freq-domain-cells = <1>;
4579 };
Govind Singh022bccb2018-11-05 18:38:37 +05304580
4581 wifi: wifi@18800000 {
4582 compatible = "qcom,wcn3990-wifi";
4583 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08004584 reg = <0 0x18800000 0 0x800000>;
Govind Singh022bccb2018-11-05 18:38:37 +05304585 reg-names = "membase";
4586 memory-region = <&wlan_msa_mem>;
Douglas Andersonbc94e5f2019-01-18 16:00:15 -08004587 clock-names = "cxo_ref_clk_pin";
4588 clocks = <&rpmhcc RPMH_RF_CLK2>;
Govind Singh022bccb2018-11-05 18:38:37 +05304589 interrupts =
4590 <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
4591 <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
4592 <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
4593 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
4594 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
4595 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
4596 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
4597 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
4598 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
4599 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
4600 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
4601 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
Douglas Andersonbc94e5f2019-01-18 16:00:15 -08004602 iommus = <&apps_smmu 0x0040 0x1>;
Govind Singh022bccb2018-11-05 18:38:37 +05304603 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05304604 };
Amit Kucheria48847882018-06-12 15:26:54 +03004605
4606 thermal-zones {
4607 cpu0-thermal {
4608 polling-delay-passive = <250>;
4609 polling-delay = <1000>;
4610
4611 thermal-sensors = <&tsens0 1>;
4612
4613 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304614 cpu0_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304615 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004616 hysteresis = <2000>;
4617 type = "passive";
4618 };
4619
Vinod Koul19e684e2019-07-24 10:19:04 +05304620 cpu0_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304621 temperature = <95000>;
4622 hysteresis = <2000>;
4623 type = "passive";
4624 };
4625
4626 cpu0_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004627 temperature = <110000>;
4628 hysteresis = <1000>;
4629 type = "critical";
4630 };
4631 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304632
4633 cooling-maps {
4634 map0 {
4635 trip = <&cpu0_alert0>;
4636 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4637 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4638 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4639 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4640 };
4641 map1 {
4642 trip = <&cpu0_alert1>;
4643 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4644 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4645 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4646 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4647 };
4648 };
Amit Kucheria48847882018-06-12 15:26:54 +03004649 };
4650
4651 cpu1-thermal {
4652 polling-delay-passive = <250>;
4653 polling-delay = <1000>;
4654
4655 thermal-sensors = <&tsens0 2>;
4656
4657 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304658 cpu1_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304659 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004660 hysteresis = <2000>;
4661 type = "passive";
4662 };
4663
Vinod Koul19e684e2019-07-24 10:19:04 +05304664 cpu1_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304665 temperature = <95000>;
4666 hysteresis = <2000>;
4667 type = "passive";
4668 };
4669
4670 cpu1_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004671 temperature = <110000>;
4672 hysteresis = <1000>;
4673 type = "critical";
4674 };
4675 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304676
4677 cooling-maps {
4678 map0 {
4679 trip = <&cpu1_alert0>;
4680 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4681 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4682 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4683 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4684 };
4685 map1 {
4686 trip = <&cpu1_alert1>;
4687 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4688 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4689 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4690 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4691 };
4692 };
Amit Kucheria48847882018-06-12 15:26:54 +03004693 };
4694
4695 cpu2-thermal {
4696 polling-delay-passive = <250>;
4697 polling-delay = <1000>;
4698
4699 thermal-sensors = <&tsens0 3>;
4700
4701 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304702 cpu2_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304703 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004704 hysteresis = <2000>;
4705 type = "passive";
4706 };
4707
Vinod Koul19e684e2019-07-24 10:19:04 +05304708 cpu2_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304709 temperature = <95000>;
4710 hysteresis = <2000>;
4711 type = "passive";
4712 };
4713
4714 cpu2_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004715 temperature = <110000>;
4716 hysteresis = <1000>;
4717 type = "critical";
4718 };
4719 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304720
4721 cooling-maps {
4722 map0 {
4723 trip = <&cpu2_alert0>;
4724 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4725 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4726 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4727 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4728 };
4729 map1 {
4730 trip = <&cpu2_alert1>;
4731 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4732 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4733 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4734 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4735 };
4736 };
Amit Kucheria48847882018-06-12 15:26:54 +03004737 };
4738
4739 cpu3-thermal {
4740 polling-delay-passive = <250>;
4741 polling-delay = <1000>;
4742
4743 thermal-sensors = <&tsens0 4>;
4744
4745 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304746 cpu3_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304747 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004748 hysteresis = <2000>;
4749 type = "passive";
4750 };
4751
Vinod Koul19e684e2019-07-24 10:19:04 +05304752 cpu3_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304753 temperature = <95000>;
4754 hysteresis = <2000>;
4755 type = "passive";
4756 };
4757
4758 cpu3_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004759 temperature = <110000>;
4760 hysteresis = <1000>;
4761 type = "critical";
4762 };
4763 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304764
4765 cooling-maps {
4766 map0 {
4767 trip = <&cpu3_alert0>;
4768 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4769 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4770 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4771 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4772 };
4773 map1 {
4774 trip = <&cpu3_alert1>;
4775 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4776 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4777 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4778 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4779 };
4780 };
Amit Kucheria48847882018-06-12 15:26:54 +03004781 };
4782
4783 cpu4-thermal {
4784 polling-delay-passive = <250>;
4785 polling-delay = <1000>;
4786
4787 thermal-sensors = <&tsens0 7>;
4788
4789 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304790 cpu4_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304791 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004792 hysteresis = <2000>;
4793 type = "passive";
4794 };
4795
Vinod Koul19e684e2019-07-24 10:19:04 +05304796 cpu4_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304797 temperature = <95000>;
4798 hysteresis = <2000>;
4799 type = "passive";
4800 };
4801
4802 cpu4_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004803 temperature = <110000>;
4804 hysteresis = <1000>;
4805 type = "critical";
4806 };
4807 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304808
4809 cooling-maps {
4810 map0 {
4811 trip = <&cpu4_alert0>;
4812 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4813 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4814 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4815 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4816 };
4817 map1 {
4818 trip = <&cpu4_alert1>;
4819 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4820 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4821 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4822 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4823 };
4824 };
Amit Kucheria48847882018-06-12 15:26:54 +03004825 };
4826
4827 cpu5-thermal {
4828 polling-delay-passive = <250>;
4829 polling-delay = <1000>;
4830
4831 thermal-sensors = <&tsens0 8>;
4832
4833 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304834 cpu5_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304835 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004836 hysteresis = <2000>;
4837 type = "passive";
4838 };
4839
Vinod Koul19e684e2019-07-24 10:19:04 +05304840 cpu5_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304841 temperature = <95000>;
4842 hysteresis = <2000>;
4843 type = "passive";
4844 };
4845
4846 cpu5_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004847 temperature = <110000>;
4848 hysteresis = <1000>;
4849 type = "critical";
4850 };
4851 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304852
4853 cooling-maps {
4854 map0 {
4855 trip = <&cpu5_alert0>;
4856 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4857 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4858 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4859 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4860 };
4861 map1 {
4862 trip = <&cpu5_alert1>;
4863 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4864 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4865 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4866 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4867 };
4868 };
Amit Kucheria48847882018-06-12 15:26:54 +03004869 };
4870
4871 cpu6-thermal {
4872 polling-delay-passive = <250>;
4873 polling-delay = <1000>;
4874
4875 thermal-sensors = <&tsens0 9>;
4876
4877 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304878 cpu6_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304879 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004880 hysteresis = <2000>;
4881 type = "passive";
4882 };
4883
Vinod Koul19e684e2019-07-24 10:19:04 +05304884 cpu6_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304885 temperature = <95000>;
4886 hysteresis = <2000>;
4887 type = "passive";
4888 };
4889
4890 cpu6_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004891 temperature = <110000>;
4892 hysteresis = <1000>;
4893 type = "critical";
4894 };
4895 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304896
4897 cooling-maps {
4898 map0 {
4899 trip = <&cpu6_alert0>;
4900 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4901 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4902 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4903 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4904 };
4905 map1 {
4906 trip = <&cpu6_alert1>;
4907 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4908 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4909 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4910 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4911 };
4912 };
Amit Kucheria48847882018-06-12 15:26:54 +03004913 };
4914
4915 cpu7-thermal {
4916 polling-delay-passive = <250>;
4917 polling-delay = <1000>;
4918
4919 thermal-sensors = <&tsens0 10>;
4920
4921 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304922 cpu7_alert0: trip-point0 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304923 temperature = <90000>;
Amit Kucheria48847882018-06-12 15:26:54 +03004924 hysteresis = <2000>;
4925 type = "passive";
4926 };
4927
Vinod Koul19e684e2019-07-24 10:19:04 +05304928 cpu7_alert1: trip-point1 {
Amit Kucheriac47fc192019-02-06 16:04:49 +05304929 temperature = <95000>;
4930 hysteresis = <2000>;
4931 type = "passive";
4932 };
4933
4934 cpu7_crit: cpu_crit {
Amit Kucheria48847882018-06-12 15:26:54 +03004935 temperature = <110000>;
4936 hysteresis = <1000>;
4937 type = "critical";
4938 };
4939 };
Amit Kucheriac47fc192019-02-06 16:04:49 +05304940
4941 cooling-maps {
4942 map0 {
4943 trip = <&cpu7_alert0>;
4944 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4945 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4946 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4947 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4948 };
4949 map1 {
4950 trip = <&cpu7_alert1>;
4951 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4952 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4953 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
4954 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4955 };
4956 };
Amit Kucheria48847882018-06-12 15:26:54 +03004957 };
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304958
4959 aoss0-thermal {
4960 polling-delay-passive = <250>;
4961 polling-delay = <1000>;
4962
4963 thermal-sensors = <&tsens0 0>;
4964
4965 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304966 aoss0_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304967 temperature = <90000>;
4968 hysteresis = <2000>;
4969 type = "hot";
4970 };
4971 };
4972 };
4973
4974 cluster0-thermal {
4975 polling-delay-passive = <250>;
4976 polling-delay = <1000>;
4977
4978 thermal-sensors = <&tsens0 5>;
4979
4980 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05304981 cluster0_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05304982 temperature = <90000>;
4983 hysteresis = <2000>;
4984 type = "hot";
4985 };
4986 cluster0_crit: cluster0_crit {
4987 temperature = <110000>;
4988 hysteresis = <2000>;
4989 type = "critical";
4990 };
4991 };
4992 };
4993
4994 cluster1-thermal {
4995 polling-delay-passive = <250>;
4996 polling-delay = <1000>;
4997
4998 thermal-sensors = <&tsens0 6>;
4999
5000 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305001 cluster1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305002 temperature = <90000>;
5003 hysteresis = <2000>;
5004 type = "hot";
5005 };
5006 cluster1_crit: cluster1_crit {
5007 temperature = <110000>;
5008 hysteresis = <2000>;
5009 type = "critical";
5010 };
5011 };
5012 };
5013
5014 gpu-thermal-top {
5015 polling-delay-passive = <250>;
5016 polling-delay = <1000>;
5017
5018 thermal-sensors = <&tsens0 11>;
5019
5020 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305021 gpu1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305022 temperature = <90000>;
5023 hysteresis = <2000>;
5024 type = "hot";
5025 };
5026 };
5027 };
5028
5029 gpu-thermal-bottom {
5030 polling-delay-passive = <250>;
5031 polling-delay = <1000>;
5032
5033 thermal-sensors = <&tsens0 12>;
5034
5035 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305036 gpu2_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305037 temperature = <90000>;
5038 hysteresis = <2000>;
5039 type = "hot";
5040 };
5041 };
5042 };
5043
5044 aoss1-thermal {
5045 polling-delay-passive = <250>;
5046 polling-delay = <1000>;
5047
5048 thermal-sensors = <&tsens1 0>;
5049
5050 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305051 aoss1_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305052 temperature = <90000>;
5053 hysteresis = <2000>;
5054 type = "hot";
5055 };
5056 };
5057 };
5058
5059 q6-modem-thermal {
5060 polling-delay-passive = <250>;
5061 polling-delay = <1000>;
5062
5063 thermal-sensors = <&tsens1 1>;
5064
5065 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305066 q6_modem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305067 temperature = <90000>;
5068 hysteresis = <2000>;
5069 type = "hot";
5070 };
5071 };
5072 };
5073
5074 mem-thermal {
5075 polling-delay-passive = <250>;
5076 polling-delay = <1000>;
5077
5078 thermal-sensors = <&tsens1 2>;
5079
5080 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305081 mem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305082 temperature = <90000>;
5083 hysteresis = <2000>;
5084 type = "hot";
5085 };
5086 };
5087 };
5088
5089 wlan-thermal {
5090 polling-delay-passive = <250>;
5091 polling-delay = <1000>;
5092
5093 thermal-sensors = <&tsens1 3>;
5094
5095 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305096 wlan_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305097 temperature = <90000>;
5098 hysteresis = <2000>;
5099 type = "hot";
5100 };
5101 };
5102 };
5103
5104 q6-hvx-thermal {
5105 polling-delay-passive = <250>;
5106 polling-delay = <1000>;
5107
5108 thermal-sensors = <&tsens1 4>;
5109
5110 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305111 q6_hvx_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305112 temperature = <90000>;
5113 hysteresis = <2000>;
5114 type = "hot";
5115 };
5116 };
5117 };
5118
5119 camera-thermal {
5120 polling-delay-passive = <250>;
5121 polling-delay = <1000>;
5122
5123 thermal-sensors = <&tsens1 5>;
5124
5125 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305126 camera_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305127 temperature = <90000>;
5128 hysteresis = <2000>;
5129 type = "hot";
5130 };
5131 };
5132 };
5133
5134 video-thermal {
5135 polling-delay-passive = <250>;
5136 polling-delay = <1000>;
5137
5138 thermal-sensors = <&tsens1 6>;
5139
5140 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305141 video_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305142 temperature = <90000>;
5143 hysteresis = <2000>;
5144 type = "hot";
5145 };
5146 };
5147 };
5148
5149 modem-thermal {
5150 polling-delay-passive = <250>;
5151 polling-delay = <1000>;
5152
5153 thermal-sensors = <&tsens1 7>;
5154
5155 trips {
Vinod Koul19e684e2019-07-24 10:19:04 +05305156 modem_alert0: trip-point0 {
Amit Kucheria1c403ec2019-03-29 15:42:15 +05305157 temperature = <90000>;
5158 hysteresis = <2000>;
5159 type = "hot";
5160 };
5161 };
5162 };
Amit Kucheria48847882018-06-12 15:26:54 +03005163 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05305164};