blob: 3f9b08b32032583c62c88566a317ac2ecfa69c06 [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 */
Tony Truongc972c642018-09-12 10:03:51 -070036 pci-domain2 = &pcie2; /* PCIe2 domain */
Vipin Deep Kaur9a2c13d2018-12-19 18:38:46 +053037 serial0 = &qupv3_se2_2uart; /* RUMI */
Can Guob04bed52018-07-10 19:27:32 -070038 };
39
Runmin Wang4f5985b2017-04-19 15:55:12 -070040 cpus {
41 #address-cells = <2>;
42 #size-cells = <0>;
43
44 CPU0: cpu@0 {
45 device_type = "cpu";
46 compatible = "qcom,kryo";
47 reg = <0x0 0x0>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -070048 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -070049 cache-size = <0x8000>;
50 cpu-release-addr = <0x0 0x90000000>;
51 next-level-cache = <&L2_0>;
David Daia4635e62018-10-11 13:39:44 -070052 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -080053 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -080054 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -070055 L2_0: l2-cache {
56 compatible = "arm,arch-cache";
57 cache-size = <0x20000>;
58 cache-level = <2>;
59 next-level-cache = <&L3_0>;
60
61 L3_0: l3-cache {
62 compatible = "arm,arch-cache";
63 cache-size = <0x400000>;
64 cache-level = <3>;
65 };
66 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -070067
68 L1_I_0: l1-icache {
69 compatible = "arm,arch-cache";
70 qcom,dump-size = <0x8800>;
71 };
72
73 L1_D_0: l1-dcache {
74 compatible = "arm,arch-cache";
75 qcom,dump-size = <0x9000>;
76 };
77
78 L2_TLB_0: l2-tlb {
79 qcom,dump-size = <0x5000>;
80 };
Runmin Wang4f5985b2017-04-19 15:55:12 -070081 };
82
83 CPU1: cpu@100 {
84 device_type = "cpu";
85 compatible = "qcom,kryo";
86 reg = <0x0 0x100>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -070087 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -070088 cache-size = <0x8000>;
89 cpu-release-addr = <0x0 0x90000000>;
90 next-level-cache = <&L2_1>;
David Daia4635e62018-10-11 13:39:44 -070091 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -080092 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -080093 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -070094 L2_1: l2-cache {
95 compatible = "arm,arch-cache";
96 cache-size = <0x20000>;
97 cache-level = <2>;
98 next-level-cache = <&L3_0>;
99 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700100
101 L1_I_100: l1-icache {
102 compatible = "arm,arch-cache";
103 qcom,dump-size = <0x8800>;
104 };
105
106 L1_D_100: l1-dcache {
107 compatible = "arm,arch-cache";
108 qcom,dump-size = <0x9000>;
109 };
110
111 L2_TLB_100: l2-tlb {
112 qcom,dump-size = <0x5000>;
113 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700114 };
115
116 CPU2: cpu@200 {
117 device_type = "cpu";
118 compatible = "qcom,kryo";
119 reg = <0x0 0x200>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700120 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700121 cache-size = <0x8000>;
122 cpu-release-addr = <0x0 0x90000000>;
123 next-level-cache = <&L2_2>;
David Daia4635e62018-10-11 13:39:44 -0700124 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800125 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -0800126 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700127 L2_2: l2-cache {
128 compatible = "arm,arch-cache";
129 cache-size = <0x20000>;
130 cache-level = <2>;
131 next-level-cache = <&L3_0>;
132 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700133
134 L1_I_200: l1-icache {
135 compatible = "arm,arch-cache";
136 qcom,dump-size = <0x8800>;
137 };
138
139 L1_D_200: l1-dcache {
140 compatible = "arm,arch-cache";
141 qcom,dump-size = <0x9000>;
142 };
143
144 L2_TLB_200: l2-tlb {
145 qcom,dump-size = <0x5000>;
146 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700147 };
148
149 CPU3: cpu@300 {
150 device_type = "cpu";
151 compatible = "qcom,kryo";
152 reg = <0x0 0x300>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700153 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700154 cache-size = <0x8000>;
155 cpu-release-addr = <0x0 0x90000000>;
156 next-level-cache = <&L2_3>;
David Daia4635e62018-10-11 13:39:44 -0700157 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800158 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -0800159 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700160 L2_3: l2-cache {
161 compatible = "arm,arch-cache";
162 cache-size = <0x20000>;
163 cache-level = <2>;
164 next-level-cache = <&L3_0>;
165 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700166
167 L1_I_300: l1-icache {
168 compatible = "arm,arch-cache";
169 qcom,dump-size = <0x8800>;
170 };
171
172 L1_D_300: l1-dcache {
173 compatible = "arm,arch-cache";
174 qcom,dump-size = <0x9000>;
175 };
176
177 L2_TLB_300: l2-tlb {
178 qcom,dump-size = <0x5000>;
179 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700180 };
181
182 CPU4: cpu@400 {
183 device_type = "cpu";
184 compatible = "qcom,kryo";
185 reg = <0x0 0x400>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700186 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700187 cache-size = <0x10000>;
188 cpu-release-addr = <0x0 0x90000000>;
189 next-level-cache = <&L2_4>;
David Daia4635e62018-10-11 13:39:44 -0700190 qcom,freq-domain = <&cpufreq_hw 1 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800191 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhaladb98c3e2019-01-25 10:26:46 -0800192 dynamic-power-coefficient = <514>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700193 L2_4: l2-cache {
194 compatible = "arm,arch-cache";
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700195 cache-size = <0x40000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700196 cache-level = <2>;
197 next-level-cache = <&L3_0>;
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700198 qcom,dump-size = <0x48000>;
199 };
200
201 L1_I_400: l1-icache {
202 compatible = "arm,arch-cache";
203 qcom,dump-size = <0x11000>;
204 };
205
206 L1_D_400: l1-dcache {
207 compatible = "arm,arch-cache";
208 qcom,dump-size = <0x12000>;
209 };
210
211 L1_ITLB_400: l1-itlb {
212 qcom,dump-size = <0x300>;
213 };
214
215 L1_DTLB_400: l1-dtlb {
216 qcom,dump-size = <0x480>;
217 };
218
219 L2_TLB_400: l2-tlb {
220 qcom,dump-size = <0x7800>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700221 };
222 };
223
224 CPU5: cpu@500 {
225 device_type = "cpu";
226 compatible = "qcom,kryo";
227 reg = <0x0 0x500>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700228 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700229 cache-size = <0x10000>;
230 cpu-release-addr = <0x0 0x90000000>;
231 next-level-cache = <&L2_5>;
David Daia4635e62018-10-11 13:39:44 -0700232 qcom,freq-domain = <&cpufreq_hw 1 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800233 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhaladb98c3e2019-01-25 10:26:46 -0800234 dynamic-power-coefficient = <514>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700235 L2_5: l2-cache {
236 compatible = "arm,arch-cache";
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700237 cache-size = <0x40000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700238 cache-level = <2>;
239 next-level-cache = <&L3_0>;
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700240 qcom,dump-size = <0x48000>;
241 };
242
243 L1_I_500: l1-icache {
244 compatible = "arm,arch-cache";
245 qcom,dump-size = <0x11000>;
246 };
247
248 L1_D_500: l1-dcache {
249 compatible = "arm,arch-cache";
250 qcom,dump-size = <0x12000>;
251 };
252
253 L1_ITLB_500: l1-itlb {
254 qcom,dump-size = <0x300>;
255 };
256
257 L1_DTLB_500: l1-dtlb {
258 qcom,dump-size = <0x480>;
259 };
260
261 L2_TLB_500: l2-tlb {
262 qcom,dump-size = <0x7800>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700263 };
264 };
265
266 CPU6: cpu@600 {
267 device_type = "cpu";
268 compatible = "qcom,kryo";
269 reg = <0x0 0x600>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700270 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700271 cache-size = <0x10000>;
272 cpu-release-addr = <0x0 0x90000000>;
273 next-level-cache = <&L2_6>;
David Daia4635e62018-10-11 13:39:44 -0700274 qcom,freq-domain = <&cpufreq_hw 1 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800275 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhaladb98c3e2019-01-25 10:26:46 -0800276 dynamic-power-coefficient = <514>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700277 L2_6: l2-cache {
278 compatible = "arm,arch-cache";
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700279 cache-size = <0x40000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700280 cache-level = <2>;
281 next-level-cache = <&L3_0>;
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700282 qcom,dump-size = <0x48000>;
283 };
284
285 L1_I_600: l1-icache {
286 compatible = "arm,arch-cache";
287 qcom,dump-size = <0x11000>;
288 };
289
290 L1_D_600: l1-dcache {
291 compatible = "arm,arch-cache";
292 qcom,dump-size = <0x12000>;
293 };
294
295 L1_ITLB_600: l1-itlb {
296 qcom,dump-size = <0x300>;
297 };
298
299 L1_DTLB_600: l1-dtlb {
300 qcom,dump-size = <0x480>;
301 };
302
303 L2_TLB_600: l2-tlb {
304 qcom,dump-size = <0x7800>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700305 };
306 };
307
308 CPU7: cpu@700 {
309 device_type = "cpu";
310 compatible = "qcom,kryo";
311 reg = <0x0 0x700>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700312 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700313 cache-size = <0x10000>;
314 cpu-release-addr = <0x0 0x90000000>;
315 next-level-cache = <&L2_7>;
David Daia4635e62018-10-11 13:39:44 -0700316 qcom,freq-domain = <&cpufreq_hw 2 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800317 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhaladb98c3e2019-01-25 10:26:46 -0800318 dynamic-power-coefficient = <598>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700319 L2_7: l2-cache {
320 compatible = "arm,arch-cache";
321 cache-size = <0x80000>;
322 cache-level = <2>;
323 next-level-cache = <&L3_0>;
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700324 qcom,dump-size = <0x90000>;
325 };
326
327 L1_I_700: l1-icache {
328 compatible = "arm,arch-cache";
329 qcom,dump-size = <0x11000>;
330 };
331
332 L1_D_700: l1-dcache {
333 compatible = "arm,arch-cache";
334 qcom,dump-size = <0x12000>;
335 };
336
337 L1_ITLB_700: l1-itlb {
338 qcom,dump-size = <0x300>;
339 };
340
341 L1_DTLB_700: l1-dtlb {
342 qcom,dump-size = <0x480>;
343 };
344
345 L2_TLB_700: l2-tlb {
346 qcom,dump-size = <0x7800>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700347 };
348 };
349
350 cpu-map {
351 cluster0 {
352 core0 {
353 cpu = <&CPU0>;
354 };
355
356 core1 {
357 cpu = <&CPU1>;
358 };
359
360 core2 {
361 cpu = <&CPU2>;
362 };
363
364 core3 {
365 cpu = <&CPU3>;
366 };
367 };
368
369 cluster1 {
370 core0 {
371 cpu = <&CPU4>;
372 };
373
374 core1 {
375 cpu = <&CPU5>;
376 };
377
378 core2 {
379 cpu = <&CPU6>;
380 };
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800381 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700382
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800383 cluster2 {
384 core0 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700385 cpu = <&CPU7>;
386 };
387 };
388 };
389 };
390
David Daia4635e62018-10-11 13:39:44 -0700391
Channagoud Kadabicdd72a02018-09-21 14:46:21 -0700392 cpu_pmu: cpu-pmu {
393 compatible = "arm,armv8-pmuv3";
394 qcom,irq-is-percpu;
395 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
396 };
397
David Daia4635e62018-10-11 13:39:44 -0700398 soc: soc {
399 cpufreq_hw: qcom,cpufreq-hw {
400 compatible = "qcom,cpufreq-hw";
401 reg = <0x18591000 0x1000>, <0x18592000 0x1000>,
402 <0x18593000 0x1000>;
403 reg-names = "freq-domain0", "freq-domain1",
404 "freq-domain2";
405
David Daiee6a9d62019-01-10 17:14:04 -0800406 clocks = <&clock_rpmh RPMH_CXO_CLK>, <&clock_gcc GPLL0>;
David Daia4635e62018-10-11 13:39:44 -0700407 clock-names = "xo", "cpu_clk";
408
409 #freq-domain-cells = <2>;
410 };
411 };
412
Arjun Bagla76f02ef2018-09-19 10:00:29 -0700413 psci {
414 compatible = "arm,psci-1.0";
415 method = "smc";
416 };
417
Bruce Levy3bd8d1b2018-09-11 11:31:13 -0700418 firmware: firmware {
419 android {
420 compatible = "android,firmware";
421 fstab {
422 compatible = "android,fstab";
423 vendor {
424 compatible = "android,vendor";
425 dev = "/dev/block/platform/soc/1d84000.ufshc/by-name/vendor";
426 type = "ext4";
427 mnt_flags = "ro,barrier=1,discard";
428 fsmgr_flags = "wait,slotselect,avb";
429 status = "ok";
430 };
431 };
432 };
433 };
434
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700435 psci {
436 compatible = "arm,psci-1.0";
437 method = "smc";
438 };
439
Swathi Sridhara79a9542018-06-21 11:40:44 -0700440 reserved-memory {
441 #address-cells = <2>;
442 #size-cells = <2>;
443 ranges;
444
445 hyp_mem: hyp_region@80000000 {
446 no-map;
447 reg = <0x0 0x80000000 0x0 0x600000>;
448 };
449
450 xbl_aop_mem: xbl_aop_region@80700000 {
451 no-map;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700452 reg = <0x0 0x80700000 0x0 0x120000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700453 };
454
Lina Iyer5d609fa2018-10-03 14:26:55 -0600455 cmd_db: reserved-memory@80820000 {
456 reg = <0x0 0x80820000 0x0 0x20000>;
457 compatible = "qcom,cmd-db";
458 no-map;
459 };
460
Swathi Sridhara79a9542018-06-21 11:40:44 -0700461 smem_mem: smem_region@80900000 {
462 no-map;
463 reg = <0x0 0x80900000 0x0 0x200000>;
464 };
465
466 removed_mem: removed_region@80b00000 {
467 no-map;
468 reg = <0x0 0x80b00000 0x0 0xc00000>;
469 };
470
471 qtee_apps_mem: qtee_apps_region@81e00000 {
472 no-map;
473 reg = <0x0 0x81e00000 0x0 0x2600000>;
474 };
475
476 pil_camera_mem: pil_camera_region@86000000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700477 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700478 no-map;
479 reg = <0x0 0x86000000 0x0 0x500000>;
480 };
481
482 pil_wlan_fw_mem: pil_wlan_fw_region@86500000 {
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 0x86500000 0x0 0x100000>;
486 };
487
488 pil_ipa_fw_mem: pil_ipa_fw_region@86600000 {
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 0x86600000 0x0 0x10000>;
492 };
493
494 pil_ipa_gsi_mem: pil_ipa_gsi_region@86610000 {
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 0x86610000 0x0 0x5000>;
498 };
499
500 pil_gpu_mem: pil_gpu_region@86615000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700501 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700502 no-map;
503 reg = <0x0 0x86615000 0x0 0x2000>;
504 };
505
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700506 pil_npu_mem: pil_npu_region@86700000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700507 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700508 no-map;
509 reg = <0x0 0x86700000 0x0 0x500000>;
510 };
511
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700512 pil_video_mem: pil_video_region@86c00000 {
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 0x86c00000 0x0 0x500000>;
516 };
517
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700518 pil_cvp_mem: pil_cvp_region@87100000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700519 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700520 no-map;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700521 reg = <0x0 0x87100000 0x0 0x500000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700522 };
523
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700524 pil_cdsp_mem: pil_cdsp_region@87600000 {
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 0x87600000 0x0 0x800000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700528 };
529
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700530 pil_slpi_mem: pil_slpi_region@87e00000 {
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 0x87e00000 0x0 0x1500000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700534 };
535
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700536 pil_adsp_mem: pil_adsp_region@89300000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700537 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700538 no-map;
Swathi Sridhar19db3ed2018-11-29 11:01:42 -0800539 reg = <0x0 0x89300000 0x0 0x1a00000>;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700540 };
541
Swathi Sridhar19db3ed2018-11-29 11:01:42 -0800542 pil_spss_mem: pil_spss_region@8ad00000 {
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700543 compatible = "removed-dma-pool";
544 no-map;
Swathi Sridhar19db3ed2018-11-29 11:01:42 -0800545 reg = <0x0 0x8ad00000 0x0 0x100000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700546 };
547
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +0530548 adsp_mem: adsp_region {
549 compatible = "shared-dma-pool";
550 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
551 reusable;
552 alignment = <0x0 0x400000>;
Tharun Kumar Merugu9bf49d72018-12-21 02:33:10 +0530553 size = <0x0 0xC00000>;
554 };
555
556 sdsp_mem: sdsp_region {
557 compatible = "shared-dma-pool";
558 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
559 reusable;
560 alignment = <0x0 0x400000>;
561 size = <0x0 0x800000>;
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +0530562 };
563
George Shen9c54c662018-12-26 15:50:11 -0800564 cdsp_mem: cdsp_region {
565 compatible = "shared-dma-pool";
566 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
567 reusable;
568 alignment = <0x0 0x400000>;
569 size = <0x0 0x400000>;
570 };
571
Tingwei Zhangd9b535f2018-12-03 19:14:06 -0800572 dump_mem: mem_dump_region {
573 compatible = "shared-dma-pool";
Swathi Sridhar08b670b2019-01-16 17:05:24 -0800574 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
Tingwei Zhangd9b535f2018-12-03 19:14:06 -0800575 reusable;
576 size = <0 0x2400000>;
577 };
578
Zhen Kong284c9f02018-11-06 12:00:30 -0800579 qseecom_mem: qseecom_region {
580 compatible = "shared-dma-pool";
581 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
582 reusable;
583 alignment = <0x0 0x400000>;
584 size = <0x0 0x1400000>;
585 };
586
587 qseecom_ta_mem: qseecom_ta_region {
588 compatible = "shared-dma-pool";
589 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
590 reusable;
591 alignment = <0x0 0x400000>;
592 size = <0x0 0x1000000>;
593 };
594
Swathi Sridhara79a9542018-06-21 11:40:44 -0700595 /* global autoconfigured region for contiguous allocations */
596 linux,cma {
597 compatible = "shared-dma-pool";
598 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
599 reusable;
600 alignment = <0x0 0x400000>;
601 size = <0x0 0x2000000>;
602 linux,cma-default;
603 };
Vikram Panduranga5bbf75a2019-01-17 19:26:52 -0800604
605 mailbox_mem: mailbox_region {
606 compatible = "shared-dma-pool";
607 no-map;
608 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
609 alignment = <0x0 0x400000>;
610 size = <0x0 0x20000>;
611 };
Swathi Sridhara79a9542018-06-21 11:40:44 -0700612 };
Bruce Levyc5eb1992019-01-11 12:09:18 -0800613
614 vendor: vendor {
615 #address-cells = <1>;
616 #size-cells = <1>;
617 ranges = <0 0 0 0xffffffff>;
618 compatible = "simple-bus";
619 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700620};
621
622&soc {
623 #address-cells = <1>;
624 #size-cells = <1>;
625 ranges = <0 0 0 0xffffffff>;
626 compatible = "simple-bus";
627
David Collins692dff72018-11-12 17:09:49 -0800628 thermal_zones: thermal-zones {
629 };
630
Dilip Kotaab8bf962018-12-26 12:12:22 +0530631 slim_aud: slim@3ac0000 {
632 cell-index = <1>;
633 compatible = "qcom,slim-ngd";
634 reg = <0x3ac0000 0x2c000>,
635 <0x3a84000 0x2c000>;
636 reg-names = "slimbus_physical", "slimbus_bam_physical";
Rishabh Bhatnagar7ef15882019-01-22 11:02:09 -0800637 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
638 <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
Dilip Kotaab8bf962018-12-26 12:12:22 +0530639 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
640 qcom,apps-ch-pipes = <0x700000>;
641 qcom,ea-pc = <0x2d0>;
Mahesh Kumar Sharmab8e62662019-01-17 16:16:22 -0800642 status = "ok";
Dilip Kotaab8bf962018-12-26 12:12:22 +0530643 qcom,iommu-s1-bypass;
644
645 iommu_slim_aud_ctrl_cb: qcom,iommu_slim_ctrl_cb {
646 compatible = "qcom,iommu-slim-ctrl-cb";
647 iommus = <&apps_smmu 0x1826 0x0>,
648 <&apps_smmu 0x182f 0x0>,
649 <&apps_smmu 0x1830 0x1>;
650 status = "disabled";
651 };
Mahesh Kumar Sharmab8e62662019-01-17 16:16:22 -0800652
653 /* Slimbus Slave DT for QCA6390 */
654 btfmslim_codec: qca6390 {
655 compatible = "qcom,btfmslim_slave";
656 elemental-addr = [00 01 20 02 17 02];
657 qcom,btfm-slim-ifd = "btfmslim_slave_ifd";
658 qcom,btfm-slim-ifd-elemental-addr = [00 00 20 02 17 02];
659 };
Dilip Kotaab8bf962018-12-26 12:12:22 +0530660 };
661
Runmin Wang4f5985b2017-04-19 15:55:12 -0700662 intc: interrupt-controller@17a00000 {
663 compatible = "arm,gic-v3";
664 #interrupt-cells = <3>;
665 interrupt-controller;
666 #redistributor-regions = <1>;
667 redistributor-stride = <0x0 0x20000>;
668 reg = <0x17a00000 0x10000>, /* GICD */
669 <0x17a60000 0x100000>; /* GICR * 8 */
670 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
671 };
672
Rishabh Bhatnagarfd73eb12018-09-04 15:00:46 -0700673 qcom,chd_silver {
674 compatible = "qcom,core-hang-detect";
675 label = "silver";
676 qcom,threshold-arr = <0x18000058 0x18010058
677 0x18020058 0x18030058>;
678 qcom,config-arr = <0x18000060 0x18010060
679 0x18020060 0x18030060>;
680 };
681
682 qcom,chd_gold {
683 compatible = "qcom,core-hang-detect";
684 label = "gold";
685 qcom,threshold-arr = <0x18040058 0x18050058
686 0x18060058 0x18070058>;
687 qcom,config-arr = <0x18040060 0x18050060
688 0x18060060 0x18070060>;
689 };
690
Rishabh Bhatnagar8f0dd4b2018-08-07 11:07:40 -0700691 cache-controller@9200000 {
692 compatible = "qcom,kona-llcc";
693 reg = <0x9200000 0x1d0000> , <0x9600000 0x50000>;
694 reg-names = "llcc_base", "llcc_broadcast_base";
Channagoud Kadabia13ed0a2018-09-26 16:10:35 -0700695 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
Rishabh Bhatnagar2e49cd3a2019-01-16 12:03:36 -0800696 cap-based-alloc-and-pwr-collapse;
Rishabh Bhatnagar8f0dd4b2018-08-07 11:07:40 -0700697 };
698
Rishabh Bhatnagarc6970a02018-09-04 16:43:43 -0700699 wdog: qcom,wdt@17c10000 {
700 compatible = "qcom,msm-watchdog";
701 reg = <0x17c10000 0x1000>;
702 reg-names = "wdt-base";
703 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
704 <0 1 IRQ_TYPE_LEVEL_HIGH>;
705 qcom,bark-time = <11000>;
706 qcom,pet-time = <9360>;
707 qcom,wakeup-enable;
708 qcom,scandump-sizes = <0x10100 0x10100 0x10100 0x10100
709 0x18100 0x18100 0x18100 0x18100>;
710 status = "disabled";
711 };
712
Maria Neptune5a1428b2018-08-29 13:25:19 -0700713 arch_timer: timer {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700714 compatible = "arm,armv8-timer";
715 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
716 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
717 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
718 <GIC_PPI 12 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
719 clock-frequency = <19200000>;
720 };
721
Maria Neptune5a1428b2018-08-29 13:25:19 -0700722 memtimer: timer@17c20000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700723 #address-cells = <1>;
724 #size-cells = <1>;
725 ranges;
726 compatible = "arm,armv7-timer-mem";
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700727 reg = <0x17c20000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700728 clock-frequency = <19200000>;
729
Maria Neptune5a1428b2018-08-29 13:25:19 -0700730 frame@17c21000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700731 frame-number = <0>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700732 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
Runmin Wang4f5985b2017-04-19 15:55:12 -0700733 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700734 reg = <0x17c21000 0x1000>,
735 <0x17c22000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700736 };
737
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700738 frame@17c23000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700739 frame-number = <1>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700740 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
741 reg = <0x17c23000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700742 status = "disabled";
743 };
744
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700745 frame@17c25000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700746 frame-number = <2>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700747 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
748 reg = <0x17c25000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700749 status = "disabled";
750 };
751
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700752 frame@17c27000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700753 frame-number = <3>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700754 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
755 reg = <0x17c27000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700756 status = "disabled";
757 };
758
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700759 frame@17c29000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700760 frame-number = <4>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700761 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
762 reg = <0x17c29000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700763 status = "disabled";
764 };
765
Maria Neptune5a1428b2018-08-29 13:25:19 -0700766 frame@17c2b000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700767 frame-number = <5>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700768 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
769 reg = <0x17c2b000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700770 status = "disabled";
771 };
772
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700773 frame@17c2d000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700774 frame-number = <6>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700775 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
776 reg = <0x17c2d000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700777 status = "disabled";
778 };
779 };
Deepak Katragadda5bbf8142018-06-20 16:12:13 -0700780
Tingwei Zhang020594a2018-11-27 21:58:09 -0800781 jtag_mm0: jtagmm@7040000 {
782 compatible = "qcom,jtagv8-mm";
783 reg = <0x7040000 0x1000>;
784 reg-names = "etm-base";
785
786 clocks = <&clock_aop QDSS_CLK>;
787 clock-names = "core_clk";
788
789 qcom,coresight-jtagmm-cpu = <&CPU0>;
790 };
791
792 jtag_mm1: jtagmm@7140000 {
793 compatible = "qcom,jtagv8-mm";
794 reg = <0x7140000 0x1000>;
795 reg-names = "etm-base";
796
797 clocks = <&clock_aop QDSS_CLK>;
798 clock-names = "core_clk";
799
800 qcom,coresight-jtagmm-cpu = <&CPU1>;
801 };
802
803 jtag_mm2: jtagmm@7240000 {
804 compatible = "qcom,jtagv8-mm";
805 reg = <0x7240000 0x1000>;
806 reg-names = "etm-base";
807
808 clocks = <&clock_aop QDSS_CLK>;
809 clock-names = "core_clk";
810
811 qcom,coresight-jtagmm-cpu = <&CPU2>;
812 };
813
814 jtag_mm3: jtagmm@7340000 {
815 compatible = "qcom,jtagv8-mm";
816 reg = <0x7340000 0x1000>;
817 reg-names = "etm-base";
818
819 clocks = <&clock_aop QDSS_CLK>;
820 clock-names = "core_clk";
821
822 qcom,coresight-jtagmm-cpu = <&CPU3>;
823 };
824
825 jtag_mm4: jtagmm@7440000 {
826 compatible = "qcom,jtagv8-mm";
827 reg = <0x7440000 0x1000>;
828 reg-names = "etm-base";
829
830 clocks = <&clock_aop QDSS_CLK>;
831 clock-names = "core_clk";
832
833 qcom,coresight-jtagmm-cpu = <&CPU4>;
834 };
835
836 jtag_mm5: jtagmm@7540000 {
837 compatible = "qcom,jtagv8-mm";
838 reg = <0x7540000 0x1000>;
839 reg-names = "etm-base";
840
841 clocks = <&clock_aop QDSS_CLK>;
842 clock-names = "core_clk";
843
844 qcom,coresight-jtagmm-cpu = <&CPU5>;
845 };
846
847 jtag_mm6: jtagmm@7640000 {
848 compatible = "qcom,jtagv8-mm";
849 reg = <0x7640000 0x1000>;
850 reg-names = "etm-base";
851
852 clocks = <&clock_aop QDSS_CLK>;
853 clock-names = "core_clk";
854
855 qcom,coresight-jtagmm-cpu = <&CPU6>;
856 };
857
858 jtag_mm7: jtagmm@7740000 {
859 compatible = "qcom,jtagv8-mm";
860 reg = <0x7740000 0x1000>;
861 reg-names = "etm-base";
862
863 clocks = <&clock_aop QDSS_CLK>;
864 clock-names = "core_clk";
865
866 qcom,coresight-jtagmm-cpu = <&CPU7>;
867 };
868
David Dai3c427802018-10-17 14:40:08 -0700869 qcom,devfreq-l3 {
870 compatible = "qcom,devfreq-fw";
871 reg = <0x18590000 0x4>, <0x18590100 0xa0>, <0x18590320 0x4>;
872 reg-names = "en-base", "ftbl-base", "perf-base";
873
874 qcom,cpu0-l3 {
875 compatible = "qcom,devfreq-fw-voter";
876 };
877
878 qcom,cpu4-l3 {
879 compatible = "qcom,devfreq-fw-voter";
880 };
881 };
882
Chinmay Sawarkare5d4b862019-01-07 15:54:39 -0800883 venus_bus_cnoc_bw_table: bus-cnoc-bw-table {
884 compatible = "operating-points-v2";
885 BW_OPP_ENTRY( 200, 4);
886 };
887
Rama Aparna Mallavarapu5a7daf42019-01-14 22:08:20 -0800888 llcc_bw_opp_table: llcc-bw-opp-table {
889 compatible = "operating-points-v2";
890 BW_OPP_ENTRY( 150, 16); /* 2288 MB/s */
891 BW_OPP_ENTRY( 300, 16); /* 4577 MB/s */
892 BW_OPP_ENTRY( 466, 16); /* 7110 MB/s */
893 BW_OPP_ENTRY( 600, 16); /* 9155 MB/s */
894 BW_OPP_ENTRY( 806, 16); /* 12298 MB/s */
895 BW_OPP_ENTRY( 933, 16); /* 14236 MB/s */
896 BW_OPP_ENTRY( 1000, 16); /* 15258 MB/s */
897 };
898
899 ddr_bw_opp_table: ddr-bw-opp-table {
900 compatible = "operating-points-v2";
901 BW_OPP_ENTRY( 200, 4); /* 762 MB/s */
902 BW_OPP_ENTRY( 300, 4); /* 1144 MB/s */
903 BW_OPP_ENTRY( 451, 4); /* 1720 MB/s */
904 BW_OPP_ENTRY( 547, 4); /* 2086 MB/s */
905 BW_OPP_ENTRY( 681, 4); /* 2597 MB/s */
906 BW_OPP_ENTRY( 768, 4); /* 2929 MB/s */
907 BW_OPP_ENTRY( 1017, 4); /* 3879 MB/s */
908 BW_OPP_ENTRY( 1353, 4); /* 5161 MB/s */
909 BW_OPP_ENTRY( 1555, 4); /* 5931 MB/s */
910 BW_OPP_ENTRY( 2092, 4); /* 7980 MB/s */
911 BW_OPP_ENTRY( 2736, 4); /* 10437 MB/s */
912 };
913
914 suspendable_ddr_bw_opp_table: suspendable-ddr-bw-opp-table {
915 compatible = "operating-points-v2";
916 BW_OPP_ENTRY( 0, 4); /* 0 MB/s */
917 BW_OPP_ENTRY( 200, 4); /* 762 MB/s */
918 BW_OPP_ENTRY( 300, 4); /* 1144 MB/s */
919 BW_OPP_ENTRY( 451, 4); /* 1720 MB/s */
920 BW_OPP_ENTRY( 547, 4); /* 2086 MB/s */
921 BW_OPP_ENTRY( 681, 4); /* 2597 MB/s */
922 BW_OPP_ENTRY( 768, 4); /* 2929 MB/s */
923 BW_OPP_ENTRY( 1017, 4); /* 3879 MB/s */
924 BW_OPP_ENTRY( 1353, 4); /* 5161 MB/s */
925 BW_OPP_ENTRY( 1555, 4); /* 5931 MB/s */
926 BW_OPP_ENTRY( 2092, 4); /* 7980 MB/s */
927 BW_OPP_ENTRY( 2736, 4); /* 10437 MB/s */
928 };
929
Rishabh Bhatnagarf35ba022018-09-18 15:17:22 -0700930 qcom,msm-imem@146bf000 {
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700931 compatible = "qcom,msm-imem";
932 reg = <0x146bf000 0x1000>;
933 ranges = <0x0 0x146bf000 0x1000>;
934 #address-cells = <1>;
935 #size-cells = <1>;
936
Tingwei Zhangd9b535f2018-12-03 19:14:06 -0800937 mem_dump_table@10 {
938 compatible = "qcom,msm-imem-mem_dump_table";
939 reg = <0x10 0x8>;
940 };
941
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700942 restart_reason@65c {
943 compatible = "qcom,msm-imem-restart_reason";
Maria Neptune5a1428b2018-08-29 13:25:19 -0700944 reg = <0x65c 0x4>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700945 };
946
947 dload_type@1c {
948 compatible = "qcom,msm-imem-dload-type";
949 reg = <0x1c 0x4>;
950 };
951
952 boot_stats@6b0 {
953 compatible = "qcom,msm-imem-boot_stats";
Maria Neptune5a1428b2018-08-29 13:25:19 -0700954 reg = <0x6b0 0x20>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700955 };
956
957 kaslr_offset@6d0 {
958 compatible = "qcom,msm-imem-kaslr_offset";
Maria Neptune5a1428b2018-08-29 13:25:19 -0700959 reg = <0x6d0 0xc>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700960 };
961
962 pil@94c {
963 compatible = "qcom,msm-imem-pil";
Maria Neptune5a1428b2018-08-29 13:25:19 -0700964 reg = <0x94c 0xc8>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700965 };
Hemant Kumarca399682019-01-25 14:51:13 -0800966
967 diag_dload@c8 {
968 compatible = "qcom,msm-imem-diag-dload";
969 reg = <0xc8 0xc8>;
970 };
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700971 };
972
Rishabh Bhatnagar811170f2018-11-09 13:44:32 -0800973 restart@c264000 {
974 compatible = "qcom,pshold";
975 reg = <0xc264000 0x4>,
976 <0x1fd3000 0x4>;
977 reg-names = "pshold-base", "tcsr-boot-misc-detect";
978 };
979
Zhen Kong284c9f02018-11-06 12:00:30 -0800980 dcc: dcc_v2@1023000 {
981 compatible = "qcom,dcc-v2";
982 reg = <0x1023000 0x1000>,
983 <0x103a000 0x6000>;
984 reg-names = "dcc-base", "dcc-ram-base";
985
986 dcc-ram-offset = <0x1a000>;
987 };
988
989 qcom_seecom: qseecom@82200000 {
990 compatible = "qcom,qseecom";
991 reg = <0x82200000 0x2200000>;
992 reg-names = "secapp-region";
993 memory-region = <&qseecom_mem>;
994 qcom,hlos-num-ce-hw-instances = <1>;
995 qcom,hlos-ce-hw-instance = <0>;
996 qcom,qsee-ce-hw-instance = <0>;
997 qcom,disk-encrypt-pipe-pair = <2>;
998 qcom,support-fde;
999 qcom,no-clock-support;
1000 qcom,fde-key-size;
Zhen Kong84997022019-01-29 12:52:21 -08001001 qcom,appsbl-qseecom-support;
Zhen Kong284c9f02018-11-06 12:00:30 -08001002 qcom,commonlib64-loaded-by-uefi;
1003 qcom,qsee-reentrancy-support = <2>;
1004 };
1005
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -07001006 mdm0: qcom,mdm0 {
Rishabh Bhatnagar134ede82018-10-16 10:54:12 -07001007 compatible = "qcom,ext-sdx55m";
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -07001008 cell-index = <0>;
1009 #address-cells = <0>;
1010 interrupt-parent = <&mdm0>;
1011 #interrupt-cells = <1>;
1012 interrupt-map-mask = <0xffffffff>;
1013 interrupt-names =
1014 "err_fatal_irq",
1015 "status_irq",
1016 "mdm2ap_vddmin_irq";
1017 /* modem attributes */
1018 qcom,ramdump-delay-ms = <3000>;
1019 qcom,ramdump-timeout-ms = <120000>;
1020 qcom,vddmin-modes = "normal";
1021 qcom,vddmin-drive-strength = <8>;
1022 qcom,sfr-query;
1023 qcom,sysmon-id = <20>;
1024 qcom,ssctl-instance-id = <0x10>;
1025 qcom,support-shutdown;
1026 qcom,pil-force-shutdown;
1027 qcom,esoc-skip-restart-for-mdm-crash;
Rishabh Bhatnagar632f3262019-01-25 10:30:36 -08001028 qcom,esoc-spmi-soft-reset;
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -07001029 pinctrl-names = "default", "mdm_active", "mdm_suspend";
1030 pinctrl-0 = <&ap2mdm_pon_reset_default>;
1031 pinctrl-1 = <&ap2mdm_active &mdm2ap_active>;
1032 pinctrl-2 = <&ap2mdm_sleep &mdm2ap_sleep>;
1033 interrupt-map = <0 &tlmm 1 0x3
1034 1 &tlmm 3 0x3>;
1035 qcom,mdm2ap-errfatal-gpio = <&tlmm 1 0x00>;
1036 qcom,ap2mdm-errfatal-gpio = <&tlmm 57 0x00>;
1037 qcom,mdm2ap-status-gpio = <&tlmm 3 0x00>;
1038 qcom,ap2mdm-status-gpio = <&tlmm 56 0x00>;
Rishabh Bhatnagar2b66dc12018-10-18 10:36:27 -07001039 qcom,ap2mdm-soft-reset-gpio = <&tlmm 145 GPIO_ACTIVE_LOW>;
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -07001040 qcom,mdm-link-info = "0306_02.01.00";
1041 status = "ok";
1042 };
1043
Lina Iyer8551c792018-06-21 16:06:53 -06001044 pdc: interrupt-controller@b220000 {
1045 compatible = "qcom,kona-pdc";
1046 reg = <0xb220000 0x30000>;
1047 qcom,pdc-ranges = <0 480 29>, <42 522 52>, <94 609 30>;
1048 #interrupt-cells = <2>;
1049 interrupt-parent = <&intc>;
1050 interrupt-controller;
1051 };
1052
Vivek Aknurwar65bafd92018-11-01 17:27:53 -07001053 clocks {
David Daiee6a9d62019-01-10 17:14:04 -08001054 xo_board: xo-board {
1055 compatible = "fixed-clock";
1056 #clock-cells = <0>;
1057 clock-frequency = <38400000>;
1058 clock-output-names = "xo_board";
1059 };
1060
Vivek Aknurwar65bafd92018-11-01 17:27:53 -07001061 sleep_clk: sleep-clk {
1062 compatible = "fixed-clock";
1063 clock-frequency = <32000>;
1064 clock-output-names = "chip_sleep_clk";
1065 #clock-cells = <1>;
1066 };
1067 };
1068
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001069 clock_aop: qcom,aopclk {
1070 compatible = "qcom,dummycc";
1071 clock-output-names = "qdss_clocks";
1072 #clock-cells = <1>;
1073 };
1074
Vivek Aknurwar7e9ecb92018-09-07 14:27:58 -07001075 clock_gcc: qcom,gcc@100000 {
David Dai7e431ad2018-12-05 15:37:39 -08001076 compatible = "qcom,gcc-kona", "syscon";
Vivek Aknurwar7e9ecb92018-09-07 14:27:58 -07001077 reg = <0x100000 0x1f0000>;
1078 reg-names = "cc_base";
1079 vdd_cx-supply = <&VDD_CX_LEVEL>;
1080 vdd_cx_ao-supply = <&VDD_CX_LEVEL_AO>;
1081 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001082 #clock-cells = <1>;
1083 #reset-cells = <1>;
1084 };
1085
David Collins4eb34f32018-12-06 11:51:01 -08001086 clock_npucc: qcom,npucc@9980000 {
1087 compatible = "qcom,npucc-kona", "syscon";
1088 reg = <0x9980000 0x10000>,
1089 <0x9800000 0x10000>,
1090 <0x9810000 0x10000>;
1091 reg-names = "cc", "qdsp6ss", "qdsp6ss_pll";
1092 vdd_cx-supply = <&VDD_CX_LEVEL>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001093 #clock-cells = <1>;
1094 #reset-cells = <1>;
1095 };
1096
Vivek Aknurwar65bafd92018-11-01 17:27:53 -07001097 clock_videocc: qcom,videocc@abf0000 {
1098 compatible = "qcom,videocc-kona", "syscon";
1099 reg = <0xabf0000 0x10000>;
1100 reg-names = "cc_base";
1101 vdd_mx-supply = <&VDD_MX_LEVEL>;
1102 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
1103 clock-names = "cfg_ahb_clk";
1104 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001105 #clock-cells = <1>;
1106 #reset-cells = <1>;
1107 };
1108
Vivek Aknurwar86452c02018-11-05 15:20:31 -08001109 clock_camcc: qcom,camcc@ad00000 {
1110 compatible = "qcom,camcc-kona", "syscon";
1111 reg = <0xad00000 0x10000>;
1112 reg-names = "cc_base";
1113 vdd_mx-supply = <&VDD_MX_LEVEL>;
1114 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
1115 clock-names = "cfg_ahb_clk";
1116 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001117 #clock-cells = <1>;
1118 #reset-cells = <1>;
1119 };
1120
David Daidc93e482018-11-27 17:32:50 -08001121 clock_dispcc: qcom,dispcc@af00000 {
David Dai7e431ad2018-12-05 15:37:39 -08001122 compatible = "qcom,kona-dispcc", "syscon";
David Daidc93e482018-11-27 17:32:50 -08001123 reg = <0xaf00000 0x20000>;
1124 reg-names = "cc_base";
1125 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
1126 clock-names = "cfg_ahb_clk";
1127 clocks = <&clock_gcc GCC_DISP_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001128 #clock-cells = <1>;
1129 #reset-cells = <1>;
1130 };
1131
Vivek Aknurwar31c2e0f22018-11-16 17:10:12 -08001132 clock_gpucc: qcom,gpucc@3d90000 {
1133 compatible = "qcom,gpucc-kona", "syscon";
1134 reg = <0x3d90000 0x9000>;
1135 reg-names = "cc_base";
1136 vdd_cx-supply = <&VDD_CX_LEVEL>;
1137 vdd_mx-supply = <&VDD_MX_LEVEL>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001138 #clock-cells = <1>;
1139 #reset-cells = <1>;
1140 };
1141
1142 clock_cpucc: qcom,cpucc {
1143 compatible = "qcom,dummycc";
1144 clock-output-names = "cpucc_clocks";
1145 #clock-cells = <1>;
1146 };
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -07001147
David Dai7e431ad2018-12-05 15:37:39 -08001148 clock_debugcc: qcom,cc-debug {
1149 compatible = "qcom,kona-debugcc";
1150 qcom,gcc = <&clock_gcc>;
1151 qcom,videocc = <&clock_videocc>;
1152 qcom,dispcc = <&clock_dispcc>;
1153 qcom,camcc = <&clock_camcc>;
1154 qcom,gpucc = <&clock_gpucc>;
David Collins4eb34f32018-12-06 11:51:01 -08001155 qcom,npucc = <&clock_npucc>;
David Dai7e431ad2018-12-05 15:37:39 -08001156 clock-names = "xo_clk_src";
David Daiee6a9d62019-01-10 17:14:04 -08001157 clocks = <&clock_rpmh RPMH_CXO_CLK>;
David Dai7e431ad2018-12-05 15:37:39 -08001158 #clock-cells = <1>;
1159 };
1160
David Collinsa86302c2018-09-17 14:16:50 -07001161 /* GCC GDSCs */
1162 pcie_0_gdsc: qcom,gdsc@16b004 {
1163 compatible = "qcom,gdsc";
1164 reg = <0x16b004 0x4>;
1165 regulator-name = "pcie_0_gdsc";
1166 };
1167
1168 pcie_1_gdsc: qcom,gdsc@18d004 {
1169 compatible = "qcom,gdsc";
1170 reg = <0x18d004 0x4>;
1171 regulator-name = "pcie_1_gdsc";
1172 };
1173
1174 pcie_2_gdsc: qcom,gdsc@106004 {
1175 compatible = "qcom,gdsc";
1176 reg = <0x106004 0x4>;
1177 regulator-name = "pcie_2_gdsc";
1178 };
1179
1180 ufs_card_gdsc: qcom,gdsc@175004 {
1181 compatible = "qcom,gdsc";
1182 reg = <0x175004 0x4>;
1183 regulator-name = "ufs_card_gdsc";
1184 };
1185
1186 ufs_phy_gdsc: qcom,gdsc@177004 {
1187 compatible = "qcom,gdsc";
1188 reg = <0x177004 0x4>;
1189 regulator-name = "ufs_phy_gdsc";
1190 };
1191
1192 usb30_prim_gdsc: qcom,gdsc@10f004 {
1193 compatible = "qcom,gdsc";
1194 reg = <0x10f004 0x4>;
1195 regulator-name = "usb30_prim_gdsc";
1196 };
1197
1198 usb30_sec_gdsc: qcom,gdsc@110004 {
1199 compatible = "qcom,gdsc";
1200 reg = <0x110004 0x4>;
1201 regulator-name = "usb30_sec_gdsc";
1202 };
1203
1204 hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc: qcom,gdsc@17d050 {
1205 compatible = "qcom,gdsc";
1206 reg = <0x17d050 0x4>;
1207 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc";
1208 qcom,no-status-check-on-disable;
1209 qcom,gds-timeout = <500>;
1210 };
1211
1212 hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc: qcom,gdsc@17d058 {
1213 compatible = "qcom,gdsc";
1214 reg = <0x17d058 0x4>;
1215 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc";
1216 qcom,no-status-check-on-disable;
1217 qcom,gds-timeout = <500>;
1218 };
1219
1220 hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc: qcom,gdsc@17d054 {
1221 compatible = "qcom,gdsc";
1222 reg = <0x17d054 0x4>;
1223 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc";
1224 qcom,no-status-check-on-disable;
1225 qcom,gds-timeout = <500>;
1226 };
1227
1228 hlos1_vote_mmnoc_mmu_tbu_sf1_gdsc: qcom,gdsc@17d06c {
1229 compatible = "qcom,gdsc";
1230 reg = <0x17d06c 0x4>;
1231 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf1_gdsc";
1232 qcom,no-status-check-on-disable;
1233 qcom,gds-timeout = <500>;
1234 };
1235
1236 /* CAM_CC GDSCs */
1237 bps_gdsc: qcom,gdsc@ad07004 {
1238 compatible = "qcom,gdsc";
1239 reg = <0xad07004 0x4>;
1240 regulator-name = "bps_gdsc";
1241 clock-names = "ahb_clk";
1242 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1243 parent-supply = <&VDD_MMCX_LEVEL>;
1244 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1245 qcom,support-hw-trigger;
1246 };
1247
1248 ife_0_gdsc: qcom,gdsc@ad0a004 {
1249 compatible = "qcom,gdsc";
1250 reg = <0xad0a004 0x4>;
1251 regulator-name = "ife_0_gdsc";
1252 clock-names = "ahb_clk";
1253 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1254 parent-supply = <&VDD_MMCX_LEVEL>;
1255 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1256 };
1257
1258 ife_1_gdsc: qcom,gdsc@ad0b004 {
1259 compatible = "qcom,gdsc";
1260 reg = <0xad0b004 0x4>;
1261 regulator-name = "ife_1_gdsc";
1262 clock-names = "ahb_clk";
1263 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1264 parent-supply = <&VDD_MMCX_LEVEL>;
1265 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1266 };
1267
1268 ipe_0_gdsc: qcom,gdsc@ad08004 {
1269 compatible = "qcom,gdsc";
1270 reg = <0xad08004 0x4>;
1271 regulator-name = "ipe_0_gdsc";
1272 clock-names = "ahb_clk";
1273 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1274 parent-supply = <&VDD_MMCX_LEVEL>;
1275 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1276 qcom,support-hw-trigger;
1277 };
1278
1279 sbi_gdsc: qcom,gdsc@ad09004 {
1280 compatible = "qcom,gdsc";
1281 reg = <0xad09004 0x4>;
1282 regulator-name = "sbi_gdsc";
1283 clock-names = "ahb_clk";
1284 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1285 parent-supply = <&VDD_MMCX_LEVEL>;
1286 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1287 };
1288
1289 titan_top_gdsc: qcom,gdsc@ad0c144 {
1290 compatible = "qcom,gdsc";
1291 reg = <0xad0c144 0x4>;
1292 regulator-name = "titan_top_gdsc";
1293 clock-names = "ahb_clk";
1294 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1295 parent-supply = <&VDD_MMCX_LEVEL>;
1296 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1297 };
1298
1299 /* DISP_CC GDSC */
1300 mdss_core_gdsc: qcom,gdsc@af03000 {
1301 compatible = "qcom,gdsc";
1302 reg = <0xaf03000 0x4>;
1303 regulator-name = "mdss_core_gdsc";
1304 clock-names = "ahb_clk";
1305 clocks = <&clock_gcc GCC_DISP_AHB_CLK>;
1306 parent-supply = <&VDD_MMCX_LEVEL>;
1307 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1308 qcom,support-hw-trigger;
1309 };
1310
1311 /* GPU_CC GDSCs */
1312 gpu_cx_hw_ctrl: syscon@3d91540 {
1313 compatible = "syscon";
1314 reg = <0x3d91540 0x4>;
1315 };
1316
1317 gpu_cx_gdsc: qcom,gdsc@3d9106c {
1318 compatible = "qcom,gdsc";
1319 reg = <0x3d9106c 0x4>;
1320 regulator-name = "gpu_cx_gdsc";
1321 hw-ctrl-addr = <&gpu_cx_hw_ctrl>;
1322 parent-supply = <&VDD_CX_LEVEL>;
1323 qcom,no-status-check-on-disable;
1324 qcom,clk-dis-wait-val = <8>;
1325 qcom,gds-timeout = <500>;
1326 };
1327
David Collinsd7eea142018-10-08 17:32:48 -07001328 gpu_gx_domain_addr: syscon@3d91508 {
David Collinsa86302c2018-09-17 14:16:50 -07001329 compatible = "syscon";
1330 reg = <0x3d91508 0x4>;
1331 };
1332
David Collinsd7eea142018-10-08 17:32:48 -07001333 gpu_gx_sw_reset: syscon@3d91008 {
David Collinsa86302c2018-09-17 14:16:50 -07001334 compatible = "syscon";
1335 reg = <0x3d91008 0x4>;
1336 };
1337
1338 gpu_gx_gdsc: qcom,gdsc@3d9100c {
1339 compatible = "qcom,gdsc";
1340 reg = <0x3d9100c 0x4>;
1341 regulator-name = "gpu_gx_gdsc";
1342 domain-addr = <&gpu_gx_domain_addr>;
1343 sw-reset = <&gpu_gx_sw_reset>;
1344 parent-supply = <&VDD_GFX_LEVEL>;
1345 vdd_parent-supply = <&VDD_GFX_LEVEL>;
1346 qcom,reset-aon-logic;
1347 };
1348
1349 /* NPU GDSC */
1350 npu_core_gdsc: qcom,gdsc@9981004 {
1351 compatible = "qcom,gdsc";
1352 reg = <0x9981004 0x4>;
1353 regulator-name = "npu_core_gdsc";
1354 clock-names = "ahb_clk";
1355 clocks = <&clock_gcc GCC_NPU_CFG_AHB_CLK>;
1356 };
1357
Jishnu Prakash793bf5b2018-11-09 16:28:55 +05301358 qcom,sps {
1359 compatible = "qcom,msm-sps-4k";
1360 qcom,pipe-attr-ee;
1361 };
1362
David Collinsa86302c2018-09-17 14:16:50 -07001363 /* VIDEO_CC GDSCs */
1364 mvs0_gdsc: qcom,gdsc@abf0d18 {
1365 compatible = "qcom,gdsc";
1366 reg = <0xabf0d18 0x4>;
1367 regulator-name = "mvs0_gdsc";
1368 clock-names = "ahb_clk";
1369 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1370 parent-supply = <&VDD_MMCX_LEVEL>;
1371 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1372 };
1373
1374 mvs0c_gdsc: qcom,gdsc@abf0bf8 {
1375 compatible = "qcom,gdsc";
1376 reg = <0xabf0bf8 0x4>;
1377 regulator-name = "mvs0c_gdsc";
1378 clock-names = "ahb_clk";
1379 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1380 parent-supply = <&VDD_MMCX_LEVEL>;
1381 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1382 };
1383
1384 mvs1_gdsc: qcom,gdsc@abf0d98 {
1385 compatible = "qcom,gdsc";
1386 reg = <0xabf0d98 0x4>;
1387 regulator-name = "mvs1_gdsc";
1388 clock-names = "ahb_clk";
1389 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1390 parent-supply = <&VDD_MMCX_LEVEL>;
1391 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1392 };
1393
1394 mvs1c_gdsc: qcom,gdsc@abf0c98 {
1395 compatible = "qcom,gdsc";
1396 reg = <0xabf0c98 0x4>;
1397 regulator-name = "mvs1c_gdsc";
1398 clock-names = "ahb_clk";
1399 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1400 parent-supply = <&VDD_MMCX_LEVEL>;
1401 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1402 };
1403
David Collinsc2c02f62018-11-05 16:23:24 -08001404 spmi_bus: qcom,spmi@c440000 {
1405 compatible = "qcom,spmi-pmic-arb";
1406 reg = <0xc440000 0x1100>,
1407 <0xc600000 0x2000000>,
1408 <0xe600000 0x100000>,
1409 <0xe700000 0xa0000>,
1410 <0xc40a000 0x26000>;
1411 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1412 interrupt-names = "periph_irq";
1413 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
1414 qcom,ee = <0>;
1415 qcom,channel = <0>;
1416 #address-cells = <2>;
1417 #size-cells = <0>;
1418 interrupt-controller;
1419 #interrupt-cells = <4>;
1420 cell-index = <0>;
1421 };
1422
Can Guob04bed52018-07-10 19:27:32 -07001423 ufsphy_mem: ufsphy_mem@1d87000 {
1424 reg = <0x1d87000 0xe00>; /* PHY regs */
1425 reg-names = "phy_mem";
1426 #phy-cells = <0>;
1427
1428 lanes-per-direction = <2>;
1429
1430 clock-names = "ref_clk_src",
1431 "ref_clk",
1432 "ref_aux_clk";
1433 clocks = <&clock_rpmh RPMH_CXO_CLK>,
Vivek Aknurwarec5c93d2018-08-28 14:52:33 -07001434 <&clock_gcc GCC_UFS_1X_CLKREF_EN>,
Can Guob04bed52018-07-10 19:27:32 -07001435 <&clock_gcc GCC_UFS_PHY_PHY_AUX_CLK>;
1436
1437 status = "disabled";
1438 };
1439
1440 ufshc_mem: ufshc@1d84000 {
1441 compatible = "qcom,ufshc";
1442 reg = <0x1d84000 0x3000>;
1443 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1444 phys = <&ufsphy_mem>;
1445 phy-names = "ufsphy";
1446
1447 lanes-per-direction = <2>;
1448 dev-ref-clk-freq = <0>; /* 19.2 MHz */
1449
1450 clock-names =
1451 "core_clk",
1452 "bus_aggr_clk",
1453 "iface_clk",
1454 "core_clk_unipro",
1455 "core_clk_ice",
1456 "ref_clk",
1457 "tx_lane0_sync_clk",
1458 "rx_lane0_sync_clk",
1459 "rx_lane1_sync_clk";
1460 clocks =
1461 <&clock_gcc GCC_UFS_PHY_AXI_CLK>,
1462 <&clock_gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1463 <&clock_gcc GCC_UFS_PHY_AHB_CLK>,
1464 <&clock_gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
1465 <&clock_gcc GCC_UFS_PHY_ICE_CORE_CLK>,
1466 <&clock_rpmh RPMH_CXO_CLK>,
1467 <&clock_gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
1468 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
1469 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
1470 freq-table-hz =
1471 <37500000 300000000>,
1472 <0 0>,
1473 <0 0>,
1474 <37500000 300000000>,
1475 <75000000 300000000>,
1476 <0 0>,
1477 <0 0>,
1478 <0 0>,
1479 <0 0>;
1480
1481 qcom,msm-bus,name = "ufshc_mem";
1482 qcom,msm-bus,num-cases = <22>;
1483 qcom,msm-bus,num-paths = <2>;
1484 qcom,msm-bus,vectors-KBps =
1485 /*
1486 * During HS G3 UFS runs at nominal voltage corner, vote
1487 * higher bandwidth to push other buses in the data path
1488 * to run at nominal to achieve max throughput.
1489 * 4GBps pushes BIMC to run at nominal.
1490 * 200MBps pushes CNOC to run at nominal.
1491 * Vote for half of this bandwidth for HS G3 1-lane.
1492 * For max bandwidth, vote high enough to push the buses
1493 * to run in turbo voltage corner.
1494 */
1495 <123 512 0 0>, <1 757 0 0>, /* No vote */
1496 <123 512 922 0>, <1 757 1000 0>, /* PWM G1 */
1497 <123 512 1844 0>, <1 757 1000 0>, /* PWM G2 */
1498 <123 512 3688 0>, <1 757 1000 0>, /* PWM G3 */
1499 <123 512 7376 0>, <1 757 1000 0>, /* PWM G4 */
1500 <123 512 1844 0>, <1 757 1000 0>, /* PWM G1 L2 */
1501 <123 512 3688 0>, <1 757 1000 0>, /* PWM G2 L2 */
1502 <123 512 7376 0>, <1 757 1000 0>, /* PWM G3 L2 */
1503 <123 512 14752 0>, <1 757 1000 0>, /* PWM G4 L2 */
1504 <123 512 127796 0>, <1 757 1000 0>, /* HS G1 RA */
1505 <123 512 255591 0>, <1 757 1000 0>, /* HS G2 RA */
1506 <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RA */
1507 <123 512 255591 0>, <1 757 1000 0>, /* HS G1 RA L2 */
1508 <123 512 511181 0>, <1 757 1000 0>, /* HS G2 RA L2 */
1509 <123 512 4194304 0>, <1 757 204800 0>, /* HS G3 RA L2 */
1510 <123 512 149422 0>, <1 757 1000 0>, /* HS G1 RB */
1511 <123 512 298189 0>, <1 757 1000 0>, /* HS G2 RB */
1512 <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RB */
1513 <123 512 298189 0>, <1 757 1000 0>, /* HS G1 RB L2 */
1514 <123 512 596378 0>, <1 757 1000 0>, /* HS G2 RB L2 */
1515 /* As UFS working in HS G3 RB L2 mode, aggregated
1516 * bandwidth (AB) should take care of providing
1517 * optimum throughput requested. However, as tested,
1518 * in order to scale up CNOC clock, instantaneous
1519 * bindwidth (IB) needs to be given a proper value too.
1520 */
1521 <123 512 4194304 0>, <1 757 204800 409600>, /* HS G3 RB L2 */
1522 <123 512 7643136 0>, <1 757 307200 0>; /* Max. bandwidth */
1523
1524 qcom,bus-vector-names = "MIN",
1525 "PWM_G1_L1", "PWM_G2_L1", "PWM_G3_L1", "PWM_G4_L1",
1526 "PWM_G1_L2", "PWM_G2_L2", "PWM_G3_L2", "PWM_G4_L2",
1527 "HS_RA_G1_L1", "HS_RA_G2_L1", "HS_RA_G3_L1",
1528 "HS_RA_G1_L2", "HS_RA_G2_L2", "HS_RA_G3_L2",
1529 "HS_RB_G1_L1", "HS_RB_G2_L1", "HS_RB_G3_L1",
1530 "HS_RB_G1_L2", "HS_RB_G2_L2", "HS_RB_G3_L2",
1531 "MAX";
1532
1533 /* PM QoS */
1534 qcom,pm-qos-cpu-groups = <0x0f 0xf0>;
1535 qcom,pm-qos-cpu-group-latency-us = <44 44>;
1536 qcom,pm-qos-default-cpu = <0>;
1537
1538 pinctrl-names = "dev-reset-assert", "dev-reset-deassert";
1539 pinctrl-0 = <&ufs_dev_reset_assert>;
1540 pinctrl-1 = <&ufs_dev_reset_deassert>;
1541
1542 resets = <&clock_gcc GCC_UFS_PHY_BCR>;
1543 reset-names = "core_reset";
1544
1545 status = "disabled";
1546 };
1547
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -07001548 ipcc_mproc: qcom,ipcc@408000 {
Neeraj Upadhyay5d7531f2019-01-16 10:25:24 -08001549 compatible = "qcom,ipcc";
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -07001550 reg = <0x408000 0x1000>;
1551 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
1552 interrupt-controller;
1553 #interrupt-cells = <3>;
1554 #mbox-cells = <2>;
1555 };
Lina Iyerea91c722018-06-20 14:58:05 -06001556
Raghavendra Rao Ananta5da54b32018-08-09 10:04:50 -07001557 ipcc_self_ping: ipcc-self-ping {
1558 compatible = "qcom,ipcc-self-ping";
1559 interrupts-extended = <&ipcc_mproc IPCC_CLIENT_APSS
1560 IPCC_MPROC_SIGNAL_SMP2P IRQ_TYPE_LEVEL_HIGH>;
1561 mboxes = <&ipcc_mproc IPCC_CLIENT_APSS IPCC_MPROC_SIGNAL_SMP2P>;
1562 };
1563
Maria Neptune5a1428b2018-08-29 13:25:19 -07001564 apps_rsc: rsc@18200000 {
Lina Iyerea91c722018-06-20 14:58:05 -06001565 label = "apps_rsc";
1566 compatible = "qcom,rpmh-rsc";
1567 reg = <0x18200000 0x10000>,
1568 <0x18210000 0x10000>,
1569 <0x18220000 0x10000>;
1570 reg-names = "drv-0", "drv-1", "drv-2";
1571 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
1572 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
1573 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1574 qcom,tcs-offset = <0xd00>;
1575 qcom,drv-id = <2>;
1576 qcom,tcs-config = <ACTIVE_TCS 2>,
1577 <SLEEP_TCS 3>,
1578 <WAKE_TCS 3>,
1579 <CONTROL_TCS 1>;
David Dai07c8d4e2018-10-09 14:22:06 -07001580
1581 msm_bus_apps_rsc {
1582 compatible = "qcom,msm-bus-rsc";
1583 qcom,msm-bus-id = <MSM_BUS_RSC_APPS>;
1584 };
Arjun Bagla76f02ef2018-09-19 10:00:29 -07001585
1586 system_pm {
1587 compatible = "qcom,system-pm";
1588 };
David Daiee6a9d62019-01-10 17:14:04 -08001589
1590 clock_rpmh: qcom,rpmhclk {
1591 compatible = "qcom,kona-rpmh-clk";
1592 #clock-cells = <1>;
1593 };
Lina Iyerea91c722018-06-20 14:58:05 -06001594 };
1595
1596 disp_rsc: rsc@af20000 {
1597 label = "disp_rsc";
1598 compatible = "qcom,rpmh-rsc";
1599 reg = <0xaf20000 0x10000>;
1600 reg-names = "drv-0";
1601 interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
1602 qcom,tcs-offset = <0x1c00>;
1603 qcom,drv-id = <0>;
1604 qcom,tcs-config = <ACTIVE_TCS 0>,
1605 <SLEEP_TCS 1>,
1606 <WAKE_TCS 1>,
1607 <CONTROL_TCS 0>;
1608 status = "disabled";
Dhaval Patelf92536a2018-10-24 13:19:15 -07001609
1610 sde_rsc_rpmh {
1611 compatible = "qcom,sde-rsc-rpmh";
1612 cell-index = <0>;
1613 status = "disabled";
1614 };
Lina Iyerea91c722018-06-20 14:58:05 -06001615 };
Chris Lew86f6bde2018-09-06 16:40:39 -07001616
1617 tcsr_mutex_block: syscon@1f40000 {
1618 compatible = "syscon";
1619 reg = <0x1f40000 0x20000>;
1620 };
1621
1622 tcsr_mutex: hwlock {
1623 compatible = "qcom,tcsr-mutex";
1624 syscon = <&tcsr_mutex_block 0 0x1000>;
1625 #hwlock-cells = <1>;
1626 };
1627
1628 smem: qcom,smem {
1629 compatible = "qcom,smem";
1630 memory-region = <&smem_mem>;
1631 hwlocks = <&tcsr_mutex 3>;
1632 };
Venkata Narendra Kumar Gutta1781e562018-10-09 14:44:10 -07001633
1634 kryo-erp {
1635 compatible = "arm,arm64-kryo-cpu-erp";
1636 interrupts = <GIC_PPI 0 IRQ_TYPE_LEVEL_HIGH>,
1637 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1638 interrupt-names = "l1-l2-faultirq",
1639 "l3-scu-faultirq";
1640 };
Chris Lew3859b1b72018-09-25 16:54:52 -07001641
Chris Lew3b1f0982018-10-05 17:28:21 -07001642 sp_scsr: mailbox@188501c {
1643 compatible = "qcom,kona-spcs-global";
1644 reg = <0x188501c 0x4>;
1645
1646 #mbox-cells = <1>;
1647 };
1648
1649 sp_scsr_block: syscon@1880000 {
1650 compatible = "syscon";
1651 reg = <0x1880000 0x10000>;
1652 };
1653
1654 intsp: qcom,qsee_irq {
1655 compatible = "qcom,kona-qsee-irq";
1656
1657 syscon = <&sp_scsr_block>;
1658 interrupts = <0 348 IRQ_TYPE_LEVEL_HIGH>,
1659 <0 349 IRQ_TYPE_LEVEL_HIGH>;
1660
1661 interrupt-names = "sp_ipc0",
1662 "sp_ipc1";
1663
1664 interrupt-controller;
1665 #interrupt-cells = <3>;
1666 };
1667
1668 qcom,qsee_irq_bridge {
1669 compatible = "qcom,qsee-ipc-irq-bridge";
1670
1671 qcom,qsee-ipc-irq-spss {
1672 qcom,dev-name = "qsee_ipc_irq_spss";
1673 label = "spss";
1674 interrupt-parent = <&intsp>;
1675 interrupts = <1 0 IRQ_TYPE_LEVEL_HIGH>;
1676 };
1677 };
1678
Amir Samuelove4c04342019-01-17 13:25:02 +02001679 spss_utils: qcom,spss_utils {
1680 compatible = "qcom,spss-utils";
1681 /* spss fuses physical address */
1682 qcom,spss-fuse1-addr = <0x007841c4>;
1683 qcom,spss-fuse1-bit = <27>;
1684 qcom,spss-fuse2-addr = <0x007841c4>;
1685 qcom,spss-fuse2-bit = <26>;
1686 qcom,spss-dev-firmware-name = "spss1d"; /* 8 chars max */
1687 qcom,spss-test-firmware-name = "spss1t"; /* 8 chars max */
1688 qcom,spss-prod-firmware-name = "spss1p"; /* 8 chars max */
1689 qcom,spss-debug-reg-addr = <0x01886020>;
1690 qcom,spss-emul-type-reg-addr = <0x01fc8004>;
1691 status = "ok";
1692 };
1693
1694 qcom,spcom {
1695 compatible = "qcom,spcom";
1696
1697 /* predefined channels, remote side is server */
1698 qcom,spcom-ch-names = "sp_kernel", "sp_ssr";
1699 status = "ok";
1700 };
1701
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02001702 qcom,msm_gsi {
1703 compatible = "qcom,msm_gsi";
1704 };
1705
1706 qcom,rmnet-ipa {
1707 compatible = "qcom,rmnet-ipa3";
1708 qcom,rmnet-ipa-ssr;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02001709 qcom,ipa-advertise-sg-support;
1710 qcom,ipa-napi-enable;
1711 };
1712
1713 qcom,ipa_fws {
1714 compatible = "qcom,pil-tz-generic";
1715 qcom,pas-id = <0xf>;
1716 qcom,firmware-name = "ipa_fws";
1717 qcom,pil-force-shutdown;
1718 memory-region = <&pil_ipa_fw_mem>;
1719 };
1720
1721 ipa_hw: qcom,ipa@1e00000 {
1722 compatible = "qcom,ipa";
1723 reg =
1724 <0x1e00000 0x84000>,
1725 <0x1e04000 0x23000>;
1726 reg-names = "ipa-base", "gsi-base";
1727 interrupts =
1728 <0 311 IRQ_TYPE_LEVEL_HIGH>,
1729 <0 432 IRQ_TYPE_LEVEL_HIGH>;
1730 interrupt-names = "ipa-irq", "gsi-irq";
1731 qcom,ipa-hw-ver = <17>; /* IPA core version = IPAv4.5 */
1732 qcom,ipa-hw-mode = <0>;
Ghanim Fodif8dcdbf2018-11-04 17:58:22 +02001733 qcom,platform-type = <2>; /* APQ platform */
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02001734 qcom,ee = <0>;
1735 qcom,use-ipa-tethering-bridge;
1736 qcom,mhi-event-ring-id-limits = <9 11>; /* start and end */
1737 qcom,modem-cfg-emb-pipe-flt;
1738 qcom,use-ipa-pm;
1739 qcom,bandwidth-vote-for-ipa;
1740 qcom,use-64-bit-dma-mask;
1741 qcom,msm-bus,name = "ipa";
1742 qcom,msm-bus,num-cases = <5>;
1743 qcom,msm-bus,num-paths = <4>;
1744 qcom,msm-bus,vectors-KBps =
1745 /* No vote */
1746 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 0 0>,
1747 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 0 0>,
1748 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 0 0>,
1749 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 0>,
1750
1751 /* SVS2 */
1752 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 80000 600000>,
1753 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 80000 350000>,
1754 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 40000 40000>,
1755 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 125>,
1756
1757 /* SVS */
1758 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 80000 640000>,
1759 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 80000 640000>,
1760 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 80000 80000>,
1761 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 250>,
1762
1763 /* NOMINAL */
1764 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 206000 960000>,
1765 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 206000 960000>,
1766 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 206000 160000>,
1767 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 500>,
1768
1769 /* TURBO */
1770 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 206000 3600000>,
1771 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 206000 3600000>,
1772 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 206000 300000>,
1773 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 600>;
1774
1775 qcom,bus-vector-names = "MIN", "SVS2", "SVS", "NOMINAL",
1776 "TURBO";
1777 qcom,throughput-threshold = <310 600 1000>;
1778 qcom,scaling-exceptions = <>;
1779 };
1780
1781 ipa_smmu_ap: ipa_smmu_ap {
1782 compatible = "qcom,ipa-smmu-ap-cb";
1783 iommus = <&apps_smmu 0x5C0 0x0>;
1784 qcom,iommu-dma = "bypass";
1785 };
1786
1787 ipa_smmu_wlan: ipa_smmu_wlan {
1788 compatible = "qcom,ipa-smmu-wlan-cb";
1789 iommus = <&apps_smmu 0x5C1 0x0>;
1790 qcom,iommu-dma = "bypass";
1791 };
1792
1793 ipa_smmu_uc: ipa_smmu_uc {
1794 compatible = "qcom,ipa-smmu-uc-cb";
1795 iommus = <&apps_smmu 0x5C2 0x0>;
1796 qcom,iommu-dma = "bypass";
1797 };
1798
Chris Lew3859b1b72018-09-25 16:54:52 -07001799 qcom,glink {
1800 compatible = "qcom,glink";
1801 #address-cells = <1>;
1802 #size-cells = <1>;
1803 ranges;
1804
Chris Lewb2da0482018-11-16 14:50:31 -08001805 glink_npu: npu {
1806 qcom,remote-pid = <10>;
1807 transport = "smem";
1808 mboxes = <&ipcc_mproc IPCC_CLIENT_NPU
1809 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1810 mbox-names = "npu_smem";
1811 interrupt-parent = <&ipcc_mproc>;
1812 interrupts = <IPCC_CLIENT_NPU
1813 IPCC_MPROC_SIGNAL_GLINK_QMP
1814 IRQ_TYPE_EDGE_RISING>;
1815
1816 label = "npu";
1817 qcom,glink-label = "npu";
1818
1819 qcom,npu_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08001820 qcom,net-id = <1>;
Chris Lewb2da0482018-11-16 14:50:31 -08001821 qcom,glink-channels = "IPCRTR";
1822 qcom,intents = <0x800 5
1823 0x2000 3
1824 0x4400 2>;
1825 };
1826
1827 qcom,npu_glink_ssr {
1828 qcom,glink-channels = "glink_ssr";
1829 qcom,notify-edges = <&glink_cdsp>;
1830 };
1831 };
1832
Chris Lew3859b1b72018-09-25 16:54:52 -07001833 glink_adsp: adsp {
1834 qcom,remote-pid = <2>;
1835 transport = "smem";
1836 mboxes = <&ipcc_mproc IPCC_CLIENT_LPASS
1837 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1838 mbox-names = "adsp_smem";
1839 interrupt-parent = <&ipcc_mproc>;
1840 interrupts = <IPCC_CLIENT_LPASS
1841 IPCC_MPROC_SIGNAL_GLINK_QMP
1842 IRQ_TYPE_EDGE_RISING>;
1843
1844 label = "adsp";
1845 qcom,glink-label = "lpass";
1846
1847 qcom,adsp_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08001848 qcom,net-id = <2>;
Chris Lew3859b1b72018-09-25 16:54:52 -07001849 qcom,glink-channels = "IPCRTR";
1850 qcom,intents = <0x800 5
1851 0x2000 3
1852 0x4400 2>;
1853 };
1854
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301855 qcom,msm_fastrpc_rpmsg {
1856 compatible = "qcom,msm-fastrpc-rpmsg";
1857 qcom,glink-channels = "fastrpcglink-apps-dsp";
1858 qcom,intents = <0x64 64>;
1859 };
1860
Chris Lew3859b1b72018-09-25 16:54:52 -07001861 qcom,adsp_glink_ssr {
1862 qcom,glink-channels = "glink_ssr";
1863 qcom,notify-edges = <&glink_slpi>,
1864 <&glink_cdsp>;
1865 };
1866 };
1867
1868 glink_slpi: dsps {
1869 qcom,remote-pid = <3>;
1870 transport = "smem";
1871 mboxes = <&ipcc_mproc IPCC_CLIENT_SLPI
1872 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1873 mbox-names = "dsps_smem";
1874 interrupt-parent = <&ipcc_mproc>;
1875 interrupts = <IPCC_CLIENT_SLPI
1876 IPCC_MPROC_SIGNAL_GLINK_QMP
1877 IRQ_TYPE_EDGE_RISING>;
1878
1879 label = "slpi";
1880 qcom,glink-label = "dsps";
1881
1882 qcom,slpi_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08001883 qcom,net-id = <2>;
Chris Lew3859b1b72018-09-25 16:54:52 -07001884 qcom,glink-channels = "IPCRTR";
1885 qcom,intents = <0x800 5
1886 0x2000 3
1887 0x4400 2>;
1888 };
1889
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301890 qcom,msm_fastrpc_rpmsg {
1891 compatible = "qcom,msm-fastrpc-rpmsg";
1892 qcom,glink-channels = "fastrpcglink-apps-dsp";
1893 qcom,intents = <0x64 64>;
1894 };
1895
Chris Lew3859b1b72018-09-25 16:54:52 -07001896 qcom,slpi_glink_ssr {
1897 qcom,glink-channels = "glink_ssr";
1898 qcom,notify-edges = <&glink_adsp>,
1899 <&glink_cdsp>;
1900 };
1901 };
1902
1903 glink_cdsp: cdsp {
1904 qcom,remote-pid = <5>;
1905 transport = "smem";
1906 mboxes = <&ipcc_mproc IPCC_CLIENT_CDSP
1907 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1908 mbox-names = "dsps_smem";
1909 interrupt-parent = <&ipcc_mproc>;
1910 interrupts = <IPCC_CLIENT_CDSP
1911 IPCC_MPROC_SIGNAL_GLINK_QMP
1912 IRQ_TYPE_EDGE_RISING>;
1913
1914 label = "cdsp";
1915 qcom,glink-label = "cdsp";
1916
1917 qcom,cdsp_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08001918 qcom,net-id = <1>;
Chris Lew3859b1b72018-09-25 16:54:52 -07001919 qcom,glink-channels = "IPCRTR";
1920 qcom,intents = <0x800 5
1921 0x2000 3
1922 0x4400 2>;
1923 };
1924
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301925 qcom,msm_fastrpc_rpmsg {
1926 compatible = "qcom,msm-fastrpc-rpmsg";
1927 qcom,glink-channels = "fastrpcglink-apps-dsp";
1928 qcom,intents = <0x64 64>;
1929 };
1930
Chris Lew3859b1b72018-09-25 16:54:52 -07001931 qcom,cdsp_glink_ssr {
1932 qcom,glink-channels = "glink_ssr";
1933 qcom,notify-edges = <&glink_adsp>,
Chris Lewb2da0482018-11-16 14:50:31 -08001934 <&glink_slpi>,
1935 <&glink_npu>;
Chris Lew3859b1b72018-09-25 16:54:52 -07001936 };
1937 };
Chris Lew3b1f0982018-10-05 17:28:21 -07001938
1939 glink_spss: spss {
1940 qcom,remote-pid = <8>;
1941 transport = "spss";
1942 mboxes = <&sp_scsr 0>;
1943 mbox-names = "spss_spss";
1944 interrupt-parent = <&intsp>;
1945 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>;
1946
1947 reg = <0x1885008 0x8>,
1948 <0x1885010 0x4>;
1949 reg-names = "qcom,spss-addr",
1950 "qcom,spss-size";
1951
1952 label = "spss";
1953 qcom,glink-label = "spss";
1954 };
Chris Lew3859b1b72018-09-25 16:54:52 -07001955 };
Bruce Levy5122a632018-09-25 15:51:37 -07001956
Chris Lew3cbe4032018-11-30 18:57:32 -08001957 qmp_aop: qcom,qmp-aop@c300000 {
1958 compatible = "qcom,qmp-mbox";
1959 mboxes = <&ipcc_mproc IPCC_CLIENT_AOP
1960 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1961 mbox-names = "aop_qmp";
1962 interrupt-parent = <&ipcc_mproc>;
1963 interrupts = <IPCC_CLIENT_AOP
1964 IPCC_MPROC_SIGNAL_GLINK_QMP
1965 IRQ_TYPE_EDGE_RISING>;
1966 reg = <0xc300000 0x1000>;
1967 reg-names = "msgram";
1968
1969 label = "aop";
1970 qcom,early-boot;
1971 priority = <0>;
1972 mbox-desc-offset = <0x0>;
1973 #mbox-cells = <1>;
1974 };
1975
Bruce Levy5122a632018-09-25 15:51:37 -07001976 qcom,lpass@17300000 {
1977 compatible = "qcom,pil-tz-generic";
1978 reg = <0x17300000 0x00100>;
1979
1980 vdd_cx-supply = <&VDD_CX_LEVEL>;
1981 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
1982 qcom,proxy-reg-names = "vdd_cx";
1983
1984 clocks = <&clock_rpmh RPMH_CXO_CLK>;
1985 clock-names = "xo";
1986 qcom,proxy-clock-names = "xo";
1987
1988 qcom,pas-id = <1>;
1989 qcom,proxy-timeout-ms = <10000>;
1990 qcom,smem-id = <423>;
1991 qcom,sysmon-id = <1>;
1992 qcom,ssctl-instance-id = <0x14>;
1993 qcom,firmware-name = "adsp";
1994 memory-region = <&pil_adsp_mem>;
1995 qcom,complete-ramdump;
1996
1997 /* Inputs from lpass */
1998 interrupts-extended = <&pdc 96 IRQ_TYPE_LEVEL_HIGH>,
1999 <&adsp_smp2p_in 0 0>,
2000 <&adsp_smp2p_in 2 0>,
2001 <&adsp_smp2p_in 1 0>,
2002 <&adsp_smp2p_in 3 0>;
2003
2004 interrupt-names = "qcom,wdog",
2005 "qcom,err-fatal",
2006 "qcom,proxy-unvote",
2007 "qcom,err-ready",
2008 "qcom,stop-ack";
2009
2010 /* Outputs to lpass */
2011 qcom,smem-states = <&adsp_smp2p_out 0>;
2012 qcom,smem-state-names = "qcom,force-stop";
2013
2014 mbox-names = "adsp-pil";
2015 };
2016
2017 qcom,turing@8300000 {
2018 compatible = "qcom,pil-tz-generic";
2019 reg = <0x8300000 0x100000>;
2020
2021 vdd_cx-supply = <&VDD_CX_LEVEL>;
2022 qcom,proxy-reg-names = "vdd_cx";
2023 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
2024
2025 clocks = <&clock_rpmh RPMH_CXO_CLK>;
2026 clock-names = "xo";
2027 qcom,proxy-clock-names = "xo";
2028
2029 qcom,pas-id = <18>;
2030 qcom,proxy-timeout-ms = <10000>;
2031 qcom,smem-id = <601>;
2032 qcom,sysmon-id = <7>;
2033 qcom,ssctl-instance-id = <0x17>;
2034 qcom,firmware-name = "cdsp";
2035 memory-region = <&pil_cdsp_mem>;
2036 qcom,complete-ramdump;
2037
2038 qcom,msm-bus,name = "pil-cdsp";
2039 qcom,msm-bus,num-cases = <2>;
2040 qcom,msm-bus,num-paths = <1>;
2041 qcom,msm-bus,vectors-KBps =
2042 <154 10070 0 0>,
2043 <154 10070 0 1>;
2044
2045 /* Inputs from turing */
Bruce Levy821133c2018-11-29 11:34:45 -08002046 interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_LEVEL_HIGH>,
Bruce Levy5122a632018-09-25 15:51:37 -07002047 <&cdsp_smp2p_in 0 0>,
2048 <&cdsp_smp2p_in 2 0>,
2049 <&cdsp_smp2p_in 1 0>,
2050 <&cdsp_smp2p_in 3 0>;
2051
2052 interrupt-names = "qcom,wdog",
2053 "qcom,err-fatal",
2054 "qcom,proxy-unvote",
2055 "qcom,err-ready",
2056 "qcom,stop-ack";
2057
2058 /* Outputs to turing */
2059 qcom,smem-states = <&cdsp_smp2p_out 0>;
2060 qcom,smem-state-names = "qcom,force-stop";
2061
2062 mbox-names = "cdsp-pil";
2063 };
Akshay Chandrashekhar Kalghatgif7905ad2018-11-08 16:30:42 -08002064
2065 qcom,venus@aab0000 {
2066 compatible = "qcom,pil-tz-generic";
2067 reg = <0xaab0000 0x2000>;
Chinmay Sawarkar2cfeca02018-11-15 17:59:36 -08002068
2069 vdd-supply = <&mvs0c_gdsc>;
2070 qcom,proxy-reg-names = "vdd";
2071 qcom,complete-ramdump;
2072
2073 clocks = <&clock_videocc VIDEO_CC_XO_CLK>,
2074 <&clock_videocc VIDEO_CC_MVS0C_CLK>,
2075 <&clock_videocc VIDEO_CC_AHB_CLK>;
2076 clock-names = "xo", "core", "ahb";
2077 qcom,proxy-clock-names = "xo", "core", "ahb";
2078
Akshay Chandrashekhar Kalghatgif7905ad2018-11-08 16:30:42 -08002079 qcom,core-freq = <200000000>;
2080 qcom,ahb-freq = <200000000>;
2081
2082 qcom,pas-id = <9>;
2083 qcom,msm-bus,name = "pil-venus";
2084 qcom,msm-bus,num-cases = <2>;
2085 qcom,msm-bus,num-paths = <1>;
2086 qcom,msm-bus,vectors-KBps =
2087 <63 512 0 0>,
2088 <63 512 0 304000>;
2089 qcom,proxy-timeout-ms = <100>;
2090 qcom,firmware-name = "venus";
2091 memory-region = <&pil_video_mem>;
2092 };
Tharun Kumar Merugub8d79dd2018-11-02 23:07:31 +05302093
Amir Samuelovf52db412019-01-08 09:30:58 +02002094 /* PIL spss node - for loading Secure Processor */
2095 qcom,spss@1880000 {
2096 compatible = "qcom,pil-tz-generic";
2097 reg = <0x188101c 0x4>,
2098 <0x1881024 0x4>,
2099 <0x1881028 0x4>,
2100 <0x188103c 0x4>,
2101 <0x1882014 0x4>;
2102 reg-names = "sp2soc_irq_status", "sp2soc_irq_clr",
2103 "sp2soc_irq_mask", "rmb_err", "rmb_err_spare2";
2104 interrupts = <0 352 1>;
2105
2106 vdd_cx-supply = <&VDD_CX_LEVEL>;
2107 qcom,proxy-reg-names = "vdd_cx";
2108 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
2109 vdd_mx-supply = <&VDD_MX_LEVEL>;
2110 vdd_mx-uV = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
2111
2112 clocks = <&clock_rpmh RPMH_CXO_CLK>;
2113 clock-names = "xo";
2114 qcom,proxy-clock-names = "xo";
2115 qcom,pil-generic-irq-handler;
2116 status = "ok";
2117
Amir Samuelov48955b32019-01-17 17:24:37 +02002118 qcom,signal-aop;
Amir Samuelovf52db412019-01-08 09:30:58 +02002119 qcom,complete-ramdump;
2120
2121 qcom,pas-id = <14>;
2122 qcom,proxy-timeout-ms = <10000>;
2123 qcom,firmware-name = "spss";
2124 memory-region = <&pil_spss_mem>;
2125 qcom,spss-scsr-bits = <24 25>;
2126
Amir Samuelov48955b32019-01-17 17:24:37 +02002127 mboxes = <&qmp_aop 0>;
Amir Samuelovf52db412019-01-08 09:30:58 +02002128 mbox-names = "spss-pil";
2129 };
2130
George Shen9c54c662018-12-26 15:50:11 -08002131 qcom,cvpss@abb0000 {
2132 compatible = "qcom,pil-tz-generic";
2133 reg = <0xabb0000 0x2000>;
2134 status = "ok";
George Shen24f63232019-01-11 14:28:21 -08002135 qcom,pas-id = <26>;
George Shen9c54c662018-12-26 15:50:11 -08002136 qcom,firmware-name = "cvpss";
2137
2138 memory-region = <&pil_cvp_mem>;
2139 };
2140
Jilai Wangd20a5292018-12-04 11:05:10 -05002141 qcom,npu@9800000 {
2142 compatible = "qcom,pil-tz-generic";
2143 reg = <0x9800000 0x800000>;
2144
2145 status = "ok";
2146 qcom,pas-id = <23>;
2147 qcom,firmware-name = "npu";
2148 memory-region = <&pil_npu_mem>;
2149 };
2150
Tharun Kumar Merugub8d79dd2018-11-02 23:07:31 +05302151 qcom,msm-cdsp-loader {
2152 compatible = "qcom,cdsp-loader";
2153 qcom,proc-img-to-load = "cdsp";
2154 };
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302155
2156 qcom,msm-adsprpc-mem {
2157 compatible = "qcom,msm-adsprpc-mem-region";
2158 memory-region = <&adsp_mem>;
Tharun Kumar Merugu9bf49d72018-12-21 02:33:10 +05302159 restrict-access;
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302160 };
2161
2162 msm_fastrpc: qcom,msm_fastrpc {
2163 compatible = "qcom,msm-fastrpc-compute";
Tharun Kumar Merugu9bf49d72018-12-21 02:33:10 +05302164 qcom,adsp-remoteheap-vmid = <22 37>;
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302165 qcom,fastrpc-adsp-audio-pdr;
Tharun Kumar Merugu9bf49d72018-12-21 02:33:10 +05302166 qcom,fastrpc-adsp-sensors-pdr;
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302167 qcom,rpc-latency-us = <235>;
2168
2169 qcom,msm_fastrpc_compute_cb1 {
2170 compatible = "qcom,msm-fastrpc-compute-cb";
2171 label = "cdsprpc-smd";
2172 iommus = <&apps_smmu 0x1001 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302173 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2174 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302175 dma-coherent;
2176 };
2177
2178 qcom,msm_fastrpc_compute_cb2 {
2179 compatible = "qcom,msm-fastrpc-compute-cb";
2180 label = "cdsprpc-smd";
2181 iommus = <&apps_smmu 0x1002 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302182 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2183 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302184 dma-coherent;
2185 };
2186
2187 qcom,msm_fastrpc_compute_cb3 {
2188 compatible = "qcom,msm-fastrpc-compute-cb";
2189 label = "cdsprpc-smd";
2190 iommus = <&apps_smmu 0x1003 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302191 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2192 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302193 dma-coherent;
2194 };
2195
2196 qcom,msm_fastrpc_compute_cb4 {
2197 compatible = "qcom,msm-fastrpc-compute-cb";
2198 label = "cdsprpc-smd";
2199 iommus = <&apps_smmu 0x1004 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302200 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2201 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302202 dma-coherent;
2203 };
2204
2205 qcom,msm_fastrpc_compute_cb5 {
2206 compatible = "qcom,msm-fastrpc-compute-cb";
2207 label = "cdsprpc-smd";
2208 iommus = <&apps_smmu 0x1005 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302209 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2210 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302211 dma-coherent;
2212 };
2213
2214 qcom,msm_fastrpc_compute_cb6 {
2215 compatible = "qcom,msm-fastrpc-compute-cb";
2216 label = "cdsprpc-smd";
2217 iommus = <&apps_smmu 0x1006 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302218 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2219 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302220 dma-coherent;
2221 };
2222
2223 qcom,msm_fastrpc_compute_cb7 {
2224 compatible = "qcom,msm-fastrpc-compute-cb";
2225 label = "cdsprpc-smd";
2226 iommus = <&apps_smmu 0x1007 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302227 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2228 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302229 dma-coherent;
2230 };
2231
2232 qcom,msm_fastrpc_compute_cb8 {
2233 compatible = "qcom,msm-fastrpc-compute-cb";
2234 label = "cdsprpc-smd";
2235 iommus = <&apps_smmu 0x1008 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302236 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2237 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302238 dma-coherent;
2239 };
2240
2241 qcom,msm_fastrpc_compute_cb9 {
2242 compatible = "qcom,msm-fastrpc-compute-cb";
2243 label = "cdsprpc-smd";
2244 qcom,secure-context-bank;
2245 iommus = <&apps_smmu 0x1009 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302246 dma-ranges = <0x60000000 0x60000000 0x78000000>;
2247 qcom,iommu-faults = "stall-disable";
2248 qcom,iommu-vmid = <0xA>; /* VMID_CP_PIXEL */
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302249 dma-coherent;
2250 };
2251
2252 qcom,msm_fastrpc_compute_cb10 {
2253 compatible = "qcom,msm-fastrpc-compute-cb";
2254 label = "adsprpc-smd";
2255 iommus = <&apps_smmu 0x1803 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302256 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2257 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302258 dma-coherent;
2259 };
2260
2261 qcom,msm_fastrpc_compute_cb11 {
2262 compatible = "qcom,msm-fastrpc-compute-cb";
2263 label = "adsprpc-smd";
2264 iommus = <&apps_smmu 0x1804 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302265 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2266 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302267 dma-coherent;
2268 };
2269
2270 qcom,msm_fastrpc_compute_cb12 {
2271 compatible = "qcom,msm-fastrpc-compute-cb";
2272 label = "adsprpc-smd";
2273 iommus = <&apps_smmu 0x1805 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302274 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2275 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302276 dma-coherent;
2277 };
2278
2279 qcom,msm_fastrpc_compute_cb13 {
2280 compatible = "qcom,msm-fastrpc-compute-cb";
2281 label = "sdsprpc-smd";
2282 iommus = <&apps_smmu 0x0541 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302283 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2284 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302285 dma-coherent;
2286 };
2287
2288 qcom,msm_fastrpc_compute_cb14 {
2289 compatible = "qcom,msm-fastrpc-compute-cb";
2290 label = "sdsprpc-smd";
2291 iommus = <&apps_smmu 0x0542 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302292 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2293 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302294 dma-coherent;
2295 };
2296
2297 qcom,msm_fastrpc_compute_cb15 {
2298 compatible = "qcom,msm-fastrpc-compute-cb";
2299 label = "sdsprpc-smd";
2300 iommus = <&apps_smmu 0x0543 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302301 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2302 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302303 shared-cb = <4>;
2304 dma-coherent;
2305 };
2306 };
Shaikh Shadulbfdfdda2018-11-14 15:36:21 +05302307
Tingwei Zhangd9b535f2018-12-03 19:14:06 -08002308 mem_dump {
2309 compatible = "qcom,mem-dump";
2310 memory-region = <&dump_mem>;
2311
2312 rpmh {
2313 qcom,dump-size = <0x2000000>;
2314 qcom,dump-id = <0xec>;
2315 };
2316
2317 rpm_sw {
2318 qcom,dump-size = <0x28000>;
2319 qcom,dump-id = <0xea>;
2320 };
2321
2322 pmic {
2323 qcom,dump-size = <0x80000>;
2324 qcom,dump-id = <0xe4>;
2325 };
2326
2327 fcm {
2328 qcom,dump-size = <0x8400>;
2329 qcom,dump-id = <0xee>;
2330 };
2331
2332 etf_swao {
2333 qcom,dump-size = <0x10000>;
2334 qcom,dump-id = <0xf1>;
2335 };
2336
2337 etr_reg {
2338 qcom,dump-size = <0x1000>;
2339 qcom,dump-id = <0x100>;
2340 };
2341
2342 etfswao_reg {
2343 qcom,dump-size = <0x1000>;
2344 qcom,dump-id = <0x102>;
2345 };
2346
2347 misc_data {
2348 qcom,dump-size = <0x1000>;
2349 qcom,dump-id = <0xe8>;
2350 };
2351 };
2352
Shaikh Shadulbfdfdda2018-11-14 15:36:21 +05302353 qcom,ssc@5c00000 {
2354 compatible = "qcom,pil-tz-generic";
2355 reg = <0x5c00000 0x4000>;
2356
2357 vdd_cx-supply = <&VDD_CX_LEVEL>;
2358 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
2359 vdd_mx-supply = <&VDD_MX_LEVEL>;
2360 qcom,vdd_mx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
2361
2362 qcom,proxy-reg-names = "vdd_cx", "vdd_mx";
2363 qcom,keep-proxy-regs-on;
2364
2365 clocks = <&clock_rpmh RPMH_CXO_CLK>;
2366 clock-names = "xo";
2367 qcom,proxy-clock-names = "xo";
2368
2369 qcom,pas-id = <12>;
2370 qcom,proxy-timeout-ms = <10000>;
2371 qcom,smem-id = <424>;
2372 qcom,sysmon-id = <3>;
2373 qcom,ssctl-instance-id = <0x16>;
2374 qcom,firmware-name = "slpi";
2375 status = "ok";
2376 memory-region = <&pil_slpi_mem>;
2377 qcom,complete-ramdump;
2378
2379 /* Inputs from ssc */
2380 interrupts-extended = <&pdc 9 IRQ_TYPE_LEVEL_HIGH>,
2381 <&dsps_smp2p_in 0 0>,
2382 <&dsps_smp2p_in 2 0>,
2383 <&dsps_smp2p_in 1 0>,
2384 <&dsps_smp2p_in 3 0>;
2385
2386 interrupt-names = "qcom,wdog",
2387 "qcom,err-fatal",
2388 "qcom,proxy-unvote",
2389 "qcom,err-ready",
2390 "qcom,stop-ack";
2391
2392 /* Outputs to ssc */
2393 qcom,smem-states = <&dsps_smp2p_out 0>;
2394 qcom,smem-state-names = "qcom,force-stop";
2395
2396 mbox-names = "slpi-pil";
2397 };
2398
2399 ssc_sensors: qcom,msm-ssc-sensors {
2400 compatible = "qcom,msm-ssc-sensors";
2401 status = "ok";
2402 qcom,firmware-name = "slpi";
2403 };
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002404
2405 tsens0: tsens@c222000 {
2406 compatible = "qcom,tsens24xx";
2407 reg = <0xc222000 0x4>,
2408 <0xc263000 0x1ff>;
2409 reg-names = "tsens_srot_physical",
2410 "tsens_tm_physical";
Siddartha Mohanadoss404a89a2019-01-04 15:29:48 -08002411 interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
2412 <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002413 interrupt-names = "tsens-upper-lower", "tsens-critical";
2414 #thermal-sensor-cells = <1>;
2415 };
2416
2417 tsens1: tsens@c223000 {
2418 compatible = "qcom,tsens24xx";
2419 reg = <0xc223000 0x4>,
2420 <0xc265000 0x1ff>;
2421 reg-names = "tsens_srot_physical",
2422 "tsens_tm_physical";
Siddartha Mohanadoss404a89a2019-01-04 15:29:48 -08002423 interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
2424 <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002425 interrupt-names = "tsens-upper-lower", "tsens-critical";
2426 #thermal-sensor-cells = <1>;
2427 };
Rishabh Bhatnagarf7a853a2018-06-28 14:14:54 -07002428
2429 qcom,msm-rtb {
2430 compatible = "qcom,msm-rtb";
2431 qcom,rtb-size = <0x100000>;
2432 };
2433
2434 qcom,mpm2-sleep-counter@c221000 {
2435 compatible = "qcom,mpm2-sleep-counter";
2436 reg = <0xc221000 0x1000>;
2437 clock-frequency = <32768>;
2438 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -07002439
2440 cpuss_dump {
2441 compatible = "qcom,cpuss-dump";
2442
2443 qcom,l1_i_cache0 {
2444 qcom,dump-node = <&L1_I_0>;
2445 qcom,dump-id = <0x60>;
2446 };
2447
2448 qcom,l1_i_cache1 {
2449 qcom,dump-node = <&L1_I_100>;
2450 qcom,dump-id = <0x61>;
2451 };
2452
2453 qcom,l1_i_cache2 {
2454 qcom,dump-node = <&L1_I_200>;
2455 qcom,dump-id = <0x62>;
2456 };
2457
2458 qcom,l1_i_cache3 {
2459 qcom,dump-node = <&L1_I_300>;
2460 qcom,dump-id = <0x63>;
2461 };
2462
2463 qcom,l1_i_cache100 {
2464 qcom,dump-node = <&L1_I_400>;
2465 qcom,dump-id = <0x64>;
2466 };
2467
2468 qcom,l1_i_cache101 {
2469 qcom,dump-node = <&L1_I_500>;
2470 qcom,dump-id = <0x65>;
2471 };
2472
2473 qcom,l1_i_cache102 {
2474 qcom,dump-node = <&L1_I_600>;
2475 qcom,dump-id = <0x66>;
2476 };
2477
2478 qcom,l1_i_cache103 {
2479 qcom,dump-node = <&L1_I_700>;
2480 qcom,dump-id = <0x67>;
2481 };
2482
2483 qcom,l1_d_cache0 {
2484 qcom,dump-node = <&L1_D_0>;
2485 qcom,dump-id = <0x80>;
2486 };
2487
2488 qcom,l1_d_cache1 {
2489 qcom,dump-node = <&L1_D_100>;
2490 qcom,dump-id = <0x81>;
2491 };
2492
2493 qcom,l1_d_cache2 {
2494 qcom,dump-node = <&L1_D_200>;
2495 qcom,dump-id = <0x82>;
2496 };
2497
2498 qcom,l1_d_cache3 {
2499 qcom,dump-node = <&L1_D_300>;
2500 qcom,dump-id = <0x83>;
2501 };
2502
2503 qcom,l1_d_cache100 {
2504 qcom,dump-node = <&L1_D_400>;
2505 qcom,dump-id = <0x84>;
2506 };
2507
2508 qcom,l1_d_cache101 {
2509 qcom,dump-node = <&L1_D_500>;
2510 qcom,dump-id = <0x85>;
2511 };
2512
2513 qcom,l1_d_cache102 {
2514 qcom,dump-node = <&L1_D_600>;
2515 qcom,dump-id = <0x86>;
2516 };
2517
2518 qcom,l1_d_cache103 {
2519 qcom,dump-node = <&L1_D_700>;
2520 qcom,dump-id = <0x87>;
2521 };
2522
2523 qcom,l1_i_tlb_dump400 {
2524 qcom,dump-node = <&L1_ITLB_400>;
2525 qcom,dump-id = <0x24>;
2526 };
2527
2528 qcom,l1_i_tlb_dump500 {
2529 qcom,dump-node = <&L1_ITLB_500>;
2530 qcom,dump-id = <0x25>;
2531 };
2532
2533 qcom,l1_i_tlb_dump600 {
2534 qcom,dump-node = <&L1_ITLB_600>;
2535 qcom,dump-id = <0x26>;
2536 };
2537
2538 qcom,l1_i_tlb_dump700 {
2539 qcom,dump-node = <&L1_ITLB_700>;
2540 qcom,dump-id = <0x27>;
2541 };
2542
2543 qcom,l1_d_tlb_dump400 {
2544 qcom,dump-node = <&L1_DTLB_400>;
2545 qcom,dump-id = <0x44>;
2546 };
2547
2548 qcom,l1_d_tlb_dump500 {
2549 qcom,dump-node = <&L1_DTLB_500>;
2550 qcom,dump-id = <0x45>;
2551 };
2552
2553 qcom,l1_d_tlb_dump600 {
2554 qcom,dump-node = <&L1_DTLB_600>;
2555 qcom,dump-id = <0x46>;
2556 };
2557
2558 qcom,l1_d_tlb_dump700 {
2559 qcom,dump-node = <&L1_DTLB_700>;
2560 qcom,dump-id = <0x47>;
2561 };
2562
2563 qcom,l2_cache_dump400 {
2564 qcom,dump-node = <&L2_4>;
2565 qcom,dump-id = <0xc4>;
2566 };
2567
2568 qcom,l2_cache_dump500 {
2569 qcom,dump-node = <&L2_5>;
2570 qcom,dump-id = <0xc5>;
2571 };
2572
2573 qcom,l2_cache_dump600 {
2574 qcom,dump-node = <&L2_6>;
2575 qcom,dump-id = <0xc6>;
2576 };
2577
2578 qcom,l2_cache_dump700 {
2579 qcom,dump-node = <&L2_7>;
2580 qcom,dump-id = <0xc7>;
2581 };
2582
2583 qcom,l2_tlb_dump0 {
2584 qcom,dump-node = <&L2_TLB_0>;
2585 qcom,dump-id = <0x120>;
2586 };
2587
2588 qcom,l2_tlb_dump100 {
2589 qcom,dump-node = <&L2_TLB_100>;
2590 qcom,dump-id = <0x121>;
2591 };
2592
2593 qcom,l2_tlb_dump200 {
2594 qcom,dump-node = <&L2_TLB_200>;
2595 qcom,dump-id = <0x122>;
2596 };
2597
2598 qcom,l2_tlb_dump300 {
2599 qcom,dump-node = <&L2_TLB_300>;
2600 qcom,dump-id = <0x123>;
2601 };
2602
2603 qcom,l2_tlb_dump400 {
2604 qcom,dump-node = <&L2_TLB_400>;
2605 qcom,dump-id = <0x124>;
2606 };
2607
2608 qcom,l2_tlb_dump500 {
2609 qcom,dump-node = <&L2_TLB_500>;
2610 qcom,dump-id = <0x125>;
2611 };
2612
2613 qcom,l2_tlb_dump600 {
2614 qcom,dump-node = <&L2_TLB_600>;
2615 qcom,dump-id = <0x126>;
2616 };
2617
2618 qcom,l2_tlb_dump700 {
2619 qcom,dump-node = <&L2_TLB_700>;
2620 qcom,dump-id = <0x127>;
2621 };
2622 };
Vipin Deep Kaur1cd6ed02018-12-27 16:23:43 +05302623
2624 gpi_dma0: qcom,gpi-dma@900000 {
2625 #dma-cells = <5>;
2626 compatible = "qcom,gpi-dma";
2627 reg = <0x900000 0x70000>;
2628 reg-names = "gpi-top";
Rishabh Bhatnagar7ef15882019-01-22 11:02:09 -08002629 interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
2630 <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
2631 <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
2632 <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
2633 <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
2634 <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
2635 <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
2636 <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
2637 <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
2638 <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
2639 <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
2640 <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
2641 <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
Vipin Deep Kaur1cd6ed02018-12-27 16:23:43 +05302642 qcom,max-num-gpii = <13>;
2643 qcom,gpii-mask = <0x7ff>;
2644 qcom,ev-factor = <2>;
2645 iommus = <&apps_smmu 0x5b6 0x0>;
2646 qcom,smmu-cfg = <0x1>;
2647 qcom,iova-range = <0x0 0x100000 0x0 0x100000>;
2648 status = "ok";
2649 };
2650
2651 gpi_dma1: qcom,gpi-dma@a00000 {
2652 #dma-cells = <5>;
2653 compatible = "qcom,gpi-dma";
2654 reg = <0xa00000 0x70000>;
2655 reg-names = "gpi-top";
Rishabh Bhatnagar7ef15882019-01-22 11:02:09 -08002656 interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
2657 <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
2658 <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
2659 <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
2660 <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
2661 <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
2662 <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
2663 <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>,
2664 <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>,
2665 <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>;
Vipin Deep Kaur1cd6ed02018-12-27 16:23:43 +05302666 qcom,max-num-gpii = <10>;
2667 qcom,gpii-mask = <0x3f>;
2668 qcom,ev-factor = <2>;
2669 iommus = <&apps_smmu 0x56 0x0>;
2670 qcom,smmu-cfg = <0x1>;
2671 qcom,iova-range = <0x0 0x100000 0x0 0x100000>;
2672 status = "ok";
2673 };
2674
2675 gpi_dma2: qcom,gpi-dma@800000 {
2676 #dma-cells = <5>;
2677 compatible = "qcom,gpi-dma";
2678 reg = <0x800000 0x70000>;
2679 reg-names = "gpi-top";
Rishabh Bhatnagar7ef15882019-01-22 11:02:09 -08002680 interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
2681 <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>,
2682 <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>,
2683 <GIC_SPI 591 IRQ_TYPE_LEVEL_HIGH>,
2684 <GIC_SPI 592 IRQ_TYPE_LEVEL_HIGH>,
2685 <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>,
2686 <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH>,
2687 <GIC_SPI 595 IRQ_TYPE_LEVEL_HIGH>,
2688 <GIC_SPI 596 IRQ_TYPE_LEVEL_HIGH>,
2689 <GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH>;
Vipin Deep Kaur1cd6ed02018-12-27 16:23:43 +05302690 qcom,max-num-gpii = <10>;
2691 qcom,gpii-mask = <0x3f>;
2692 qcom,ev-factor = <2>;
2693 iommus = <&apps_smmu 0x76 0x0>;
2694 qcom,smmu-cfg = <0x1>;
2695 qcom,iova-range = <0x0 0x100000 0x0 0x100000>;
2696 status = "ok";
2697 };
2698
Yuanyuan Liu99e0b9a2019-01-16 11:01:38 -08002699 qcom,cnss-qca6390@a0000000 {
2700 compatible = "qcom,cnss-qca6390";
2701 reg = <0xa0000000 0x10000000>,
2702 <0xb0000000 0x10000>;
2703 reg-names = "smmu_iova_base", "smmu_iova_ipa";
2704 wlan-en-gpio = <&tlmm 169 0>;
2705 pinctrl-names = "wlan_en_active", "wlan_en_sleep";
2706 pinctrl-0 = <&cnss_wlan_en_active>;
2707 pinctrl-1 = <&cnss_wlan_en_sleep>;
2708 qcom,wlan-rc-num = <0>;
2709 qcom,wlan-ramdump-dynamic = <0x400000>;
2710
Yuanyuan Liu30d201f2019-01-22 14:04:54 -08002711 vdd-wlan-aon-supply = <&pm8150_s6>;
2712 vdd-wlan-dig-supply = <&pm8009_s2>;
2713 vdd-wlan-io-supply = <&pm8150_s4>;
2714 vdd-wlan-rfa1-supply = <&pm8150_s5>;
2715 vdd-wlan-rfa2-supply = <&pm8150a_s8>;
2716
Yuanyuan Liu99e0b9a2019-01-16 11:01:38 -08002717 mhi,max-channels = <30>;
2718 mhi,timeout = <10000>;
2719
2720 mhi_channels {
2721 #address-cells = <1>;
2722 #size-cells = <0>;
2723
2724 mhi_chan@0 {
2725 reg = <0>;
2726 label = "LOOPBACK";
2727 mhi,num-elements = <32>;
2728 mhi,event-ring = <1>;
2729 mhi,chan-dir = <1>;
2730 mhi,data-type = <0>;
2731 mhi,doorbell-mode = <2>;
2732 mhi,ee = <0x14>;
2733 };
2734
2735 mhi_chan@1 {
2736 reg = <1>;
2737 label = "LOOPBACK";
2738 mhi,num-elements = <32>;
2739 mhi,event-ring = <1>;
2740 mhi,chan-dir = <2>;
2741 mhi,data-type = <0>;
2742 mhi,doorbell-mode = <2>;
2743 mhi,ee = <0x14>;
2744 };
2745
2746 mhi_chan@4 {
2747 reg = <4>;
2748 label = "DIAG";
2749 mhi,num-elements = <32>;
2750 mhi,event-ring = <1>;
2751 mhi,chan-dir = <1>;
2752 mhi,data-type = <0>;
2753 mhi,doorbell-mode = <2>;
2754 mhi,ee = <0x14>;
2755 };
2756
2757 mhi_chan@5 {
2758 reg = <5>;
2759 label = "DIAG";
2760 mhi,num-elements = <32>;
2761 mhi,event-ring = <1>;
2762 mhi,chan-dir = <2>;
2763 mhi,data-type = <0>;
2764 mhi,doorbell-mode = <2>;
2765 mhi,ee = <0x14>;
2766 };
2767
2768 mhi_chan@20 {
2769 reg = <20>;
2770 label = "IPCR";
2771 mhi,num-elements = <32>;
2772 mhi,event-ring = <1>;
2773 mhi,chan-dir = <1>;
2774 mhi,data-type = <1>;
2775 mhi,doorbell-mode = <2>;
2776 mhi,ee = <0x14>;
2777 mhi,auto-start;
2778 };
2779
2780 mhi_chan@21 {
2781 reg = <21>;
2782 label = "IPCR";
2783 mhi,num-elements = <32>;
2784 mhi,event-ring = <1>;
2785 mhi,chan-dir = <2>;
2786 mhi,data-type = <0>;
2787 mhi,doorbell-mode = <2>;
2788 mhi,ee = <0x14>;
2789 mhi,auto-queue;
2790 mhi,auto-start;
2791 };
2792 };
2793
2794 mhi_events {
2795 mhi_event@0 {
2796 mhi,num-elements = <32>;
2797 mhi,intmod = <1>;
2798 mhi,msi = <1>;
2799 mhi,priority = <1>;
2800 mhi,brstmode = <2>;
2801 mhi,data-type = <1>;
2802 };
2803
2804 mhi_event@1 {
2805 mhi,num-elements = <256>;
2806 mhi,intmod = <1>;
2807 mhi,msi = <2>;
2808 mhi,priority = <1>;
2809 mhi,brstmode = <2>;
2810 };
2811 };
2812 };
Runmin Wang4f5985b2017-04-19 15:55:12 -07002813};
Swathi Sridhar4008eb42018-07-17 15:34:46 -07002814
David Collins61d237d2019-01-03 16:01:15 -08002815#include "kona-regulators.dtsi"
David Daib1d68482018-10-01 19:40:35 -07002816#include "kona-bus.dtsi"
Swathi Sridharbbbc80b2018-07-13 10:02:08 -07002817#include "kona-ion.dtsi"
Tony Truongc972c642018-09-12 10:03:51 -07002818#include "kona-pcie.dtsi"
Sujeev Dias5399e552018-09-18 17:57:54 -07002819#include "kona-mhi.dtsi"
Swathi Sridhar4008eb42018-07-17 15:34:46 -07002820#include "msm-arm-smmu-kona.dtsi"
Rishabh Bhatnagara740b0e2018-07-20 15:08:35 -07002821#include "kona-pinctrl.dtsi"
Chris Lew86f6bde2018-09-06 16:40:39 -07002822#include "kona-smp2p.dtsi"
Hemant Kumar5f58bad2018-08-31 14:25:23 -07002823#include "kona-usb.dtsi"
Tingwei Zhang564fa692018-11-28 00:31:17 -08002824#include "kona-coresight.dtsi"
Samantha Tran7e309f02018-08-31 17:23:00 -07002825#include "kona-sde.dtsi"
Satya Rama Aditya Pinapala09600b32018-10-29 10:52:37 -07002826#include "kona-sde-pll.dtsi"
Samantha Tran7e309f02018-08-31 17:23:00 -07002827#include "kona-sde-display.dtsi"
Mukund Atred454ec92018-11-05 15:32:16 -08002828
Arjun Bagla76f02ef2018-09-19 10:00:29 -07002829#include "kona-pm.dtsi"
Mukund Atred454ec92018-11-05 15:32:16 -08002830
2831#include "kona-camera.dtsi"
Vipin Deep Kaur9a2c13d2018-12-19 18:38:46 +05302832#include "kona-qupv3.dtsi"
Karthikeyan Mani7f5b10b2019-01-16 16:35:07 -08002833#include "kona-audio.dtsi"
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002834#include "kona-thermal.dtsi"
Chinmay Sawarkar83d01b42018-12-14 12:34:50 -08002835#include "kona-vidc.dtsi"
George Shen9c54c662018-12-26 15:50:11 -08002836#include "kona-cvp.dtsi"
Jilai Wang6fed1a22019-01-23 16:58:39 -05002837#include "kona-npu.dtsi"