blob: aee76bd18788249a6d1e1ffc30896e9ec438bfe0 [file] [log] [blame]
Rishabh Bhatnagare9a05bb2018-12-10 11:09:45 -08001// SPDX-License-Identifier: GPL-2.0-only
Runmin Wang4f5985b2017-04-19 15:55:12 -07002/*
Amir Samuelovf52db412019-01-08 09:30:58 +02003 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
Runmin Wang4f5985b2017-04-19 15:55:12 -07004 */
5
6#include "skeleton64.dtsi"
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07007
8#include <dt-bindings/clock/qcom,aop-qmp.h>
9#include <dt-bindings/clock/qcom,camcc-kona.h>
10#include <dt-bindings/clock/qcom,cpucc-kona.h>
11#include <dt-bindings/clock/qcom,dispcc-kona.h>
12#include <dt-bindings/clock/qcom,gcc-kona.h>
13#include <dt-bindings/clock/qcom,gpucc-kona.h>
14#include <dt-bindings/clock/qcom,npucc-kona.h>
15#include <dt-bindings/clock/qcom,rpmh.h>
16#include <dt-bindings/clock/qcom,videocc-kona.h>
Runmin Wang4f5985b2017-04-19 15:55:12 -070017#include <dt-bindings/interrupt-controller/arm-gic.h>
David Daib1d68482018-10-01 19:40:35 -070018#include <dt-bindings/msm/msm-bus-ids.h>
David Collins61d237d2019-01-03 16:01:15 -080019#include <dt-bindings/regulator/qcom,rpmh-regulator-levels.h>
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -070020#include <dt-bindings/soc/qcom,ipcc.h>
Lina Iyerea91c722018-06-20 14:58:05 -060021#include <dt-bindings/soc/qcom,rpmh-rsc.h>
Rishabh Bhatnagar2b66dc12018-10-18 10:36:27 -070022#include <dt-bindings/gpio/gpio.h>
Deepak Katragadda5bbf8142018-06-20 16:12:13 -070023
Rama Aparna Mallavarapu5a7daf42019-01-14 22:08:20 -080024#define MHZ_TO_MBPS(mhz, w) ((mhz * 1000000 * w) / (1024 * 1024))
25#define BW_OPP_ENTRY(mhz, w) opp-mhz {opp-hz = /bits/ 64 <MHZ_TO_MBPS(mhz, w)>;}
26
27
Runmin Wang4f5985b2017-04-19 15:55:12 -070028/ {
29 model = "Qualcomm Technologies, Inc. kona";
30 compatible = "qcom,kona";
31 qcom,msm-id = <356 0x10000>;
32 interrupt-parent = <&intc>;
33
Can Guob04bed52018-07-10 19:27:32 -070034 aliases {
35 ufshc1 = &ufshc_mem; /* Embedded UFS slot */
Bao D. Nguyenbd2335b2019-01-17 13:32:42 -080036 sdhc2 = &sdhc_2; /* SDC2 SD card slot */
Tony Truongc972c642018-09-12 10:03:51 -070037 pci-domain2 = &pcie2; /* PCIe2 domain */
Vipin Deep Kaur9a2c13d2018-12-19 18:38:46 +053038 serial0 = &qupv3_se2_2uart; /* RUMI */
Can Guob04bed52018-07-10 19:27:32 -070039 };
40
Runmin Wang4f5985b2017-04-19 15:55:12 -070041 cpus {
42 #address-cells = <2>;
43 #size-cells = <0>;
44
45 CPU0: cpu@0 {
46 device_type = "cpu";
47 compatible = "qcom,kryo";
48 reg = <0x0 0x0>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -070049 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -070050 cache-size = <0x8000>;
51 cpu-release-addr = <0x0 0x90000000>;
52 next-level-cache = <&L2_0>;
David Daia4635e62018-10-11 13:39:44 -070053 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -080054 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -080055 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -070056 L2_0: l2-cache {
57 compatible = "arm,arch-cache";
58 cache-size = <0x20000>;
59 cache-level = <2>;
60 next-level-cache = <&L3_0>;
61
62 L3_0: l3-cache {
63 compatible = "arm,arch-cache";
64 cache-size = <0x400000>;
65 cache-level = <3>;
66 };
67 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -070068
69 L1_I_0: l1-icache {
70 compatible = "arm,arch-cache";
71 qcom,dump-size = <0x8800>;
72 };
73
74 L1_D_0: l1-dcache {
75 compatible = "arm,arch-cache";
76 qcom,dump-size = <0x9000>;
77 };
78
79 L2_TLB_0: l2-tlb {
80 qcom,dump-size = <0x5000>;
81 };
Runmin Wang4f5985b2017-04-19 15:55:12 -070082 };
83
84 CPU1: cpu@100 {
85 device_type = "cpu";
86 compatible = "qcom,kryo";
87 reg = <0x0 0x100>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -070088 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -070089 cache-size = <0x8000>;
90 cpu-release-addr = <0x0 0x90000000>;
91 next-level-cache = <&L2_1>;
David Daia4635e62018-10-11 13:39:44 -070092 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -080093 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -080094 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -070095 L2_1: l2-cache {
96 compatible = "arm,arch-cache";
97 cache-size = <0x20000>;
98 cache-level = <2>;
99 next-level-cache = <&L3_0>;
100 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700101
102 L1_I_100: l1-icache {
103 compatible = "arm,arch-cache";
104 qcom,dump-size = <0x8800>;
105 };
106
107 L1_D_100: l1-dcache {
108 compatible = "arm,arch-cache";
109 qcom,dump-size = <0x9000>;
110 };
111
112 L2_TLB_100: l2-tlb {
113 qcom,dump-size = <0x5000>;
114 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700115 };
116
117 CPU2: cpu@200 {
118 device_type = "cpu";
119 compatible = "qcom,kryo";
120 reg = <0x0 0x200>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700121 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700122 cache-size = <0x8000>;
123 cpu-release-addr = <0x0 0x90000000>;
124 next-level-cache = <&L2_2>;
David Daia4635e62018-10-11 13:39:44 -0700125 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800126 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -0800127 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700128 L2_2: l2-cache {
129 compatible = "arm,arch-cache";
130 cache-size = <0x20000>;
131 cache-level = <2>;
132 next-level-cache = <&L3_0>;
133 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700134
135 L1_I_200: l1-icache {
136 compatible = "arm,arch-cache";
137 qcom,dump-size = <0x8800>;
138 };
139
140 L1_D_200: l1-dcache {
141 compatible = "arm,arch-cache";
142 qcom,dump-size = <0x9000>;
143 };
144
145 L2_TLB_200: l2-tlb {
146 qcom,dump-size = <0x5000>;
147 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700148 };
149
150 CPU3: cpu@300 {
151 device_type = "cpu";
152 compatible = "qcom,kryo";
153 reg = <0x0 0x300>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700154 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700155 cache-size = <0x8000>;
156 cpu-release-addr = <0x0 0x90000000>;
157 next-level-cache = <&L2_3>;
David Daia4635e62018-10-11 13:39:44 -0700158 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800159 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -0800160 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700161 L2_3: l2-cache {
162 compatible = "arm,arch-cache";
163 cache-size = <0x20000>;
164 cache-level = <2>;
165 next-level-cache = <&L3_0>;
166 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700167
168 L1_I_300: l1-icache {
169 compatible = "arm,arch-cache";
170 qcom,dump-size = <0x8800>;
171 };
172
173 L1_D_300: l1-dcache {
174 compatible = "arm,arch-cache";
175 qcom,dump-size = <0x9000>;
176 };
177
178 L2_TLB_300: l2-tlb {
179 qcom,dump-size = <0x5000>;
180 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700181 };
182
183 CPU4: cpu@400 {
184 device_type = "cpu";
185 compatible = "qcom,kryo";
186 reg = <0x0 0x400>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700187 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700188 cache-size = <0x10000>;
189 cpu-release-addr = <0x0 0x90000000>;
190 next-level-cache = <&L2_4>;
David Daia4635e62018-10-11 13:39:44 -0700191 qcom,freq-domain = <&cpufreq_hw 1 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800192 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhaladb98c3e2019-01-25 10:26:46 -0800193 dynamic-power-coefficient = <514>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700194 L2_4: l2-cache {
195 compatible = "arm,arch-cache";
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700196 cache-size = <0x40000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700197 cache-level = <2>;
198 next-level-cache = <&L3_0>;
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700199 qcom,dump-size = <0x48000>;
200 };
201
202 L1_I_400: l1-icache {
203 compatible = "arm,arch-cache";
204 qcom,dump-size = <0x11000>;
205 };
206
207 L1_D_400: l1-dcache {
208 compatible = "arm,arch-cache";
209 qcom,dump-size = <0x12000>;
210 };
211
212 L1_ITLB_400: l1-itlb {
213 qcom,dump-size = <0x300>;
214 };
215
216 L1_DTLB_400: l1-dtlb {
217 qcom,dump-size = <0x480>;
218 };
219
220 L2_TLB_400: l2-tlb {
221 qcom,dump-size = <0x7800>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700222 };
223 };
224
225 CPU5: cpu@500 {
226 device_type = "cpu";
227 compatible = "qcom,kryo";
228 reg = <0x0 0x500>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700229 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700230 cache-size = <0x10000>;
231 cpu-release-addr = <0x0 0x90000000>;
232 next-level-cache = <&L2_5>;
David Daia4635e62018-10-11 13:39:44 -0700233 qcom,freq-domain = <&cpufreq_hw 1 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800234 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhaladb98c3e2019-01-25 10:26:46 -0800235 dynamic-power-coefficient = <514>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700236 L2_5: l2-cache {
237 compatible = "arm,arch-cache";
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700238 cache-size = <0x40000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700239 cache-level = <2>;
240 next-level-cache = <&L3_0>;
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700241 qcom,dump-size = <0x48000>;
242 };
243
244 L1_I_500: l1-icache {
245 compatible = "arm,arch-cache";
246 qcom,dump-size = <0x11000>;
247 };
248
249 L1_D_500: l1-dcache {
250 compatible = "arm,arch-cache";
251 qcom,dump-size = <0x12000>;
252 };
253
254 L1_ITLB_500: l1-itlb {
255 qcom,dump-size = <0x300>;
256 };
257
258 L1_DTLB_500: l1-dtlb {
259 qcom,dump-size = <0x480>;
260 };
261
262 L2_TLB_500: l2-tlb {
263 qcom,dump-size = <0x7800>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700264 };
265 };
266
267 CPU6: cpu@600 {
268 device_type = "cpu";
269 compatible = "qcom,kryo";
270 reg = <0x0 0x600>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700271 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700272 cache-size = <0x10000>;
273 cpu-release-addr = <0x0 0x90000000>;
274 next-level-cache = <&L2_6>;
David Daia4635e62018-10-11 13:39:44 -0700275 qcom,freq-domain = <&cpufreq_hw 1 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800276 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhaladb98c3e2019-01-25 10:26:46 -0800277 dynamic-power-coefficient = <514>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700278 L2_6: l2-cache {
279 compatible = "arm,arch-cache";
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700280 cache-size = <0x40000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700281 cache-level = <2>;
282 next-level-cache = <&L3_0>;
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700283 qcom,dump-size = <0x48000>;
284 };
285
286 L1_I_600: l1-icache {
287 compatible = "arm,arch-cache";
288 qcom,dump-size = <0x11000>;
289 };
290
291 L1_D_600: l1-dcache {
292 compatible = "arm,arch-cache";
293 qcom,dump-size = <0x12000>;
294 };
295
296 L1_ITLB_600: l1-itlb {
297 qcom,dump-size = <0x300>;
298 };
299
300 L1_DTLB_600: l1-dtlb {
301 qcom,dump-size = <0x480>;
302 };
303
304 L2_TLB_600: l2-tlb {
305 qcom,dump-size = <0x7800>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700306 };
307 };
308
309 CPU7: cpu@700 {
310 device_type = "cpu";
311 compatible = "qcom,kryo";
312 reg = <0x0 0x700>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700313 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700314 cache-size = <0x10000>;
315 cpu-release-addr = <0x0 0x90000000>;
316 next-level-cache = <&L2_7>;
David Daia4635e62018-10-11 13:39:44 -0700317 qcom,freq-domain = <&cpufreq_hw 2 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800318 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhaladb98c3e2019-01-25 10:26:46 -0800319 dynamic-power-coefficient = <598>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700320 L2_7: l2-cache {
321 compatible = "arm,arch-cache";
322 cache-size = <0x80000>;
323 cache-level = <2>;
324 next-level-cache = <&L3_0>;
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700325 qcom,dump-size = <0x90000>;
326 };
327
328 L1_I_700: l1-icache {
329 compatible = "arm,arch-cache";
330 qcom,dump-size = <0x11000>;
331 };
332
333 L1_D_700: l1-dcache {
334 compatible = "arm,arch-cache";
335 qcom,dump-size = <0x12000>;
336 };
337
338 L1_ITLB_700: l1-itlb {
339 qcom,dump-size = <0x300>;
340 };
341
342 L1_DTLB_700: l1-dtlb {
343 qcom,dump-size = <0x480>;
344 };
345
346 L2_TLB_700: l2-tlb {
347 qcom,dump-size = <0x7800>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700348 };
349 };
350
351 cpu-map {
352 cluster0 {
353 core0 {
354 cpu = <&CPU0>;
355 };
356
357 core1 {
358 cpu = <&CPU1>;
359 };
360
361 core2 {
362 cpu = <&CPU2>;
363 };
364
365 core3 {
366 cpu = <&CPU3>;
367 };
368 };
369
370 cluster1 {
371 core0 {
372 cpu = <&CPU4>;
373 };
374
375 core1 {
376 cpu = <&CPU5>;
377 };
378
379 core2 {
380 cpu = <&CPU6>;
381 };
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800382 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700383
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800384 cluster2 {
385 core0 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700386 cpu = <&CPU7>;
387 };
388 };
389 };
390 };
391
David Daia4635e62018-10-11 13:39:44 -0700392
Channagoud Kadabicdd72a02018-09-21 14:46:21 -0700393 cpu_pmu: cpu-pmu {
394 compatible = "arm,armv8-pmuv3";
395 qcom,irq-is-percpu;
396 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
397 };
398
David Daia4635e62018-10-11 13:39:44 -0700399 soc: soc {
400 cpufreq_hw: qcom,cpufreq-hw {
401 compatible = "qcom,cpufreq-hw";
402 reg = <0x18591000 0x1000>, <0x18592000 0x1000>,
403 <0x18593000 0x1000>;
404 reg-names = "freq-domain0", "freq-domain1",
405 "freq-domain2";
406
David Daiee6a9d62019-01-10 17:14:04 -0800407 clocks = <&clock_rpmh RPMH_CXO_CLK>, <&clock_gcc GPLL0>;
David Daia4635e62018-10-11 13:39:44 -0700408 clock-names = "xo", "cpu_clk";
409
410 #freq-domain-cells = <2>;
411 };
412 };
413
Arjun Bagla76f02ef2018-09-19 10:00:29 -0700414 psci {
415 compatible = "arm,psci-1.0";
416 method = "smc";
417 };
418
Bruce Levy3bd8d1b2018-09-11 11:31:13 -0700419 firmware: firmware {
420 android {
421 compatible = "android,firmware";
Zhen Kongb8fe4072019-01-15 17:58:27 -0800422 vbmeta {
423 compatible = "android,vbmeta";
424 parts = "vbmeta,boot,system,vendor,dtbo";
425 };
426
Bruce Levy3bd8d1b2018-09-11 11:31:13 -0700427 fstab {
428 compatible = "android,fstab";
429 vendor {
430 compatible = "android,vendor";
431 dev = "/dev/block/platform/soc/1d84000.ufshc/by-name/vendor";
432 type = "ext4";
433 mnt_flags = "ro,barrier=1,discard";
434 fsmgr_flags = "wait,slotselect,avb";
435 status = "ok";
436 };
437 };
438 };
439 };
440
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700441 psci {
442 compatible = "arm,psci-1.0";
443 method = "smc";
444 };
445
Swathi Sridhara79a9542018-06-21 11:40:44 -0700446 reserved-memory {
447 #address-cells = <2>;
448 #size-cells = <2>;
449 ranges;
450
451 hyp_mem: hyp_region@80000000 {
452 no-map;
453 reg = <0x0 0x80000000 0x0 0x600000>;
454 };
455
456 xbl_aop_mem: xbl_aop_region@80700000 {
457 no-map;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700458 reg = <0x0 0x80700000 0x0 0x120000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700459 };
460
Lina Iyer5d609fa2018-10-03 14:26:55 -0600461 cmd_db: reserved-memory@80820000 {
462 reg = <0x0 0x80820000 0x0 0x20000>;
463 compatible = "qcom,cmd-db";
464 no-map;
465 };
466
Swathi Sridhara79a9542018-06-21 11:40:44 -0700467 smem_mem: smem_region@80900000 {
468 no-map;
469 reg = <0x0 0x80900000 0x0 0x200000>;
470 };
471
472 removed_mem: removed_region@80b00000 {
473 no-map;
Swathi Sridhar67f2e9c2019-01-14 11:04:05 -0800474 reg = <0x0 0x80b00000 0x0 0x1300000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700475 };
476
477 qtee_apps_mem: qtee_apps_region@81e00000 {
478 no-map;
479 reg = <0x0 0x81e00000 0x0 0x2600000>;
480 };
481
482 pil_camera_mem: pil_camera_region@86000000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700483 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700484 no-map;
485 reg = <0x0 0x86000000 0x0 0x500000>;
486 };
487
488 pil_wlan_fw_mem: pil_wlan_fw_region@86500000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700489 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700490 no-map;
491 reg = <0x0 0x86500000 0x0 0x100000>;
492 };
493
494 pil_ipa_fw_mem: pil_ipa_fw_region@86600000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700495 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700496 no-map;
497 reg = <0x0 0x86600000 0x0 0x10000>;
498 };
499
500 pil_ipa_gsi_mem: pil_ipa_gsi_region@86610000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700501 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700502 no-map;
Swathi Sridhar67f2e9c2019-01-14 11:04:05 -0800503 reg = <0x0 0x86610000 0x0 0xa000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700504 };
505
Swathi Sridhar67f2e9c2019-01-14 11:04:05 -0800506 pil_gpu_mem: pil_gpu_region@8661a000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700507 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700508 no-map;
Swathi Sridhar67f2e9c2019-01-14 11:04:05 -0800509 reg = <0x0 0x8661a000 0x0 0x2000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700510 };
511
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700512 pil_npu_mem: pil_npu_region@86700000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700513 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700514 no-map;
515 reg = <0x0 0x86700000 0x0 0x500000>;
516 };
517
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700518 pil_video_mem: pil_video_region@86c00000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700519 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700520 no-map;
521 reg = <0x0 0x86c00000 0x0 0x500000>;
522 };
523
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700524 pil_cvp_mem: pil_cvp_region@87100000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700525 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700526 no-map;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700527 reg = <0x0 0x87100000 0x0 0x500000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700528 };
529
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700530 pil_cdsp_mem: pil_cdsp_region@87600000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700531 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700532 no-map;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700533 reg = <0x0 0x87600000 0x0 0x800000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700534 };
535
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700536 pil_slpi_mem: pil_slpi_region@87e00000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700537 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700538 no-map;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700539 reg = <0x0 0x87e00000 0x0 0x1500000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700540 };
541
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700542 pil_adsp_mem: pil_adsp_region@89300000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700543 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700544 no-map;
Swathi Sridhar19db3ed2018-11-29 11:01:42 -0800545 reg = <0x0 0x89300000 0x0 0x1a00000>;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700546 };
547
Swathi Sridhar19db3ed2018-11-29 11:01:42 -0800548 pil_spss_mem: pil_spss_region@8ad00000 {
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700549 compatible = "removed-dma-pool";
550 no-map;
Swathi Sridhar19db3ed2018-11-29 11:01:42 -0800551 reg = <0x0 0x8ad00000 0x0 0x100000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700552 };
553
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +0530554 adsp_mem: adsp_region {
555 compatible = "shared-dma-pool";
556 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
557 reusable;
558 alignment = <0x0 0x400000>;
Tharun Kumar Merugu9bf49d72018-12-21 02:33:10 +0530559 size = <0x0 0xC00000>;
560 };
561
562 sdsp_mem: sdsp_region {
563 compatible = "shared-dma-pool";
564 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
565 reusable;
566 alignment = <0x0 0x400000>;
567 size = <0x0 0x800000>;
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +0530568 };
569
George Shen9c54c662018-12-26 15:50:11 -0800570 cdsp_mem: cdsp_region {
571 compatible = "shared-dma-pool";
572 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
573 reusable;
574 alignment = <0x0 0x400000>;
575 size = <0x0 0x400000>;
576 };
577
Tingwei Zhangd9b535f2018-12-03 19:14:06 -0800578 dump_mem: mem_dump_region {
579 compatible = "shared-dma-pool";
Swathi Sridhar08b670b2019-01-16 17:05:24 -0800580 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
Tingwei Zhangd9b535f2018-12-03 19:14:06 -0800581 reusable;
582 size = <0 0x2400000>;
583 };
584
Zhen Kong284c9f02018-11-06 12:00:30 -0800585 qseecom_mem: qseecom_region {
586 compatible = "shared-dma-pool";
587 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
588 reusable;
589 alignment = <0x0 0x400000>;
590 size = <0x0 0x1400000>;
591 };
592
593 qseecom_ta_mem: qseecom_ta_region {
594 compatible = "shared-dma-pool";
595 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
596 reusable;
597 alignment = <0x0 0x400000>;
598 size = <0x0 0x1000000>;
599 };
600
Swathi Sridhara79a9542018-06-21 11:40:44 -0700601 /* global autoconfigured region for contiguous allocations */
602 linux,cma {
603 compatible = "shared-dma-pool";
604 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
605 reusable;
606 alignment = <0x0 0x400000>;
607 size = <0x0 0x2000000>;
608 linux,cma-default;
609 };
Vikram Panduranga5bbf75a2019-01-17 19:26:52 -0800610
611 mailbox_mem: mailbox_region {
612 compatible = "shared-dma-pool";
613 no-map;
614 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
615 alignment = <0x0 0x400000>;
616 size = <0x0 0x20000>;
617 };
Swathi Sridhara79a9542018-06-21 11:40:44 -0700618 };
Bruce Levyc5eb1992019-01-11 12:09:18 -0800619
620 vendor: vendor {
621 #address-cells = <1>;
622 #size-cells = <1>;
623 ranges = <0 0 0 0xffffffff>;
624 compatible = "simple-bus";
625 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700626};
627
628&soc {
629 #address-cells = <1>;
630 #size-cells = <1>;
631 ranges = <0 0 0 0xffffffff>;
632 compatible = "simple-bus";
633
David Collins692dff72018-11-12 17:09:49 -0800634 thermal_zones: thermal-zones {
635 };
636
Dilip Kotaab8bf962018-12-26 12:12:22 +0530637 slim_aud: slim@3ac0000 {
638 cell-index = <1>;
639 compatible = "qcom,slim-ngd";
640 reg = <0x3ac0000 0x2c000>,
641 <0x3a84000 0x2c000>;
642 reg-names = "slimbus_physical", "slimbus_bam_physical";
Rishabh Bhatnagar7ef15882019-01-22 11:02:09 -0800643 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
644 <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
Dilip Kotaab8bf962018-12-26 12:12:22 +0530645 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
646 qcom,apps-ch-pipes = <0x700000>;
647 qcom,ea-pc = <0x2d0>;
Mahesh Kumar Sharmab8e62662019-01-17 16:16:22 -0800648 status = "ok";
Dilip Kotaab8bf962018-12-26 12:12:22 +0530649 qcom,iommu-s1-bypass;
650
651 iommu_slim_aud_ctrl_cb: qcom,iommu_slim_ctrl_cb {
652 compatible = "qcom,iommu-slim-ctrl-cb";
653 iommus = <&apps_smmu 0x1826 0x0>,
654 <&apps_smmu 0x182f 0x0>,
655 <&apps_smmu 0x1830 0x1>;
656 status = "disabled";
657 };
Mahesh Kumar Sharmab8e62662019-01-17 16:16:22 -0800658
659 /* Slimbus Slave DT for QCA6390 */
660 btfmslim_codec: qca6390 {
661 compatible = "qcom,btfmslim_slave";
662 elemental-addr = [00 01 20 02 17 02];
663 qcom,btfm-slim-ifd = "btfmslim_slave_ifd";
664 qcom,btfm-slim-ifd-elemental-addr = [00 00 20 02 17 02];
665 };
Dilip Kotaab8bf962018-12-26 12:12:22 +0530666 };
667
Runmin Wang4f5985b2017-04-19 15:55:12 -0700668 intc: interrupt-controller@17a00000 {
669 compatible = "arm,gic-v3";
670 #interrupt-cells = <3>;
671 interrupt-controller;
672 #redistributor-regions = <1>;
673 redistributor-stride = <0x0 0x20000>;
674 reg = <0x17a00000 0x10000>, /* GICD */
675 <0x17a60000 0x100000>; /* GICR * 8 */
676 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
677 };
678
Rishabh Bhatnagarfd73eb12018-09-04 15:00:46 -0700679 qcom,chd_silver {
680 compatible = "qcom,core-hang-detect";
681 label = "silver";
682 qcom,threshold-arr = <0x18000058 0x18010058
683 0x18020058 0x18030058>;
684 qcom,config-arr = <0x18000060 0x18010060
685 0x18020060 0x18030060>;
686 };
687
688 qcom,chd_gold {
689 compatible = "qcom,core-hang-detect";
690 label = "gold";
691 qcom,threshold-arr = <0x18040058 0x18050058
692 0x18060058 0x18070058>;
693 qcom,config-arr = <0x18040060 0x18050060
694 0x18060060 0x18070060>;
695 };
696
Rishabh Bhatnagar8f0dd4b2018-08-07 11:07:40 -0700697 cache-controller@9200000 {
698 compatible = "qcom,kona-llcc";
699 reg = <0x9200000 0x1d0000> , <0x9600000 0x50000>;
700 reg-names = "llcc_base", "llcc_broadcast_base";
Channagoud Kadabia13ed0a2018-09-26 16:10:35 -0700701 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
Rishabh Bhatnagar2e49cd3a2019-01-16 12:03:36 -0800702 cap-based-alloc-and-pwr-collapse;
Rishabh Bhatnagar8f0dd4b2018-08-07 11:07:40 -0700703 };
704
Rishabh Bhatnagarc6970a02018-09-04 16:43:43 -0700705 wdog: qcom,wdt@17c10000 {
706 compatible = "qcom,msm-watchdog";
707 reg = <0x17c10000 0x1000>;
708 reg-names = "wdt-base";
709 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
710 <0 1 IRQ_TYPE_LEVEL_HIGH>;
711 qcom,bark-time = <11000>;
712 qcom,pet-time = <9360>;
713 qcom,wakeup-enable;
714 qcom,scandump-sizes = <0x10100 0x10100 0x10100 0x10100
715 0x18100 0x18100 0x18100 0x18100>;
716 status = "disabled";
717 };
718
Maria Neptune5a1428b2018-08-29 13:25:19 -0700719 arch_timer: timer {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700720 compatible = "arm,armv8-timer";
721 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
722 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
723 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
724 <GIC_PPI 12 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
725 clock-frequency = <19200000>;
726 };
727
Maria Neptune5a1428b2018-08-29 13:25:19 -0700728 memtimer: timer@17c20000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700729 #address-cells = <1>;
730 #size-cells = <1>;
731 ranges;
732 compatible = "arm,armv7-timer-mem";
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700733 reg = <0x17c20000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700734 clock-frequency = <19200000>;
735
Maria Neptune5a1428b2018-08-29 13:25:19 -0700736 frame@17c21000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700737 frame-number = <0>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700738 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
Runmin Wang4f5985b2017-04-19 15:55:12 -0700739 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700740 reg = <0x17c21000 0x1000>,
741 <0x17c22000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700742 };
743
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700744 frame@17c23000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700745 frame-number = <1>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700746 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
747 reg = <0x17c23000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700748 status = "disabled";
749 };
750
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700751 frame@17c25000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700752 frame-number = <2>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700753 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
754 reg = <0x17c25000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700755 status = "disabled";
756 };
757
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700758 frame@17c27000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700759 frame-number = <3>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700760 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
761 reg = <0x17c27000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700762 status = "disabled";
763 };
764
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700765 frame@17c29000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700766 frame-number = <4>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700767 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
768 reg = <0x17c29000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700769 status = "disabled";
770 };
771
Maria Neptune5a1428b2018-08-29 13:25:19 -0700772 frame@17c2b000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700773 frame-number = <5>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700774 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
775 reg = <0x17c2b000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700776 status = "disabled";
777 };
778
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700779 frame@17c2d000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700780 frame-number = <6>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700781 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
782 reg = <0x17c2d000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700783 status = "disabled";
784 };
785 };
Deepak Katragadda5bbf8142018-06-20 16:12:13 -0700786
Tingwei Zhang020594a2018-11-27 21:58:09 -0800787 jtag_mm0: jtagmm@7040000 {
788 compatible = "qcom,jtagv8-mm";
789 reg = <0x7040000 0x1000>;
790 reg-names = "etm-base";
791
792 clocks = <&clock_aop QDSS_CLK>;
793 clock-names = "core_clk";
794
795 qcom,coresight-jtagmm-cpu = <&CPU0>;
796 };
797
798 jtag_mm1: jtagmm@7140000 {
799 compatible = "qcom,jtagv8-mm";
800 reg = <0x7140000 0x1000>;
801 reg-names = "etm-base";
802
803 clocks = <&clock_aop QDSS_CLK>;
804 clock-names = "core_clk";
805
806 qcom,coresight-jtagmm-cpu = <&CPU1>;
807 };
808
809 jtag_mm2: jtagmm@7240000 {
810 compatible = "qcom,jtagv8-mm";
811 reg = <0x7240000 0x1000>;
812 reg-names = "etm-base";
813
814 clocks = <&clock_aop QDSS_CLK>;
815 clock-names = "core_clk";
816
817 qcom,coresight-jtagmm-cpu = <&CPU2>;
818 };
819
820 jtag_mm3: jtagmm@7340000 {
821 compatible = "qcom,jtagv8-mm";
822 reg = <0x7340000 0x1000>;
823 reg-names = "etm-base";
824
825 clocks = <&clock_aop QDSS_CLK>;
826 clock-names = "core_clk";
827
828 qcom,coresight-jtagmm-cpu = <&CPU3>;
829 };
830
831 jtag_mm4: jtagmm@7440000 {
832 compatible = "qcom,jtagv8-mm";
833 reg = <0x7440000 0x1000>;
834 reg-names = "etm-base";
835
836 clocks = <&clock_aop QDSS_CLK>;
837 clock-names = "core_clk";
838
839 qcom,coresight-jtagmm-cpu = <&CPU4>;
840 };
841
842 jtag_mm5: jtagmm@7540000 {
843 compatible = "qcom,jtagv8-mm";
844 reg = <0x7540000 0x1000>;
845 reg-names = "etm-base";
846
847 clocks = <&clock_aop QDSS_CLK>;
848 clock-names = "core_clk";
849
850 qcom,coresight-jtagmm-cpu = <&CPU5>;
851 };
852
853 jtag_mm6: jtagmm@7640000 {
854 compatible = "qcom,jtagv8-mm";
855 reg = <0x7640000 0x1000>;
856 reg-names = "etm-base";
857
858 clocks = <&clock_aop QDSS_CLK>;
859 clock-names = "core_clk";
860
861 qcom,coresight-jtagmm-cpu = <&CPU6>;
862 };
863
864 jtag_mm7: jtagmm@7740000 {
865 compatible = "qcom,jtagv8-mm";
866 reg = <0x7740000 0x1000>;
867 reg-names = "etm-base";
868
869 clocks = <&clock_aop QDSS_CLK>;
870 clock-names = "core_clk";
871
872 qcom,coresight-jtagmm-cpu = <&CPU7>;
873 };
874
David Dai3c427802018-10-17 14:40:08 -0700875 qcom,devfreq-l3 {
876 compatible = "qcom,devfreq-fw";
877 reg = <0x18590000 0x4>, <0x18590100 0xa0>, <0x18590320 0x4>;
878 reg-names = "en-base", "ftbl-base", "perf-base";
879
Rama Aparna Mallavarapude6608e2019-01-07 15:41:32 -0800880 cpu0_l3: qcom,cpu0-cpu-l3-lat {
David Dai3c427802018-10-17 14:40:08 -0700881 compatible = "qcom,devfreq-fw-voter";
882 };
883
Rama Aparna Mallavarapude6608e2019-01-07 15:41:32 -0800884 cpu4_l3: qcom,cpu4-cpu-l3-lat {
885 compatible = "qcom,devfreq-fw-voter";
886 };
887
888 cpu7_l3: qcom,cpu7-cpu-l3-lat {
889 compatible = "qcom,devfreq-fw-voter";
890 };
891
892 cdsp_l3: qcom,cdsp-cdsp-l3-lat {
David Dai3c427802018-10-17 14:40:08 -0700893 compatible = "qcom,devfreq-fw-voter";
894 };
895 };
896
David Dai95d5bfba2019-01-31 13:59:58 -0800897 keepalive_opp_table: keepalive-opp-table {
898 compatible = "operating-points-v2";
899 opp-1 {
900 opp-hz = /bits/ 64 < 1 >;
901 };
902 };
903
904 snoc_cnoc_keepalive: qcom,snoc_cnoc_keepalive {
905 compatible = "qcom,devbw";
906 governor = "powersave";
907 qcom,src-dst-ports = <MSM_BUS_MASTER_AMPSS_M0
908 MSM_BUS_SLAVE_IMEM_CFG>;
909 qcom,active-only;
910 status = "ok";
911 operating-points-v2 = <&keepalive_opp_table>;
912 };
913
Chinmay Sawarkare5d4b862019-01-07 15:54:39 -0800914 venus_bus_cnoc_bw_table: bus-cnoc-bw-table {
915 compatible = "operating-points-v2";
916 BW_OPP_ENTRY( 200, 4);
917 };
918
Rama Aparna Mallavarapu5a7daf42019-01-14 22:08:20 -0800919 llcc_bw_opp_table: llcc-bw-opp-table {
920 compatible = "operating-points-v2";
921 BW_OPP_ENTRY( 150, 16); /* 2288 MB/s */
922 BW_OPP_ENTRY( 300, 16); /* 4577 MB/s */
923 BW_OPP_ENTRY( 466, 16); /* 7110 MB/s */
924 BW_OPP_ENTRY( 600, 16); /* 9155 MB/s */
925 BW_OPP_ENTRY( 806, 16); /* 12298 MB/s */
926 BW_OPP_ENTRY( 933, 16); /* 14236 MB/s */
927 BW_OPP_ENTRY( 1000, 16); /* 15258 MB/s */
928 };
929
930 ddr_bw_opp_table: ddr-bw-opp-table {
931 compatible = "operating-points-v2";
932 BW_OPP_ENTRY( 200, 4); /* 762 MB/s */
933 BW_OPP_ENTRY( 300, 4); /* 1144 MB/s */
934 BW_OPP_ENTRY( 451, 4); /* 1720 MB/s */
935 BW_OPP_ENTRY( 547, 4); /* 2086 MB/s */
936 BW_OPP_ENTRY( 681, 4); /* 2597 MB/s */
937 BW_OPP_ENTRY( 768, 4); /* 2929 MB/s */
938 BW_OPP_ENTRY( 1017, 4); /* 3879 MB/s */
939 BW_OPP_ENTRY( 1353, 4); /* 5161 MB/s */
940 BW_OPP_ENTRY( 1555, 4); /* 5931 MB/s */
Rama Aparna Mallavarapude6608e2019-01-07 15:41:32 -0800941 BW_OPP_ENTRY( 1804, 4); /* 6881 MB/s */
Rama Aparna Mallavarapu5a7daf42019-01-14 22:08:20 -0800942 BW_OPP_ENTRY( 2092, 4); /* 7980 MB/s */
943 BW_OPP_ENTRY( 2736, 4); /* 10437 MB/s */
944 };
945
946 suspendable_ddr_bw_opp_table: suspendable-ddr-bw-opp-table {
947 compatible = "operating-points-v2";
948 BW_OPP_ENTRY( 0, 4); /* 0 MB/s */
949 BW_OPP_ENTRY( 200, 4); /* 762 MB/s */
950 BW_OPP_ENTRY( 300, 4); /* 1144 MB/s */
951 BW_OPP_ENTRY( 451, 4); /* 1720 MB/s */
952 BW_OPP_ENTRY( 547, 4); /* 2086 MB/s */
953 BW_OPP_ENTRY( 681, 4); /* 2597 MB/s */
954 BW_OPP_ENTRY( 768, 4); /* 2929 MB/s */
955 BW_OPP_ENTRY( 1017, 4); /* 3879 MB/s */
956 BW_OPP_ENTRY( 1353, 4); /* 5161 MB/s */
957 BW_OPP_ENTRY( 1555, 4); /* 5931 MB/s */
Rama Aparna Mallavarapude6608e2019-01-07 15:41:32 -0800958 BW_OPP_ENTRY( 1804, 4); /* 6881 MB/s */
Rama Aparna Mallavarapu5a7daf42019-01-14 22:08:20 -0800959 BW_OPP_ENTRY( 2092, 4); /* 7980 MB/s */
960 BW_OPP_ENTRY( 2736, 4); /* 10437 MB/s */
961 };
962
Rama Aparna Mallavarapu230fb2a2019-01-31 12:56:01 -0800963 llcc_pmu: llcc-pmu@9095000 {
964 compatible = "qcom,llcc-pmu-ver2";
965 reg = <0x09095000 0x300>;
Rama Aparna Mallavarapude6608e2019-01-07 15:41:32 -0800966 reg-names = "lagg-base";
967 };
968
969 cpu_cpu_llcc_bw: qcom,cpu-cpu-llcc-bw {
970 compatible = "qcom,devbw";
971 governor = "performance";
972 qcom,src-dst-ports =
973 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_LLCC>;
974 qcom,active-only;
975 operating-points-v2 = <&llcc_bw_opp_table>;
976 };
977
978 cpu_cpu_llcc_bwmon: qcom,cpu-cpu-llcc-bwmon@90b6400 {
979 compatible = "qcom,bimc-bwmon4";
980 reg = <0x90b6400 0x300>, <0x90b6300 0x200>;
981 reg-names = "base", "global_base";
982 interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
983 qcom,mport = <0>;
984 qcom,hw-timer-hz = <19200000>;
985 qcom,target-dev = <&cpu_cpu_llcc_bw>;
986 qcom,count-unit = <0x10000>;
987 };
988
989 cpu_llcc_ddr_bw: qcom,cpu-llcc-ddr-bw {
990 compatible = "qcom,devbw";
991 governor = "performance";
992 qcom,src-dst-ports =
993 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0>;
994 qcom,active-only;
995 operating-points-v2 = <&ddr_bw_opp_table>;
996 };
997
998 cpu_llcc_ddr_bwmon: qcom,cpu-llcc-ddr-bwmon@9091000 {
999 compatible = "qcom,bimc-bwmon5";
1000 reg = <0x9091000 0x1000>;
1001 reg-names = "base";
1002 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
1003 qcom,hw-timer-hz = <19200000>;
1004 qcom,target-dev = <&cpu_llcc_ddr_bw>;
1005 qcom,count-unit = <0x10000>;
1006 };
1007
1008 npu_npu_ddr_bw: qcom,npu-npu-ddr-bw {
1009 compatible = "qcom,devbw";
1010 governor = "performance";
1011 qcom,src-dst-ports = <MSM_BUS_MASTER_NPU MSM_BUS_SLAVE_EBI_CH0>;
1012 operating-points-v2 = <&suspendable_ddr_bw_opp_table>;
1013 };
1014
1015 npu_npu_ddr_bwmon: qcom,npu-npu-ddr-bwmon@60300 {
1016 compatible = "qcom,bimc-bwmon4";
1017 reg = <0x00060300 0x300>, <0x00060400 0x200>;
1018 reg-names = "base", "global_base";
1019 interrupts = <GIC_SPI 476 IRQ_TYPE_LEVEL_HIGH>;
1020 qcom,mport = <0>;
1021 qcom,hw-timer-hz = <19200000>;
1022 qcom,target-dev = <&npu_npu_ddr_bw>;
1023 qcom,count-unit = <0x10000>;
1024 };
1025
1026 npu_npu_ddr_bwmon_dsp: qcom,npu-npu-ddr-bwmoni_dsp@70200 {
1027 compatible = "qcom,bimc-bwmon4";
1028 reg = <0x00070200 0x300>, <0x00070300 0x200>;
1029 reg-names = "base", "global_base";
1030 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
1031 qcom,mport = <0>;
1032 qcom,hw-timer-hz = <19200000>;
1033 qcom,target-dev = <&npu_npu_ddr_bw>;
1034 qcom,count-unit = <0x10000>;
1035 };
1036
1037 cpu0_cpu_l3_latmon: qcom,cpu0-cpu-l3-latmon {
1038 compatible = "qcom,arm-memlat-mon";
1039 qcom,cpulist = <&CPU0 &CPU1 &CPU2 &CPU3>;
1040 qcom,target-dev = <&cpu0_l3>;
1041 qcom,cachemiss-ev = <0x17>;
1042 qcom,core-dev-table =
1043 < 300000 300000000 >,
1044 < 403200 403200000 >,
1045 < 518400 518400000 >,
1046 < 633600 614400000 >,
1047 < 825600 729600000 >,
1048 < 921600 825600000 >,
1049 < 1036800 921600000 >,
1050 < 1132800 1036800000 >,
1051 < 1228800 1132800000 >,
1052 < 1401600 1228800000 >,
1053 < 1497600 1305600000 >,
1054 < 1670400 1382400000 >;
1055 };
1056
1057 cpu4_cpu_l3_latmon: qcom,cpu4-cpu-l3-latmon {
1058 compatible = "qcom,arm-memlat-mon";
1059 qcom,cpulist = <&CPU4 &CPU5 &CPU6>;
1060 qcom,target-dev = <&cpu4_l3>;
1061 qcom,cachemiss-ev = <0x17>;
1062 qcom,core-dev-table =
1063 < 300000 300000000 >,
1064 < 806400 614400000 >,
1065 < 1017600 729600000 >,
1066 < 1228800 921600000 >,
1067 < 1689600 1228800000 >,
1068 < 1804800 1305600000 >,
1069 < 2227200 1382400000 >;
1070 };
1071
1072 cpu7_cpu_l3_latmon: qcom,cpu7-cpu-l3-latmon {
1073 compatible = "qcom,arm-memlat-mon";
1074 qcom,cpulist = <&CPU7>;
1075 qcom,target-dev = <&cpu7_l3>;
1076 qcom,cachemiss-ev = <0x17>;
1077 qcom,core-dev-table =
1078 < 300000 300000000 >,
1079 < 806400 614400000 >,
1080 < 1017600 729600000 >,
1081 < 1228800 921600000 >,
1082 < 1689600 1228800000 >,
1083 < 1804800 1305600000 >,
1084 < 2227200 1382400000 >;
1085 };
1086
1087 cpu0_cpu_llcc_lat: qcom,cpu0-cpu-llcc-lat {
1088 compatible = "qcom,devbw";
1089 governor = "performance";
1090 qcom,src-dst-ports =
1091 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_LLCC>;
1092 qcom,active-only;
1093 operating-points-v2 = <&llcc_bw_opp_table>;
1094 };
1095
1096 cpu0_cpu_llcc_latmon: qcom,cpu0-cpu-llcc-latmon {
1097 compatible = "qcom,arm-memlat-mon";
1098 qcom,cpulist = <&CPU0 &CPU1 &CPU2 &CPU3>;
1099 qcom,target-dev = <&cpu0_cpu_llcc_lat>;
1100 qcom,cachemiss-ev = <0x2A>;
1101 qcom,core-dev-table =
1102 < 300000 MHZ_TO_MBPS( 150, 16) >,
1103 < 729600 MHZ_TO_MBPS( 300, 16) >,
1104 < 1497600 MHZ_TO_MBPS( 466, 16) >,
1105 < 1670400 MHZ_TO_MBPS( 600, 16) >;
1106 };
1107
1108 cpu4_cpu_llcc_lat: qcom,cpu4-cpu-llcc-lat {
1109 compatible = "qcom,devbw";
1110 governor = "performance";
1111 qcom,src-dst-ports =
1112 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_LLCC>;
1113 qcom,active-only;
1114 operating-points-v2 = <&llcc_bw_opp_table>;
1115 };
1116
1117 cpu4_cpu_llcc_latmon: qcom,cpu4-cpu-llcc-latmon {
1118 compatible = "qcom,arm-memlat-mon";
1119 qcom,cpulist = <&CPU4 &CPU5 &CPU6 &CPU7>;
1120 qcom,target-dev = <&cpu4_cpu_llcc_lat>;
1121 qcom,cachemiss-ev = <0x2A>;
1122 qcom,core-dev-table =
1123 < 300000 MHZ_TO_MBPS( 150, 16) >,
1124 < 691200 MHZ_TO_MBPS( 300, 16) >,
1125 < 1017600 MHZ_TO_MBPS( 466, 16) >,
1126 < 1228800 MHZ_TO_MBPS( 600, 16) >,
1127 < 1804800 MHZ_TO_MBPS( 806, 16) >,
1128 < 2227200 MHZ_TO_MBPS( 933, 16) >,
1129 < 2476800 MHZ_TO_MBPS( 1000, 16) >;
1130 };
1131
1132 cpu0_llcc_ddr_lat: qcom,cpu0-llcc-ddr-lat {
1133 compatible = "qcom,devbw";
1134 governor = "performance";
1135 qcom,src-dst-ports =
1136 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0>;
1137 qcom,active-only;
1138 operating-points-v2 = <&ddr_bw_opp_table>;
1139 };
1140
1141 cpu0_llcc_ddr_latmon: qcom,cpu0-llcc-ddr-latmon {
1142 compatible = "qcom,arm-memlat-mon";
1143 qcom,cpulist = <&CPU0 &CPU1 &CPU2 &CPU3>;
1144 qcom,target-dev = <&cpu0_llcc_ddr_lat>;
1145 qcom,cachemiss-ev = <0x1000>;
1146 qcom,core-dev-table =
1147 < 300000 MHZ_TO_MBPS( 200, 4) >,
1148 < 729600 MHZ_TO_MBPS( 451, 4) >,
1149 < 1132800 MHZ_TO_MBPS( 547, 4) >,
1150 < 1497600 MHZ_TO_MBPS( 768, 4) >,
1151 < 1670400 MHZ_TO_MBPS( 1017, 4) >;
1152 };
1153
1154 cpu4_llcc_ddr_lat: qcom,cpu4-llcc-ddr-lat {
1155 compatible = "qcom,devbw";
1156 governor = "performance";
1157 qcom,src-dst-ports =
1158 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0>;
1159 qcom,active-only;
1160 operating-points-v2 = <&ddr_bw_opp_table>;
1161 };
1162
1163 cpu4_llcc_ddr_latmon: qcom,cpu4-llcc-ddr-latmon {
1164 compatible = "qcom,arm-memlat-mon";
1165 qcom,cpulist = <&CPU4 &CPU5 &CPU6 &CPU7>;
1166 qcom,target-dev = <&cpu4_llcc_ddr_lat>;
1167 qcom,cachemiss-ev = <0x1000>;
1168 qcom,core-dev-table =
1169 < 300000 MHZ_TO_MBPS( 200, 4) >,
1170 < 691200 MHZ_TO_MBPS( 451, 4) >,
1171 < 806400 MHZ_TO_MBPS( 547, 4) >,
1172 < 1017600 MHZ_TO_MBPS( 768, 4) >,
1173 < 1228800 MHZ_TO_MBPS(1017, 4) >,
1174 < 1574400 MHZ_TO_MBPS(1353, 4) >,
1175 < 1804800 MHZ_TO_MBPS(1555, 4) >,
1176 < 2227200 MHZ_TO_MBPS(1804, 4) >,
1177 < 2380800 MHZ_TO_MBPS(2092, 4) >,
1178 < 2476800 MHZ_TO_MBPS(2736, 4) >;
1179 };
1180
1181 cpu4_cpu_ddr_latfloor: qcom,cpu4-cpu-ddr-latfloor {
1182 compatible = "qcom,devbw";
1183 governor = "performance";
1184 qcom,src-dst-ports =
1185 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0>;
1186 qcom,active-only;
1187 operating-points-v2 = <&ddr_bw_opp_table>;
1188 };
1189
1190 cpu4_computemon: qcom,cpu4-computemon {
1191 compatible = "qcom,arm-cpu-mon";
1192 qcom,cpulist = <&CPU4 &CPU5 &CPU6 &CPU7>;
1193 qcom,target-dev = <&cpu4_cpu_ddr_latfloor>;
1194 qcom,core-dev-table =
1195 < 1804800 MHZ_TO_MBPS( 200, 4) >,
1196 < 2380800 MHZ_TO_MBPS(1017, 4) >,
1197 < 2500000 MHZ_TO_MBPS(2736, 4) >;
1198 };
1199
1200 keepalive_opp_table: keepalive-opp-table {
1201 compatible = "operating-points-v2";
1202 opp-1 {
1203 opp-hz = /bits/ 64 < 1 >;
1204 };
1205 };
1206
1207 snoc_cnoc_keepalive: qcom,snoc_cnoc_keepalive {
1208 compatible = "qcom,devbw";
1209 governor = "powersave";
1210 qcom,src-dst-ports = <1 627>;
1211 qcom,active-only;
1212 status = "ok";
1213 operating-points-v2 = <&keepalive_opp_table>;
1214 };
1215
1216 cdsp_keepalive: qcom,cdsp_keepalive {
1217 compatible = "qcom,devbw";
1218 governor = "powersave";
1219 qcom,src-dst-ports = <154 10070>;
1220 qcom,active-only;
1221 status = "ok";
1222 operating-points-v2 = <&keepalive_opp_table>;
1223 };
1224
Rishabh Bhatnagarf35ba022018-09-18 15:17:22 -07001225 qcom,msm-imem@146bf000 {
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001226 compatible = "qcom,msm-imem";
1227 reg = <0x146bf000 0x1000>;
1228 ranges = <0x0 0x146bf000 0x1000>;
1229 #address-cells = <1>;
1230 #size-cells = <1>;
1231
Tingwei Zhangd9b535f2018-12-03 19:14:06 -08001232 mem_dump_table@10 {
1233 compatible = "qcom,msm-imem-mem_dump_table";
1234 reg = <0x10 0x8>;
1235 };
1236
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001237 restart_reason@65c {
1238 compatible = "qcom,msm-imem-restart_reason";
Maria Neptune5a1428b2018-08-29 13:25:19 -07001239 reg = <0x65c 0x4>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001240 };
1241
1242 dload_type@1c {
1243 compatible = "qcom,msm-imem-dload-type";
1244 reg = <0x1c 0x4>;
1245 };
1246
1247 boot_stats@6b0 {
1248 compatible = "qcom,msm-imem-boot_stats";
Maria Neptune5a1428b2018-08-29 13:25:19 -07001249 reg = <0x6b0 0x20>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001250 };
1251
1252 kaslr_offset@6d0 {
1253 compatible = "qcom,msm-imem-kaslr_offset";
Maria Neptune5a1428b2018-08-29 13:25:19 -07001254 reg = <0x6d0 0xc>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001255 };
1256
1257 pil@94c {
1258 compatible = "qcom,msm-imem-pil";
Maria Neptune5a1428b2018-08-29 13:25:19 -07001259 reg = <0x94c 0xc8>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001260 };
Hemant Kumarca399682019-01-25 14:51:13 -08001261
1262 diag_dload@c8 {
1263 compatible = "qcom,msm-imem-diag-dload";
1264 reg = <0xc8 0xc8>;
1265 };
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001266 };
1267
Rishabh Bhatnagar811170f2018-11-09 13:44:32 -08001268 restart@c264000 {
1269 compatible = "qcom,pshold";
1270 reg = <0xc264000 0x4>,
1271 <0x1fd3000 0x4>;
1272 reg-names = "pshold-base", "tcsr-boot-misc-detect";
1273 };
1274
Zhen Kong284c9f02018-11-06 12:00:30 -08001275 dcc: dcc_v2@1023000 {
1276 compatible = "qcom,dcc-v2";
1277 reg = <0x1023000 0x1000>,
1278 <0x103a000 0x6000>;
1279 reg-names = "dcc-base", "dcc-ram-base";
1280
1281 dcc-ram-offset = <0x1a000>;
1282 };
1283
1284 qcom_seecom: qseecom@82200000 {
1285 compatible = "qcom,qseecom";
1286 reg = <0x82200000 0x2200000>;
1287 reg-names = "secapp-region";
1288 memory-region = <&qseecom_mem>;
1289 qcom,hlos-num-ce-hw-instances = <1>;
1290 qcom,hlos-ce-hw-instance = <0>;
1291 qcom,qsee-ce-hw-instance = <0>;
1292 qcom,disk-encrypt-pipe-pair = <2>;
1293 qcom,support-fde;
1294 qcom,no-clock-support;
1295 qcom,fde-key-size;
Zhen Kong84997022019-01-29 12:52:21 -08001296 qcom,appsbl-qseecom-support;
Zhen Kong284c9f02018-11-06 12:00:30 -08001297 qcom,commonlib64-loaded-by-uefi;
1298 qcom,qsee-reentrancy-support = <2>;
1299 };
1300
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -07001301 mdm0: qcom,mdm0 {
Rishabh Bhatnagar134ede82018-10-16 10:54:12 -07001302 compatible = "qcom,ext-sdx55m";
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -07001303 cell-index = <0>;
1304 #address-cells = <0>;
1305 interrupt-parent = <&mdm0>;
1306 #interrupt-cells = <1>;
1307 interrupt-map-mask = <0xffffffff>;
1308 interrupt-names =
1309 "err_fatal_irq",
1310 "status_irq",
1311 "mdm2ap_vddmin_irq";
1312 /* modem attributes */
1313 qcom,ramdump-delay-ms = <3000>;
1314 qcom,ramdump-timeout-ms = <120000>;
1315 qcom,vddmin-modes = "normal";
1316 qcom,vddmin-drive-strength = <8>;
1317 qcom,sfr-query;
1318 qcom,sysmon-id = <20>;
1319 qcom,ssctl-instance-id = <0x10>;
1320 qcom,support-shutdown;
1321 qcom,pil-force-shutdown;
1322 qcom,esoc-skip-restart-for-mdm-crash;
Rishabh Bhatnagar632f3262019-01-25 10:30:36 -08001323 qcom,esoc-spmi-soft-reset;
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -07001324 pinctrl-names = "default", "mdm_active", "mdm_suspend";
1325 pinctrl-0 = <&ap2mdm_pon_reset_default>;
1326 pinctrl-1 = <&ap2mdm_active &mdm2ap_active>;
1327 pinctrl-2 = <&ap2mdm_sleep &mdm2ap_sleep>;
1328 interrupt-map = <0 &tlmm 1 0x3
1329 1 &tlmm 3 0x3>;
1330 qcom,mdm2ap-errfatal-gpio = <&tlmm 1 0x00>;
1331 qcom,ap2mdm-errfatal-gpio = <&tlmm 57 0x00>;
1332 qcom,mdm2ap-status-gpio = <&tlmm 3 0x00>;
1333 qcom,ap2mdm-status-gpio = <&tlmm 56 0x00>;
Rishabh Bhatnagar2b66dc12018-10-18 10:36:27 -07001334 qcom,ap2mdm-soft-reset-gpio = <&tlmm 145 GPIO_ACTIVE_LOW>;
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -07001335 qcom,mdm-link-info = "0306_02.01.00";
1336 status = "ok";
1337 };
1338
Lina Iyer8551c792018-06-21 16:06:53 -06001339 pdc: interrupt-controller@b220000 {
1340 compatible = "qcom,kona-pdc";
1341 reg = <0xb220000 0x30000>;
1342 qcom,pdc-ranges = <0 480 29>, <42 522 52>, <94 609 30>;
1343 #interrupt-cells = <2>;
1344 interrupt-parent = <&intc>;
1345 interrupt-controller;
1346 };
1347
Vivek Aknurwar65bafd92018-11-01 17:27:53 -07001348 clocks {
David Daiee6a9d62019-01-10 17:14:04 -08001349 xo_board: xo-board {
1350 compatible = "fixed-clock";
1351 #clock-cells = <0>;
1352 clock-frequency = <38400000>;
1353 clock-output-names = "xo_board";
1354 };
1355
Vivek Aknurwar65bafd92018-11-01 17:27:53 -07001356 sleep_clk: sleep-clk {
1357 compatible = "fixed-clock";
1358 clock-frequency = <32000>;
1359 clock-output-names = "chip_sleep_clk";
1360 #clock-cells = <1>;
1361 };
1362 };
1363
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001364 clock_aop: qcom,aopclk {
1365 compatible = "qcom,dummycc";
1366 clock-output-names = "qdss_clocks";
1367 #clock-cells = <1>;
1368 };
1369
Vivek Aknurwar7e9ecb92018-09-07 14:27:58 -07001370 clock_gcc: qcom,gcc@100000 {
David Dai7e431ad2018-12-05 15:37:39 -08001371 compatible = "qcom,gcc-kona", "syscon";
Vivek Aknurwar7e9ecb92018-09-07 14:27:58 -07001372 reg = <0x100000 0x1f0000>;
1373 reg-names = "cc_base";
1374 vdd_cx-supply = <&VDD_CX_LEVEL>;
1375 vdd_cx_ao-supply = <&VDD_CX_LEVEL_AO>;
1376 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001377 #clock-cells = <1>;
1378 #reset-cells = <1>;
1379 };
1380
David Collins4eb34f32018-12-06 11:51:01 -08001381 clock_npucc: qcom,npucc@9980000 {
1382 compatible = "qcom,npucc-kona", "syscon";
1383 reg = <0x9980000 0x10000>,
1384 <0x9800000 0x10000>,
1385 <0x9810000 0x10000>;
1386 reg-names = "cc", "qdsp6ss", "qdsp6ss_pll";
1387 vdd_cx-supply = <&VDD_CX_LEVEL>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001388 #clock-cells = <1>;
1389 #reset-cells = <1>;
1390 };
1391
Vivek Aknurwar65bafd92018-11-01 17:27:53 -07001392 clock_videocc: qcom,videocc@abf0000 {
1393 compatible = "qcom,videocc-kona", "syscon";
1394 reg = <0xabf0000 0x10000>;
1395 reg-names = "cc_base";
1396 vdd_mx-supply = <&VDD_MX_LEVEL>;
1397 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
1398 clock-names = "cfg_ahb_clk";
1399 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001400 #clock-cells = <1>;
1401 #reset-cells = <1>;
1402 };
1403
Vivek Aknurwar86452c02018-11-05 15:20:31 -08001404 clock_camcc: qcom,camcc@ad00000 {
1405 compatible = "qcom,camcc-kona", "syscon";
1406 reg = <0xad00000 0x10000>;
1407 reg-names = "cc_base";
1408 vdd_mx-supply = <&VDD_MX_LEVEL>;
1409 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
1410 clock-names = "cfg_ahb_clk";
1411 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001412 #clock-cells = <1>;
1413 #reset-cells = <1>;
1414 };
1415
David Daidc93e482018-11-27 17:32:50 -08001416 clock_dispcc: qcom,dispcc@af00000 {
David Dai7e431ad2018-12-05 15:37:39 -08001417 compatible = "qcom,kona-dispcc", "syscon";
David Daidc93e482018-11-27 17:32:50 -08001418 reg = <0xaf00000 0x20000>;
1419 reg-names = "cc_base";
1420 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
1421 clock-names = "cfg_ahb_clk";
1422 clocks = <&clock_gcc GCC_DISP_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001423 #clock-cells = <1>;
1424 #reset-cells = <1>;
1425 };
1426
Vivek Aknurwar31c2e0f22018-11-16 17:10:12 -08001427 clock_gpucc: qcom,gpucc@3d90000 {
1428 compatible = "qcom,gpucc-kona", "syscon";
1429 reg = <0x3d90000 0x9000>;
1430 reg-names = "cc_base";
1431 vdd_cx-supply = <&VDD_CX_LEVEL>;
1432 vdd_mx-supply = <&VDD_MX_LEVEL>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001433 #clock-cells = <1>;
1434 #reset-cells = <1>;
1435 };
1436
1437 clock_cpucc: qcom,cpucc {
1438 compatible = "qcom,dummycc";
1439 clock-output-names = "cpucc_clocks";
1440 #clock-cells = <1>;
1441 };
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -07001442
David Dai7e431ad2018-12-05 15:37:39 -08001443 clock_debugcc: qcom,cc-debug {
1444 compatible = "qcom,kona-debugcc";
1445 qcom,gcc = <&clock_gcc>;
1446 qcom,videocc = <&clock_videocc>;
1447 qcom,dispcc = <&clock_dispcc>;
1448 qcom,camcc = <&clock_camcc>;
1449 qcom,gpucc = <&clock_gpucc>;
David Collins4eb34f32018-12-06 11:51:01 -08001450 qcom,npucc = <&clock_npucc>;
David Dai7e431ad2018-12-05 15:37:39 -08001451 clock-names = "xo_clk_src";
David Daiee6a9d62019-01-10 17:14:04 -08001452 clocks = <&clock_rpmh RPMH_CXO_CLK>;
David Dai7e431ad2018-12-05 15:37:39 -08001453 #clock-cells = <1>;
1454 };
1455
David Collinsa86302c2018-09-17 14:16:50 -07001456 /* GCC GDSCs */
1457 pcie_0_gdsc: qcom,gdsc@16b004 {
1458 compatible = "qcom,gdsc";
1459 reg = <0x16b004 0x4>;
1460 regulator-name = "pcie_0_gdsc";
1461 };
1462
1463 pcie_1_gdsc: qcom,gdsc@18d004 {
1464 compatible = "qcom,gdsc";
1465 reg = <0x18d004 0x4>;
1466 regulator-name = "pcie_1_gdsc";
1467 };
1468
1469 pcie_2_gdsc: qcom,gdsc@106004 {
1470 compatible = "qcom,gdsc";
1471 reg = <0x106004 0x4>;
1472 regulator-name = "pcie_2_gdsc";
1473 };
1474
1475 ufs_card_gdsc: qcom,gdsc@175004 {
1476 compatible = "qcom,gdsc";
1477 reg = <0x175004 0x4>;
1478 regulator-name = "ufs_card_gdsc";
1479 };
1480
1481 ufs_phy_gdsc: qcom,gdsc@177004 {
1482 compatible = "qcom,gdsc";
1483 reg = <0x177004 0x4>;
1484 regulator-name = "ufs_phy_gdsc";
1485 };
1486
1487 usb30_prim_gdsc: qcom,gdsc@10f004 {
1488 compatible = "qcom,gdsc";
1489 reg = <0x10f004 0x4>;
1490 regulator-name = "usb30_prim_gdsc";
1491 };
1492
1493 usb30_sec_gdsc: qcom,gdsc@110004 {
1494 compatible = "qcom,gdsc";
1495 reg = <0x110004 0x4>;
1496 regulator-name = "usb30_sec_gdsc";
1497 };
1498
1499 hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc: qcom,gdsc@17d050 {
1500 compatible = "qcom,gdsc";
1501 reg = <0x17d050 0x4>;
1502 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc";
1503 qcom,no-status-check-on-disable;
1504 qcom,gds-timeout = <500>;
1505 };
1506
1507 hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc: qcom,gdsc@17d058 {
1508 compatible = "qcom,gdsc";
1509 reg = <0x17d058 0x4>;
1510 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc";
1511 qcom,no-status-check-on-disable;
1512 qcom,gds-timeout = <500>;
1513 };
1514
1515 hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc: qcom,gdsc@17d054 {
1516 compatible = "qcom,gdsc";
1517 reg = <0x17d054 0x4>;
1518 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc";
1519 qcom,no-status-check-on-disable;
1520 qcom,gds-timeout = <500>;
1521 };
1522
1523 hlos1_vote_mmnoc_mmu_tbu_sf1_gdsc: qcom,gdsc@17d06c {
1524 compatible = "qcom,gdsc";
1525 reg = <0x17d06c 0x4>;
1526 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf1_gdsc";
1527 qcom,no-status-check-on-disable;
1528 qcom,gds-timeout = <500>;
1529 };
1530
1531 /* CAM_CC GDSCs */
1532 bps_gdsc: qcom,gdsc@ad07004 {
1533 compatible = "qcom,gdsc";
1534 reg = <0xad07004 0x4>;
1535 regulator-name = "bps_gdsc";
1536 clock-names = "ahb_clk";
1537 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1538 parent-supply = <&VDD_MMCX_LEVEL>;
1539 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1540 qcom,support-hw-trigger;
1541 };
1542
1543 ife_0_gdsc: qcom,gdsc@ad0a004 {
1544 compatible = "qcom,gdsc";
1545 reg = <0xad0a004 0x4>;
1546 regulator-name = "ife_0_gdsc";
1547 clock-names = "ahb_clk";
1548 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1549 parent-supply = <&VDD_MMCX_LEVEL>;
1550 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1551 };
1552
1553 ife_1_gdsc: qcom,gdsc@ad0b004 {
1554 compatible = "qcom,gdsc";
1555 reg = <0xad0b004 0x4>;
1556 regulator-name = "ife_1_gdsc";
1557 clock-names = "ahb_clk";
1558 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1559 parent-supply = <&VDD_MMCX_LEVEL>;
1560 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1561 };
1562
1563 ipe_0_gdsc: qcom,gdsc@ad08004 {
1564 compatible = "qcom,gdsc";
1565 reg = <0xad08004 0x4>;
1566 regulator-name = "ipe_0_gdsc";
1567 clock-names = "ahb_clk";
1568 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1569 parent-supply = <&VDD_MMCX_LEVEL>;
1570 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1571 qcom,support-hw-trigger;
1572 };
1573
1574 sbi_gdsc: qcom,gdsc@ad09004 {
1575 compatible = "qcom,gdsc";
1576 reg = <0xad09004 0x4>;
1577 regulator-name = "sbi_gdsc";
1578 clock-names = "ahb_clk";
1579 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1580 parent-supply = <&VDD_MMCX_LEVEL>;
1581 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1582 };
1583
1584 titan_top_gdsc: qcom,gdsc@ad0c144 {
1585 compatible = "qcom,gdsc";
1586 reg = <0xad0c144 0x4>;
1587 regulator-name = "titan_top_gdsc";
1588 clock-names = "ahb_clk";
1589 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1590 parent-supply = <&VDD_MMCX_LEVEL>;
1591 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1592 };
1593
1594 /* DISP_CC GDSC */
1595 mdss_core_gdsc: qcom,gdsc@af03000 {
1596 compatible = "qcom,gdsc";
1597 reg = <0xaf03000 0x4>;
1598 regulator-name = "mdss_core_gdsc";
1599 clock-names = "ahb_clk";
1600 clocks = <&clock_gcc GCC_DISP_AHB_CLK>;
1601 parent-supply = <&VDD_MMCX_LEVEL>;
1602 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1603 qcom,support-hw-trigger;
1604 };
1605
1606 /* GPU_CC GDSCs */
1607 gpu_cx_hw_ctrl: syscon@3d91540 {
1608 compatible = "syscon";
1609 reg = <0x3d91540 0x4>;
1610 };
1611
1612 gpu_cx_gdsc: qcom,gdsc@3d9106c {
1613 compatible = "qcom,gdsc";
1614 reg = <0x3d9106c 0x4>;
1615 regulator-name = "gpu_cx_gdsc";
1616 hw-ctrl-addr = <&gpu_cx_hw_ctrl>;
1617 parent-supply = <&VDD_CX_LEVEL>;
1618 qcom,no-status-check-on-disable;
1619 qcom,clk-dis-wait-val = <8>;
1620 qcom,gds-timeout = <500>;
1621 };
1622
David Collinsd7eea142018-10-08 17:32:48 -07001623 gpu_gx_domain_addr: syscon@3d91508 {
David Collinsa86302c2018-09-17 14:16:50 -07001624 compatible = "syscon";
1625 reg = <0x3d91508 0x4>;
1626 };
1627
David Collinsd7eea142018-10-08 17:32:48 -07001628 gpu_gx_sw_reset: syscon@3d91008 {
David Collinsa86302c2018-09-17 14:16:50 -07001629 compatible = "syscon";
1630 reg = <0x3d91008 0x4>;
1631 };
1632
1633 gpu_gx_gdsc: qcom,gdsc@3d9100c {
1634 compatible = "qcom,gdsc";
1635 reg = <0x3d9100c 0x4>;
1636 regulator-name = "gpu_gx_gdsc";
1637 domain-addr = <&gpu_gx_domain_addr>;
1638 sw-reset = <&gpu_gx_sw_reset>;
1639 parent-supply = <&VDD_GFX_LEVEL>;
1640 vdd_parent-supply = <&VDD_GFX_LEVEL>;
1641 qcom,reset-aon-logic;
1642 };
1643
1644 /* NPU GDSC */
1645 npu_core_gdsc: qcom,gdsc@9981004 {
1646 compatible = "qcom,gdsc";
1647 reg = <0x9981004 0x4>;
1648 regulator-name = "npu_core_gdsc";
1649 clock-names = "ahb_clk";
1650 clocks = <&clock_gcc GCC_NPU_CFG_AHB_CLK>;
1651 };
1652
Jishnu Prakash793bf5b2018-11-09 16:28:55 +05301653 qcom,sps {
1654 compatible = "qcom,msm-sps-4k";
1655 qcom,pipe-attr-ee;
1656 };
1657
David Collinsa86302c2018-09-17 14:16:50 -07001658 /* VIDEO_CC GDSCs */
1659 mvs0_gdsc: qcom,gdsc@abf0d18 {
1660 compatible = "qcom,gdsc";
1661 reg = <0xabf0d18 0x4>;
1662 regulator-name = "mvs0_gdsc";
1663 clock-names = "ahb_clk";
1664 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1665 parent-supply = <&VDD_MMCX_LEVEL>;
1666 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1667 };
1668
1669 mvs0c_gdsc: qcom,gdsc@abf0bf8 {
1670 compatible = "qcom,gdsc";
1671 reg = <0xabf0bf8 0x4>;
1672 regulator-name = "mvs0c_gdsc";
1673 clock-names = "ahb_clk";
1674 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1675 parent-supply = <&VDD_MMCX_LEVEL>;
1676 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1677 };
1678
1679 mvs1_gdsc: qcom,gdsc@abf0d98 {
1680 compatible = "qcom,gdsc";
1681 reg = <0xabf0d98 0x4>;
1682 regulator-name = "mvs1_gdsc";
1683 clock-names = "ahb_clk";
1684 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1685 parent-supply = <&VDD_MMCX_LEVEL>;
1686 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1687 };
1688
1689 mvs1c_gdsc: qcom,gdsc@abf0c98 {
1690 compatible = "qcom,gdsc";
1691 reg = <0xabf0c98 0x4>;
1692 regulator-name = "mvs1c_gdsc";
1693 clock-names = "ahb_clk";
1694 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1695 parent-supply = <&VDD_MMCX_LEVEL>;
1696 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1697 };
1698
David Collinsc2c02f62018-11-05 16:23:24 -08001699 spmi_bus: qcom,spmi@c440000 {
1700 compatible = "qcom,spmi-pmic-arb";
1701 reg = <0xc440000 0x1100>,
1702 <0xc600000 0x2000000>,
1703 <0xe600000 0x100000>,
1704 <0xe700000 0xa0000>,
1705 <0xc40a000 0x26000>;
1706 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1707 interrupt-names = "periph_irq";
1708 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
1709 qcom,ee = <0>;
1710 qcom,channel = <0>;
1711 #address-cells = <2>;
1712 #size-cells = <0>;
1713 interrupt-controller;
1714 #interrupt-cells = <4>;
1715 cell-index = <0>;
1716 };
1717
Can Guob04bed52018-07-10 19:27:32 -07001718 ufsphy_mem: ufsphy_mem@1d87000 {
1719 reg = <0x1d87000 0xe00>; /* PHY regs */
1720 reg-names = "phy_mem";
1721 #phy-cells = <0>;
1722
1723 lanes-per-direction = <2>;
1724
1725 clock-names = "ref_clk_src",
1726 "ref_clk",
1727 "ref_aux_clk";
1728 clocks = <&clock_rpmh RPMH_CXO_CLK>,
Vivek Aknurwarec5c93d2018-08-28 14:52:33 -07001729 <&clock_gcc GCC_UFS_1X_CLKREF_EN>,
Can Guob04bed52018-07-10 19:27:32 -07001730 <&clock_gcc GCC_UFS_PHY_PHY_AUX_CLK>;
1731
1732 status = "disabled";
1733 };
1734
1735 ufshc_mem: ufshc@1d84000 {
1736 compatible = "qcom,ufshc";
1737 reg = <0x1d84000 0x3000>;
1738 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1739 phys = <&ufsphy_mem>;
1740 phy-names = "ufsphy";
1741
1742 lanes-per-direction = <2>;
1743 dev-ref-clk-freq = <0>; /* 19.2 MHz */
1744
1745 clock-names =
1746 "core_clk",
1747 "bus_aggr_clk",
1748 "iface_clk",
1749 "core_clk_unipro",
1750 "core_clk_ice",
1751 "ref_clk",
1752 "tx_lane0_sync_clk",
1753 "rx_lane0_sync_clk",
1754 "rx_lane1_sync_clk";
1755 clocks =
1756 <&clock_gcc GCC_UFS_PHY_AXI_CLK>,
1757 <&clock_gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1758 <&clock_gcc GCC_UFS_PHY_AHB_CLK>,
1759 <&clock_gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
1760 <&clock_gcc GCC_UFS_PHY_ICE_CORE_CLK>,
1761 <&clock_rpmh RPMH_CXO_CLK>,
1762 <&clock_gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
1763 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
1764 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
1765 freq-table-hz =
1766 <37500000 300000000>,
1767 <0 0>,
1768 <0 0>,
1769 <37500000 300000000>,
1770 <75000000 300000000>,
1771 <0 0>,
1772 <0 0>,
1773 <0 0>,
1774 <0 0>;
1775
1776 qcom,msm-bus,name = "ufshc_mem";
1777 qcom,msm-bus,num-cases = <22>;
1778 qcom,msm-bus,num-paths = <2>;
1779 qcom,msm-bus,vectors-KBps =
1780 /*
1781 * During HS G3 UFS runs at nominal voltage corner, vote
1782 * higher bandwidth to push other buses in the data path
1783 * to run at nominal to achieve max throughput.
1784 * 4GBps pushes BIMC to run at nominal.
1785 * 200MBps pushes CNOC to run at nominal.
1786 * Vote for half of this bandwidth for HS G3 1-lane.
1787 * For max bandwidth, vote high enough to push the buses
1788 * to run in turbo voltage corner.
1789 */
1790 <123 512 0 0>, <1 757 0 0>, /* No vote */
1791 <123 512 922 0>, <1 757 1000 0>, /* PWM G1 */
1792 <123 512 1844 0>, <1 757 1000 0>, /* PWM G2 */
1793 <123 512 3688 0>, <1 757 1000 0>, /* PWM G3 */
1794 <123 512 7376 0>, <1 757 1000 0>, /* PWM G4 */
1795 <123 512 1844 0>, <1 757 1000 0>, /* PWM G1 L2 */
1796 <123 512 3688 0>, <1 757 1000 0>, /* PWM G2 L2 */
1797 <123 512 7376 0>, <1 757 1000 0>, /* PWM G3 L2 */
1798 <123 512 14752 0>, <1 757 1000 0>, /* PWM G4 L2 */
1799 <123 512 127796 0>, <1 757 1000 0>, /* HS G1 RA */
1800 <123 512 255591 0>, <1 757 1000 0>, /* HS G2 RA */
1801 <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RA */
1802 <123 512 255591 0>, <1 757 1000 0>, /* HS G1 RA L2 */
1803 <123 512 511181 0>, <1 757 1000 0>, /* HS G2 RA L2 */
1804 <123 512 4194304 0>, <1 757 204800 0>, /* HS G3 RA L2 */
1805 <123 512 149422 0>, <1 757 1000 0>, /* HS G1 RB */
1806 <123 512 298189 0>, <1 757 1000 0>, /* HS G2 RB */
1807 <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RB */
1808 <123 512 298189 0>, <1 757 1000 0>, /* HS G1 RB L2 */
1809 <123 512 596378 0>, <1 757 1000 0>, /* HS G2 RB L2 */
1810 /* As UFS working in HS G3 RB L2 mode, aggregated
1811 * bandwidth (AB) should take care of providing
1812 * optimum throughput requested. However, as tested,
1813 * in order to scale up CNOC clock, instantaneous
1814 * bindwidth (IB) needs to be given a proper value too.
1815 */
1816 <123 512 4194304 0>, <1 757 204800 409600>, /* HS G3 RB L2 */
1817 <123 512 7643136 0>, <1 757 307200 0>; /* Max. bandwidth */
1818
1819 qcom,bus-vector-names = "MIN",
1820 "PWM_G1_L1", "PWM_G2_L1", "PWM_G3_L1", "PWM_G4_L1",
1821 "PWM_G1_L2", "PWM_G2_L2", "PWM_G3_L2", "PWM_G4_L2",
1822 "HS_RA_G1_L1", "HS_RA_G2_L1", "HS_RA_G3_L1",
1823 "HS_RA_G1_L2", "HS_RA_G2_L2", "HS_RA_G3_L2",
1824 "HS_RB_G1_L1", "HS_RB_G2_L1", "HS_RB_G3_L1",
1825 "HS_RB_G1_L2", "HS_RB_G2_L2", "HS_RB_G3_L2",
1826 "MAX";
1827
1828 /* PM QoS */
1829 qcom,pm-qos-cpu-groups = <0x0f 0xf0>;
1830 qcom,pm-qos-cpu-group-latency-us = <44 44>;
1831 qcom,pm-qos-default-cpu = <0>;
1832
1833 pinctrl-names = "dev-reset-assert", "dev-reset-deassert";
1834 pinctrl-0 = <&ufs_dev_reset_assert>;
1835 pinctrl-1 = <&ufs_dev_reset_deassert>;
1836
1837 resets = <&clock_gcc GCC_UFS_PHY_BCR>;
1838 reset-names = "core_reset";
1839
1840 status = "disabled";
1841 };
1842
Bao D. Nguyenbd2335b2019-01-17 13:32:42 -08001843 sdhc_2: sdhci@8804000 {
1844 compatible = "qcom,sdhci-msm-v5";
1845 reg = <0x8804000 0x1000>;
1846 reg-names = "hc_mem";
1847
1848 interrupts = <0 204 0>, <0 222 0>;
1849 interrupt-names = "hc_irq", "pwr_irq";
1850
1851 qcom,bus-width = <4>;
1852 qcom,large-address-bus;
1853
1854 qcom,msm-bus,name = "sdhc2";
1855 qcom,msm-bus,num-cases = <8>;
1856 qcom,msm-bus,num-paths = <2>;
1857 qcom,msm-bus,vectors-KBps =
1858 /* No vote */
1859 <81 512 0 0>, <1 608 0 0>,
1860 /* 400 KB/s*/
1861 <81 512 1046 1600>,
1862 <1 608 1600 1600>,
1863 /* 20 MB/s */
1864 <81 512 52286 80000>,
1865 <1 608 80000 80000>,
1866 /* 25 MB/s */
1867 <81 512 65360 100000>,
1868 <1 608 100000 100000>,
1869 /* 50 MB/s */
1870 <81 512 130718 200000>,
1871 <1 608 133320 133320>,
1872 /* 100 MB/s */
1873 <81 512 261438 200000>,
1874 <1 608 150000 150000>,
1875 /* 200 MB/s */
1876 <81 512 261438 400000>,
1877 <1 608 300000 300000>,
1878 /* Max. bandwidth */
1879 <81 512 1338562 4096000>,
1880 <1 608 1338562 4096000>;
1881 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
1882 100750000 200000000 4294967295>;
1883
1884 qcom,restore-after-cx-collapse;
1885
1886 qcom,clk-rates = <400000 20000000 25000000
1887 50000000 100000000 201500000>;
1888 qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50",
1889 "SDR104";
1890
1891 qcom,devfreq,freq-table = <50000000 201500000>;
1892 clocks = <&clock_gcc GCC_SDCC2_AHB_CLK>,
1893 <&clock_gcc GCC_SDCC2_APPS_CLK>;
1894 clock-names = "iface_clk", "core_clk";
1895
1896 /* PM QoS */
1897 qcom,pm-qos-irq-type = "affine_irq";
1898 qcom,pm-qos-irq-latency = <44 44>;
1899 qcom,pm-qos-cpu-groups = <0x3f 0xc0>;
1900 qcom,pm-qos-legacy-latency-us = <44 44>, <44 44>;
1901
1902 status = "disabled";
1903 };
1904
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -07001905 ipcc_mproc: qcom,ipcc@408000 {
Neeraj Upadhyay5d7531f2019-01-16 10:25:24 -08001906 compatible = "qcom,ipcc";
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -07001907 reg = <0x408000 0x1000>;
1908 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
1909 interrupt-controller;
1910 #interrupt-cells = <3>;
1911 #mbox-cells = <2>;
1912 };
Lina Iyerea91c722018-06-20 14:58:05 -06001913
Raghavendra Rao Ananta5da54b32018-08-09 10:04:50 -07001914 ipcc_self_ping: ipcc-self-ping {
1915 compatible = "qcom,ipcc-self-ping";
1916 interrupts-extended = <&ipcc_mproc IPCC_CLIENT_APSS
1917 IPCC_MPROC_SIGNAL_SMP2P IRQ_TYPE_LEVEL_HIGH>;
1918 mboxes = <&ipcc_mproc IPCC_CLIENT_APSS IPCC_MPROC_SIGNAL_SMP2P>;
1919 };
1920
Maria Neptune5a1428b2018-08-29 13:25:19 -07001921 apps_rsc: rsc@18200000 {
Lina Iyerea91c722018-06-20 14:58:05 -06001922 label = "apps_rsc";
1923 compatible = "qcom,rpmh-rsc";
1924 reg = <0x18200000 0x10000>,
1925 <0x18210000 0x10000>,
1926 <0x18220000 0x10000>;
1927 reg-names = "drv-0", "drv-1", "drv-2";
1928 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
1929 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
1930 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1931 qcom,tcs-offset = <0xd00>;
1932 qcom,drv-id = <2>;
1933 qcom,tcs-config = <ACTIVE_TCS 2>,
1934 <SLEEP_TCS 3>,
1935 <WAKE_TCS 3>,
1936 <CONTROL_TCS 1>;
David Dai07c8d4e2018-10-09 14:22:06 -07001937
1938 msm_bus_apps_rsc {
1939 compatible = "qcom,msm-bus-rsc";
1940 qcom,msm-bus-id = <MSM_BUS_RSC_APPS>;
1941 };
Arjun Bagla76f02ef2018-09-19 10:00:29 -07001942
1943 system_pm {
1944 compatible = "qcom,system-pm";
1945 };
David Daiee6a9d62019-01-10 17:14:04 -08001946
1947 clock_rpmh: qcom,rpmhclk {
1948 compatible = "qcom,kona-rpmh-clk";
1949 #clock-cells = <1>;
1950 };
Lina Iyerea91c722018-06-20 14:58:05 -06001951 };
1952
1953 disp_rsc: rsc@af20000 {
1954 label = "disp_rsc";
1955 compatible = "qcom,rpmh-rsc";
1956 reg = <0xaf20000 0x10000>;
1957 reg-names = "drv-0";
1958 interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
1959 qcom,tcs-offset = <0x1c00>;
1960 qcom,drv-id = <0>;
1961 qcom,tcs-config = <ACTIVE_TCS 0>,
1962 <SLEEP_TCS 1>,
1963 <WAKE_TCS 1>,
1964 <CONTROL_TCS 0>;
1965 status = "disabled";
Dhaval Patelf92536a2018-10-24 13:19:15 -07001966
1967 sde_rsc_rpmh {
1968 compatible = "qcom,sde-rsc-rpmh";
1969 cell-index = <0>;
1970 status = "disabled";
1971 };
Lina Iyerea91c722018-06-20 14:58:05 -06001972 };
Chris Lew86f6bde2018-09-06 16:40:39 -07001973
1974 tcsr_mutex_block: syscon@1f40000 {
1975 compatible = "syscon";
1976 reg = <0x1f40000 0x20000>;
1977 };
1978
1979 tcsr_mutex: hwlock {
1980 compatible = "qcom,tcsr-mutex";
1981 syscon = <&tcsr_mutex_block 0 0x1000>;
1982 #hwlock-cells = <1>;
1983 };
1984
1985 smem: qcom,smem {
1986 compatible = "qcom,smem";
1987 memory-region = <&smem_mem>;
1988 hwlocks = <&tcsr_mutex 3>;
1989 };
Venkata Narendra Kumar Gutta1781e562018-10-09 14:44:10 -07001990
1991 kryo-erp {
1992 compatible = "arm,arm64-kryo-cpu-erp";
1993 interrupts = <GIC_PPI 0 IRQ_TYPE_LEVEL_HIGH>,
1994 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1995 interrupt-names = "l1-l2-faultirq",
1996 "l3-scu-faultirq";
1997 };
Chris Lew3859b1b72018-09-25 16:54:52 -07001998
Chris Lew3b1f0982018-10-05 17:28:21 -07001999 sp_scsr: mailbox@188501c {
2000 compatible = "qcom,kona-spcs-global";
2001 reg = <0x188501c 0x4>;
2002
2003 #mbox-cells = <1>;
2004 };
2005
2006 sp_scsr_block: syscon@1880000 {
2007 compatible = "syscon";
2008 reg = <0x1880000 0x10000>;
2009 };
2010
2011 intsp: qcom,qsee_irq {
2012 compatible = "qcom,kona-qsee-irq";
2013
2014 syscon = <&sp_scsr_block>;
2015 interrupts = <0 348 IRQ_TYPE_LEVEL_HIGH>,
2016 <0 349 IRQ_TYPE_LEVEL_HIGH>;
2017
2018 interrupt-names = "sp_ipc0",
2019 "sp_ipc1";
2020
2021 interrupt-controller;
2022 #interrupt-cells = <3>;
2023 };
2024
2025 qcom,qsee_irq_bridge {
2026 compatible = "qcom,qsee-ipc-irq-bridge";
2027
2028 qcom,qsee-ipc-irq-spss {
2029 qcom,dev-name = "qsee_ipc_irq_spss";
2030 label = "spss";
2031 interrupt-parent = <&intsp>;
2032 interrupts = <1 0 IRQ_TYPE_LEVEL_HIGH>;
2033 };
2034 };
2035
Amir Samuelove4c04342019-01-17 13:25:02 +02002036 spss_utils: qcom,spss_utils {
2037 compatible = "qcom,spss-utils";
2038 /* spss fuses physical address */
2039 qcom,spss-fuse1-addr = <0x007841c4>;
2040 qcom,spss-fuse1-bit = <27>;
2041 qcom,spss-fuse2-addr = <0x007841c4>;
2042 qcom,spss-fuse2-bit = <26>;
2043 qcom,spss-dev-firmware-name = "spss1d"; /* 8 chars max */
2044 qcom,spss-test-firmware-name = "spss1t"; /* 8 chars max */
2045 qcom,spss-prod-firmware-name = "spss1p"; /* 8 chars max */
2046 qcom,spss-debug-reg-addr = <0x01886020>;
2047 qcom,spss-emul-type-reg-addr = <0x01fc8004>;
2048 status = "ok";
2049 };
2050
2051 qcom,spcom {
2052 compatible = "qcom,spcom";
2053
2054 /* predefined channels, remote side is server */
2055 qcom,spcom-ch-names = "sp_kernel", "sp_ssr";
2056 status = "ok";
2057 };
2058
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002059 qcom,msm_gsi {
2060 compatible = "qcom,msm_gsi";
2061 };
2062
2063 qcom,rmnet-ipa {
2064 compatible = "qcom,rmnet-ipa3";
2065 qcom,rmnet-ipa-ssr;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002066 qcom,ipa-advertise-sg-support;
2067 qcom,ipa-napi-enable;
2068 };
2069
2070 qcom,ipa_fws {
2071 compatible = "qcom,pil-tz-generic";
2072 qcom,pas-id = <0xf>;
2073 qcom,firmware-name = "ipa_fws";
2074 qcom,pil-force-shutdown;
Amir Levy69bdbc42019-01-31 15:40:18 +02002075 memory-region = <&pil_ipa_gsi_mem>;
2076 };
2077
2078 qcom,ipa_uc {
2079 compatible = "qcom,pil-tz-generic";
2080 qcom,pas-id = <0x1B>;
2081 qcom,firmware-name = "ipa_uc";
2082 qcom,pil-force-shutdown;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002083 memory-region = <&pil_ipa_fw_mem>;
2084 };
2085
2086 ipa_hw: qcom,ipa@1e00000 {
2087 compatible = "qcom,ipa";
2088 reg =
2089 <0x1e00000 0x84000>,
2090 <0x1e04000 0x23000>;
2091 reg-names = "ipa-base", "gsi-base";
2092 interrupts =
2093 <0 311 IRQ_TYPE_LEVEL_HIGH>,
2094 <0 432 IRQ_TYPE_LEVEL_HIGH>;
2095 interrupt-names = "ipa-irq", "gsi-irq";
2096 qcom,ipa-hw-ver = <17>; /* IPA core version = IPAv4.5 */
2097 qcom,ipa-hw-mode = <0>;
Ghanim Fodif8dcdbf2018-11-04 17:58:22 +02002098 qcom,platform-type = <2>; /* APQ platform */
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002099 qcom,ee = <0>;
2100 qcom,use-ipa-tethering-bridge;
2101 qcom,mhi-event-ring-id-limits = <9 11>; /* start and end */
2102 qcom,modem-cfg-emb-pipe-flt;
2103 qcom,use-ipa-pm;
2104 qcom,bandwidth-vote-for-ipa;
2105 qcom,use-64-bit-dma-mask;
2106 qcom,msm-bus,name = "ipa";
2107 qcom,msm-bus,num-cases = <5>;
2108 qcom,msm-bus,num-paths = <4>;
2109 qcom,msm-bus,vectors-KBps =
2110 /* No vote */
2111 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 0 0>,
2112 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 0 0>,
2113 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 0 0>,
2114 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 0>,
2115
2116 /* SVS2 */
2117 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 80000 600000>,
2118 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 80000 350000>,
2119 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 40000 40000>,
2120 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 125>,
2121
2122 /* SVS */
2123 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 80000 640000>,
2124 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 80000 640000>,
2125 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 80000 80000>,
2126 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 250>,
2127
2128 /* NOMINAL */
2129 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 206000 960000>,
2130 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 206000 960000>,
2131 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 206000 160000>,
2132 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 500>,
2133
2134 /* TURBO */
2135 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 206000 3600000>,
2136 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 206000 3600000>,
2137 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 206000 300000>,
2138 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 600>;
2139
2140 qcom,bus-vector-names = "MIN", "SVS2", "SVS", "NOMINAL",
2141 "TURBO";
2142 qcom,throughput-threshold = <310 600 1000>;
2143 qcom,scaling-exceptions = <>;
2144 };
2145
2146 ipa_smmu_ap: ipa_smmu_ap {
2147 compatible = "qcom,ipa-smmu-ap-cb";
2148 iommus = <&apps_smmu 0x5C0 0x0>;
2149 qcom,iommu-dma = "bypass";
2150 };
2151
2152 ipa_smmu_wlan: ipa_smmu_wlan {
2153 compatible = "qcom,ipa-smmu-wlan-cb";
2154 iommus = <&apps_smmu 0x5C1 0x0>;
2155 qcom,iommu-dma = "bypass";
2156 };
2157
2158 ipa_smmu_uc: ipa_smmu_uc {
2159 compatible = "qcom,ipa-smmu-uc-cb";
2160 iommus = <&apps_smmu 0x5C2 0x0>;
2161 qcom,iommu-dma = "bypass";
2162 };
2163
Chris Lew3859b1b72018-09-25 16:54:52 -07002164 qcom,glink {
2165 compatible = "qcom,glink";
2166 #address-cells = <1>;
2167 #size-cells = <1>;
2168 ranges;
2169
Chris Lewb2da0482018-11-16 14:50:31 -08002170 glink_npu: npu {
2171 qcom,remote-pid = <10>;
2172 transport = "smem";
2173 mboxes = <&ipcc_mproc IPCC_CLIENT_NPU
2174 IPCC_MPROC_SIGNAL_GLINK_QMP>;
2175 mbox-names = "npu_smem";
2176 interrupt-parent = <&ipcc_mproc>;
2177 interrupts = <IPCC_CLIENT_NPU
2178 IPCC_MPROC_SIGNAL_GLINK_QMP
2179 IRQ_TYPE_EDGE_RISING>;
2180
2181 label = "npu";
2182 qcom,glink-label = "npu";
2183
2184 qcom,npu_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08002185 qcom,net-id = <1>;
Chris Lewb2da0482018-11-16 14:50:31 -08002186 qcom,glink-channels = "IPCRTR";
2187 qcom,intents = <0x800 5
2188 0x2000 3
2189 0x4400 2>;
2190 };
2191
2192 qcom,npu_glink_ssr {
2193 qcom,glink-channels = "glink_ssr";
2194 qcom,notify-edges = <&glink_cdsp>;
2195 };
2196 };
2197
Chris Lew3859b1b72018-09-25 16:54:52 -07002198 glink_adsp: adsp {
2199 qcom,remote-pid = <2>;
2200 transport = "smem";
2201 mboxes = <&ipcc_mproc IPCC_CLIENT_LPASS
2202 IPCC_MPROC_SIGNAL_GLINK_QMP>;
2203 mbox-names = "adsp_smem";
2204 interrupt-parent = <&ipcc_mproc>;
2205 interrupts = <IPCC_CLIENT_LPASS
2206 IPCC_MPROC_SIGNAL_GLINK_QMP
2207 IRQ_TYPE_EDGE_RISING>;
2208
2209 label = "adsp";
2210 qcom,glink-label = "lpass";
2211
2212 qcom,adsp_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08002213 qcom,net-id = <2>;
Chris Lew3859b1b72018-09-25 16:54:52 -07002214 qcom,glink-channels = "IPCRTR";
2215 qcom,intents = <0x800 5
2216 0x2000 3
2217 0x4400 2>;
2218 };
2219
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302220 qcom,msm_fastrpc_rpmsg {
2221 compatible = "qcom,msm-fastrpc-rpmsg";
2222 qcom,glink-channels = "fastrpcglink-apps-dsp";
2223 qcom,intents = <0x64 64>;
2224 };
2225
Chris Lew3859b1b72018-09-25 16:54:52 -07002226 qcom,adsp_glink_ssr {
2227 qcom,glink-channels = "glink_ssr";
2228 qcom,notify-edges = <&glink_slpi>,
2229 <&glink_cdsp>;
2230 };
2231 };
2232
2233 glink_slpi: dsps {
2234 qcom,remote-pid = <3>;
2235 transport = "smem";
2236 mboxes = <&ipcc_mproc IPCC_CLIENT_SLPI
2237 IPCC_MPROC_SIGNAL_GLINK_QMP>;
2238 mbox-names = "dsps_smem";
2239 interrupt-parent = <&ipcc_mproc>;
2240 interrupts = <IPCC_CLIENT_SLPI
2241 IPCC_MPROC_SIGNAL_GLINK_QMP
2242 IRQ_TYPE_EDGE_RISING>;
2243
2244 label = "slpi";
2245 qcom,glink-label = "dsps";
2246
2247 qcom,slpi_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08002248 qcom,net-id = <2>;
Chris Lew3859b1b72018-09-25 16:54:52 -07002249 qcom,glink-channels = "IPCRTR";
2250 qcom,intents = <0x800 5
2251 0x2000 3
2252 0x4400 2>;
2253 };
2254
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302255 qcom,msm_fastrpc_rpmsg {
2256 compatible = "qcom,msm-fastrpc-rpmsg";
2257 qcom,glink-channels = "fastrpcglink-apps-dsp";
2258 qcom,intents = <0x64 64>;
2259 };
2260
Chris Lew3859b1b72018-09-25 16:54:52 -07002261 qcom,slpi_glink_ssr {
2262 qcom,glink-channels = "glink_ssr";
2263 qcom,notify-edges = <&glink_adsp>,
2264 <&glink_cdsp>;
2265 };
2266 };
2267
2268 glink_cdsp: cdsp {
2269 qcom,remote-pid = <5>;
2270 transport = "smem";
2271 mboxes = <&ipcc_mproc IPCC_CLIENT_CDSP
2272 IPCC_MPROC_SIGNAL_GLINK_QMP>;
2273 mbox-names = "dsps_smem";
2274 interrupt-parent = <&ipcc_mproc>;
2275 interrupts = <IPCC_CLIENT_CDSP
2276 IPCC_MPROC_SIGNAL_GLINK_QMP
2277 IRQ_TYPE_EDGE_RISING>;
2278
2279 label = "cdsp";
2280 qcom,glink-label = "cdsp";
2281
2282 qcom,cdsp_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08002283 qcom,net-id = <1>;
Chris Lew3859b1b72018-09-25 16:54:52 -07002284 qcom,glink-channels = "IPCRTR";
2285 qcom,intents = <0x800 5
2286 0x2000 3
2287 0x4400 2>;
2288 };
2289
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302290 qcom,msm_fastrpc_rpmsg {
2291 compatible = "qcom,msm-fastrpc-rpmsg";
2292 qcom,glink-channels = "fastrpcglink-apps-dsp";
2293 qcom,intents = <0x64 64>;
2294 };
2295
Chris Lew3859b1b72018-09-25 16:54:52 -07002296 qcom,cdsp_glink_ssr {
2297 qcom,glink-channels = "glink_ssr";
2298 qcom,notify-edges = <&glink_adsp>,
Chris Lewb2da0482018-11-16 14:50:31 -08002299 <&glink_slpi>,
2300 <&glink_npu>;
Chris Lew3859b1b72018-09-25 16:54:52 -07002301 };
2302 };
Chris Lew3b1f0982018-10-05 17:28:21 -07002303
2304 glink_spss: spss {
2305 qcom,remote-pid = <8>;
2306 transport = "spss";
2307 mboxes = <&sp_scsr 0>;
2308 mbox-names = "spss_spss";
2309 interrupt-parent = <&intsp>;
2310 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>;
2311
2312 reg = <0x1885008 0x8>,
2313 <0x1885010 0x4>;
2314 reg-names = "qcom,spss-addr",
2315 "qcom,spss-size";
2316
2317 label = "spss";
2318 qcom,glink-label = "spss";
2319 };
Chris Lew3859b1b72018-09-25 16:54:52 -07002320 };
Bruce Levy5122a632018-09-25 15:51:37 -07002321
Chris Lew3cbe4032018-11-30 18:57:32 -08002322 qmp_aop: qcom,qmp-aop@c300000 {
2323 compatible = "qcom,qmp-mbox";
2324 mboxes = <&ipcc_mproc IPCC_CLIENT_AOP
2325 IPCC_MPROC_SIGNAL_GLINK_QMP>;
2326 mbox-names = "aop_qmp";
2327 interrupt-parent = <&ipcc_mproc>;
2328 interrupts = <IPCC_CLIENT_AOP
2329 IPCC_MPROC_SIGNAL_GLINK_QMP
2330 IRQ_TYPE_EDGE_RISING>;
2331 reg = <0xc300000 0x1000>;
2332 reg-names = "msgram";
2333
2334 label = "aop";
2335 qcom,early-boot;
2336 priority = <0>;
2337 mbox-desc-offset = <0x0>;
2338 #mbox-cells = <1>;
2339 };
2340
Bruce Levy5122a632018-09-25 15:51:37 -07002341 qcom,lpass@17300000 {
2342 compatible = "qcom,pil-tz-generic";
2343 reg = <0x17300000 0x00100>;
2344
2345 vdd_cx-supply = <&VDD_CX_LEVEL>;
2346 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
2347 qcom,proxy-reg-names = "vdd_cx";
2348
2349 clocks = <&clock_rpmh RPMH_CXO_CLK>;
2350 clock-names = "xo";
2351 qcom,proxy-clock-names = "xo";
2352
2353 qcom,pas-id = <1>;
2354 qcom,proxy-timeout-ms = <10000>;
2355 qcom,smem-id = <423>;
2356 qcom,sysmon-id = <1>;
2357 qcom,ssctl-instance-id = <0x14>;
2358 qcom,firmware-name = "adsp";
2359 memory-region = <&pil_adsp_mem>;
2360 qcom,complete-ramdump;
2361
2362 /* Inputs from lpass */
2363 interrupts-extended = <&pdc 96 IRQ_TYPE_LEVEL_HIGH>,
2364 <&adsp_smp2p_in 0 0>,
2365 <&adsp_smp2p_in 2 0>,
2366 <&adsp_smp2p_in 1 0>,
2367 <&adsp_smp2p_in 3 0>;
2368
2369 interrupt-names = "qcom,wdog",
2370 "qcom,err-fatal",
2371 "qcom,proxy-unvote",
2372 "qcom,err-ready",
2373 "qcom,stop-ack";
2374
2375 /* Outputs to lpass */
2376 qcom,smem-states = <&adsp_smp2p_out 0>;
2377 qcom,smem-state-names = "qcom,force-stop";
2378
2379 mbox-names = "adsp-pil";
2380 };
2381
2382 qcom,turing@8300000 {
2383 compatible = "qcom,pil-tz-generic";
2384 reg = <0x8300000 0x100000>;
2385
2386 vdd_cx-supply = <&VDD_CX_LEVEL>;
2387 qcom,proxy-reg-names = "vdd_cx";
2388 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
2389
2390 clocks = <&clock_rpmh RPMH_CXO_CLK>;
2391 clock-names = "xo";
2392 qcom,proxy-clock-names = "xo";
2393
2394 qcom,pas-id = <18>;
2395 qcom,proxy-timeout-ms = <10000>;
2396 qcom,smem-id = <601>;
2397 qcom,sysmon-id = <7>;
2398 qcom,ssctl-instance-id = <0x17>;
2399 qcom,firmware-name = "cdsp";
2400 memory-region = <&pil_cdsp_mem>;
2401 qcom,complete-ramdump;
2402
2403 qcom,msm-bus,name = "pil-cdsp";
2404 qcom,msm-bus,num-cases = <2>;
2405 qcom,msm-bus,num-paths = <1>;
2406 qcom,msm-bus,vectors-KBps =
2407 <154 10070 0 0>,
2408 <154 10070 0 1>;
2409
2410 /* Inputs from turing */
Bruce Levy821133c2018-11-29 11:34:45 -08002411 interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_LEVEL_HIGH>,
Bruce Levy5122a632018-09-25 15:51:37 -07002412 <&cdsp_smp2p_in 0 0>,
2413 <&cdsp_smp2p_in 2 0>,
2414 <&cdsp_smp2p_in 1 0>,
2415 <&cdsp_smp2p_in 3 0>;
2416
2417 interrupt-names = "qcom,wdog",
2418 "qcom,err-fatal",
2419 "qcom,proxy-unvote",
2420 "qcom,err-ready",
2421 "qcom,stop-ack";
2422
2423 /* Outputs to turing */
2424 qcom,smem-states = <&cdsp_smp2p_out 0>;
2425 qcom,smem-state-names = "qcom,force-stop";
2426
2427 mbox-names = "cdsp-pil";
2428 };
Akshay Chandrashekhar Kalghatgif7905ad2018-11-08 16:30:42 -08002429
2430 qcom,venus@aab0000 {
2431 compatible = "qcom,pil-tz-generic";
2432 reg = <0xaab0000 0x2000>;
Chinmay Sawarkar2cfeca02018-11-15 17:59:36 -08002433
2434 vdd-supply = <&mvs0c_gdsc>;
2435 qcom,proxy-reg-names = "vdd";
2436 qcom,complete-ramdump;
2437
2438 clocks = <&clock_videocc VIDEO_CC_XO_CLK>,
2439 <&clock_videocc VIDEO_CC_MVS0C_CLK>,
2440 <&clock_videocc VIDEO_CC_AHB_CLK>;
2441 clock-names = "xo", "core", "ahb";
2442 qcom,proxy-clock-names = "xo", "core", "ahb";
2443
Akshay Chandrashekhar Kalghatgif7905ad2018-11-08 16:30:42 -08002444 qcom,core-freq = <200000000>;
2445 qcom,ahb-freq = <200000000>;
2446
2447 qcom,pas-id = <9>;
2448 qcom,msm-bus,name = "pil-venus";
2449 qcom,msm-bus,num-cases = <2>;
2450 qcom,msm-bus,num-paths = <1>;
2451 qcom,msm-bus,vectors-KBps =
2452 <63 512 0 0>,
2453 <63 512 0 304000>;
2454 qcom,proxy-timeout-ms = <100>;
2455 qcom,firmware-name = "venus";
2456 memory-region = <&pil_video_mem>;
2457 };
Tharun Kumar Merugub8d79dd2018-11-02 23:07:31 +05302458
Amir Samuelovf52db412019-01-08 09:30:58 +02002459 /* PIL spss node - for loading Secure Processor */
2460 qcom,spss@1880000 {
2461 compatible = "qcom,pil-tz-generic";
2462 reg = <0x188101c 0x4>,
2463 <0x1881024 0x4>,
2464 <0x1881028 0x4>,
2465 <0x188103c 0x4>,
2466 <0x1882014 0x4>;
2467 reg-names = "sp2soc_irq_status", "sp2soc_irq_clr",
2468 "sp2soc_irq_mask", "rmb_err", "rmb_err_spare2";
2469 interrupts = <0 352 1>;
2470
2471 vdd_cx-supply = <&VDD_CX_LEVEL>;
2472 qcom,proxy-reg-names = "vdd_cx";
2473 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
2474 vdd_mx-supply = <&VDD_MX_LEVEL>;
2475 vdd_mx-uV = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
2476
2477 clocks = <&clock_rpmh RPMH_CXO_CLK>;
2478 clock-names = "xo";
2479 qcom,proxy-clock-names = "xo";
2480 qcom,pil-generic-irq-handler;
2481 status = "ok";
2482
Amir Samuelov48955b32019-01-17 17:24:37 +02002483 qcom,signal-aop;
Amir Samuelovf52db412019-01-08 09:30:58 +02002484 qcom,complete-ramdump;
2485
2486 qcom,pas-id = <14>;
2487 qcom,proxy-timeout-ms = <10000>;
2488 qcom,firmware-name = "spss";
2489 memory-region = <&pil_spss_mem>;
2490 qcom,spss-scsr-bits = <24 25>;
2491
Amir Samuelov48955b32019-01-17 17:24:37 +02002492 mboxes = <&qmp_aop 0>;
Amir Samuelovf52db412019-01-08 09:30:58 +02002493 mbox-names = "spss-pil";
2494 };
2495
George Shen9c54c662018-12-26 15:50:11 -08002496 qcom,cvpss@abb0000 {
2497 compatible = "qcom,pil-tz-generic";
2498 reg = <0xabb0000 0x2000>;
2499 status = "ok";
George Shen24f63232019-01-11 14:28:21 -08002500 qcom,pas-id = <26>;
George Shen9c54c662018-12-26 15:50:11 -08002501 qcom,firmware-name = "cvpss";
2502
2503 memory-region = <&pil_cvp_mem>;
2504 };
2505
Jilai Wangd20a5292018-12-04 11:05:10 -05002506 qcom,npu@9800000 {
2507 compatible = "qcom,pil-tz-generic";
2508 reg = <0x9800000 0x800000>;
2509
2510 status = "ok";
2511 qcom,pas-id = <23>;
2512 qcom,firmware-name = "npu";
2513 memory-region = <&pil_npu_mem>;
2514 };
2515
Tharun Kumar Merugub8d79dd2018-11-02 23:07:31 +05302516 qcom,msm-cdsp-loader {
2517 compatible = "qcom,cdsp-loader";
2518 qcom,proc-img-to-load = "cdsp";
2519 };
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302520
2521 qcom,msm-adsprpc-mem {
2522 compatible = "qcom,msm-adsprpc-mem-region";
2523 memory-region = <&adsp_mem>;
Tharun Kumar Merugu9bf49d72018-12-21 02:33:10 +05302524 restrict-access;
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302525 };
2526
2527 msm_fastrpc: qcom,msm_fastrpc {
2528 compatible = "qcom,msm-fastrpc-compute";
Tharun Kumar Merugu9bf49d72018-12-21 02:33:10 +05302529 qcom,adsp-remoteheap-vmid = <22 37>;
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302530 qcom,fastrpc-adsp-audio-pdr;
Tharun Kumar Merugu9bf49d72018-12-21 02:33:10 +05302531 qcom,fastrpc-adsp-sensors-pdr;
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302532 qcom,rpc-latency-us = <235>;
2533
2534 qcom,msm_fastrpc_compute_cb1 {
2535 compatible = "qcom,msm-fastrpc-compute-cb";
2536 label = "cdsprpc-smd";
2537 iommus = <&apps_smmu 0x1001 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302538 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2539 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302540 dma-coherent;
2541 };
2542
2543 qcom,msm_fastrpc_compute_cb2 {
2544 compatible = "qcom,msm-fastrpc-compute-cb";
2545 label = "cdsprpc-smd";
2546 iommus = <&apps_smmu 0x1002 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302547 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2548 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302549 dma-coherent;
2550 };
2551
2552 qcom,msm_fastrpc_compute_cb3 {
2553 compatible = "qcom,msm-fastrpc-compute-cb";
2554 label = "cdsprpc-smd";
2555 iommus = <&apps_smmu 0x1003 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302556 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2557 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302558 dma-coherent;
2559 };
2560
2561 qcom,msm_fastrpc_compute_cb4 {
2562 compatible = "qcom,msm-fastrpc-compute-cb";
2563 label = "cdsprpc-smd";
2564 iommus = <&apps_smmu 0x1004 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302565 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2566 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302567 dma-coherent;
2568 };
2569
2570 qcom,msm_fastrpc_compute_cb5 {
2571 compatible = "qcom,msm-fastrpc-compute-cb";
2572 label = "cdsprpc-smd";
2573 iommus = <&apps_smmu 0x1005 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302574 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2575 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302576 dma-coherent;
2577 };
2578
2579 qcom,msm_fastrpc_compute_cb6 {
2580 compatible = "qcom,msm-fastrpc-compute-cb";
2581 label = "cdsprpc-smd";
2582 iommus = <&apps_smmu 0x1006 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302583 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2584 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302585 dma-coherent;
2586 };
2587
2588 qcom,msm_fastrpc_compute_cb7 {
2589 compatible = "qcom,msm-fastrpc-compute-cb";
2590 label = "cdsprpc-smd";
2591 iommus = <&apps_smmu 0x1007 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302592 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2593 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302594 dma-coherent;
2595 };
2596
2597 qcom,msm_fastrpc_compute_cb8 {
2598 compatible = "qcom,msm-fastrpc-compute-cb";
2599 label = "cdsprpc-smd";
2600 iommus = <&apps_smmu 0x1008 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302601 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2602 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302603 dma-coherent;
2604 };
2605
2606 qcom,msm_fastrpc_compute_cb9 {
2607 compatible = "qcom,msm-fastrpc-compute-cb";
2608 label = "cdsprpc-smd";
2609 qcom,secure-context-bank;
2610 iommus = <&apps_smmu 0x1009 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302611 dma-ranges = <0x60000000 0x60000000 0x78000000>;
2612 qcom,iommu-faults = "stall-disable";
2613 qcom,iommu-vmid = <0xA>; /* VMID_CP_PIXEL */
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302614 dma-coherent;
2615 };
2616
2617 qcom,msm_fastrpc_compute_cb10 {
2618 compatible = "qcom,msm-fastrpc-compute-cb";
2619 label = "adsprpc-smd";
2620 iommus = <&apps_smmu 0x1803 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302621 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2622 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302623 dma-coherent;
2624 };
2625
2626 qcom,msm_fastrpc_compute_cb11 {
2627 compatible = "qcom,msm-fastrpc-compute-cb";
2628 label = "adsprpc-smd";
2629 iommus = <&apps_smmu 0x1804 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302630 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2631 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302632 dma-coherent;
2633 };
2634
2635 qcom,msm_fastrpc_compute_cb12 {
2636 compatible = "qcom,msm-fastrpc-compute-cb";
2637 label = "adsprpc-smd";
2638 iommus = <&apps_smmu 0x1805 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302639 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2640 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302641 dma-coherent;
2642 };
2643
2644 qcom,msm_fastrpc_compute_cb13 {
2645 compatible = "qcom,msm-fastrpc-compute-cb";
2646 label = "sdsprpc-smd";
2647 iommus = <&apps_smmu 0x0541 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302648 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2649 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302650 dma-coherent;
2651 };
2652
2653 qcom,msm_fastrpc_compute_cb14 {
2654 compatible = "qcom,msm-fastrpc-compute-cb";
2655 label = "sdsprpc-smd";
2656 iommus = <&apps_smmu 0x0542 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302657 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2658 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302659 dma-coherent;
2660 };
2661
2662 qcom,msm_fastrpc_compute_cb15 {
2663 compatible = "qcom,msm-fastrpc-compute-cb";
2664 label = "sdsprpc-smd";
2665 iommus = <&apps_smmu 0x0543 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302666 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2667 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302668 shared-cb = <4>;
2669 dma-coherent;
2670 };
2671 };
Shaikh Shadulbfdfdda2018-11-14 15:36:21 +05302672
Tatenda Chipeperekwaa84e1aa2019-01-18 17:43:45 -08002673 qcom_msmhdcp: qcom,msm_hdcp {
2674 compatible = "qcom,msm-hdcp";
2675 };
2676
Tingwei Zhangd9b535f2018-12-03 19:14:06 -08002677 mem_dump {
2678 compatible = "qcom,mem-dump";
2679 memory-region = <&dump_mem>;
2680
2681 rpmh {
2682 qcom,dump-size = <0x2000000>;
2683 qcom,dump-id = <0xec>;
2684 };
2685
2686 rpm_sw {
2687 qcom,dump-size = <0x28000>;
2688 qcom,dump-id = <0xea>;
2689 };
2690
2691 pmic {
2692 qcom,dump-size = <0x80000>;
2693 qcom,dump-id = <0xe4>;
2694 };
2695
2696 fcm {
2697 qcom,dump-size = <0x8400>;
2698 qcom,dump-id = <0xee>;
2699 };
2700
2701 etf_swao {
2702 qcom,dump-size = <0x10000>;
2703 qcom,dump-id = <0xf1>;
2704 };
2705
2706 etr_reg {
2707 qcom,dump-size = <0x1000>;
2708 qcom,dump-id = <0x100>;
2709 };
2710
2711 etfswao_reg {
2712 qcom,dump-size = <0x1000>;
2713 qcom,dump-id = <0x102>;
2714 };
2715
2716 misc_data {
2717 qcom,dump-size = <0x1000>;
2718 qcom,dump-id = <0xe8>;
2719 };
2720 };
2721
Zhen Kong93446d22018-12-27 13:10:09 -08002722 qcom_tzlog: tz-log@146bf720 {
2723 compatible = "qcom,tz-log";
2724 reg = <0x146bf720 0x3000>;
2725 qcom,hyplog-enabled;
2726 hyplog-address-offset = <0x410>;
2727 hyplog-size-offset = <0x414>;
2728 };
2729
Shaikh Shadulbfdfdda2018-11-14 15:36:21 +05302730 qcom,ssc@5c00000 {
2731 compatible = "qcom,pil-tz-generic";
2732 reg = <0x5c00000 0x4000>;
2733
2734 vdd_cx-supply = <&VDD_CX_LEVEL>;
2735 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
2736 vdd_mx-supply = <&VDD_MX_LEVEL>;
2737 qcom,vdd_mx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
2738
2739 qcom,proxy-reg-names = "vdd_cx", "vdd_mx";
2740 qcom,keep-proxy-regs-on;
2741
2742 clocks = <&clock_rpmh RPMH_CXO_CLK>;
2743 clock-names = "xo";
2744 qcom,proxy-clock-names = "xo";
2745
2746 qcom,pas-id = <12>;
2747 qcom,proxy-timeout-ms = <10000>;
2748 qcom,smem-id = <424>;
2749 qcom,sysmon-id = <3>;
2750 qcom,ssctl-instance-id = <0x16>;
2751 qcom,firmware-name = "slpi";
2752 status = "ok";
2753 memory-region = <&pil_slpi_mem>;
2754 qcom,complete-ramdump;
2755
2756 /* Inputs from ssc */
2757 interrupts-extended = <&pdc 9 IRQ_TYPE_LEVEL_HIGH>,
2758 <&dsps_smp2p_in 0 0>,
2759 <&dsps_smp2p_in 2 0>,
2760 <&dsps_smp2p_in 1 0>,
2761 <&dsps_smp2p_in 3 0>;
2762
2763 interrupt-names = "qcom,wdog",
2764 "qcom,err-fatal",
2765 "qcom,proxy-unvote",
2766 "qcom,err-ready",
2767 "qcom,stop-ack";
2768
2769 /* Outputs to ssc */
2770 qcom,smem-states = <&dsps_smp2p_out 0>;
2771 qcom,smem-state-names = "qcom,force-stop";
2772
2773 mbox-names = "slpi-pil";
2774 };
2775
2776 ssc_sensors: qcom,msm-ssc-sensors {
2777 compatible = "qcom,msm-ssc-sensors";
2778 status = "ok";
2779 qcom,firmware-name = "slpi";
2780 };
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002781
2782 tsens0: tsens@c222000 {
2783 compatible = "qcom,tsens24xx";
2784 reg = <0xc222000 0x4>,
2785 <0xc263000 0x1ff>;
2786 reg-names = "tsens_srot_physical",
2787 "tsens_tm_physical";
Siddartha Mohanadoss404a89a2019-01-04 15:29:48 -08002788 interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
2789 <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002790 interrupt-names = "tsens-upper-lower", "tsens-critical";
2791 #thermal-sensor-cells = <1>;
2792 };
2793
2794 tsens1: tsens@c223000 {
2795 compatible = "qcom,tsens24xx";
2796 reg = <0xc223000 0x4>,
2797 <0xc265000 0x1ff>;
2798 reg-names = "tsens_srot_physical",
2799 "tsens_tm_physical";
Siddartha Mohanadoss404a89a2019-01-04 15:29:48 -08002800 interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
2801 <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002802 interrupt-names = "tsens-upper-lower", "tsens-critical";
2803 #thermal-sensor-cells = <1>;
2804 };
Rishabh Bhatnagarf7a853a2018-06-28 14:14:54 -07002805
2806 qcom,msm-rtb {
2807 compatible = "qcom,msm-rtb";
2808 qcom,rtb-size = <0x100000>;
2809 };
2810
2811 qcom,mpm2-sleep-counter@c221000 {
2812 compatible = "qcom,mpm2-sleep-counter";
2813 reg = <0xc221000 0x1000>;
2814 clock-frequency = <32768>;
2815 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -07002816
2817 cpuss_dump {
2818 compatible = "qcom,cpuss-dump";
2819
2820 qcom,l1_i_cache0 {
2821 qcom,dump-node = <&L1_I_0>;
2822 qcom,dump-id = <0x60>;
2823 };
2824
2825 qcom,l1_i_cache1 {
2826 qcom,dump-node = <&L1_I_100>;
2827 qcom,dump-id = <0x61>;
2828 };
2829
2830 qcom,l1_i_cache2 {
2831 qcom,dump-node = <&L1_I_200>;
2832 qcom,dump-id = <0x62>;
2833 };
2834
2835 qcom,l1_i_cache3 {
2836 qcom,dump-node = <&L1_I_300>;
2837 qcom,dump-id = <0x63>;
2838 };
2839
2840 qcom,l1_i_cache100 {
2841 qcom,dump-node = <&L1_I_400>;
2842 qcom,dump-id = <0x64>;
2843 };
2844
2845 qcom,l1_i_cache101 {
2846 qcom,dump-node = <&L1_I_500>;
2847 qcom,dump-id = <0x65>;
2848 };
2849
2850 qcom,l1_i_cache102 {
2851 qcom,dump-node = <&L1_I_600>;
2852 qcom,dump-id = <0x66>;
2853 };
2854
2855 qcom,l1_i_cache103 {
2856 qcom,dump-node = <&L1_I_700>;
2857 qcom,dump-id = <0x67>;
2858 };
2859
2860 qcom,l1_d_cache0 {
2861 qcom,dump-node = <&L1_D_0>;
2862 qcom,dump-id = <0x80>;
2863 };
2864
2865 qcom,l1_d_cache1 {
2866 qcom,dump-node = <&L1_D_100>;
2867 qcom,dump-id = <0x81>;
2868 };
2869
2870 qcom,l1_d_cache2 {
2871 qcom,dump-node = <&L1_D_200>;
2872 qcom,dump-id = <0x82>;
2873 };
2874
2875 qcom,l1_d_cache3 {
2876 qcom,dump-node = <&L1_D_300>;
2877 qcom,dump-id = <0x83>;
2878 };
2879
2880 qcom,l1_d_cache100 {
2881 qcom,dump-node = <&L1_D_400>;
2882 qcom,dump-id = <0x84>;
2883 };
2884
2885 qcom,l1_d_cache101 {
2886 qcom,dump-node = <&L1_D_500>;
2887 qcom,dump-id = <0x85>;
2888 };
2889
2890 qcom,l1_d_cache102 {
2891 qcom,dump-node = <&L1_D_600>;
2892 qcom,dump-id = <0x86>;
2893 };
2894
2895 qcom,l1_d_cache103 {
2896 qcom,dump-node = <&L1_D_700>;
2897 qcom,dump-id = <0x87>;
2898 };
2899
2900 qcom,l1_i_tlb_dump400 {
2901 qcom,dump-node = <&L1_ITLB_400>;
2902 qcom,dump-id = <0x24>;
2903 };
2904
2905 qcom,l1_i_tlb_dump500 {
2906 qcom,dump-node = <&L1_ITLB_500>;
2907 qcom,dump-id = <0x25>;
2908 };
2909
2910 qcom,l1_i_tlb_dump600 {
2911 qcom,dump-node = <&L1_ITLB_600>;
2912 qcom,dump-id = <0x26>;
2913 };
2914
2915 qcom,l1_i_tlb_dump700 {
2916 qcom,dump-node = <&L1_ITLB_700>;
2917 qcom,dump-id = <0x27>;
2918 };
2919
2920 qcom,l1_d_tlb_dump400 {
2921 qcom,dump-node = <&L1_DTLB_400>;
2922 qcom,dump-id = <0x44>;
2923 };
2924
2925 qcom,l1_d_tlb_dump500 {
2926 qcom,dump-node = <&L1_DTLB_500>;
2927 qcom,dump-id = <0x45>;
2928 };
2929
2930 qcom,l1_d_tlb_dump600 {
2931 qcom,dump-node = <&L1_DTLB_600>;
2932 qcom,dump-id = <0x46>;
2933 };
2934
2935 qcom,l1_d_tlb_dump700 {
2936 qcom,dump-node = <&L1_DTLB_700>;
2937 qcom,dump-id = <0x47>;
2938 };
2939
2940 qcom,l2_cache_dump400 {
2941 qcom,dump-node = <&L2_4>;
2942 qcom,dump-id = <0xc4>;
2943 };
2944
2945 qcom,l2_cache_dump500 {
2946 qcom,dump-node = <&L2_5>;
2947 qcom,dump-id = <0xc5>;
2948 };
2949
2950 qcom,l2_cache_dump600 {
2951 qcom,dump-node = <&L2_6>;
2952 qcom,dump-id = <0xc6>;
2953 };
2954
2955 qcom,l2_cache_dump700 {
2956 qcom,dump-node = <&L2_7>;
2957 qcom,dump-id = <0xc7>;
2958 };
2959
2960 qcom,l2_tlb_dump0 {
2961 qcom,dump-node = <&L2_TLB_0>;
2962 qcom,dump-id = <0x120>;
2963 };
2964
2965 qcom,l2_tlb_dump100 {
2966 qcom,dump-node = <&L2_TLB_100>;
2967 qcom,dump-id = <0x121>;
2968 };
2969
2970 qcom,l2_tlb_dump200 {
2971 qcom,dump-node = <&L2_TLB_200>;
2972 qcom,dump-id = <0x122>;
2973 };
2974
2975 qcom,l2_tlb_dump300 {
2976 qcom,dump-node = <&L2_TLB_300>;
2977 qcom,dump-id = <0x123>;
2978 };
2979
2980 qcom,l2_tlb_dump400 {
2981 qcom,dump-node = <&L2_TLB_400>;
2982 qcom,dump-id = <0x124>;
2983 };
2984
2985 qcom,l2_tlb_dump500 {
2986 qcom,dump-node = <&L2_TLB_500>;
2987 qcom,dump-id = <0x125>;
2988 };
2989
2990 qcom,l2_tlb_dump600 {
2991 qcom,dump-node = <&L2_TLB_600>;
2992 qcom,dump-id = <0x126>;
2993 };
2994
2995 qcom,l2_tlb_dump700 {
2996 qcom,dump-node = <&L2_TLB_700>;
2997 qcom,dump-id = <0x127>;
2998 };
2999 };
Vipin Deep Kaur1cd6ed02018-12-27 16:23:43 +05303000
3001 gpi_dma0: qcom,gpi-dma@900000 {
3002 #dma-cells = <5>;
3003 compatible = "qcom,gpi-dma";
3004 reg = <0x900000 0x70000>;
3005 reg-names = "gpi-top";
Rishabh Bhatnagar7ef15882019-01-22 11:02:09 -08003006 interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
3007 <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
3008 <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
3009 <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
3010 <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
3011 <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
3012 <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
3013 <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
3014 <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
3015 <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
3016 <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
3017 <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
3018 <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
Vipin Deep Kaur1cd6ed02018-12-27 16:23:43 +05303019 qcom,max-num-gpii = <13>;
3020 qcom,gpii-mask = <0x7ff>;
3021 qcom,ev-factor = <2>;
3022 iommus = <&apps_smmu 0x5b6 0x0>;
3023 qcom,smmu-cfg = <0x1>;
3024 qcom,iova-range = <0x0 0x100000 0x0 0x100000>;
3025 status = "ok";
3026 };
3027
3028 gpi_dma1: qcom,gpi-dma@a00000 {
3029 #dma-cells = <5>;
3030 compatible = "qcom,gpi-dma";
3031 reg = <0xa00000 0x70000>;
3032 reg-names = "gpi-top";
Rishabh Bhatnagar7ef15882019-01-22 11:02:09 -08003033 interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
3034 <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
3035 <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
3036 <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
3037 <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
3038 <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
3039 <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
3040 <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>,
3041 <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>,
3042 <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>;
Vipin Deep Kaur1cd6ed02018-12-27 16:23:43 +05303043 qcom,max-num-gpii = <10>;
3044 qcom,gpii-mask = <0x3f>;
3045 qcom,ev-factor = <2>;
3046 iommus = <&apps_smmu 0x56 0x0>;
3047 qcom,smmu-cfg = <0x1>;
3048 qcom,iova-range = <0x0 0x100000 0x0 0x100000>;
3049 status = "ok";
3050 };
3051
3052 gpi_dma2: qcom,gpi-dma@800000 {
3053 #dma-cells = <5>;
3054 compatible = "qcom,gpi-dma";
3055 reg = <0x800000 0x70000>;
3056 reg-names = "gpi-top";
Rishabh Bhatnagar7ef15882019-01-22 11:02:09 -08003057 interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
3058 <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>,
3059 <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>,
3060 <GIC_SPI 591 IRQ_TYPE_LEVEL_HIGH>,
3061 <GIC_SPI 592 IRQ_TYPE_LEVEL_HIGH>,
3062 <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>,
3063 <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH>,
3064 <GIC_SPI 595 IRQ_TYPE_LEVEL_HIGH>,
3065 <GIC_SPI 596 IRQ_TYPE_LEVEL_HIGH>,
3066 <GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH>;
Vipin Deep Kaur1cd6ed02018-12-27 16:23:43 +05303067 qcom,max-num-gpii = <10>;
3068 qcom,gpii-mask = <0x3f>;
3069 qcom,ev-factor = <2>;
3070 iommus = <&apps_smmu 0x76 0x0>;
3071 qcom,smmu-cfg = <0x1>;
3072 qcom,iova-range = <0x0 0x100000 0x0 0x100000>;
3073 status = "ok";
3074 };
3075
Yuanyuan Liu99e0b9a2019-01-16 11:01:38 -08003076 qcom,cnss-qca6390@a0000000 {
3077 compatible = "qcom,cnss-qca6390";
3078 reg = <0xa0000000 0x10000000>,
3079 <0xb0000000 0x10000>;
3080 reg-names = "smmu_iova_base", "smmu_iova_ipa";
3081 wlan-en-gpio = <&tlmm 169 0>;
3082 pinctrl-names = "wlan_en_active", "wlan_en_sleep";
3083 pinctrl-0 = <&cnss_wlan_en_active>;
3084 pinctrl-1 = <&cnss_wlan_en_sleep>;
3085 qcom,wlan-rc-num = <0>;
3086 qcom,wlan-ramdump-dynamic = <0x400000>;
3087
Yuanyuan Liu30d201f2019-01-22 14:04:54 -08003088 vdd-wlan-aon-supply = <&pm8150_s6>;
3089 vdd-wlan-dig-supply = <&pm8009_s2>;
3090 vdd-wlan-io-supply = <&pm8150_s4>;
3091 vdd-wlan-rfa1-supply = <&pm8150_s5>;
3092 vdd-wlan-rfa2-supply = <&pm8150a_s8>;
3093
Yuanyuan Liu99e0b9a2019-01-16 11:01:38 -08003094 mhi,max-channels = <30>;
3095 mhi,timeout = <10000>;
3096
3097 mhi_channels {
3098 #address-cells = <1>;
3099 #size-cells = <0>;
3100
3101 mhi_chan@0 {
3102 reg = <0>;
3103 label = "LOOPBACK";
3104 mhi,num-elements = <32>;
3105 mhi,event-ring = <1>;
3106 mhi,chan-dir = <1>;
3107 mhi,data-type = <0>;
3108 mhi,doorbell-mode = <2>;
3109 mhi,ee = <0x14>;
3110 };
3111
3112 mhi_chan@1 {
3113 reg = <1>;
3114 label = "LOOPBACK";
3115 mhi,num-elements = <32>;
3116 mhi,event-ring = <1>;
3117 mhi,chan-dir = <2>;
3118 mhi,data-type = <0>;
3119 mhi,doorbell-mode = <2>;
3120 mhi,ee = <0x14>;
3121 };
3122
3123 mhi_chan@4 {
3124 reg = <4>;
3125 label = "DIAG";
3126 mhi,num-elements = <32>;
3127 mhi,event-ring = <1>;
3128 mhi,chan-dir = <1>;
3129 mhi,data-type = <0>;
3130 mhi,doorbell-mode = <2>;
3131 mhi,ee = <0x14>;
3132 };
3133
3134 mhi_chan@5 {
3135 reg = <5>;
3136 label = "DIAG";
3137 mhi,num-elements = <32>;
3138 mhi,event-ring = <1>;
3139 mhi,chan-dir = <2>;
3140 mhi,data-type = <0>;
3141 mhi,doorbell-mode = <2>;
3142 mhi,ee = <0x14>;
3143 };
3144
3145 mhi_chan@20 {
3146 reg = <20>;
3147 label = "IPCR";
3148 mhi,num-elements = <32>;
3149 mhi,event-ring = <1>;
3150 mhi,chan-dir = <1>;
3151 mhi,data-type = <1>;
3152 mhi,doorbell-mode = <2>;
3153 mhi,ee = <0x14>;
3154 mhi,auto-start;
3155 };
3156
3157 mhi_chan@21 {
3158 reg = <21>;
3159 label = "IPCR";
3160 mhi,num-elements = <32>;
3161 mhi,event-ring = <1>;
3162 mhi,chan-dir = <2>;
3163 mhi,data-type = <0>;
3164 mhi,doorbell-mode = <2>;
3165 mhi,ee = <0x14>;
3166 mhi,auto-queue;
3167 mhi,auto-start;
3168 };
3169 };
3170
3171 mhi_events {
3172 mhi_event@0 {
3173 mhi,num-elements = <32>;
3174 mhi,intmod = <1>;
3175 mhi,msi = <1>;
3176 mhi,priority = <1>;
3177 mhi,brstmode = <2>;
3178 mhi,data-type = <1>;
3179 };
3180
3181 mhi_event@1 {
3182 mhi,num-elements = <256>;
3183 mhi,intmod = <1>;
3184 mhi,msi = <2>;
3185 mhi,priority = <1>;
3186 mhi,brstmode = <2>;
3187 };
3188 };
3189 };
Runmin Wang4f5985b2017-04-19 15:55:12 -07003190};
Swathi Sridhar4008eb42018-07-17 15:34:46 -07003191
David Collins61d237d2019-01-03 16:01:15 -08003192#include "kona-regulators.dtsi"
David Daib1d68482018-10-01 19:40:35 -07003193#include "kona-bus.dtsi"
Swathi Sridharbbbc80b2018-07-13 10:02:08 -07003194#include "kona-ion.dtsi"
Tony Truongc972c642018-09-12 10:03:51 -07003195#include "kona-pcie.dtsi"
Sujeev Dias5399e552018-09-18 17:57:54 -07003196#include "kona-mhi.dtsi"
Swathi Sridhar4008eb42018-07-17 15:34:46 -07003197#include "msm-arm-smmu-kona.dtsi"
Rishabh Bhatnagara740b0e2018-07-20 15:08:35 -07003198#include "kona-pinctrl.dtsi"
Chris Lew86f6bde2018-09-06 16:40:39 -07003199#include "kona-smp2p.dtsi"
Hemant Kumar5f58bad2018-08-31 14:25:23 -07003200#include "kona-usb.dtsi"
Tingwei Zhang564fa692018-11-28 00:31:17 -08003201#include "kona-coresight.dtsi"
Samantha Tran7e309f02018-08-31 17:23:00 -07003202#include "kona-sde.dtsi"
Satya Rama Aditya Pinapala09600b32018-10-29 10:52:37 -07003203#include "kona-sde-pll.dtsi"
Mukund Atred454ec92018-11-05 15:32:16 -08003204
Arjun Bagla76f02ef2018-09-19 10:00:29 -07003205#include "kona-pm.dtsi"
Mukund Atred454ec92018-11-05 15:32:16 -08003206
3207#include "kona-camera.dtsi"
Vipin Deep Kaur9a2c13d2018-12-19 18:38:46 +05303208#include "kona-qupv3.dtsi"
Karthikeyan Mani7f5b10b2019-01-16 16:35:07 -08003209#include "kona-audio.dtsi"
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08003210#include "kona-thermal.dtsi"
Chinmay Sawarkar83d01b42018-12-14 12:34:50 -08003211#include "kona-vidc.dtsi"
George Shen9c54c662018-12-26 15:50:11 -08003212#include "kona-cvp.dtsi"
Jilai Wang6fed1a22019-01-23 16:58:39 -05003213#include "kona-npu.dtsi"