blob: ed2fcfac780c70cfa932201b6d82bcde666a01c7 [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 Prabhala50812f72018-12-13 12:50:08 -0800192 dynamic-power-coefficient = <374>;
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 Prabhala50812f72018-12-13 12:50:08 -0800234 dynamic-power-coefficient = <374>;
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 Prabhala50812f72018-12-13 12:50:08 -0800276 dynamic-power-coefficient = <374>;
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 Prabhala50812f72018-12-13 12:50:08 -0800318 dynamic-power-coefficient = <431>;
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>;
553 size = <0x0 0x1000000>;
554 };
555
George Shen9c54c662018-12-26 15:50:11 -0800556 cdsp_mem: cdsp_region {
557 compatible = "shared-dma-pool";
558 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
559 reusable;
560 alignment = <0x0 0x400000>;
561 size = <0x0 0x400000>;
562 };
563
Tingwei Zhangd9b535f2018-12-03 19:14:06 -0800564 dump_mem: mem_dump_region {
565 compatible = "shared-dma-pool";
566 reusable;
567 size = <0 0x2400000>;
568 };
569
Swathi Sridhara79a9542018-06-21 11:40:44 -0700570 /* global autoconfigured region for contiguous allocations */
571 linux,cma {
572 compatible = "shared-dma-pool";
573 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
574 reusable;
575 alignment = <0x0 0x400000>;
576 size = <0x0 0x2000000>;
577 linux,cma-default;
578 };
579 };
Bruce Levyc5eb1992019-01-11 12:09:18 -0800580
581 vendor: vendor {
582 #address-cells = <1>;
583 #size-cells = <1>;
584 ranges = <0 0 0 0xffffffff>;
585 compatible = "simple-bus";
586 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700587};
588
589&soc {
590 #address-cells = <1>;
591 #size-cells = <1>;
592 ranges = <0 0 0 0xffffffff>;
593 compatible = "simple-bus";
594
David Collins692dff72018-11-12 17:09:49 -0800595 thermal_zones: thermal-zones {
596 };
597
Dilip Kotaab8bf962018-12-26 12:12:22 +0530598 slim_aud: slim@3ac0000 {
599 cell-index = <1>;
600 compatible = "qcom,slim-ngd";
601 reg = <0x3ac0000 0x2c000>,
602 <0x3a84000 0x2c000>;
603 reg-names = "slimbus_physical", "slimbus_bam_physical";
604 interrupts = <0 163 0>, <0 164 0>;
605 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
606 qcom,apps-ch-pipes = <0x700000>;
607 qcom,ea-pc = <0x2d0>;
608 status = "disabled";
609 qcom,iommu-s1-bypass;
610
611 iommu_slim_aud_ctrl_cb: qcom,iommu_slim_ctrl_cb {
612 compatible = "qcom,iommu-slim-ctrl-cb";
613 iommus = <&apps_smmu 0x1826 0x0>,
614 <&apps_smmu 0x182f 0x0>,
615 <&apps_smmu 0x1830 0x1>;
616 status = "disabled";
617 };
618 };
619
Runmin Wang4f5985b2017-04-19 15:55:12 -0700620 intc: interrupt-controller@17a00000 {
621 compatible = "arm,gic-v3";
622 #interrupt-cells = <3>;
623 interrupt-controller;
624 #redistributor-regions = <1>;
625 redistributor-stride = <0x0 0x20000>;
626 reg = <0x17a00000 0x10000>, /* GICD */
627 <0x17a60000 0x100000>; /* GICR * 8 */
628 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
629 };
630
Rishabh Bhatnagarfd73eb12018-09-04 15:00:46 -0700631 qcom,chd_silver {
632 compatible = "qcom,core-hang-detect";
633 label = "silver";
634 qcom,threshold-arr = <0x18000058 0x18010058
635 0x18020058 0x18030058>;
636 qcom,config-arr = <0x18000060 0x18010060
637 0x18020060 0x18030060>;
638 };
639
640 qcom,chd_gold {
641 compatible = "qcom,core-hang-detect";
642 label = "gold";
643 qcom,threshold-arr = <0x18040058 0x18050058
644 0x18060058 0x18070058>;
645 qcom,config-arr = <0x18040060 0x18050060
646 0x18060060 0x18070060>;
647 };
648
Rishabh Bhatnagar8f0dd4b2018-08-07 11:07:40 -0700649 cache-controller@9200000 {
650 compatible = "qcom,kona-llcc";
651 reg = <0x9200000 0x1d0000> , <0x9600000 0x50000>;
652 reg-names = "llcc_base", "llcc_broadcast_base";
Channagoud Kadabia13ed0a2018-09-26 16:10:35 -0700653 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
Rishabh Bhatnagar2e49cd3a2019-01-16 12:03:36 -0800654 cap-based-alloc-and-pwr-collapse;
Rishabh Bhatnagar8f0dd4b2018-08-07 11:07:40 -0700655 };
656
Rishabh Bhatnagarc6970a02018-09-04 16:43:43 -0700657 wdog: qcom,wdt@17c10000 {
658 compatible = "qcom,msm-watchdog";
659 reg = <0x17c10000 0x1000>;
660 reg-names = "wdt-base";
661 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
662 <0 1 IRQ_TYPE_LEVEL_HIGH>;
663 qcom,bark-time = <11000>;
664 qcom,pet-time = <9360>;
665 qcom,wakeup-enable;
666 qcom,scandump-sizes = <0x10100 0x10100 0x10100 0x10100
667 0x18100 0x18100 0x18100 0x18100>;
668 status = "disabled";
669 };
670
Maria Neptune5a1428b2018-08-29 13:25:19 -0700671 arch_timer: timer {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700672 compatible = "arm,armv8-timer";
673 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
674 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
675 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
676 <GIC_PPI 12 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
677 clock-frequency = <19200000>;
678 };
679
Maria Neptune5a1428b2018-08-29 13:25:19 -0700680 memtimer: timer@17c20000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700681 #address-cells = <1>;
682 #size-cells = <1>;
683 ranges;
684 compatible = "arm,armv7-timer-mem";
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700685 reg = <0x17c20000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700686 clock-frequency = <19200000>;
687
Maria Neptune5a1428b2018-08-29 13:25:19 -0700688 frame@17c21000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700689 frame-number = <0>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700690 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
Runmin Wang4f5985b2017-04-19 15:55:12 -0700691 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700692 reg = <0x17c21000 0x1000>,
693 <0x17c22000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700694 };
695
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700696 frame@17c23000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700697 frame-number = <1>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700698 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
699 reg = <0x17c23000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700700 status = "disabled";
701 };
702
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700703 frame@17c25000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700704 frame-number = <2>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700705 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
706 reg = <0x17c25000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700707 status = "disabled";
708 };
709
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700710 frame@17c27000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700711 frame-number = <3>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700712 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
713 reg = <0x17c27000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700714 status = "disabled";
715 };
716
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700717 frame@17c29000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700718 frame-number = <4>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700719 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
720 reg = <0x17c29000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700721 status = "disabled";
722 };
723
Maria Neptune5a1428b2018-08-29 13:25:19 -0700724 frame@17c2b000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700725 frame-number = <5>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700726 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
727 reg = <0x17c2b000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700728 status = "disabled";
729 };
730
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700731 frame@17c2d000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700732 frame-number = <6>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700733 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
734 reg = <0x17c2d000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700735 status = "disabled";
736 };
737 };
Deepak Katragadda5bbf8142018-06-20 16:12:13 -0700738
Tingwei Zhang020594a2018-11-27 21:58:09 -0800739 jtag_mm0: jtagmm@7040000 {
740 compatible = "qcom,jtagv8-mm";
741 reg = <0x7040000 0x1000>;
742 reg-names = "etm-base";
743
744 clocks = <&clock_aop QDSS_CLK>;
745 clock-names = "core_clk";
746
747 qcom,coresight-jtagmm-cpu = <&CPU0>;
748 };
749
750 jtag_mm1: jtagmm@7140000 {
751 compatible = "qcom,jtagv8-mm";
752 reg = <0x7140000 0x1000>;
753 reg-names = "etm-base";
754
755 clocks = <&clock_aop QDSS_CLK>;
756 clock-names = "core_clk";
757
758 qcom,coresight-jtagmm-cpu = <&CPU1>;
759 };
760
761 jtag_mm2: jtagmm@7240000 {
762 compatible = "qcom,jtagv8-mm";
763 reg = <0x7240000 0x1000>;
764 reg-names = "etm-base";
765
766 clocks = <&clock_aop QDSS_CLK>;
767 clock-names = "core_clk";
768
769 qcom,coresight-jtagmm-cpu = <&CPU2>;
770 };
771
772 jtag_mm3: jtagmm@7340000 {
773 compatible = "qcom,jtagv8-mm";
774 reg = <0x7340000 0x1000>;
775 reg-names = "etm-base";
776
777 clocks = <&clock_aop QDSS_CLK>;
778 clock-names = "core_clk";
779
780 qcom,coresight-jtagmm-cpu = <&CPU3>;
781 };
782
783 jtag_mm4: jtagmm@7440000 {
784 compatible = "qcom,jtagv8-mm";
785 reg = <0x7440000 0x1000>;
786 reg-names = "etm-base";
787
788 clocks = <&clock_aop QDSS_CLK>;
789 clock-names = "core_clk";
790
791 qcom,coresight-jtagmm-cpu = <&CPU4>;
792 };
793
794 jtag_mm5: jtagmm@7540000 {
795 compatible = "qcom,jtagv8-mm";
796 reg = <0x7540000 0x1000>;
797 reg-names = "etm-base";
798
799 clocks = <&clock_aop QDSS_CLK>;
800 clock-names = "core_clk";
801
802 qcom,coresight-jtagmm-cpu = <&CPU5>;
803 };
804
805 jtag_mm6: jtagmm@7640000 {
806 compatible = "qcom,jtagv8-mm";
807 reg = <0x7640000 0x1000>;
808 reg-names = "etm-base";
809
810 clocks = <&clock_aop QDSS_CLK>;
811 clock-names = "core_clk";
812
813 qcom,coresight-jtagmm-cpu = <&CPU6>;
814 };
815
816 jtag_mm7: jtagmm@7740000 {
817 compatible = "qcom,jtagv8-mm";
818 reg = <0x7740000 0x1000>;
819 reg-names = "etm-base";
820
821 clocks = <&clock_aop QDSS_CLK>;
822 clock-names = "core_clk";
823
824 qcom,coresight-jtagmm-cpu = <&CPU7>;
825 };
826
David Dai3c427802018-10-17 14:40:08 -0700827 qcom,devfreq-l3 {
828 compatible = "qcom,devfreq-fw";
829 reg = <0x18590000 0x4>, <0x18590100 0xa0>, <0x18590320 0x4>;
830 reg-names = "en-base", "ftbl-base", "perf-base";
831
832 qcom,cpu0-l3 {
833 compatible = "qcom,devfreq-fw-voter";
834 };
835
836 qcom,cpu4-l3 {
837 compatible = "qcom,devfreq-fw-voter";
838 };
839 };
840
Chinmay Sawarkare5d4b862019-01-07 15:54:39 -0800841 venus_bus_cnoc_bw_table: bus-cnoc-bw-table {
842 compatible = "operating-points-v2";
843 BW_OPP_ENTRY( 200, 4);
844 };
845
Rama Aparna Mallavarapu5a7daf42019-01-14 22:08:20 -0800846 llcc_bw_opp_table: llcc-bw-opp-table {
847 compatible = "operating-points-v2";
848 BW_OPP_ENTRY( 150, 16); /* 2288 MB/s */
849 BW_OPP_ENTRY( 300, 16); /* 4577 MB/s */
850 BW_OPP_ENTRY( 466, 16); /* 7110 MB/s */
851 BW_OPP_ENTRY( 600, 16); /* 9155 MB/s */
852 BW_OPP_ENTRY( 806, 16); /* 12298 MB/s */
853 BW_OPP_ENTRY( 933, 16); /* 14236 MB/s */
854 BW_OPP_ENTRY( 1000, 16); /* 15258 MB/s */
855 };
856
857 ddr_bw_opp_table: ddr-bw-opp-table {
858 compatible = "operating-points-v2";
859 BW_OPP_ENTRY( 200, 4); /* 762 MB/s */
860 BW_OPP_ENTRY( 300, 4); /* 1144 MB/s */
861 BW_OPP_ENTRY( 451, 4); /* 1720 MB/s */
862 BW_OPP_ENTRY( 547, 4); /* 2086 MB/s */
863 BW_OPP_ENTRY( 681, 4); /* 2597 MB/s */
864 BW_OPP_ENTRY( 768, 4); /* 2929 MB/s */
865 BW_OPP_ENTRY( 1017, 4); /* 3879 MB/s */
866 BW_OPP_ENTRY( 1353, 4); /* 5161 MB/s */
867 BW_OPP_ENTRY( 1555, 4); /* 5931 MB/s */
868 BW_OPP_ENTRY( 2092, 4); /* 7980 MB/s */
869 BW_OPP_ENTRY( 2736, 4); /* 10437 MB/s */
870 };
871
872 suspendable_ddr_bw_opp_table: suspendable-ddr-bw-opp-table {
873 compatible = "operating-points-v2";
874 BW_OPP_ENTRY( 0, 4); /* 0 MB/s */
875 BW_OPP_ENTRY( 200, 4); /* 762 MB/s */
876 BW_OPP_ENTRY( 300, 4); /* 1144 MB/s */
877 BW_OPP_ENTRY( 451, 4); /* 1720 MB/s */
878 BW_OPP_ENTRY( 547, 4); /* 2086 MB/s */
879 BW_OPP_ENTRY( 681, 4); /* 2597 MB/s */
880 BW_OPP_ENTRY( 768, 4); /* 2929 MB/s */
881 BW_OPP_ENTRY( 1017, 4); /* 3879 MB/s */
882 BW_OPP_ENTRY( 1353, 4); /* 5161 MB/s */
883 BW_OPP_ENTRY( 1555, 4); /* 5931 MB/s */
884 BW_OPP_ENTRY( 2092, 4); /* 7980 MB/s */
885 BW_OPP_ENTRY( 2736, 4); /* 10437 MB/s */
886 };
887
Rishabh Bhatnagarf35ba022018-09-18 15:17:22 -0700888 qcom,msm-imem@146bf000 {
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700889 compatible = "qcom,msm-imem";
890 reg = <0x146bf000 0x1000>;
891 ranges = <0x0 0x146bf000 0x1000>;
892 #address-cells = <1>;
893 #size-cells = <1>;
894
Tingwei Zhangd9b535f2018-12-03 19:14:06 -0800895 mem_dump_table@10 {
896 compatible = "qcom,msm-imem-mem_dump_table";
897 reg = <0x10 0x8>;
898 };
899
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700900 restart_reason@65c {
901 compatible = "qcom,msm-imem-restart_reason";
Maria Neptune5a1428b2018-08-29 13:25:19 -0700902 reg = <0x65c 0x4>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700903 };
904
905 dload_type@1c {
906 compatible = "qcom,msm-imem-dload-type";
907 reg = <0x1c 0x4>;
908 };
909
910 boot_stats@6b0 {
911 compatible = "qcom,msm-imem-boot_stats";
Maria Neptune5a1428b2018-08-29 13:25:19 -0700912 reg = <0x6b0 0x20>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700913 };
914
915 kaslr_offset@6d0 {
916 compatible = "qcom,msm-imem-kaslr_offset";
Maria Neptune5a1428b2018-08-29 13:25:19 -0700917 reg = <0x6d0 0xc>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700918 };
919
920 pil@94c {
921 compatible = "qcom,msm-imem-pil";
Maria Neptune5a1428b2018-08-29 13:25:19 -0700922 reg = <0x94c 0xc8>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700923 };
924 };
925
Rishabh Bhatnagar811170f2018-11-09 13:44:32 -0800926 restart@c264000 {
927 compatible = "qcom,pshold";
928 reg = <0xc264000 0x4>,
929 <0x1fd3000 0x4>;
930 reg-names = "pshold-base", "tcsr-boot-misc-detect";
931 };
932
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -0700933 mdm0: qcom,mdm0 {
Rishabh Bhatnagar134ede82018-10-16 10:54:12 -0700934 compatible = "qcom,ext-sdx55m";
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -0700935 cell-index = <0>;
936 #address-cells = <0>;
937 interrupt-parent = <&mdm0>;
938 #interrupt-cells = <1>;
939 interrupt-map-mask = <0xffffffff>;
940 interrupt-names =
941 "err_fatal_irq",
942 "status_irq",
943 "mdm2ap_vddmin_irq";
944 /* modem attributes */
945 qcom,ramdump-delay-ms = <3000>;
946 qcom,ramdump-timeout-ms = <120000>;
947 qcom,vddmin-modes = "normal";
948 qcom,vddmin-drive-strength = <8>;
949 qcom,sfr-query;
950 qcom,sysmon-id = <20>;
951 qcom,ssctl-instance-id = <0x10>;
952 qcom,support-shutdown;
953 qcom,pil-force-shutdown;
954 qcom,esoc-skip-restart-for-mdm-crash;
955 pinctrl-names = "default", "mdm_active", "mdm_suspend";
956 pinctrl-0 = <&ap2mdm_pon_reset_default>;
957 pinctrl-1 = <&ap2mdm_active &mdm2ap_active>;
958 pinctrl-2 = <&ap2mdm_sleep &mdm2ap_sleep>;
959 interrupt-map = <0 &tlmm 1 0x3
960 1 &tlmm 3 0x3>;
961 qcom,mdm2ap-errfatal-gpio = <&tlmm 1 0x00>;
962 qcom,ap2mdm-errfatal-gpio = <&tlmm 57 0x00>;
963 qcom,mdm2ap-status-gpio = <&tlmm 3 0x00>;
964 qcom,ap2mdm-status-gpio = <&tlmm 56 0x00>;
Rishabh Bhatnagar2b66dc12018-10-18 10:36:27 -0700965 qcom,ap2mdm-soft-reset-gpio = <&tlmm 145 GPIO_ACTIVE_LOW>;
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -0700966 qcom,mdm-link-info = "0306_02.01.00";
967 status = "ok";
968 };
969
Lina Iyer8551c792018-06-21 16:06:53 -0600970 pdc: interrupt-controller@b220000 {
971 compatible = "qcom,kona-pdc";
972 reg = <0xb220000 0x30000>;
973 qcom,pdc-ranges = <0 480 29>, <42 522 52>, <94 609 30>;
974 #interrupt-cells = <2>;
975 interrupt-parent = <&intc>;
976 interrupt-controller;
977 };
978
Vivek Aknurwar65bafd92018-11-01 17:27:53 -0700979 clocks {
David Daiee6a9d62019-01-10 17:14:04 -0800980 xo_board: xo-board {
981 compatible = "fixed-clock";
982 #clock-cells = <0>;
983 clock-frequency = <38400000>;
984 clock-output-names = "xo_board";
985 };
986
Vivek Aknurwar65bafd92018-11-01 17:27:53 -0700987 sleep_clk: sleep-clk {
988 compatible = "fixed-clock";
989 clock-frequency = <32000>;
990 clock-output-names = "chip_sleep_clk";
991 #clock-cells = <1>;
992 };
993 };
994
Deepak Katragadda5bbf8142018-06-20 16:12:13 -0700995 clock_aop: qcom,aopclk {
996 compatible = "qcom,dummycc";
997 clock-output-names = "qdss_clocks";
998 #clock-cells = <1>;
999 };
1000
Vivek Aknurwar7e9ecb92018-09-07 14:27:58 -07001001 clock_gcc: qcom,gcc@100000 {
David Dai7e431ad2018-12-05 15:37:39 -08001002 compatible = "qcom,gcc-kona", "syscon";
Vivek Aknurwar7e9ecb92018-09-07 14:27:58 -07001003 reg = <0x100000 0x1f0000>;
1004 reg-names = "cc_base";
1005 vdd_cx-supply = <&VDD_CX_LEVEL>;
1006 vdd_cx_ao-supply = <&VDD_CX_LEVEL_AO>;
1007 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001008 #clock-cells = <1>;
1009 #reset-cells = <1>;
1010 };
1011
David Collins4eb34f32018-12-06 11:51:01 -08001012 clock_npucc: qcom,npucc@9980000 {
1013 compatible = "qcom,npucc-kona", "syscon";
1014 reg = <0x9980000 0x10000>,
1015 <0x9800000 0x10000>,
1016 <0x9810000 0x10000>;
1017 reg-names = "cc", "qdsp6ss", "qdsp6ss_pll";
1018 vdd_cx-supply = <&VDD_CX_LEVEL>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001019 #clock-cells = <1>;
1020 #reset-cells = <1>;
1021 };
1022
Vivek Aknurwar65bafd92018-11-01 17:27:53 -07001023 clock_videocc: qcom,videocc@abf0000 {
1024 compatible = "qcom,videocc-kona", "syscon";
1025 reg = <0xabf0000 0x10000>;
1026 reg-names = "cc_base";
1027 vdd_mx-supply = <&VDD_MX_LEVEL>;
1028 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
1029 clock-names = "cfg_ahb_clk";
1030 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001031 #clock-cells = <1>;
1032 #reset-cells = <1>;
1033 };
1034
Vivek Aknurwar86452c02018-11-05 15:20:31 -08001035 clock_camcc: qcom,camcc@ad00000 {
1036 compatible = "qcom,camcc-kona", "syscon";
1037 reg = <0xad00000 0x10000>;
1038 reg-names = "cc_base";
1039 vdd_mx-supply = <&VDD_MX_LEVEL>;
1040 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
1041 clock-names = "cfg_ahb_clk";
1042 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001043 #clock-cells = <1>;
1044 #reset-cells = <1>;
1045 };
1046
David Daidc93e482018-11-27 17:32:50 -08001047 clock_dispcc: qcom,dispcc@af00000 {
David Dai7e431ad2018-12-05 15:37:39 -08001048 compatible = "qcom,kona-dispcc", "syscon";
David Daidc93e482018-11-27 17:32:50 -08001049 reg = <0xaf00000 0x20000>;
1050 reg-names = "cc_base";
1051 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
1052 clock-names = "cfg_ahb_clk";
1053 clocks = <&clock_gcc GCC_DISP_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001054 #clock-cells = <1>;
1055 #reset-cells = <1>;
1056 };
1057
Vivek Aknurwar31c2e0f22018-11-16 17:10:12 -08001058 clock_gpucc: qcom,gpucc@3d90000 {
1059 compatible = "qcom,gpucc-kona", "syscon";
1060 reg = <0x3d90000 0x9000>;
1061 reg-names = "cc_base";
1062 vdd_cx-supply = <&VDD_CX_LEVEL>;
1063 vdd_mx-supply = <&VDD_MX_LEVEL>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001064 #clock-cells = <1>;
1065 #reset-cells = <1>;
1066 };
1067
1068 clock_cpucc: qcom,cpucc {
1069 compatible = "qcom,dummycc";
1070 clock-output-names = "cpucc_clocks";
1071 #clock-cells = <1>;
1072 };
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -07001073
David Dai7e431ad2018-12-05 15:37:39 -08001074 clock_debugcc: qcom,cc-debug {
1075 compatible = "qcom,kona-debugcc";
1076 qcom,gcc = <&clock_gcc>;
1077 qcom,videocc = <&clock_videocc>;
1078 qcom,dispcc = <&clock_dispcc>;
1079 qcom,camcc = <&clock_camcc>;
1080 qcom,gpucc = <&clock_gpucc>;
David Collins4eb34f32018-12-06 11:51:01 -08001081 qcom,npucc = <&clock_npucc>;
David Dai7e431ad2018-12-05 15:37:39 -08001082 clock-names = "xo_clk_src";
David Daiee6a9d62019-01-10 17:14:04 -08001083 clocks = <&clock_rpmh RPMH_CXO_CLK>;
David Dai7e431ad2018-12-05 15:37:39 -08001084 #clock-cells = <1>;
1085 };
1086
David Collinsa86302c2018-09-17 14:16:50 -07001087 /* GCC GDSCs */
1088 pcie_0_gdsc: qcom,gdsc@16b004 {
1089 compatible = "qcom,gdsc";
1090 reg = <0x16b004 0x4>;
1091 regulator-name = "pcie_0_gdsc";
1092 };
1093
1094 pcie_1_gdsc: qcom,gdsc@18d004 {
1095 compatible = "qcom,gdsc";
1096 reg = <0x18d004 0x4>;
1097 regulator-name = "pcie_1_gdsc";
1098 };
1099
1100 pcie_2_gdsc: qcom,gdsc@106004 {
1101 compatible = "qcom,gdsc";
1102 reg = <0x106004 0x4>;
1103 regulator-name = "pcie_2_gdsc";
1104 };
1105
1106 ufs_card_gdsc: qcom,gdsc@175004 {
1107 compatible = "qcom,gdsc";
1108 reg = <0x175004 0x4>;
1109 regulator-name = "ufs_card_gdsc";
1110 };
1111
1112 ufs_phy_gdsc: qcom,gdsc@177004 {
1113 compatible = "qcom,gdsc";
1114 reg = <0x177004 0x4>;
1115 regulator-name = "ufs_phy_gdsc";
1116 };
1117
1118 usb30_prim_gdsc: qcom,gdsc@10f004 {
1119 compatible = "qcom,gdsc";
1120 reg = <0x10f004 0x4>;
1121 regulator-name = "usb30_prim_gdsc";
1122 };
1123
1124 usb30_sec_gdsc: qcom,gdsc@110004 {
1125 compatible = "qcom,gdsc";
1126 reg = <0x110004 0x4>;
1127 regulator-name = "usb30_sec_gdsc";
1128 };
1129
1130 hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc: qcom,gdsc@17d050 {
1131 compatible = "qcom,gdsc";
1132 reg = <0x17d050 0x4>;
1133 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc";
1134 qcom,no-status-check-on-disable;
1135 qcom,gds-timeout = <500>;
1136 };
1137
1138 hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc: qcom,gdsc@17d058 {
1139 compatible = "qcom,gdsc";
1140 reg = <0x17d058 0x4>;
1141 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc";
1142 qcom,no-status-check-on-disable;
1143 qcom,gds-timeout = <500>;
1144 };
1145
1146 hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc: qcom,gdsc@17d054 {
1147 compatible = "qcom,gdsc";
1148 reg = <0x17d054 0x4>;
1149 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc";
1150 qcom,no-status-check-on-disable;
1151 qcom,gds-timeout = <500>;
1152 };
1153
1154 hlos1_vote_mmnoc_mmu_tbu_sf1_gdsc: qcom,gdsc@17d06c {
1155 compatible = "qcom,gdsc";
1156 reg = <0x17d06c 0x4>;
1157 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf1_gdsc";
1158 qcom,no-status-check-on-disable;
1159 qcom,gds-timeout = <500>;
1160 };
1161
1162 /* CAM_CC GDSCs */
1163 bps_gdsc: qcom,gdsc@ad07004 {
1164 compatible = "qcom,gdsc";
1165 reg = <0xad07004 0x4>;
1166 regulator-name = "bps_gdsc";
1167 clock-names = "ahb_clk";
1168 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1169 parent-supply = <&VDD_MMCX_LEVEL>;
1170 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1171 qcom,support-hw-trigger;
1172 };
1173
1174 ife_0_gdsc: qcom,gdsc@ad0a004 {
1175 compatible = "qcom,gdsc";
1176 reg = <0xad0a004 0x4>;
1177 regulator-name = "ife_0_gdsc";
1178 clock-names = "ahb_clk";
1179 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1180 parent-supply = <&VDD_MMCX_LEVEL>;
1181 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1182 };
1183
1184 ife_1_gdsc: qcom,gdsc@ad0b004 {
1185 compatible = "qcom,gdsc";
1186 reg = <0xad0b004 0x4>;
1187 regulator-name = "ife_1_gdsc";
1188 clock-names = "ahb_clk";
1189 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1190 parent-supply = <&VDD_MMCX_LEVEL>;
1191 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1192 };
1193
1194 ipe_0_gdsc: qcom,gdsc@ad08004 {
1195 compatible = "qcom,gdsc";
1196 reg = <0xad08004 0x4>;
1197 regulator-name = "ipe_0_gdsc";
1198 clock-names = "ahb_clk";
1199 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1200 parent-supply = <&VDD_MMCX_LEVEL>;
1201 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1202 qcom,support-hw-trigger;
1203 };
1204
1205 sbi_gdsc: qcom,gdsc@ad09004 {
1206 compatible = "qcom,gdsc";
1207 reg = <0xad09004 0x4>;
1208 regulator-name = "sbi_gdsc";
1209 clock-names = "ahb_clk";
1210 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1211 parent-supply = <&VDD_MMCX_LEVEL>;
1212 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1213 };
1214
1215 titan_top_gdsc: qcom,gdsc@ad0c144 {
1216 compatible = "qcom,gdsc";
1217 reg = <0xad0c144 0x4>;
1218 regulator-name = "titan_top_gdsc";
1219 clock-names = "ahb_clk";
1220 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1221 parent-supply = <&VDD_MMCX_LEVEL>;
1222 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1223 };
1224
1225 /* DISP_CC GDSC */
1226 mdss_core_gdsc: qcom,gdsc@af03000 {
1227 compatible = "qcom,gdsc";
1228 reg = <0xaf03000 0x4>;
1229 regulator-name = "mdss_core_gdsc";
1230 clock-names = "ahb_clk";
1231 clocks = <&clock_gcc GCC_DISP_AHB_CLK>;
1232 parent-supply = <&VDD_MMCX_LEVEL>;
1233 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1234 qcom,support-hw-trigger;
1235 };
1236
1237 /* GPU_CC GDSCs */
1238 gpu_cx_hw_ctrl: syscon@3d91540 {
1239 compatible = "syscon";
1240 reg = <0x3d91540 0x4>;
1241 };
1242
1243 gpu_cx_gdsc: qcom,gdsc@3d9106c {
1244 compatible = "qcom,gdsc";
1245 reg = <0x3d9106c 0x4>;
1246 regulator-name = "gpu_cx_gdsc";
1247 hw-ctrl-addr = <&gpu_cx_hw_ctrl>;
1248 parent-supply = <&VDD_CX_LEVEL>;
1249 qcom,no-status-check-on-disable;
1250 qcom,clk-dis-wait-val = <8>;
1251 qcom,gds-timeout = <500>;
1252 };
1253
David Collinsd7eea142018-10-08 17:32:48 -07001254 gpu_gx_domain_addr: syscon@3d91508 {
David Collinsa86302c2018-09-17 14:16:50 -07001255 compatible = "syscon";
1256 reg = <0x3d91508 0x4>;
1257 };
1258
David Collinsd7eea142018-10-08 17:32:48 -07001259 gpu_gx_sw_reset: syscon@3d91008 {
David Collinsa86302c2018-09-17 14:16:50 -07001260 compatible = "syscon";
1261 reg = <0x3d91008 0x4>;
1262 };
1263
1264 gpu_gx_gdsc: qcom,gdsc@3d9100c {
1265 compatible = "qcom,gdsc";
1266 reg = <0x3d9100c 0x4>;
1267 regulator-name = "gpu_gx_gdsc";
1268 domain-addr = <&gpu_gx_domain_addr>;
1269 sw-reset = <&gpu_gx_sw_reset>;
1270 parent-supply = <&VDD_GFX_LEVEL>;
1271 vdd_parent-supply = <&VDD_GFX_LEVEL>;
1272 qcom,reset-aon-logic;
1273 };
1274
1275 /* NPU GDSC */
1276 npu_core_gdsc: qcom,gdsc@9981004 {
1277 compatible = "qcom,gdsc";
1278 reg = <0x9981004 0x4>;
1279 regulator-name = "npu_core_gdsc";
1280 clock-names = "ahb_clk";
1281 clocks = <&clock_gcc GCC_NPU_CFG_AHB_CLK>;
1282 };
1283
Jishnu Prakash793bf5b2018-11-09 16:28:55 +05301284 qcom,sps {
1285 compatible = "qcom,msm-sps-4k";
1286 qcom,pipe-attr-ee;
1287 };
1288
David Collinsa86302c2018-09-17 14:16:50 -07001289 /* VIDEO_CC GDSCs */
1290 mvs0_gdsc: qcom,gdsc@abf0d18 {
1291 compatible = "qcom,gdsc";
1292 reg = <0xabf0d18 0x4>;
1293 regulator-name = "mvs0_gdsc";
1294 clock-names = "ahb_clk";
1295 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1296 parent-supply = <&VDD_MMCX_LEVEL>;
1297 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1298 };
1299
1300 mvs0c_gdsc: qcom,gdsc@abf0bf8 {
1301 compatible = "qcom,gdsc";
1302 reg = <0xabf0bf8 0x4>;
1303 regulator-name = "mvs0c_gdsc";
1304 clock-names = "ahb_clk";
1305 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1306 parent-supply = <&VDD_MMCX_LEVEL>;
1307 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1308 };
1309
1310 mvs1_gdsc: qcom,gdsc@abf0d98 {
1311 compatible = "qcom,gdsc";
1312 reg = <0xabf0d98 0x4>;
1313 regulator-name = "mvs1_gdsc";
1314 clock-names = "ahb_clk";
1315 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1316 parent-supply = <&VDD_MMCX_LEVEL>;
1317 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1318 };
1319
1320 mvs1c_gdsc: qcom,gdsc@abf0c98 {
1321 compatible = "qcom,gdsc";
1322 reg = <0xabf0c98 0x4>;
1323 regulator-name = "mvs1c_gdsc";
1324 clock-names = "ahb_clk";
1325 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1326 parent-supply = <&VDD_MMCX_LEVEL>;
1327 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1328 };
1329
David Collinsc2c02f62018-11-05 16:23:24 -08001330 spmi_bus: qcom,spmi@c440000 {
1331 compatible = "qcom,spmi-pmic-arb";
1332 reg = <0xc440000 0x1100>,
1333 <0xc600000 0x2000000>,
1334 <0xe600000 0x100000>,
1335 <0xe700000 0xa0000>,
1336 <0xc40a000 0x26000>;
1337 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1338 interrupt-names = "periph_irq";
1339 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
1340 qcom,ee = <0>;
1341 qcom,channel = <0>;
1342 #address-cells = <2>;
1343 #size-cells = <0>;
1344 interrupt-controller;
1345 #interrupt-cells = <4>;
1346 cell-index = <0>;
1347 };
1348
Can Guob04bed52018-07-10 19:27:32 -07001349 ufsphy_mem: ufsphy_mem@1d87000 {
1350 reg = <0x1d87000 0xe00>; /* PHY regs */
1351 reg-names = "phy_mem";
1352 #phy-cells = <0>;
1353
1354 lanes-per-direction = <2>;
1355
1356 clock-names = "ref_clk_src",
1357 "ref_clk",
1358 "ref_aux_clk";
1359 clocks = <&clock_rpmh RPMH_CXO_CLK>,
Vivek Aknurwarec5c93d2018-08-28 14:52:33 -07001360 <&clock_gcc GCC_UFS_1X_CLKREF_EN>,
Can Guob04bed52018-07-10 19:27:32 -07001361 <&clock_gcc GCC_UFS_PHY_PHY_AUX_CLK>;
1362
1363 status = "disabled";
1364 };
1365
1366 ufshc_mem: ufshc@1d84000 {
1367 compatible = "qcom,ufshc";
1368 reg = <0x1d84000 0x3000>;
1369 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1370 phys = <&ufsphy_mem>;
1371 phy-names = "ufsphy";
1372
1373 lanes-per-direction = <2>;
1374 dev-ref-clk-freq = <0>; /* 19.2 MHz */
1375
1376 clock-names =
1377 "core_clk",
1378 "bus_aggr_clk",
1379 "iface_clk",
1380 "core_clk_unipro",
1381 "core_clk_ice",
1382 "ref_clk",
1383 "tx_lane0_sync_clk",
1384 "rx_lane0_sync_clk",
1385 "rx_lane1_sync_clk";
1386 clocks =
1387 <&clock_gcc GCC_UFS_PHY_AXI_CLK>,
1388 <&clock_gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1389 <&clock_gcc GCC_UFS_PHY_AHB_CLK>,
1390 <&clock_gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
1391 <&clock_gcc GCC_UFS_PHY_ICE_CORE_CLK>,
1392 <&clock_rpmh RPMH_CXO_CLK>,
1393 <&clock_gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
1394 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
1395 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
1396 freq-table-hz =
1397 <37500000 300000000>,
1398 <0 0>,
1399 <0 0>,
1400 <37500000 300000000>,
1401 <75000000 300000000>,
1402 <0 0>,
1403 <0 0>,
1404 <0 0>,
1405 <0 0>;
1406
1407 qcom,msm-bus,name = "ufshc_mem";
1408 qcom,msm-bus,num-cases = <22>;
1409 qcom,msm-bus,num-paths = <2>;
1410 qcom,msm-bus,vectors-KBps =
1411 /*
1412 * During HS G3 UFS runs at nominal voltage corner, vote
1413 * higher bandwidth to push other buses in the data path
1414 * to run at nominal to achieve max throughput.
1415 * 4GBps pushes BIMC to run at nominal.
1416 * 200MBps pushes CNOC to run at nominal.
1417 * Vote for half of this bandwidth for HS G3 1-lane.
1418 * For max bandwidth, vote high enough to push the buses
1419 * to run in turbo voltage corner.
1420 */
1421 <123 512 0 0>, <1 757 0 0>, /* No vote */
1422 <123 512 922 0>, <1 757 1000 0>, /* PWM G1 */
1423 <123 512 1844 0>, <1 757 1000 0>, /* PWM G2 */
1424 <123 512 3688 0>, <1 757 1000 0>, /* PWM G3 */
1425 <123 512 7376 0>, <1 757 1000 0>, /* PWM G4 */
1426 <123 512 1844 0>, <1 757 1000 0>, /* PWM G1 L2 */
1427 <123 512 3688 0>, <1 757 1000 0>, /* PWM G2 L2 */
1428 <123 512 7376 0>, <1 757 1000 0>, /* PWM G3 L2 */
1429 <123 512 14752 0>, <1 757 1000 0>, /* PWM G4 L2 */
1430 <123 512 127796 0>, <1 757 1000 0>, /* HS G1 RA */
1431 <123 512 255591 0>, <1 757 1000 0>, /* HS G2 RA */
1432 <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RA */
1433 <123 512 255591 0>, <1 757 1000 0>, /* HS G1 RA L2 */
1434 <123 512 511181 0>, <1 757 1000 0>, /* HS G2 RA L2 */
1435 <123 512 4194304 0>, <1 757 204800 0>, /* HS G3 RA L2 */
1436 <123 512 149422 0>, <1 757 1000 0>, /* HS G1 RB */
1437 <123 512 298189 0>, <1 757 1000 0>, /* HS G2 RB */
1438 <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RB */
1439 <123 512 298189 0>, <1 757 1000 0>, /* HS G1 RB L2 */
1440 <123 512 596378 0>, <1 757 1000 0>, /* HS G2 RB L2 */
1441 /* As UFS working in HS G3 RB L2 mode, aggregated
1442 * bandwidth (AB) should take care of providing
1443 * optimum throughput requested. However, as tested,
1444 * in order to scale up CNOC clock, instantaneous
1445 * bindwidth (IB) needs to be given a proper value too.
1446 */
1447 <123 512 4194304 0>, <1 757 204800 409600>, /* HS G3 RB L2 */
1448 <123 512 7643136 0>, <1 757 307200 0>; /* Max. bandwidth */
1449
1450 qcom,bus-vector-names = "MIN",
1451 "PWM_G1_L1", "PWM_G2_L1", "PWM_G3_L1", "PWM_G4_L1",
1452 "PWM_G1_L2", "PWM_G2_L2", "PWM_G3_L2", "PWM_G4_L2",
1453 "HS_RA_G1_L1", "HS_RA_G2_L1", "HS_RA_G3_L1",
1454 "HS_RA_G1_L2", "HS_RA_G2_L2", "HS_RA_G3_L2",
1455 "HS_RB_G1_L1", "HS_RB_G2_L1", "HS_RB_G3_L1",
1456 "HS_RB_G1_L2", "HS_RB_G2_L2", "HS_RB_G3_L2",
1457 "MAX";
1458
1459 /* PM QoS */
1460 qcom,pm-qos-cpu-groups = <0x0f 0xf0>;
1461 qcom,pm-qos-cpu-group-latency-us = <44 44>;
1462 qcom,pm-qos-default-cpu = <0>;
1463
1464 pinctrl-names = "dev-reset-assert", "dev-reset-deassert";
1465 pinctrl-0 = <&ufs_dev_reset_assert>;
1466 pinctrl-1 = <&ufs_dev_reset_deassert>;
1467
1468 resets = <&clock_gcc GCC_UFS_PHY_BCR>;
1469 reset-names = "core_reset";
1470
1471 status = "disabled";
1472 };
1473
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -07001474 ipcc_mproc: qcom,ipcc@408000 {
Neeraj Upadhyay5d7531f2019-01-16 10:25:24 -08001475 compatible = "qcom,ipcc";
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -07001476 reg = <0x408000 0x1000>;
1477 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
1478 interrupt-controller;
1479 #interrupt-cells = <3>;
1480 #mbox-cells = <2>;
1481 };
Lina Iyerea91c722018-06-20 14:58:05 -06001482
Raghavendra Rao Ananta5da54b32018-08-09 10:04:50 -07001483 ipcc_self_ping: ipcc-self-ping {
1484 compatible = "qcom,ipcc-self-ping";
1485 interrupts-extended = <&ipcc_mproc IPCC_CLIENT_APSS
1486 IPCC_MPROC_SIGNAL_SMP2P IRQ_TYPE_LEVEL_HIGH>;
1487 mboxes = <&ipcc_mproc IPCC_CLIENT_APSS IPCC_MPROC_SIGNAL_SMP2P>;
1488 };
1489
Maria Neptune5a1428b2018-08-29 13:25:19 -07001490 apps_rsc: rsc@18200000 {
Lina Iyerea91c722018-06-20 14:58:05 -06001491 label = "apps_rsc";
1492 compatible = "qcom,rpmh-rsc";
1493 reg = <0x18200000 0x10000>,
1494 <0x18210000 0x10000>,
1495 <0x18220000 0x10000>;
1496 reg-names = "drv-0", "drv-1", "drv-2";
1497 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
1498 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
1499 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1500 qcom,tcs-offset = <0xd00>;
1501 qcom,drv-id = <2>;
1502 qcom,tcs-config = <ACTIVE_TCS 2>,
1503 <SLEEP_TCS 3>,
1504 <WAKE_TCS 3>,
1505 <CONTROL_TCS 1>;
David Dai07c8d4e2018-10-09 14:22:06 -07001506
1507 msm_bus_apps_rsc {
1508 compatible = "qcom,msm-bus-rsc";
1509 qcom,msm-bus-id = <MSM_BUS_RSC_APPS>;
1510 };
Arjun Bagla76f02ef2018-09-19 10:00:29 -07001511
1512 system_pm {
1513 compatible = "qcom,system-pm";
1514 };
David Daiee6a9d62019-01-10 17:14:04 -08001515
1516 clock_rpmh: qcom,rpmhclk {
1517 compatible = "qcom,kona-rpmh-clk";
1518 #clock-cells = <1>;
1519 };
Lina Iyerea91c722018-06-20 14:58:05 -06001520 };
1521
1522 disp_rsc: rsc@af20000 {
1523 label = "disp_rsc";
1524 compatible = "qcom,rpmh-rsc";
1525 reg = <0xaf20000 0x10000>;
1526 reg-names = "drv-0";
1527 interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
1528 qcom,tcs-offset = <0x1c00>;
1529 qcom,drv-id = <0>;
1530 qcom,tcs-config = <ACTIVE_TCS 0>,
1531 <SLEEP_TCS 1>,
1532 <WAKE_TCS 1>,
1533 <CONTROL_TCS 0>;
1534 status = "disabled";
Dhaval Patelf92536a2018-10-24 13:19:15 -07001535
1536 sde_rsc_rpmh {
1537 compatible = "qcom,sde-rsc-rpmh";
1538 cell-index = <0>;
1539 status = "disabled";
1540 };
Lina Iyerea91c722018-06-20 14:58:05 -06001541 };
Chris Lew86f6bde2018-09-06 16:40:39 -07001542
1543 tcsr_mutex_block: syscon@1f40000 {
1544 compatible = "syscon";
1545 reg = <0x1f40000 0x20000>;
1546 };
1547
1548 tcsr_mutex: hwlock {
1549 compatible = "qcom,tcsr-mutex";
1550 syscon = <&tcsr_mutex_block 0 0x1000>;
1551 #hwlock-cells = <1>;
1552 };
1553
1554 smem: qcom,smem {
1555 compatible = "qcom,smem";
1556 memory-region = <&smem_mem>;
1557 hwlocks = <&tcsr_mutex 3>;
1558 };
Venkata Narendra Kumar Gutta1781e562018-10-09 14:44:10 -07001559
1560 kryo-erp {
1561 compatible = "arm,arm64-kryo-cpu-erp";
1562 interrupts = <GIC_PPI 0 IRQ_TYPE_LEVEL_HIGH>,
1563 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1564 interrupt-names = "l1-l2-faultirq",
1565 "l3-scu-faultirq";
1566 };
Chris Lew3859b1b72018-09-25 16:54:52 -07001567
Chris Lew3b1f0982018-10-05 17:28:21 -07001568 sp_scsr: mailbox@188501c {
1569 compatible = "qcom,kona-spcs-global";
1570 reg = <0x188501c 0x4>;
1571
1572 #mbox-cells = <1>;
1573 };
1574
1575 sp_scsr_block: syscon@1880000 {
1576 compatible = "syscon";
1577 reg = <0x1880000 0x10000>;
1578 };
1579
1580 intsp: qcom,qsee_irq {
1581 compatible = "qcom,kona-qsee-irq";
1582
1583 syscon = <&sp_scsr_block>;
1584 interrupts = <0 348 IRQ_TYPE_LEVEL_HIGH>,
1585 <0 349 IRQ_TYPE_LEVEL_HIGH>;
1586
1587 interrupt-names = "sp_ipc0",
1588 "sp_ipc1";
1589
1590 interrupt-controller;
1591 #interrupt-cells = <3>;
1592 };
1593
1594 qcom,qsee_irq_bridge {
1595 compatible = "qcom,qsee-ipc-irq-bridge";
1596
1597 qcom,qsee-ipc-irq-spss {
1598 qcom,dev-name = "qsee_ipc_irq_spss";
1599 label = "spss";
1600 interrupt-parent = <&intsp>;
1601 interrupts = <1 0 IRQ_TYPE_LEVEL_HIGH>;
1602 };
1603 };
1604
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02001605 qcom,msm_gsi {
1606 compatible = "qcom,msm_gsi";
1607 };
1608
1609 qcom,rmnet-ipa {
1610 compatible = "qcom,rmnet-ipa3";
1611 qcom,rmnet-ipa-ssr;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02001612 qcom,ipa-advertise-sg-support;
1613 qcom,ipa-napi-enable;
1614 };
1615
1616 qcom,ipa_fws {
1617 compatible = "qcom,pil-tz-generic";
1618 qcom,pas-id = <0xf>;
1619 qcom,firmware-name = "ipa_fws";
1620 qcom,pil-force-shutdown;
1621 memory-region = <&pil_ipa_fw_mem>;
1622 };
1623
1624 ipa_hw: qcom,ipa@1e00000 {
1625 compatible = "qcom,ipa";
1626 reg =
1627 <0x1e00000 0x84000>,
1628 <0x1e04000 0x23000>;
1629 reg-names = "ipa-base", "gsi-base";
1630 interrupts =
1631 <0 311 IRQ_TYPE_LEVEL_HIGH>,
1632 <0 432 IRQ_TYPE_LEVEL_HIGH>;
1633 interrupt-names = "ipa-irq", "gsi-irq";
1634 qcom,ipa-hw-ver = <17>; /* IPA core version = IPAv4.5 */
1635 qcom,ipa-hw-mode = <0>;
Ghanim Fodif8dcdbf2018-11-04 17:58:22 +02001636 qcom,platform-type = <2>; /* APQ platform */
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02001637 qcom,ee = <0>;
1638 qcom,use-ipa-tethering-bridge;
1639 qcom,mhi-event-ring-id-limits = <9 11>; /* start and end */
1640 qcom,modem-cfg-emb-pipe-flt;
1641 qcom,use-ipa-pm;
1642 qcom,bandwidth-vote-for-ipa;
1643 qcom,use-64-bit-dma-mask;
1644 qcom,msm-bus,name = "ipa";
1645 qcom,msm-bus,num-cases = <5>;
1646 qcom,msm-bus,num-paths = <4>;
1647 qcom,msm-bus,vectors-KBps =
1648 /* No vote */
1649 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 0 0>,
1650 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 0 0>,
1651 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 0 0>,
1652 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 0>,
1653
1654 /* SVS2 */
1655 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 80000 600000>,
1656 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 80000 350000>,
1657 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 40000 40000>,
1658 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 125>,
1659
1660 /* SVS */
1661 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 80000 640000>,
1662 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 80000 640000>,
1663 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 80000 80000>,
1664 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 250>,
1665
1666 /* NOMINAL */
1667 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 206000 960000>,
1668 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 206000 960000>,
1669 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 206000 160000>,
1670 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 500>,
1671
1672 /* TURBO */
1673 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 206000 3600000>,
1674 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 206000 3600000>,
1675 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 206000 300000>,
1676 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 600>;
1677
1678 qcom,bus-vector-names = "MIN", "SVS2", "SVS", "NOMINAL",
1679 "TURBO";
1680 qcom,throughput-threshold = <310 600 1000>;
1681 qcom,scaling-exceptions = <>;
1682 };
1683
1684 ipa_smmu_ap: ipa_smmu_ap {
1685 compatible = "qcom,ipa-smmu-ap-cb";
1686 iommus = <&apps_smmu 0x5C0 0x0>;
1687 qcom,iommu-dma = "bypass";
1688 };
1689
1690 ipa_smmu_wlan: ipa_smmu_wlan {
1691 compatible = "qcom,ipa-smmu-wlan-cb";
1692 iommus = <&apps_smmu 0x5C1 0x0>;
1693 qcom,iommu-dma = "bypass";
1694 };
1695
1696 ipa_smmu_uc: ipa_smmu_uc {
1697 compatible = "qcom,ipa-smmu-uc-cb";
1698 iommus = <&apps_smmu 0x5C2 0x0>;
1699 qcom,iommu-dma = "bypass";
1700 };
1701
Chris Lew3859b1b72018-09-25 16:54:52 -07001702 qcom,glink {
1703 compatible = "qcom,glink";
1704 #address-cells = <1>;
1705 #size-cells = <1>;
1706 ranges;
1707
Chris Lewb2da0482018-11-16 14:50:31 -08001708 glink_npu: npu {
1709 qcom,remote-pid = <10>;
1710 transport = "smem";
1711 mboxes = <&ipcc_mproc IPCC_CLIENT_NPU
1712 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1713 mbox-names = "npu_smem";
1714 interrupt-parent = <&ipcc_mproc>;
1715 interrupts = <IPCC_CLIENT_NPU
1716 IPCC_MPROC_SIGNAL_GLINK_QMP
1717 IRQ_TYPE_EDGE_RISING>;
1718
1719 label = "npu";
1720 qcom,glink-label = "npu";
1721
1722 qcom,npu_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08001723 qcom,net-id = <1>;
Chris Lewb2da0482018-11-16 14:50:31 -08001724 qcom,glink-channels = "IPCRTR";
1725 qcom,intents = <0x800 5
1726 0x2000 3
1727 0x4400 2>;
1728 };
1729
1730 qcom,npu_glink_ssr {
1731 qcom,glink-channels = "glink_ssr";
1732 qcom,notify-edges = <&glink_cdsp>;
1733 };
1734 };
1735
Chris Lew3859b1b72018-09-25 16:54:52 -07001736 glink_adsp: adsp {
1737 qcom,remote-pid = <2>;
1738 transport = "smem";
1739 mboxes = <&ipcc_mproc IPCC_CLIENT_LPASS
1740 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1741 mbox-names = "adsp_smem";
1742 interrupt-parent = <&ipcc_mproc>;
1743 interrupts = <IPCC_CLIENT_LPASS
1744 IPCC_MPROC_SIGNAL_GLINK_QMP
1745 IRQ_TYPE_EDGE_RISING>;
1746
1747 label = "adsp";
1748 qcom,glink-label = "lpass";
1749
1750 qcom,adsp_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08001751 qcom,net-id = <2>;
Chris Lew3859b1b72018-09-25 16:54:52 -07001752 qcom,glink-channels = "IPCRTR";
1753 qcom,intents = <0x800 5
1754 0x2000 3
1755 0x4400 2>;
1756 };
1757
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301758 qcom,msm_fastrpc_rpmsg {
1759 compatible = "qcom,msm-fastrpc-rpmsg";
1760 qcom,glink-channels = "fastrpcglink-apps-dsp";
1761 qcom,intents = <0x64 64>;
1762 };
1763
Chris Lew3859b1b72018-09-25 16:54:52 -07001764 qcom,adsp_glink_ssr {
1765 qcom,glink-channels = "glink_ssr";
1766 qcom,notify-edges = <&glink_slpi>,
1767 <&glink_cdsp>;
1768 };
1769 };
1770
1771 glink_slpi: dsps {
1772 qcom,remote-pid = <3>;
1773 transport = "smem";
1774 mboxes = <&ipcc_mproc IPCC_CLIENT_SLPI
1775 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1776 mbox-names = "dsps_smem";
1777 interrupt-parent = <&ipcc_mproc>;
1778 interrupts = <IPCC_CLIENT_SLPI
1779 IPCC_MPROC_SIGNAL_GLINK_QMP
1780 IRQ_TYPE_EDGE_RISING>;
1781
1782 label = "slpi";
1783 qcom,glink-label = "dsps";
1784
1785 qcom,slpi_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08001786 qcom,net-id = <2>;
Chris Lew3859b1b72018-09-25 16:54:52 -07001787 qcom,glink-channels = "IPCRTR";
1788 qcom,intents = <0x800 5
1789 0x2000 3
1790 0x4400 2>;
1791 };
1792
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301793 qcom,msm_fastrpc_rpmsg {
1794 compatible = "qcom,msm-fastrpc-rpmsg";
1795 qcom,glink-channels = "fastrpcglink-apps-dsp";
1796 qcom,intents = <0x64 64>;
1797 };
1798
Chris Lew3859b1b72018-09-25 16:54:52 -07001799 qcom,slpi_glink_ssr {
1800 qcom,glink-channels = "glink_ssr";
1801 qcom,notify-edges = <&glink_adsp>,
1802 <&glink_cdsp>;
1803 };
1804 };
1805
1806 glink_cdsp: cdsp {
1807 qcom,remote-pid = <5>;
1808 transport = "smem";
1809 mboxes = <&ipcc_mproc IPCC_CLIENT_CDSP
1810 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1811 mbox-names = "dsps_smem";
1812 interrupt-parent = <&ipcc_mproc>;
1813 interrupts = <IPCC_CLIENT_CDSP
1814 IPCC_MPROC_SIGNAL_GLINK_QMP
1815 IRQ_TYPE_EDGE_RISING>;
1816
1817 label = "cdsp";
1818 qcom,glink-label = "cdsp";
1819
1820 qcom,cdsp_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08001821 qcom,net-id = <1>;
Chris Lew3859b1b72018-09-25 16:54:52 -07001822 qcom,glink-channels = "IPCRTR";
1823 qcom,intents = <0x800 5
1824 0x2000 3
1825 0x4400 2>;
1826 };
1827
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301828 qcom,msm_fastrpc_rpmsg {
1829 compatible = "qcom,msm-fastrpc-rpmsg";
1830 qcom,glink-channels = "fastrpcglink-apps-dsp";
1831 qcom,intents = <0x64 64>;
1832 };
1833
Chris Lew3859b1b72018-09-25 16:54:52 -07001834 qcom,cdsp_glink_ssr {
1835 qcom,glink-channels = "glink_ssr";
1836 qcom,notify-edges = <&glink_adsp>,
Chris Lewb2da0482018-11-16 14:50:31 -08001837 <&glink_slpi>,
1838 <&glink_npu>;
Chris Lew3859b1b72018-09-25 16:54:52 -07001839 };
1840 };
Chris Lew3b1f0982018-10-05 17:28:21 -07001841
1842 glink_spss: spss {
1843 qcom,remote-pid = <8>;
1844 transport = "spss";
1845 mboxes = <&sp_scsr 0>;
1846 mbox-names = "spss_spss";
1847 interrupt-parent = <&intsp>;
1848 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>;
1849
1850 reg = <0x1885008 0x8>,
1851 <0x1885010 0x4>;
1852 reg-names = "qcom,spss-addr",
1853 "qcom,spss-size";
1854
1855 label = "spss";
1856 qcom,glink-label = "spss";
1857 };
Chris Lew3859b1b72018-09-25 16:54:52 -07001858 };
Bruce Levy5122a632018-09-25 15:51:37 -07001859
Chris Lew3cbe4032018-11-30 18:57:32 -08001860 qmp_aop: qcom,qmp-aop@c300000 {
1861 compatible = "qcom,qmp-mbox";
1862 mboxes = <&ipcc_mproc IPCC_CLIENT_AOP
1863 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1864 mbox-names = "aop_qmp";
1865 interrupt-parent = <&ipcc_mproc>;
1866 interrupts = <IPCC_CLIENT_AOP
1867 IPCC_MPROC_SIGNAL_GLINK_QMP
1868 IRQ_TYPE_EDGE_RISING>;
1869 reg = <0xc300000 0x1000>;
1870 reg-names = "msgram";
1871
1872 label = "aop";
1873 qcom,early-boot;
1874 priority = <0>;
1875 mbox-desc-offset = <0x0>;
1876 #mbox-cells = <1>;
1877 };
1878
Bruce Levy5122a632018-09-25 15:51:37 -07001879 qcom,lpass@17300000 {
1880 compatible = "qcom,pil-tz-generic";
1881 reg = <0x17300000 0x00100>;
1882
1883 vdd_cx-supply = <&VDD_CX_LEVEL>;
1884 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
1885 qcom,proxy-reg-names = "vdd_cx";
1886
1887 clocks = <&clock_rpmh RPMH_CXO_CLK>;
1888 clock-names = "xo";
1889 qcom,proxy-clock-names = "xo";
1890
1891 qcom,pas-id = <1>;
1892 qcom,proxy-timeout-ms = <10000>;
1893 qcom,smem-id = <423>;
1894 qcom,sysmon-id = <1>;
1895 qcom,ssctl-instance-id = <0x14>;
1896 qcom,firmware-name = "adsp";
1897 memory-region = <&pil_adsp_mem>;
1898 qcom,complete-ramdump;
1899
1900 /* Inputs from lpass */
1901 interrupts-extended = <&pdc 96 IRQ_TYPE_LEVEL_HIGH>,
1902 <&adsp_smp2p_in 0 0>,
1903 <&adsp_smp2p_in 2 0>,
1904 <&adsp_smp2p_in 1 0>,
1905 <&adsp_smp2p_in 3 0>;
1906
1907 interrupt-names = "qcom,wdog",
1908 "qcom,err-fatal",
1909 "qcom,proxy-unvote",
1910 "qcom,err-ready",
1911 "qcom,stop-ack";
1912
1913 /* Outputs to lpass */
1914 qcom,smem-states = <&adsp_smp2p_out 0>;
1915 qcom,smem-state-names = "qcom,force-stop";
1916
1917 mbox-names = "adsp-pil";
1918 };
1919
1920 qcom,turing@8300000 {
1921 compatible = "qcom,pil-tz-generic";
1922 reg = <0x8300000 0x100000>;
1923
1924 vdd_cx-supply = <&VDD_CX_LEVEL>;
1925 qcom,proxy-reg-names = "vdd_cx";
1926 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
1927
1928 clocks = <&clock_rpmh RPMH_CXO_CLK>;
1929 clock-names = "xo";
1930 qcom,proxy-clock-names = "xo";
1931
1932 qcom,pas-id = <18>;
1933 qcom,proxy-timeout-ms = <10000>;
1934 qcom,smem-id = <601>;
1935 qcom,sysmon-id = <7>;
1936 qcom,ssctl-instance-id = <0x17>;
1937 qcom,firmware-name = "cdsp";
1938 memory-region = <&pil_cdsp_mem>;
1939 qcom,complete-ramdump;
1940
1941 qcom,msm-bus,name = "pil-cdsp";
1942 qcom,msm-bus,num-cases = <2>;
1943 qcom,msm-bus,num-paths = <1>;
1944 qcom,msm-bus,vectors-KBps =
1945 <154 10070 0 0>,
1946 <154 10070 0 1>;
1947
1948 /* Inputs from turing */
Bruce Levy821133c2018-11-29 11:34:45 -08001949 interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_LEVEL_HIGH>,
Bruce Levy5122a632018-09-25 15:51:37 -07001950 <&cdsp_smp2p_in 0 0>,
1951 <&cdsp_smp2p_in 2 0>,
1952 <&cdsp_smp2p_in 1 0>,
1953 <&cdsp_smp2p_in 3 0>;
1954
1955 interrupt-names = "qcom,wdog",
1956 "qcom,err-fatal",
1957 "qcom,proxy-unvote",
1958 "qcom,err-ready",
1959 "qcom,stop-ack";
1960
1961 /* Outputs to turing */
1962 qcom,smem-states = <&cdsp_smp2p_out 0>;
1963 qcom,smem-state-names = "qcom,force-stop";
1964
1965 mbox-names = "cdsp-pil";
1966 };
Akshay Chandrashekhar Kalghatgif7905ad2018-11-08 16:30:42 -08001967
1968 qcom,venus@aab0000 {
1969 compatible = "qcom,pil-tz-generic";
1970 reg = <0xaab0000 0x2000>;
Chinmay Sawarkar2cfeca02018-11-15 17:59:36 -08001971
1972 vdd-supply = <&mvs0c_gdsc>;
1973 qcom,proxy-reg-names = "vdd";
1974 qcom,complete-ramdump;
1975
1976 clocks = <&clock_videocc VIDEO_CC_XO_CLK>,
1977 <&clock_videocc VIDEO_CC_MVS0C_CLK>,
1978 <&clock_videocc VIDEO_CC_AHB_CLK>;
1979 clock-names = "xo", "core", "ahb";
1980 qcom,proxy-clock-names = "xo", "core", "ahb";
1981
Akshay Chandrashekhar Kalghatgif7905ad2018-11-08 16:30:42 -08001982 qcom,core-freq = <200000000>;
1983 qcom,ahb-freq = <200000000>;
1984
1985 qcom,pas-id = <9>;
1986 qcom,msm-bus,name = "pil-venus";
1987 qcom,msm-bus,num-cases = <2>;
1988 qcom,msm-bus,num-paths = <1>;
1989 qcom,msm-bus,vectors-KBps =
1990 <63 512 0 0>,
1991 <63 512 0 304000>;
1992 qcom,proxy-timeout-ms = <100>;
1993 qcom,firmware-name = "venus";
1994 memory-region = <&pil_video_mem>;
1995 };
Tharun Kumar Merugub8d79dd2018-11-02 23:07:31 +05301996
Amir Samuelovf52db412019-01-08 09:30:58 +02001997 /* PIL spss node - for loading Secure Processor */
1998 qcom,spss@1880000 {
1999 compatible = "qcom,pil-tz-generic";
2000 reg = <0x188101c 0x4>,
2001 <0x1881024 0x4>,
2002 <0x1881028 0x4>,
2003 <0x188103c 0x4>,
2004 <0x1882014 0x4>;
2005 reg-names = "sp2soc_irq_status", "sp2soc_irq_clr",
2006 "sp2soc_irq_mask", "rmb_err", "rmb_err_spare2";
2007 interrupts = <0 352 1>;
2008
2009 vdd_cx-supply = <&VDD_CX_LEVEL>;
2010 qcom,proxy-reg-names = "vdd_cx";
2011 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
2012 vdd_mx-supply = <&VDD_MX_LEVEL>;
2013 vdd_mx-uV = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
2014
2015 clocks = <&clock_rpmh RPMH_CXO_CLK>;
2016 clock-names = "xo";
2017 qcom,proxy-clock-names = "xo";
2018 qcom,pil-generic-irq-handler;
2019 status = "ok";
2020
Amir Samuelov48955b32019-01-17 17:24:37 +02002021 qcom,signal-aop;
Amir Samuelovf52db412019-01-08 09:30:58 +02002022 qcom,complete-ramdump;
2023
2024 qcom,pas-id = <14>;
2025 qcom,proxy-timeout-ms = <10000>;
2026 qcom,firmware-name = "spss";
2027 memory-region = <&pil_spss_mem>;
2028 qcom,spss-scsr-bits = <24 25>;
2029
Amir Samuelov48955b32019-01-17 17:24:37 +02002030 mboxes = <&qmp_aop 0>;
Amir Samuelovf52db412019-01-08 09:30:58 +02002031 mbox-names = "spss-pil";
2032 };
2033
George Shen9c54c662018-12-26 15:50:11 -08002034 qcom,cvpss@abb0000 {
2035 compatible = "qcom,pil-tz-generic";
2036 reg = <0xabb0000 0x2000>;
2037 status = "ok";
George Shen24f63232019-01-11 14:28:21 -08002038 qcom,pas-id = <26>;
George Shen9c54c662018-12-26 15:50:11 -08002039 qcom,firmware-name = "cvpss";
2040
2041 memory-region = <&pil_cvp_mem>;
2042 };
2043
Jilai Wangd20a5292018-12-04 11:05:10 -05002044 qcom,npu@9800000 {
2045 compatible = "qcom,pil-tz-generic";
2046 reg = <0x9800000 0x800000>;
2047
2048 status = "ok";
2049 qcom,pas-id = <23>;
2050 qcom,firmware-name = "npu";
2051 memory-region = <&pil_npu_mem>;
2052 };
2053
Tharun Kumar Merugub8d79dd2018-11-02 23:07:31 +05302054 qcom,msm-cdsp-loader {
2055 compatible = "qcom,cdsp-loader";
2056 qcom,proc-img-to-load = "cdsp";
2057 };
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302058
2059 qcom,msm-adsprpc-mem {
2060 compatible = "qcom,msm-adsprpc-mem-region";
2061 memory-region = <&adsp_mem>;
2062 };
2063
2064 msm_fastrpc: qcom,msm_fastrpc {
2065 compatible = "qcom,msm-fastrpc-compute";
2066 qcom,fastrpc-adsp-audio-pdr;
2067 qcom,rpc-latency-us = <235>;
2068
2069 qcom,msm_fastrpc_compute_cb1 {
2070 compatible = "qcom,msm-fastrpc-compute-cb";
2071 label = "cdsprpc-smd";
2072 iommus = <&apps_smmu 0x1001 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302073 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2074 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302075 dma-coherent;
2076 };
2077
2078 qcom,msm_fastrpc_compute_cb2 {
2079 compatible = "qcom,msm-fastrpc-compute-cb";
2080 label = "cdsprpc-smd";
2081 iommus = <&apps_smmu 0x1002 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302082 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2083 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302084 dma-coherent;
2085 };
2086
2087 qcom,msm_fastrpc_compute_cb3 {
2088 compatible = "qcom,msm-fastrpc-compute-cb";
2089 label = "cdsprpc-smd";
2090 iommus = <&apps_smmu 0x1003 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302091 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2092 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302093 dma-coherent;
2094 };
2095
2096 qcom,msm_fastrpc_compute_cb4 {
2097 compatible = "qcom,msm-fastrpc-compute-cb";
2098 label = "cdsprpc-smd";
2099 iommus = <&apps_smmu 0x1004 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302100 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2101 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302102 dma-coherent;
2103 };
2104
2105 qcom,msm_fastrpc_compute_cb5 {
2106 compatible = "qcom,msm-fastrpc-compute-cb";
2107 label = "cdsprpc-smd";
2108 iommus = <&apps_smmu 0x1005 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302109 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2110 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302111 dma-coherent;
2112 };
2113
2114 qcom,msm_fastrpc_compute_cb6 {
2115 compatible = "qcom,msm-fastrpc-compute-cb";
2116 label = "cdsprpc-smd";
2117 iommus = <&apps_smmu 0x1006 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302118 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2119 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302120 dma-coherent;
2121 };
2122
2123 qcom,msm_fastrpc_compute_cb7 {
2124 compatible = "qcom,msm-fastrpc-compute-cb";
2125 label = "cdsprpc-smd";
2126 iommus = <&apps_smmu 0x1007 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302127 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2128 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302129 dma-coherent;
2130 };
2131
2132 qcom,msm_fastrpc_compute_cb8 {
2133 compatible = "qcom,msm-fastrpc-compute-cb";
2134 label = "cdsprpc-smd";
2135 iommus = <&apps_smmu 0x1008 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302136 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2137 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302138 dma-coherent;
2139 };
2140
2141 qcom,msm_fastrpc_compute_cb9 {
2142 compatible = "qcom,msm-fastrpc-compute-cb";
2143 label = "cdsprpc-smd";
2144 qcom,secure-context-bank;
2145 iommus = <&apps_smmu 0x1009 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302146 dma-ranges = <0x60000000 0x60000000 0x78000000>;
2147 qcom,iommu-faults = "stall-disable";
2148 qcom,iommu-vmid = <0xA>; /* VMID_CP_PIXEL */
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302149 dma-coherent;
2150 };
2151
2152 qcom,msm_fastrpc_compute_cb10 {
2153 compatible = "qcom,msm-fastrpc-compute-cb";
2154 label = "adsprpc-smd";
2155 iommus = <&apps_smmu 0x1803 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302156 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2157 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302158 dma-coherent;
2159 };
2160
2161 qcom,msm_fastrpc_compute_cb11 {
2162 compatible = "qcom,msm-fastrpc-compute-cb";
2163 label = "adsprpc-smd";
2164 iommus = <&apps_smmu 0x1804 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302165 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2166 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302167 dma-coherent;
2168 };
2169
2170 qcom,msm_fastrpc_compute_cb12 {
2171 compatible = "qcom,msm-fastrpc-compute-cb";
2172 label = "adsprpc-smd";
2173 iommus = <&apps_smmu 0x1805 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302174 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2175 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302176 dma-coherent;
2177 };
2178
2179 qcom,msm_fastrpc_compute_cb13 {
2180 compatible = "qcom,msm-fastrpc-compute-cb";
2181 label = "sdsprpc-smd";
2182 iommus = <&apps_smmu 0x0541 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302183 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2184 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302185 dma-coherent;
2186 };
2187
2188 qcom,msm_fastrpc_compute_cb14 {
2189 compatible = "qcom,msm-fastrpc-compute-cb";
2190 label = "sdsprpc-smd";
2191 iommus = <&apps_smmu 0x0542 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302192 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2193 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302194 dma-coherent;
2195 };
2196
2197 qcom,msm_fastrpc_compute_cb15 {
2198 compatible = "qcom,msm-fastrpc-compute-cb";
2199 label = "sdsprpc-smd";
2200 iommus = <&apps_smmu 0x0543 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302201 dma-ranges = <0x80000000 0x80000000 0x78000000>;
2202 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302203 shared-cb = <4>;
2204 dma-coherent;
2205 };
2206 };
Shaikh Shadulbfdfdda2018-11-14 15:36:21 +05302207
Tingwei Zhangd9b535f2018-12-03 19:14:06 -08002208 mem_dump {
2209 compatible = "qcom,mem-dump";
2210 memory-region = <&dump_mem>;
2211
2212 rpmh {
2213 qcom,dump-size = <0x2000000>;
2214 qcom,dump-id = <0xec>;
2215 };
2216
2217 rpm_sw {
2218 qcom,dump-size = <0x28000>;
2219 qcom,dump-id = <0xea>;
2220 };
2221
2222 pmic {
2223 qcom,dump-size = <0x80000>;
2224 qcom,dump-id = <0xe4>;
2225 };
2226
2227 fcm {
2228 qcom,dump-size = <0x8400>;
2229 qcom,dump-id = <0xee>;
2230 };
2231
2232 etf_swao {
2233 qcom,dump-size = <0x10000>;
2234 qcom,dump-id = <0xf1>;
2235 };
2236
2237 etr_reg {
2238 qcom,dump-size = <0x1000>;
2239 qcom,dump-id = <0x100>;
2240 };
2241
2242 etfswao_reg {
2243 qcom,dump-size = <0x1000>;
2244 qcom,dump-id = <0x102>;
2245 };
2246
2247 misc_data {
2248 qcom,dump-size = <0x1000>;
2249 qcom,dump-id = <0xe8>;
2250 };
2251 };
2252
Shaikh Shadulbfdfdda2018-11-14 15:36:21 +05302253 qcom,ssc@5c00000 {
2254 compatible = "qcom,pil-tz-generic";
2255 reg = <0x5c00000 0x4000>;
2256
2257 vdd_cx-supply = <&VDD_CX_LEVEL>;
2258 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
2259 vdd_mx-supply = <&VDD_MX_LEVEL>;
2260 qcom,vdd_mx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
2261
2262 qcom,proxy-reg-names = "vdd_cx", "vdd_mx";
2263 qcom,keep-proxy-regs-on;
2264
2265 clocks = <&clock_rpmh RPMH_CXO_CLK>;
2266 clock-names = "xo";
2267 qcom,proxy-clock-names = "xo";
2268
2269 qcom,pas-id = <12>;
2270 qcom,proxy-timeout-ms = <10000>;
2271 qcom,smem-id = <424>;
2272 qcom,sysmon-id = <3>;
2273 qcom,ssctl-instance-id = <0x16>;
2274 qcom,firmware-name = "slpi";
2275 status = "ok";
2276 memory-region = <&pil_slpi_mem>;
2277 qcom,complete-ramdump;
2278
2279 /* Inputs from ssc */
2280 interrupts-extended = <&pdc 9 IRQ_TYPE_LEVEL_HIGH>,
2281 <&dsps_smp2p_in 0 0>,
2282 <&dsps_smp2p_in 2 0>,
2283 <&dsps_smp2p_in 1 0>,
2284 <&dsps_smp2p_in 3 0>;
2285
2286 interrupt-names = "qcom,wdog",
2287 "qcom,err-fatal",
2288 "qcom,proxy-unvote",
2289 "qcom,err-ready",
2290 "qcom,stop-ack";
2291
2292 /* Outputs to ssc */
2293 qcom,smem-states = <&dsps_smp2p_out 0>;
2294 qcom,smem-state-names = "qcom,force-stop";
2295
2296 mbox-names = "slpi-pil";
2297 };
2298
2299 ssc_sensors: qcom,msm-ssc-sensors {
2300 compatible = "qcom,msm-ssc-sensors";
2301 status = "ok";
2302 qcom,firmware-name = "slpi";
2303 };
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002304
2305 tsens0: tsens@c222000 {
2306 compatible = "qcom,tsens24xx";
2307 reg = <0xc222000 0x4>,
2308 <0xc263000 0x1ff>;
2309 reg-names = "tsens_srot_physical",
2310 "tsens_tm_physical";
Siddartha Mohanadoss404a89a2019-01-04 15:29:48 -08002311 interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
2312 <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002313 interrupt-names = "tsens-upper-lower", "tsens-critical";
2314 #thermal-sensor-cells = <1>;
2315 };
2316
2317 tsens1: tsens@c223000 {
2318 compatible = "qcom,tsens24xx";
2319 reg = <0xc223000 0x4>,
2320 <0xc265000 0x1ff>;
2321 reg-names = "tsens_srot_physical",
2322 "tsens_tm_physical";
Siddartha Mohanadoss404a89a2019-01-04 15:29:48 -08002323 interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
2324 <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002325 interrupt-names = "tsens-upper-lower", "tsens-critical";
2326 #thermal-sensor-cells = <1>;
2327 };
Rishabh Bhatnagarf7a853a2018-06-28 14:14:54 -07002328
2329 qcom,msm-rtb {
2330 compatible = "qcom,msm-rtb";
2331 qcom,rtb-size = <0x100000>;
2332 };
2333
2334 qcom,mpm2-sleep-counter@c221000 {
2335 compatible = "qcom,mpm2-sleep-counter";
2336 reg = <0xc221000 0x1000>;
2337 clock-frequency = <32768>;
2338 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -07002339
2340 cpuss_dump {
2341 compatible = "qcom,cpuss-dump";
2342
2343 qcom,l1_i_cache0 {
2344 qcom,dump-node = <&L1_I_0>;
2345 qcom,dump-id = <0x60>;
2346 };
2347
2348 qcom,l1_i_cache1 {
2349 qcom,dump-node = <&L1_I_100>;
2350 qcom,dump-id = <0x61>;
2351 };
2352
2353 qcom,l1_i_cache2 {
2354 qcom,dump-node = <&L1_I_200>;
2355 qcom,dump-id = <0x62>;
2356 };
2357
2358 qcom,l1_i_cache3 {
2359 qcom,dump-node = <&L1_I_300>;
2360 qcom,dump-id = <0x63>;
2361 };
2362
2363 qcom,l1_i_cache100 {
2364 qcom,dump-node = <&L1_I_400>;
2365 qcom,dump-id = <0x64>;
2366 };
2367
2368 qcom,l1_i_cache101 {
2369 qcom,dump-node = <&L1_I_500>;
2370 qcom,dump-id = <0x65>;
2371 };
2372
2373 qcom,l1_i_cache102 {
2374 qcom,dump-node = <&L1_I_600>;
2375 qcom,dump-id = <0x66>;
2376 };
2377
2378 qcom,l1_i_cache103 {
2379 qcom,dump-node = <&L1_I_700>;
2380 qcom,dump-id = <0x67>;
2381 };
2382
2383 qcom,l1_d_cache0 {
2384 qcom,dump-node = <&L1_D_0>;
2385 qcom,dump-id = <0x80>;
2386 };
2387
2388 qcom,l1_d_cache1 {
2389 qcom,dump-node = <&L1_D_100>;
2390 qcom,dump-id = <0x81>;
2391 };
2392
2393 qcom,l1_d_cache2 {
2394 qcom,dump-node = <&L1_D_200>;
2395 qcom,dump-id = <0x82>;
2396 };
2397
2398 qcom,l1_d_cache3 {
2399 qcom,dump-node = <&L1_D_300>;
2400 qcom,dump-id = <0x83>;
2401 };
2402
2403 qcom,l1_d_cache100 {
2404 qcom,dump-node = <&L1_D_400>;
2405 qcom,dump-id = <0x84>;
2406 };
2407
2408 qcom,l1_d_cache101 {
2409 qcom,dump-node = <&L1_D_500>;
2410 qcom,dump-id = <0x85>;
2411 };
2412
2413 qcom,l1_d_cache102 {
2414 qcom,dump-node = <&L1_D_600>;
2415 qcom,dump-id = <0x86>;
2416 };
2417
2418 qcom,l1_d_cache103 {
2419 qcom,dump-node = <&L1_D_700>;
2420 qcom,dump-id = <0x87>;
2421 };
2422
2423 qcom,l1_i_tlb_dump400 {
2424 qcom,dump-node = <&L1_ITLB_400>;
2425 qcom,dump-id = <0x24>;
2426 };
2427
2428 qcom,l1_i_tlb_dump500 {
2429 qcom,dump-node = <&L1_ITLB_500>;
2430 qcom,dump-id = <0x25>;
2431 };
2432
2433 qcom,l1_i_tlb_dump600 {
2434 qcom,dump-node = <&L1_ITLB_600>;
2435 qcom,dump-id = <0x26>;
2436 };
2437
2438 qcom,l1_i_tlb_dump700 {
2439 qcom,dump-node = <&L1_ITLB_700>;
2440 qcom,dump-id = <0x27>;
2441 };
2442
2443 qcom,l1_d_tlb_dump400 {
2444 qcom,dump-node = <&L1_DTLB_400>;
2445 qcom,dump-id = <0x44>;
2446 };
2447
2448 qcom,l1_d_tlb_dump500 {
2449 qcom,dump-node = <&L1_DTLB_500>;
2450 qcom,dump-id = <0x45>;
2451 };
2452
2453 qcom,l1_d_tlb_dump600 {
2454 qcom,dump-node = <&L1_DTLB_600>;
2455 qcom,dump-id = <0x46>;
2456 };
2457
2458 qcom,l1_d_tlb_dump700 {
2459 qcom,dump-node = <&L1_DTLB_700>;
2460 qcom,dump-id = <0x47>;
2461 };
2462
2463 qcom,l2_cache_dump400 {
2464 qcom,dump-node = <&L2_4>;
2465 qcom,dump-id = <0xc4>;
2466 };
2467
2468 qcom,l2_cache_dump500 {
2469 qcom,dump-node = <&L2_5>;
2470 qcom,dump-id = <0xc5>;
2471 };
2472
2473 qcom,l2_cache_dump600 {
2474 qcom,dump-node = <&L2_6>;
2475 qcom,dump-id = <0xc6>;
2476 };
2477
2478 qcom,l2_cache_dump700 {
2479 qcom,dump-node = <&L2_7>;
2480 qcom,dump-id = <0xc7>;
2481 };
2482
2483 qcom,l2_tlb_dump0 {
2484 qcom,dump-node = <&L2_TLB_0>;
2485 qcom,dump-id = <0x120>;
2486 };
2487
2488 qcom,l2_tlb_dump100 {
2489 qcom,dump-node = <&L2_TLB_100>;
2490 qcom,dump-id = <0x121>;
2491 };
2492
2493 qcom,l2_tlb_dump200 {
2494 qcom,dump-node = <&L2_TLB_200>;
2495 qcom,dump-id = <0x122>;
2496 };
2497
2498 qcom,l2_tlb_dump300 {
2499 qcom,dump-node = <&L2_TLB_300>;
2500 qcom,dump-id = <0x123>;
2501 };
2502
2503 qcom,l2_tlb_dump400 {
2504 qcom,dump-node = <&L2_TLB_400>;
2505 qcom,dump-id = <0x124>;
2506 };
2507
2508 qcom,l2_tlb_dump500 {
2509 qcom,dump-node = <&L2_TLB_500>;
2510 qcom,dump-id = <0x125>;
2511 };
2512
2513 qcom,l2_tlb_dump600 {
2514 qcom,dump-node = <&L2_TLB_600>;
2515 qcom,dump-id = <0x126>;
2516 };
2517
2518 qcom,l2_tlb_dump700 {
2519 qcom,dump-node = <&L2_TLB_700>;
2520 qcom,dump-id = <0x127>;
2521 };
2522 };
Vipin Deep Kaur1cd6ed02018-12-27 16:23:43 +05302523
2524 gpi_dma0: qcom,gpi-dma@900000 {
2525 #dma-cells = <5>;
2526 compatible = "qcom,gpi-dma";
2527 reg = <0x900000 0x70000>;
2528 reg-names = "gpi-top";
2529 interrupts = <0 244 0>, <0 245 0>, <0 246 0>, <0 247 0>,
2530 <0 248 0>, <0 249 0>, <0 250 0>, <0 251 0>,
2531 <0 252 0>, <0 253 0>, <0 254 0>, <0 255 0>,
2532 <0 256 0>;
2533 qcom,max-num-gpii = <13>;
2534 qcom,gpii-mask = <0x7ff>;
2535 qcom,ev-factor = <2>;
2536 iommus = <&apps_smmu 0x5b6 0x0>;
2537 qcom,smmu-cfg = <0x1>;
2538 qcom,iova-range = <0x0 0x100000 0x0 0x100000>;
2539 status = "ok";
2540 };
2541
2542 gpi_dma1: qcom,gpi-dma@a00000 {
2543 #dma-cells = <5>;
2544 compatible = "qcom,gpi-dma";
2545 reg = <0xa00000 0x70000>;
2546 reg-names = "gpi-top";
2547 interrupts = <0 279 0>, <0 280 0>, <0 281 0>, <0 282 0>,
2548 <0 283 0>, <0 284 0>, <0 293 0>, <0 294 0>,
2549 <0 295 0>, <0 296 0>;
2550 qcom,max-num-gpii = <10>;
2551 qcom,gpii-mask = <0x3f>;
2552 qcom,ev-factor = <2>;
2553 iommus = <&apps_smmu 0x56 0x0>;
2554 qcom,smmu-cfg = <0x1>;
2555 qcom,iova-range = <0x0 0x100000 0x0 0x100000>;
2556 status = "ok";
2557 };
2558
2559 gpi_dma2: qcom,gpi-dma@800000 {
2560 #dma-cells = <5>;
2561 compatible = "qcom,gpi-dma";
2562 reg = <0x800000 0x70000>;
2563 reg-names = "gpi-top";
2564 interrupts = <0 588 0>, <0 589 0>, <0 590 0>, <0 591 0>,
2565 <0 592 0>, <0 593 0>, <0 594 0>, <0 595 0>,
2566 <0 596 0>, <0 597 0>;
2567 qcom,max-num-gpii = <10>;
2568 qcom,gpii-mask = <0x3f>;
2569 qcom,ev-factor = <2>;
2570 iommus = <&apps_smmu 0x76 0x0>;
2571 qcom,smmu-cfg = <0x1>;
2572 qcom,iova-range = <0x0 0x100000 0x0 0x100000>;
2573 status = "ok";
2574 };
2575
Runmin Wang4f5985b2017-04-19 15:55:12 -07002576};
Swathi Sridhar4008eb42018-07-17 15:34:46 -07002577
David Collins61d237d2019-01-03 16:01:15 -08002578#include "kona-regulators.dtsi"
David Daib1d68482018-10-01 19:40:35 -07002579#include "kona-bus.dtsi"
Swathi Sridharbbbc80b2018-07-13 10:02:08 -07002580#include "kona-ion.dtsi"
Tony Truongc972c642018-09-12 10:03:51 -07002581#include "kona-pcie.dtsi"
Sujeev Dias5399e552018-09-18 17:57:54 -07002582#include "kona-mhi.dtsi"
Swathi Sridhar4008eb42018-07-17 15:34:46 -07002583#include "msm-arm-smmu-kona.dtsi"
Rishabh Bhatnagara740b0e2018-07-20 15:08:35 -07002584#include "kona-pinctrl.dtsi"
Chris Lew86f6bde2018-09-06 16:40:39 -07002585#include "kona-smp2p.dtsi"
Hemant Kumar5f58bad2018-08-31 14:25:23 -07002586#include "kona-usb.dtsi"
Tingwei Zhang564fa692018-11-28 00:31:17 -08002587#include "kona-coresight.dtsi"
Samantha Tran7e309f02018-08-31 17:23:00 -07002588#include "kona-sde.dtsi"
Satya Rama Aditya Pinapala09600b32018-10-29 10:52:37 -07002589#include "kona-sde-pll.dtsi"
Samantha Tran7e309f02018-08-31 17:23:00 -07002590#include "kona-sde-display.dtsi"
Vignesh Kulothungand728f712018-10-26 17:49:46 -07002591#include "kona-audio.dtsi"
Mukund Atred454ec92018-11-05 15:32:16 -08002592
Arjun Bagla76f02ef2018-09-19 10:00:29 -07002593#include "kona-pm.dtsi"
Mukund Atred454ec92018-11-05 15:32:16 -08002594
2595#include "kona-camera.dtsi"
Vipin Deep Kaur9a2c13d2018-12-19 18:38:46 +05302596#include "kona-qupv3.dtsi"
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002597#include "kona-thermal.dtsi"
Chinmay Sawarkar83d01b42018-12-14 12:34:50 -08002598#include "kona-vidc.dtsi"
George Shen9c54c662018-12-26 15:50:11 -08002599#include "kona-cvp.dtsi"