blob: 82d97982930df2ff55feba8434c79b891190513d [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
Swathi Sridhar869198a2019-01-22 14:52:07 -080034 mem-offline {
35 compatible = "qcom,mem-offline";
36 offline-sizes = <0x1 0x40000000 0x0 0x40000000>,
37 <0x1 0xc0000000 0x0 0x80000000>;
38 granule = <512>;
39 mboxes = <&qmp_aop 0>;
40 };
41
Can Guob04bed52018-07-10 19:27:32 -070042 aliases {
43 ufshc1 = &ufshc_mem; /* Embedded UFS slot */
Bao D. Nguyenbd2335b2019-01-17 13:32:42 -080044 sdhc2 = &sdhc_2; /* SDC2 SD card slot */
Tony Truong576c9bf2019-01-31 17:38:11 -080045 pci-domain0 = &pcie0; /* PCIe0 domain */
46 pci-domain1 = &pcie1; /* PCIe1 domain */
Tony Truongc972c642018-09-12 10:03:51 -070047 pci-domain2 = &pcie2; /* PCIe2 domain */
Vipin Deep Kaur9a2c13d2018-12-19 18:38:46 +053048 serial0 = &qupv3_se2_2uart; /* RUMI */
Karthikeyan Mani4b264262019-02-12 19:49:50 -080049 swr0 = &swr0;
50 swr1 = &swr1;
51 swr2 = &swr2;
Sujeev Dias4e5ff1f2019-01-18 19:03:14 -080052 mhi-netdev0 = &mhi_netdev_0;
Can Guob04bed52018-07-10 19:27:32 -070053 };
54
Runmin Wang4f5985b2017-04-19 15:55:12 -070055 cpus {
56 #address-cells = <2>;
57 #size-cells = <0>;
58
59 CPU0: cpu@0 {
60 device_type = "cpu";
61 compatible = "qcom,kryo";
62 reg = <0x0 0x0>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -070063 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -070064 cache-size = <0x8000>;
65 cpu-release-addr = <0x0 0x90000000>;
66 next-level-cache = <&L2_0>;
David Daia4635e62018-10-11 13:39:44 -070067 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -080068 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -080069 dynamic-power-coefficient = <100>;
Ram Chandrasekar38f02e22019-02-25 15:59:34 -070070 #cooling-cells = <2>;
Runmin Wang4f5985b2017-04-19 15:55:12 -070071 L2_0: l2-cache {
72 compatible = "arm,arch-cache";
73 cache-size = <0x20000>;
74 cache-level = <2>;
75 next-level-cache = <&L3_0>;
76
77 L3_0: l3-cache {
78 compatible = "arm,arch-cache";
79 cache-size = <0x400000>;
80 cache-level = <3>;
81 };
82 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -070083
84 L1_I_0: l1-icache {
85 compatible = "arm,arch-cache";
86 qcom,dump-size = <0x8800>;
87 };
88
89 L1_D_0: l1-dcache {
90 compatible = "arm,arch-cache";
91 qcom,dump-size = <0x9000>;
92 };
93
94 L2_TLB_0: l2-tlb {
95 qcom,dump-size = <0x5000>;
96 };
Runmin Wang4f5985b2017-04-19 15:55:12 -070097 };
98
99 CPU1: cpu@100 {
100 device_type = "cpu";
101 compatible = "qcom,kryo";
102 reg = <0x0 0x100>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700103 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700104 cache-size = <0x8000>;
105 cpu-release-addr = <0x0 0x90000000>;
106 next-level-cache = <&L2_1>;
David Daia4635e62018-10-11 13:39:44 -0700107 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800108 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -0800109 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700110 L2_1: l2-cache {
111 compatible = "arm,arch-cache";
112 cache-size = <0x20000>;
113 cache-level = <2>;
114 next-level-cache = <&L3_0>;
115 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700116
117 L1_I_100: l1-icache {
118 compatible = "arm,arch-cache";
119 qcom,dump-size = <0x8800>;
120 };
121
122 L1_D_100: l1-dcache {
123 compatible = "arm,arch-cache";
124 qcom,dump-size = <0x9000>;
125 };
126
127 L2_TLB_100: l2-tlb {
128 qcom,dump-size = <0x5000>;
129 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700130 };
131
132 CPU2: cpu@200 {
133 device_type = "cpu";
134 compatible = "qcom,kryo";
135 reg = <0x0 0x200>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700136 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700137 cache-size = <0x8000>;
138 cpu-release-addr = <0x0 0x90000000>;
139 next-level-cache = <&L2_2>;
David Daia4635e62018-10-11 13:39:44 -0700140 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800141 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -0800142 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700143 L2_2: l2-cache {
144 compatible = "arm,arch-cache";
145 cache-size = <0x20000>;
146 cache-level = <2>;
147 next-level-cache = <&L3_0>;
148 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700149
150 L1_I_200: l1-icache {
151 compatible = "arm,arch-cache";
152 qcom,dump-size = <0x8800>;
153 };
154
155 L1_D_200: l1-dcache {
156 compatible = "arm,arch-cache";
157 qcom,dump-size = <0x9000>;
158 };
159
160 L2_TLB_200: l2-tlb {
161 qcom,dump-size = <0x5000>;
162 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700163 };
164
165 CPU3: cpu@300 {
166 device_type = "cpu";
167 compatible = "qcom,kryo";
168 reg = <0x0 0x300>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700169 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700170 cache-size = <0x8000>;
171 cpu-release-addr = <0x0 0x90000000>;
172 next-level-cache = <&L2_3>;
David Daia4635e62018-10-11 13:39:44 -0700173 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800174 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -0800175 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700176 L2_3: l2-cache {
177 compatible = "arm,arch-cache";
178 cache-size = <0x20000>;
179 cache-level = <2>;
180 next-level-cache = <&L3_0>;
181 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700182
183 L1_I_300: l1-icache {
184 compatible = "arm,arch-cache";
185 qcom,dump-size = <0x8800>;
186 };
187
188 L1_D_300: l1-dcache {
189 compatible = "arm,arch-cache";
190 qcom,dump-size = <0x9000>;
191 };
192
193 L2_TLB_300: l2-tlb {
194 qcom,dump-size = <0x5000>;
195 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700196 };
197
198 CPU4: cpu@400 {
199 device_type = "cpu";
200 compatible = "qcom,kryo";
201 reg = <0x0 0x400>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700202 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700203 cache-size = <0x10000>;
204 cpu-release-addr = <0x0 0x90000000>;
205 next-level-cache = <&L2_4>;
David Daia4635e62018-10-11 13:39:44 -0700206 qcom,freq-domain = <&cpufreq_hw 1 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800207 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhaladb98c3e2019-01-25 10:26:46 -0800208 dynamic-power-coefficient = <514>;
Ram Chandrasekar38f02e22019-02-25 15:59:34 -0700209 #cooling-cells = <2>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700210 L2_4: l2-cache {
211 compatible = "arm,arch-cache";
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700212 cache-size = <0x40000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700213 cache-level = <2>;
214 next-level-cache = <&L3_0>;
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700215 qcom,dump-size = <0x48000>;
216 };
217
218 L1_I_400: l1-icache {
219 compatible = "arm,arch-cache";
220 qcom,dump-size = <0x11000>;
221 };
222
223 L1_D_400: l1-dcache {
224 compatible = "arm,arch-cache";
225 qcom,dump-size = <0x12000>;
226 };
227
228 L1_ITLB_400: l1-itlb {
229 qcom,dump-size = <0x300>;
230 };
231
232 L1_DTLB_400: l1-dtlb {
233 qcom,dump-size = <0x480>;
234 };
235
236 L2_TLB_400: l2-tlb {
237 qcom,dump-size = <0x7800>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700238 };
239 };
240
241 CPU5: cpu@500 {
242 device_type = "cpu";
243 compatible = "qcom,kryo";
244 reg = <0x0 0x500>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700245 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700246 cache-size = <0x10000>;
247 cpu-release-addr = <0x0 0x90000000>;
248 next-level-cache = <&L2_5>;
David Daia4635e62018-10-11 13:39:44 -0700249 qcom,freq-domain = <&cpufreq_hw 1 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800250 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhaladb98c3e2019-01-25 10:26:46 -0800251 dynamic-power-coefficient = <514>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700252 L2_5: l2-cache {
253 compatible = "arm,arch-cache";
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700254 cache-size = <0x40000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700255 cache-level = <2>;
256 next-level-cache = <&L3_0>;
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700257 qcom,dump-size = <0x48000>;
258 };
259
260 L1_I_500: l1-icache {
261 compatible = "arm,arch-cache";
262 qcom,dump-size = <0x11000>;
263 };
264
265 L1_D_500: l1-dcache {
266 compatible = "arm,arch-cache";
267 qcom,dump-size = <0x12000>;
268 };
269
270 L1_ITLB_500: l1-itlb {
271 qcom,dump-size = <0x300>;
272 };
273
274 L1_DTLB_500: l1-dtlb {
275 qcom,dump-size = <0x480>;
276 };
277
278 L2_TLB_500: l2-tlb {
279 qcom,dump-size = <0x7800>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700280 };
281 };
282
283 CPU6: cpu@600 {
284 device_type = "cpu";
285 compatible = "qcom,kryo";
286 reg = <0x0 0x600>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700287 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700288 cache-size = <0x10000>;
289 cpu-release-addr = <0x0 0x90000000>;
290 next-level-cache = <&L2_6>;
David Daia4635e62018-10-11 13:39:44 -0700291 qcom,freq-domain = <&cpufreq_hw 1 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800292 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhaladb98c3e2019-01-25 10:26:46 -0800293 dynamic-power-coefficient = <514>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700294 L2_6: l2-cache {
295 compatible = "arm,arch-cache";
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700296 cache-size = <0x40000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700297 cache-level = <2>;
298 next-level-cache = <&L3_0>;
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700299 qcom,dump-size = <0x48000>;
300 };
301
302 L1_I_600: l1-icache {
303 compatible = "arm,arch-cache";
304 qcom,dump-size = <0x11000>;
305 };
306
307 L1_D_600: l1-dcache {
308 compatible = "arm,arch-cache";
309 qcom,dump-size = <0x12000>;
310 };
311
312 L1_ITLB_600: l1-itlb {
313 qcom,dump-size = <0x300>;
314 };
315
316 L1_DTLB_600: l1-dtlb {
317 qcom,dump-size = <0x480>;
318 };
319
320 L2_TLB_600: l2-tlb {
321 qcom,dump-size = <0x7800>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700322 };
323 };
324
325 CPU7: cpu@700 {
326 device_type = "cpu";
327 compatible = "qcom,kryo";
328 reg = <0x0 0x700>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700329 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700330 cache-size = <0x10000>;
331 cpu-release-addr = <0x0 0x90000000>;
332 next-level-cache = <&L2_7>;
David Daia4635e62018-10-11 13:39:44 -0700333 qcom,freq-domain = <&cpufreq_hw 2 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800334 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhaladb98c3e2019-01-25 10:26:46 -0800335 dynamic-power-coefficient = <598>;
Ram Chandrasekar38f02e22019-02-25 15:59:34 -0700336 #cooling-cells = <2>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700337 L2_7: l2-cache {
338 compatible = "arm,arch-cache";
339 cache-size = <0x80000>;
340 cache-level = <2>;
341 next-level-cache = <&L3_0>;
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700342 qcom,dump-size = <0x90000>;
343 };
344
345 L1_I_700: l1-icache {
346 compatible = "arm,arch-cache";
347 qcom,dump-size = <0x11000>;
348 };
349
350 L1_D_700: l1-dcache {
351 compatible = "arm,arch-cache";
352 qcom,dump-size = <0x12000>;
353 };
354
355 L1_ITLB_700: l1-itlb {
356 qcom,dump-size = <0x300>;
357 };
358
359 L1_DTLB_700: l1-dtlb {
360 qcom,dump-size = <0x480>;
361 };
362
363 L2_TLB_700: l2-tlb {
364 qcom,dump-size = <0x7800>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700365 };
366 };
367
368 cpu-map {
369 cluster0 {
370 core0 {
371 cpu = <&CPU0>;
372 };
373
374 core1 {
375 cpu = <&CPU1>;
376 };
377
378 core2 {
379 cpu = <&CPU2>;
380 };
381
382 core3 {
383 cpu = <&CPU3>;
384 };
385 };
386
387 cluster1 {
388 core0 {
389 cpu = <&CPU4>;
390 };
391
392 core1 {
393 cpu = <&CPU5>;
394 };
395
396 core2 {
397 cpu = <&CPU6>;
398 };
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800399 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700400
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800401 cluster2 {
402 core0 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700403 cpu = <&CPU7>;
404 };
405 };
406 };
407 };
408
David Daia4635e62018-10-11 13:39:44 -0700409
Channagoud Kadabicdd72a02018-09-21 14:46:21 -0700410 cpu_pmu: cpu-pmu {
411 compatible = "arm,armv8-pmuv3";
412 qcom,irq-is-percpu;
413 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
414 };
415
David Daia4635e62018-10-11 13:39:44 -0700416 soc: soc {
417 cpufreq_hw: qcom,cpufreq-hw {
418 compatible = "qcom,cpufreq-hw";
419 reg = <0x18591000 0x1000>, <0x18592000 0x1000>,
420 <0x18593000 0x1000>;
421 reg-names = "freq-domain0", "freq-domain1",
422 "freq-domain2";
423
David Daiee6a9d62019-01-10 17:14:04 -0800424 clocks = <&clock_rpmh RPMH_CXO_CLK>, <&clock_gcc GPLL0>;
David Daia4635e62018-10-11 13:39:44 -0700425 clock-names = "xo", "cpu_clk";
426
427 #freq-domain-cells = <2>;
428 };
429 };
430
Arjun Bagla76f02ef2018-09-19 10:00:29 -0700431 psci {
432 compatible = "arm,psci-1.0";
433 method = "smc";
434 };
435
Venkata Narendra Kumar Gutta07fdd262019-02-11 21:12:04 -0800436 chosen {
437 bootargs = "rcupdate.rcu_expedited=1 rcu_nocbs=0-7";
438 };
439
Bruce Levy3bd8d1b2018-09-11 11:31:13 -0700440 firmware: firmware {
441 android {
442 compatible = "android,firmware";
Zhen Kongb8fe4072019-01-15 17:58:27 -0800443 vbmeta {
444 compatible = "android,vbmeta";
445 parts = "vbmeta,boot,system,vendor,dtbo";
446 };
447
Bruce Levy3bd8d1b2018-09-11 11:31:13 -0700448 fstab {
449 compatible = "android,fstab";
450 vendor {
451 compatible = "android,vendor";
452 dev = "/dev/block/platform/soc/1d84000.ufshc/by-name/vendor";
453 type = "ext4";
454 mnt_flags = "ro,barrier=1,discard";
455 fsmgr_flags = "wait,slotselect,avb";
456 status = "ok";
457 };
458 };
459 };
460 };
461
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700462 psci {
463 compatible = "arm,psci-1.0";
464 method = "smc";
465 };
466
Swathi Sridhara79a9542018-06-21 11:40:44 -0700467 reserved-memory {
468 #address-cells = <2>;
469 #size-cells = <2>;
470 ranges;
471
472 hyp_mem: hyp_region@80000000 {
473 no-map;
474 reg = <0x0 0x80000000 0x0 0x600000>;
475 };
476
477 xbl_aop_mem: xbl_aop_region@80700000 {
478 no-map;
Swathi Sridhare0842682019-02-07 17:42:01 -0800479 reg = <0x0 0x80700000 0x0 0x160000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700480 };
481
Swathi Sridhare0842682019-02-07 17:42:01 -0800482 cmd_db: reserved-memory@80860000 {
483 reg = <0x0 0x80860000 0x0 0x20000>;
Lina Iyer5d609fa2018-10-03 14:26:55 -0600484 compatible = "qcom,cmd-db";
485 no-map;
486 };
487
Swathi Sridhara79a9542018-06-21 11:40:44 -0700488 smem_mem: smem_region@80900000 {
489 no-map;
490 reg = <0x0 0x80900000 0x0 0x200000>;
491 };
492
Swathi Sridhare0842682019-02-07 17:42:01 -0800493 lpass_pcie_mem: lpass_pcie_region@80b00000 {
Swathi Sridhara79a9542018-06-21 11:40:44 -0700494 no-map;
Swathi Sridhare0842682019-02-07 17:42:01 -0800495 reg = <0x0 0x80b00000 0x0 0x100000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700496 };
497
Swathi Sridhare0842682019-02-07 17:42:01 -0800498 ssc_pcie_mem: ssc_pcie_region@80c00000 {
Swathi Sridhara79a9542018-06-21 11:40:44 -0700499 no-map;
Swathi Sridhare0842682019-02-07 17:42:01 -0800500 reg = <0x0 0x80c00000 0x0 0x100000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700501 };
502
Swathi Sridhare0842682019-02-07 17:42:01 -0800503 removed_mem: removed_region@80d00000 {
504 no-map;
505 reg = <0x0 0x80d00000 0x0 0x1300000>;
506 };
507
508 qtee_apps_mem: qtee_apps_region@82000000 {
509 no-map;
510 reg = <0x0 0x82000000 0x0 0x2600000>;
511 };
512
513 pil_camera_mem: pil_camera_region@86200000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700514 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700515 no-map;
Swathi Sridhare0842682019-02-07 17:42:01 -0800516 reg = <0x0 0x86200000 0x0 0x500000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700517 };
518
Swathi Sridhare0842682019-02-07 17:42:01 -0800519 pil_wlan_fw_mem: pil_wlan_fw_region@86700000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700520 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700521 no-map;
Swathi Sridhare0842682019-02-07 17:42:01 -0800522 reg = <0x0 0x86700000 0x0 0x100000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700523 };
524
Swathi Sridhare0842682019-02-07 17:42:01 -0800525 pil_ipa_fw_mem: pil_ipa_fw_region@86800000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700526 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700527 no-map;
Swathi Sridhare0842682019-02-07 17:42:01 -0800528 reg = <0x0 0x86800000 0x0 0x10000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700529 };
530
Swathi Sridhare0842682019-02-07 17:42:01 -0800531 pil_ipa_gsi_mem: pil_ipa_gsi_region@86810000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700532 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700533 no-map;
Swathi Sridhare0842682019-02-07 17:42:01 -0800534 reg = <0x0 0x86810000 0x0 0xa000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700535 };
536
Swathi Sridhare0842682019-02-07 17:42:01 -0800537 pil_gpu_mem: pil_gpu_region@8681a000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700538 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700539 no-map;
Swathi Sridhare0842682019-02-07 17:42:01 -0800540 reg = <0x0 0x8681a000 0x0 0x2000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700541 };
542
Swathi Sridhare0842682019-02-07 17:42:01 -0800543 pil_npu_mem: pil_npu_region@86900000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700544 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700545 no-map;
Swathi Sridhare0842682019-02-07 17:42:01 -0800546 reg = <0x0 0x86900000 0x0 0x500000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700547 };
548
Swathi Sridhare0842682019-02-07 17:42:01 -0800549 pil_video_mem: pil_video_region@86e00000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700550 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700551 no-map;
Swathi Sridhare0842682019-02-07 17:42:01 -0800552 reg = <0x0 0x86e00000 0x0 0x500000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700553 };
554
Swathi Sridhare0842682019-02-07 17:42:01 -0800555 pil_cvp_mem: pil_cvp_region@87300000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700556 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700557 no-map;
Swathi Sridhare0842682019-02-07 17:42:01 -0800558 reg = <0x0 0x87300000 0x0 0x500000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700559 };
560
Swathi Sridhare0842682019-02-07 17:42:01 -0800561 pil_cdsp_mem: pil_cdsp_region@87800000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700562 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700563 no-map;
Swathi Sridhare0842682019-02-07 17:42:01 -0800564 reg = <0x0 0x87800000 0x0 0x800000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700565 };
566
Swathi Sridhare0842682019-02-07 17:42:01 -0800567 pil_slpi_mem: pil_slpi_region@88000000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700568 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700569 no-map;
Swathi Sridhare0842682019-02-07 17:42:01 -0800570 reg = <0x0 0x88000000 0x0 0x1500000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700571 };
572
Swathi Sridhare0842682019-02-07 17:42:01 -0800573 pil_adsp_mem: pil_adsp_region@89500000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700574 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700575 no-map;
Swathi Sridhare0842682019-02-07 17:42:01 -0800576 reg = <0x0 0x89500000 0x0 0x1c00000>;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700577 };
578
Swathi Sridhare0842682019-02-07 17:42:01 -0800579 pil_spss_mem: pil_spss_region@8b100000 {
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700580 compatible = "removed-dma-pool";
581 no-map;
Swathi Sridhare0842682019-02-07 17:42:01 -0800582 reg = <0x0 0x8b100000 0x0 0x100000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700583 };
584
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +0530585 adsp_mem: adsp_region {
586 compatible = "shared-dma-pool";
587 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
588 reusable;
589 alignment = <0x0 0x400000>;
Tharun Kumar Merugu9bf49d72018-12-21 02:33:10 +0530590 size = <0x0 0xC00000>;
591 };
592
593 sdsp_mem: sdsp_region {
594 compatible = "shared-dma-pool";
595 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
596 reusable;
597 alignment = <0x0 0x400000>;
598 size = <0x0 0x800000>;
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +0530599 };
600
George Shen9c54c662018-12-26 15:50:11 -0800601 cdsp_mem: cdsp_region {
602 compatible = "shared-dma-pool";
603 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
604 reusable;
605 alignment = <0x0 0x400000>;
606 size = <0x0 0x400000>;
607 };
608
Veera Sundaram Sankaranbc490f62019-02-15 13:25:23 -0800609 cont_splash_memory: cont_splash_region@9c000000 {
610 reg = <0x0 0x9c000000 0x0 0x02400000>;
611 label = "cont_splash_region";
612 };
613
Veera Sundaram Sankaran95038822019-02-22 10:26:13 -0800614 disp_rdump_memory: disp_rdump_region@9c000000 {
615 reg = <0x0 0x9c000000 0x0 0x00800000>;
616 label = "disp_rdump_region";
617 };
618
Tingwei Zhangd9b535f2018-12-03 19:14:06 -0800619 dump_mem: mem_dump_region {
620 compatible = "shared-dma-pool";
Swathi Sridhar08b670b2019-01-16 17:05:24 -0800621 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
Tingwei Zhangd9b535f2018-12-03 19:14:06 -0800622 reusable;
623 size = <0 0x2400000>;
624 };
Konstantin Dorfman13fe5432019-02-06 16:03:13 +0200625 sp_mem: sp_region { /* SPSS-HLOS ION shared mem */
626 compatible = "shared-dma-pool";
627 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
628 reusable;
629 alignment = <0x0 0x400000>;
Konstantin Dorfmana22248e2019-03-19 15:44:58 +0200630 size = <0x0 0xc00000>;
Konstantin Dorfman13fe5432019-02-06 16:03:13 +0200631 };
Tingwei Zhangd9b535f2018-12-03 19:14:06 -0800632
Zhen Kong284c9f02018-11-06 12:00:30 -0800633 qseecom_mem: qseecom_region {
634 compatible = "shared-dma-pool";
635 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
636 reusable;
637 alignment = <0x0 0x400000>;
638 size = <0x0 0x1400000>;
639 };
640
641 qseecom_ta_mem: qseecom_ta_region {
642 compatible = "shared-dma-pool";
643 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
644 reusable;
645 alignment = <0x0 0x400000>;
646 size = <0x0 0x1000000>;
647 };
648
Akshay Chandrashekhar Kalghatgiae0539a2019-02-27 19:08:55 -0800649 secure_display_memory: secure_display_region { /* Secure UI */
650 compatible = "shared-dma-pool";
651 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
652 reusable;
653 alignment = <0x0 0x400000>;
654 size = <0x0 0xA000000>;
655 };
656
Swathi Sridhara79a9542018-06-21 11:40:44 -0700657 /* global autoconfigured region for contiguous allocations */
658 linux,cma {
659 compatible = "shared-dma-pool";
660 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
661 reusable;
662 alignment = <0x0 0x400000>;
663 size = <0x0 0x2000000>;
664 linux,cma-default;
665 };
Vikram Panduranga5bbf75a2019-01-17 19:26:52 -0800666
667 mailbox_mem: mailbox_region {
668 compatible = "shared-dma-pool";
669 no-map;
670 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
671 alignment = <0x0 0x400000>;
672 size = <0x0 0x20000>;
673 };
Swathi Sridhara79a9542018-06-21 11:40:44 -0700674 };
Bruce Levyc5eb1992019-01-11 12:09:18 -0800675
676 vendor: vendor {
677 #address-cells = <1>;
678 #size-cells = <1>;
679 ranges = <0 0 0 0xffffffff>;
680 compatible = "simple-bus";
681 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700682};
683
684&soc {
685 #address-cells = <1>;
686 #size-cells = <1>;
687 ranges = <0 0 0 0xffffffff>;
688 compatible = "simple-bus";
689
David Collins692dff72018-11-12 17:09:49 -0800690 thermal_zones: thermal-zones {
691 };
692
Dilip Kotaab8bf962018-12-26 12:12:22 +0530693 slim_aud: slim@3ac0000 {
694 cell-index = <1>;
695 compatible = "qcom,slim-ngd";
696 reg = <0x3ac0000 0x2c000>,
697 <0x3a84000 0x2c000>;
698 reg-names = "slimbus_physical", "slimbus_bam_physical";
Rishabh Bhatnagar7ef15882019-01-22 11:02:09 -0800699 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
700 <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
Dilip Kotaab8bf962018-12-26 12:12:22 +0530701 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
702 qcom,apps-ch-pipes = <0x700000>;
703 qcom,ea-pc = <0x2d0>;
Dilip Kota8b36d602019-02-06 12:07:34 +0530704 iommus = <&apps_smmu 0x1826 0x0>,
705 <&apps_smmu 0x182f 0x0>,
706 <&apps_smmu 0x1830 0x1>;
707 qcom,iommu-dma-addr-pool = <0x40000000 0xc0000000>;
708 qcom,iommu-dma = "bypass";
Mahesh Kumar Sharmab8e62662019-01-17 16:16:22 -0800709 status = "ok";
Mahesh Kumar Sharmab8e62662019-01-17 16:16:22 -0800710
711 /* Slimbus Slave DT for QCA6390 */
712 btfmslim_codec: qca6390 {
713 compatible = "qcom,btfmslim_slave";
714 elemental-addr = [00 01 20 02 17 02];
715 qcom,btfm-slim-ifd = "btfmslim_slave_ifd";
716 qcom,btfm-slim-ifd-elemental-addr = [00 00 20 02 17 02];
717 };
Dilip Kotaab8bf962018-12-26 12:12:22 +0530718 };
719
Runmin Wang4f5985b2017-04-19 15:55:12 -0700720 intc: interrupt-controller@17a00000 {
721 compatible = "arm,gic-v3";
722 #interrupt-cells = <3>;
723 interrupt-controller;
724 #redistributor-regions = <1>;
725 redistributor-stride = <0x0 0x20000>;
726 reg = <0x17a00000 0x10000>, /* GICD */
727 <0x17a60000 0x100000>; /* GICR * 8 */
728 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
729 };
730
Rishabh Bhatnagarfd73eb12018-09-04 15:00:46 -0700731 qcom,chd_silver {
732 compatible = "qcom,core-hang-detect";
733 label = "silver";
734 qcom,threshold-arr = <0x18000058 0x18010058
735 0x18020058 0x18030058>;
736 qcom,config-arr = <0x18000060 0x18010060
737 0x18020060 0x18030060>;
738 };
739
740 qcom,chd_gold {
741 compatible = "qcom,core-hang-detect";
742 label = "gold";
743 qcom,threshold-arr = <0x18040058 0x18050058
744 0x18060058 0x18070058>;
745 qcom,config-arr = <0x18040060 0x18050060
746 0x18060060 0x18070060>;
747 };
748
Rishabh Bhatnagar8f0dd4b2018-08-07 11:07:40 -0700749 cache-controller@9200000 {
Rishabh Bhatnagar83765df2019-02-19 15:01:49 -0800750 compatible = "qcom,llcc-v2";
Rishabh Bhatnagar8f0dd4b2018-08-07 11:07:40 -0700751 reg = <0x9200000 0x1d0000> , <0x9600000 0x50000>;
752 reg-names = "llcc_base", "llcc_broadcast_base";
Rishabh Bhatnagar2e49cd3a2019-01-16 12:03:36 -0800753 cap-based-alloc-and-pwr-collapse;
Rishabh Bhatnagar8f0dd4b2018-08-07 11:07:40 -0700754 };
755
Rishabh Bhatnagarc6970a02018-09-04 16:43:43 -0700756 wdog: qcom,wdt@17c10000 {
757 compatible = "qcom,msm-watchdog";
758 reg = <0x17c10000 0x1000>;
759 reg-names = "wdt-base";
760 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
761 <0 1 IRQ_TYPE_LEVEL_HIGH>;
762 qcom,bark-time = <11000>;
763 qcom,pet-time = <9360>;
764 qcom,wakeup-enable;
Rishabh Bhatnagar1265dc52019-02-08 13:40:59 -0800765 qcom,ipi-ping;
Rishabh Bhatnagarc6970a02018-09-04 16:43:43 -0700766 qcom,scandump-sizes = <0x10100 0x10100 0x10100 0x10100
767 0x18100 0x18100 0x18100 0x18100>;
Rishabh Bhatnagarc6970a02018-09-04 16:43:43 -0700768 };
769
Maria Neptune5a1428b2018-08-29 13:25:19 -0700770 arch_timer: timer {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700771 compatible = "arm,armv8-timer";
772 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
773 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
774 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
775 <GIC_PPI 12 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
776 clock-frequency = <19200000>;
777 };
778
Maria Neptune5a1428b2018-08-29 13:25:19 -0700779 memtimer: timer@17c20000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700780 #address-cells = <1>;
781 #size-cells = <1>;
782 ranges;
783 compatible = "arm,armv7-timer-mem";
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700784 reg = <0x17c20000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700785 clock-frequency = <19200000>;
786
Maria Neptune5a1428b2018-08-29 13:25:19 -0700787 frame@17c21000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700788 frame-number = <0>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700789 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
Runmin Wang4f5985b2017-04-19 15:55:12 -0700790 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700791 reg = <0x17c21000 0x1000>,
792 <0x17c22000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700793 };
794
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700795 frame@17c23000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700796 frame-number = <1>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700797 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
798 reg = <0x17c23000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700799 status = "disabled";
800 };
801
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700802 frame@17c25000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700803 frame-number = <2>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700804 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
805 reg = <0x17c25000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700806 status = "disabled";
807 };
808
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700809 frame@17c27000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700810 frame-number = <3>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700811 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
812 reg = <0x17c27000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700813 status = "disabled";
814 };
815
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700816 frame@17c29000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700817 frame-number = <4>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700818 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
819 reg = <0x17c29000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700820 status = "disabled";
821 };
822
Maria Neptune5a1428b2018-08-29 13:25:19 -0700823 frame@17c2b000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700824 frame-number = <5>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700825 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
826 reg = <0x17c2b000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700827 status = "disabled";
828 };
829
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700830 frame@17c2d000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700831 frame-number = <6>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700832 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
833 reg = <0x17c2d000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700834 status = "disabled";
835 };
836 };
Deepak Katragadda5bbf8142018-06-20 16:12:13 -0700837
Tingwei Zhang020594a2018-11-27 21:58:09 -0800838 jtag_mm0: jtagmm@7040000 {
839 compatible = "qcom,jtagv8-mm";
840 reg = <0x7040000 0x1000>;
841 reg-names = "etm-base";
842
843 clocks = <&clock_aop QDSS_CLK>;
844 clock-names = "core_clk";
845
846 qcom,coresight-jtagmm-cpu = <&CPU0>;
847 };
848
849 jtag_mm1: jtagmm@7140000 {
850 compatible = "qcom,jtagv8-mm";
851 reg = <0x7140000 0x1000>;
852 reg-names = "etm-base";
853
854 clocks = <&clock_aop QDSS_CLK>;
855 clock-names = "core_clk";
856
857 qcom,coresight-jtagmm-cpu = <&CPU1>;
858 };
859
860 jtag_mm2: jtagmm@7240000 {
861 compatible = "qcom,jtagv8-mm";
862 reg = <0x7240000 0x1000>;
863 reg-names = "etm-base";
864
865 clocks = <&clock_aop QDSS_CLK>;
866 clock-names = "core_clk";
867
868 qcom,coresight-jtagmm-cpu = <&CPU2>;
869 };
870
871 jtag_mm3: jtagmm@7340000 {
872 compatible = "qcom,jtagv8-mm";
873 reg = <0x7340000 0x1000>;
874 reg-names = "etm-base";
875
876 clocks = <&clock_aop QDSS_CLK>;
877 clock-names = "core_clk";
878
879 qcom,coresight-jtagmm-cpu = <&CPU3>;
880 };
881
882 jtag_mm4: jtagmm@7440000 {
883 compatible = "qcom,jtagv8-mm";
884 reg = <0x7440000 0x1000>;
885 reg-names = "etm-base";
886
887 clocks = <&clock_aop QDSS_CLK>;
888 clock-names = "core_clk";
889
890 qcom,coresight-jtagmm-cpu = <&CPU4>;
891 };
892
893 jtag_mm5: jtagmm@7540000 {
894 compatible = "qcom,jtagv8-mm";
895 reg = <0x7540000 0x1000>;
896 reg-names = "etm-base";
897
898 clocks = <&clock_aop QDSS_CLK>;
899 clock-names = "core_clk";
900
901 qcom,coresight-jtagmm-cpu = <&CPU5>;
902 };
903
904 jtag_mm6: jtagmm@7640000 {
905 compatible = "qcom,jtagv8-mm";
906 reg = <0x7640000 0x1000>;
907 reg-names = "etm-base";
908
909 clocks = <&clock_aop QDSS_CLK>;
910 clock-names = "core_clk";
911
912 qcom,coresight-jtagmm-cpu = <&CPU6>;
913 };
914
915 jtag_mm7: jtagmm@7740000 {
916 compatible = "qcom,jtagv8-mm";
917 reg = <0x7740000 0x1000>;
918 reg-names = "etm-base";
919
920 clocks = <&clock_aop QDSS_CLK>;
921 clock-names = "core_clk";
922
923 qcom,coresight-jtagmm-cpu = <&CPU7>;
924 };
925
David Dai3c427802018-10-17 14:40:08 -0700926 qcom,devfreq-l3 {
927 compatible = "qcom,devfreq-fw";
928 reg = <0x18590000 0x4>, <0x18590100 0xa0>, <0x18590320 0x4>;
929 reg-names = "en-base", "ftbl-base", "perf-base";
930
Rama Aparna Mallavarapude6608e2019-01-07 15:41:32 -0800931 cpu0_l3: qcom,cpu0-cpu-l3-lat {
David Dai3c427802018-10-17 14:40:08 -0700932 compatible = "qcom,devfreq-fw-voter";
933 };
934
Rama Aparna Mallavarapude6608e2019-01-07 15:41:32 -0800935 cpu4_l3: qcom,cpu4-cpu-l3-lat {
936 compatible = "qcom,devfreq-fw-voter";
937 };
938
939 cpu7_l3: qcom,cpu7-cpu-l3-lat {
940 compatible = "qcom,devfreq-fw-voter";
941 };
942
943 cdsp_l3: qcom,cdsp-cdsp-l3-lat {
David Dai3c427802018-10-17 14:40:08 -0700944 compatible = "qcom,devfreq-fw-voter";
945 };
946 };
947
David Dai95d5bfba2019-01-31 13:59:58 -0800948 keepalive_opp_table: keepalive-opp-table {
949 compatible = "operating-points-v2";
950 opp-1 {
951 opp-hz = /bits/ 64 < 1 >;
952 };
953 };
954
955 snoc_cnoc_keepalive: qcom,snoc_cnoc_keepalive {
956 compatible = "qcom,devbw";
957 governor = "powersave";
958 qcom,src-dst-ports = <MSM_BUS_MASTER_AMPSS_M0
959 MSM_BUS_SLAVE_IMEM_CFG>;
960 qcom,active-only;
961 status = "ok";
962 operating-points-v2 = <&keepalive_opp_table>;
963 };
964
Chinmay Sawarkare5d4b862019-01-07 15:54:39 -0800965 venus_bus_cnoc_bw_table: bus-cnoc-bw-table {
966 compatible = "operating-points-v2";
967 BW_OPP_ENTRY( 200, 4);
968 };
969
Rama Aparna Mallavarapu5a7daf42019-01-14 22:08:20 -0800970 llcc_bw_opp_table: llcc-bw-opp-table {
971 compatible = "operating-points-v2";
972 BW_OPP_ENTRY( 150, 16); /* 2288 MB/s */
973 BW_OPP_ENTRY( 300, 16); /* 4577 MB/s */
974 BW_OPP_ENTRY( 466, 16); /* 7110 MB/s */
975 BW_OPP_ENTRY( 600, 16); /* 9155 MB/s */
976 BW_OPP_ENTRY( 806, 16); /* 12298 MB/s */
977 BW_OPP_ENTRY( 933, 16); /* 14236 MB/s */
978 BW_OPP_ENTRY( 1000, 16); /* 15258 MB/s */
979 };
980
Rama Aparna Mallavarapu033ff622019-03-15 13:12:22 -0700981 suspendable_llcc_bw_opp_table: suspendable-llcc-bw-opp-table {
982 compatible = "operating-points-v2";
983 BW_OPP_ENTRY( 0, 16); /* 0 MB/s */
984 BW_OPP_ENTRY( 150, 16); /* 2288 MB/s */
985 BW_OPP_ENTRY( 300, 16); /* 4577 MB/s */
986 BW_OPP_ENTRY( 466, 16); /* 7110 MB/s */
987 BW_OPP_ENTRY( 600, 16); /* 9155 MB/s */
988 BW_OPP_ENTRY( 806, 16); /* 12298 MB/s */
989 BW_OPP_ENTRY( 933, 16); /* 14236 MB/s */
990 BW_OPP_ENTRY( 1000, 16); /* 15258 MB/s */
991 };
992
Rama Aparna Mallavarapu5a7daf42019-01-14 22:08:20 -0800993 ddr_bw_opp_table: ddr-bw-opp-table {
994 compatible = "operating-points-v2";
995 BW_OPP_ENTRY( 200, 4); /* 762 MB/s */
996 BW_OPP_ENTRY( 300, 4); /* 1144 MB/s */
997 BW_OPP_ENTRY( 451, 4); /* 1720 MB/s */
998 BW_OPP_ENTRY( 547, 4); /* 2086 MB/s */
999 BW_OPP_ENTRY( 681, 4); /* 2597 MB/s */
1000 BW_OPP_ENTRY( 768, 4); /* 2929 MB/s */
1001 BW_OPP_ENTRY( 1017, 4); /* 3879 MB/s */
1002 BW_OPP_ENTRY( 1353, 4); /* 5161 MB/s */
1003 BW_OPP_ENTRY( 1555, 4); /* 5931 MB/s */
Rama Aparna Mallavarapude6608e2019-01-07 15:41:32 -08001004 BW_OPP_ENTRY( 1804, 4); /* 6881 MB/s */
Rama Aparna Mallavarapu5a7daf42019-01-14 22:08:20 -08001005 BW_OPP_ENTRY( 2092, 4); /* 7980 MB/s */
1006 BW_OPP_ENTRY( 2736, 4); /* 10437 MB/s */
1007 };
1008
1009 suspendable_ddr_bw_opp_table: suspendable-ddr-bw-opp-table {
1010 compatible = "operating-points-v2";
1011 BW_OPP_ENTRY( 0, 4); /* 0 MB/s */
1012 BW_OPP_ENTRY( 200, 4); /* 762 MB/s */
1013 BW_OPP_ENTRY( 300, 4); /* 1144 MB/s */
1014 BW_OPP_ENTRY( 451, 4); /* 1720 MB/s */
1015 BW_OPP_ENTRY( 547, 4); /* 2086 MB/s */
1016 BW_OPP_ENTRY( 681, 4); /* 2597 MB/s */
1017 BW_OPP_ENTRY( 768, 4); /* 2929 MB/s */
1018 BW_OPP_ENTRY( 1017, 4); /* 3879 MB/s */
1019 BW_OPP_ENTRY( 1353, 4); /* 5161 MB/s */
1020 BW_OPP_ENTRY( 1555, 4); /* 5931 MB/s */
Rama Aparna Mallavarapude6608e2019-01-07 15:41:32 -08001021 BW_OPP_ENTRY( 1804, 4); /* 6881 MB/s */
Rama Aparna Mallavarapu5a7daf42019-01-14 22:08:20 -08001022 BW_OPP_ENTRY( 2092, 4); /* 7980 MB/s */
1023 BW_OPP_ENTRY( 2736, 4); /* 10437 MB/s */
1024 };
1025
Rama Aparna Mallavarapu230fb2a2019-01-31 12:56:01 -08001026 llcc_pmu: llcc-pmu@9095000 {
1027 compatible = "qcom,llcc-pmu-ver2";
1028 reg = <0x09095000 0x300>;
Rama Aparna Mallavarapude6608e2019-01-07 15:41:32 -08001029 reg-names = "lagg-base";
1030 };
1031
1032 cpu_cpu_llcc_bw: qcom,cpu-cpu-llcc-bw {
1033 compatible = "qcom,devbw";
1034 governor = "performance";
1035 qcom,src-dst-ports =
1036 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_LLCC>;
1037 qcom,active-only;
1038 operating-points-v2 = <&llcc_bw_opp_table>;
1039 };
1040
1041 cpu_cpu_llcc_bwmon: qcom,cpu-cpu-llcc-bwmon@90b6400 {
1042 compatible = "qcom,bimc-bwmon4";
1043 reg = <0x90b6400 0x300>, <0x90b6300 0x200>;
1044 reg-names = "base", "global_base";
1045 interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
1046 qcom,mport = <0>;
1047 qcom,hw-timer-hz = <19200000>;
1048 qcom,target-dev = <&cpu_cpu_llcc_bw>;
1049 qcom,count-unit = <0x10000>;
1050 };
1051
1052 cpu_llcc_ddr_bw: qcom,cpu-llcc-ddr-bw {
1053 compatible = "qcom,devbw";
1054 governor = "performance";
1055 qcom,src-dst-ports =
1056 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0>;
1057 qcom,active-only;
1058 operating-points-v2 = <&ddr_bw_opp_table>;
1059 };
1060
1061 cpu_llcc_ddr_bwmon: qcom,cpu-llcc-ddr-bwmon@9091000 {
1062 compatible = "qcom,bimc-bwmon5";
1063 reg = <0x9091000 0x1000>;
1064 reg-names = "base";
1065 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
1066 qcom,hw-timer-hz = <19200000>;
1067 qcom,target-dev = <&cpu_llcc_ddr_bw>;
1068 qcom,count-unit = <0x10000>;
1069 };
1070
1071 npu_npu_ddr_bw: qcom,npu-npu-ddr-bw {
1072 compatible = "qcom,devbw";
1073 governor = "performance";
1074 qcom,src-dst-ports = <MSM_BUS_MASTER_NPU MSM_BUS_SLAVE_EBI_CH0>;
1075 operating-points-v2 = <&suspendable_ddr_bw_opp_table>;
1076 };
1077
1078 npu_npu_ddr_bwmon: qcom,npu-npu-ddr-bwmon@60300 {
1079 compatible = "qcom,bimc-bwmon4";
1080 reg = <0x00060300 0x300>, <0x00060400 0x200>;
1081 reg-names = "base", "global_base";
1082 interrupts = <GIC_SPI 476 IRQ_TYPE_LEVEL_HIGH>;
1083 qcom,mport = <0>;
1084 qcom,hw-timer-hz = <19200000>;
1085 qcom,target-dev = <&npu_npu_ddr_bw>;
1086 qcom,count-unit = <0x10000>;
1087 };
1088
1089 npu_npu_ddr_bwmon_dsp: qcom,npu-npu-ddr-bwmoni_dsp@70200 {
1090 compatible = "qcom,bimc-bwmon4";
1091 reg = <0x00070200 0x300>, <0x00070300 0x200>;
1092 reg-names = "base", "global_base";
1093 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
1094 qcom,mport = <0>;
1095 qcom,hw-timer-hz = <19200000>;
1096 qcom,target-dev = <&npu_npu_ddr_bw>;
1097 qcom,count-unit = <0x10000>;
1098 };
1099
1100 cpu0_cpu_l3_latmon: qcom,cpu0-cpu-l3-latmon {
1101 compatible = "qcom,arm-memlat-mon";
1102 qcom,cpulist = <&CPU0 &CPU1 &CPU2 &CPU3>;
1103 qcom,target-dev = <&cpu0_l3>;
1104 qcom,cachemiss-ev = <0x17>;
1105 qcom,core-dev-table =
1106 < 300000 300000000 >,
1107 < 403200 403200000 >,
1108 < 518400 518400000 >,
1109 < 633600 614400000 >,
1110 < 825600 729600000 >,
1111 < 921600 825600000 >,
1112 < 1036800 921600000 >,
1113 < 1132800 1036800000 >,
1114 < 1228800 1132800000 >,
1115 < 1401600 1228800000 >,
1116 < 1497600 1305600000 >,
1117 < 1670400 1382400000 >;
1118 };
1119
1120 cpu4_cpu_l3_latmon: qcom,cpu4-cpu-l3-latmon {
1121 compatible = "qcom,arm-memlat-mon";
1122 qcom,cpulist = <&CPU4 &CPU5 &CPU6>;
1123 qcom,target-dev = <&cpu4_l3>;
1124 qcom,cachemiss-ev = <0x17>;
1125 qcom,core-dev-table =
1126 < 300000 300000000 >,
1127 < 806400 614400000 >,
1128 < 1017600 729600000 >,
1129 < 1228800 921600000 >,
1130 < 1689600 1228800000 >,
1131 < 1804800 1305600000 >,
1132 < 2227200 1382400000 >;
1133 };
1134
1135 cpu7_cpu_l3_latmon: qcom,cpu7-cpu-l3-latmon {
1136 compatible = "qcom,arm-memlat-mon";
1137 qcom,cpulist = <&CPU7>;
1138 qcom,target-dev = <&cpu7_l3>;
1139 qcom,cachemiss-ev = <0x17>;
1140 qcom,core-dev-table =
1141 < 300000 300000000 >,
1142 < 806400 614400000 >,
1143 < 1017600 729600000 >,
1144 < 1228800 921600000 >,
1145 < 1689600 1228800000 >,
1146 < 1804800 1305600000 >,
1147 < 2227200 1382400000 >;
1148 };
1149
1150 cpu0_cpu_llcc_lat: qcom,cpu0-cpu-llcc-lat {
1151 compatible = "qcom,devbw";
1152 governor = "performance";
1153 qcom,src-dst-ports =
1154 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_LLCC>;
1155 qcom,active-only;
1156 operating-points-v2 = <&llcc_bw_opp_table>;
1157 };
1158
1159 cpu0_cpu_llcc_latmon: qcom,cpu0-cpu-llcc-latmon {
1160 compatible = "qcom,arm-memlat-mon";
1161 qcom,cpulist = <&CPU0 &CPU1 &CPU2 &CPU3>;
1162 qcom,target-dev = <&cpu0_cpu_llcc_lat>;
1163 qcom,cachemiss-ev = <0x2A>;
1164 qcom,core-dev-table =
1165 < 300000 MHZ_TO_MBPS( 150, 16) >,
1166 < 729600 MHZ_TO_MBPS( 300, 16) >,
1167 < 1497600 MHZ_TO_MBPS( 466, 16) >,
1168 < 1670400 MHZ_TO_MBPS( 600, 16) >;
1169 };
1170
1171 cpu4_cpu_llcc_lat: qcom,cpu4-cpu-llcc-lat {
1172 compatible = "qcom,devbw";
1173 governor = "performance";
1174 qcom,src-dst-ports =
1175 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_LLCC>;
1176 qcom,active-only;
1177 operating-points-v2 = <&llcc_bw_opp_table>;
1178 };
1179
1180 cpu4_cpu_llcc_latmon: qcom,cpu4-cpu-llcc-latmon {
1181 compatible = "qcom,arm-memlat-mon";
1182 qcom,cpulist = <&CPU4 &CPU5 &CPU6 &CPU7>;
1183 qcom,target-dev = <&cpu4_cpu_llcc_lat>;
1184 qcom,cachemiss-ev = <0x2A>;
1185 qcom,core-dev-table =
1186 < 300000 MHZ_TO_MBPS( 150, 16) >,
1187 < 691200 MHZ_TO_MBPS( 300, 16) >,
1188 < 1017600 MHZ_TO_MBPS( 466, 16) >,
1189 < 1228800 MHZ_TO_MBPS( 600, 16) >,
1190 < 1804800 MHZ_TO_MBPS( 806, 16) >,
1191 < 2227200 MHZ_TO_MBPS( 933, 16) >,
1192 < 2476800 MHZ_TO_MBPS( 1000, 16) >;
1193 };
1194
1195 cpu0_llcc_ddr_lat: qcom,cpu0-llcc-ddr-lat {
1196 compatible = "qcom,devbw";
1197 governor = "performance";
1198 qcom,src-dst-ports =
1199 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0>;
1200 qcom,active-only;
1201 operating-points-v2 = <&ddr_bw_opp_table>;
1202 };
1203
1204 cpu0_llcc_ddr_latmon: qcom,cpu0-llcc-ddr-latmon {
1205 compatible = "qcom,arm-memlat-mon";
1206 qcom,cpulist = <&CPU0 &CPU1 &CPU2 &CPU3>;
1207 qcom,target-dev = <&cpu0_llcc_ddr_lat>;
Rama Aparna Mallavarapuf81d55d2019-03-11 12:22:23 -07001208 qcom,cachemiss-ev = <0x2A>;
Rama Aparna Mallavarapude6608e2019-01-07 15:41:32 -08001209 qcom,core-dev-table =
1210 < 300000 MHZ_TO_MBPS( 200, 4) >,
1211 < 729600 MHZ_TO_MBPS( 451, 4) >,
1212 < 1132800 MHZ_TO_MBPS( 547, 4) >,
1213 < 1497600 MHZ_TO_MBPS( 768, 4) >,
1214 < 1670400 MHZ_TO_MBPS( 1017, 4) >;
1215 };
1216
1217 cpu4_llcc_ddr_lat: qcom,cpu4-llcc-ddr-lat {
1218 compatible = "qcom,devbw";
1219 governor = "performance";
1220 qcom,src-dst-ports =
1221 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0>;
1222 qcom,active-only;
1223 operating-points-v2 = <&ddr_bw_opp_table>;
1224 };
1225
1226 cpu4_llcc_ddr_latmon: qcom,cpu4-llcc-ddr-latmon {
1227 compatible = "qcom,arm-memlat-mon";
1228 qcom,cpulist = <&CPU4 &CPU5 &CPU6 &CPU7>;
1229 qcom,target-dev = <&cpu4_llcc_ddr_lat>;
Rama Aparna Mallavarapuf81d55d2019-03-11 12:22:23 -07001230 qcom,cachemiss-ev = <0x2A>;
Rama Aparna Mallavarapude6608e2019-01-07 15:41:32 -08001231 qcom,core-dev-table =
1232 < 300000 MHZ_TO_MBPS( 200, 4) >,
1233 < 691200 MHZ_TO_MBPS( 451, 4) >,
1234 < 806400 MHZ_TO_MBPS( 547, 4) >,
1235 < 1017600 MHZ_TO_MBPS( 768, 4) >,
1236 < 1228800 MHZ_TO_MBPS(1017, 4) >,
1237 < 1574400 MHZ_TO_MBPS(1353, 4) >,
1238 < 1804800 MHZ_TO_MBPS(1555, 4) >,
1239 < 2227200 MHZ_TO_MBPS(1804, 4) >,
1240 < 2380800 MHZ_TO_MBPS(2092, 4) >,
1241 < 2476800 MHZ_TO_MBPS(2736, 4) >;
1242 };
1243
1244 cpu4_cpu_ddr_latfloor: qcom,cpu4-cpu-ddr-latfloor {
1245 compatible = "qcom,devbw";
1246 governor = "performance";
1247 qcom,src-dst-ports =
1248 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0>;
1249 qcom,active-only;
1250 operating-points-v2 = <&ddr_bw_opp_table>;
1251 };
1252
1253 cpu4_computemon: qcom,cpu4-computemon {
1254 compatible = "qcom,arm-cpu-mon";
1255 qcom,cpulist = <&CPU4 &CPU5 &CPU6 &CPU7>;
1256 qcom,target-dev = <&cpu4_cpu_ddr_latfloor>;
1257 qcom,core-dev-table =
1258 < 1804800 MHZ_TO_MBPS( 200, 4) >,
1259 < 2380800 MHZ_TO_MBPS(1017, 4) >,
1260 < 2500000 MHZ_TO_MBPS(2736, 4) >;
1261 };
1262
1263 keepalive_opp_table: keepalive-opp-table {
1264 compatible = "operating-points-v2";
1265 opp-1 {
1266 opp-hz = /bits/ 64 < 1 >;
1267 };
1268 };
1269
1270 snoc_cnoc_keepalive: qcom,snoc_cnoc_keepalive {
1271 compatible = "qcom,devbw";
1272 governor = "powersave";
1273 qcom,src-dst-ports = <1 627>;
1274 qcom,active-only;
1275 status = "ok";
1276 operating-points-v2 = <&keepalive_opp_table>;
1277 };
1278
1279 cdsp_keepalive: qcom,cdsp_keepalive {
1280 compatible = "qcom,devbw";
1281 governor = "powersave";
1282 qcom,src-dst-ports = <154 10070>;
1283 qcom,active-only;
1284 status = "ok";
1285 operating-points-v2 = <&keepalive_opp_table>;
1286 };
1287
Rishabh Bhatnagarf35ba022018-09-18 15:17:22 -07001288 qcom,msm-imem@146bf000 {
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001289 compatible = "qcom,msm-imem";
1290 reg = <0x146bf000 0x1000>;
1291 ranges = <0x0 0x146bf000 0x1000>;
1292 #address-cells = <1>;
1293 #size-cells = <1>;
1294
Tingwei Zhangd9b535f2018-12-03 19:14:06 -08001295 mem_dump_table@10 {
1296 compatible = "qcom,msm-imem-mem_dump_table";
1297 reg = <0x10 0x8>;
1298 };
1299
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001300 restart_reason@65c {
1301 compatible = "qcom,msm-imem-restart_reason";
Maria Neptune5a1428b2018-08-29 13:25:19 -07001302 reg = <0x65c 0x4>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001303 };
1304
1305 dload_type@1c {
1306 compatible = "qcom,msm-imem-dload-type";
1307 reg = <0x1c 0x4>;
1308 };
1309
1310 boot_stats@6b0 {
1311 compatible = "qcom,msm-imem-boot_stats";
Maria Neptune5a1428b2018-08-29 13:25:19 -07001312 reg = <0x6b0 0x20>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001313 };
1314
1315 kaslr_offset@6d0 {
1316 compatible = "qcom,msm-imem-kaslr_offset";
Maria Neptune5a1428b2018-08-29 13:25:19 -07001317 reg = <0x6d0 0xc>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001318 };
1319
1320 pil@94c {
1321 compatible = "qcom,msm-imem-pil";
Maria Neptune5a1428b2018-08-29 13:25:19 -07001322 reg = <0x94c 0xc8>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001323 };
Hemant Kumarca399682019-01-25 14:51:13 -08001324
1325 diag_dload@c8 {
1326 compatible = "qcom,msm-imem-diag-dload";
1327 reg = <0xc8 0xc8>;
1328 };
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001329 };
1330
Rishabh Bhatnagar811170f2018-11-09 13:44:32 -08001331 restart@c264000 {
1332 compatible = "qcom,pshold";
1333 reg = <0xc264000 0x4>,
1334 <0x1fd3000 0x4>;
1335 reg-names = "pshold-base", "tcsr-boot-misc-detect";
1336 };
1337
Zhen Kong284c9f02018-11-06 12:00:30 -08001338 dcc: dcc_v2@1023000 {
1339 compatible = "qcom,dcc-v2";
1340 reg = <0x1023000 0x1000>,
1341 <0x103a000 0x6000>;
1342 reg-names = "dcc-base", "dcc-ram-base";
1343
1344 dcc-ram-offset = <0x1a000>;
1345 };
1346
1347 qcom_seecom: qseecom@82200000 {
1348 compatible = "qcom,qseecom";
1349 reg = <0x82200000 0x2200000>;
1350 reg-names = "secapp-region";
1351 memory-region = <&qseecom_mem>;
1352 qcom,hlos-num-ce-hw-instances = <1>;
1353 qcom,hlos-ce-hw-instance = <0>;
1354 qcom,qsee-ce-hw-instance = <0>;
1355 qcom,disk-encrypt-pipe-pair = <2>;
1356 qcom,support-fde;
1357 qcom,no-clock-support;
1358 qcom,fde-key-size;
Zhen Kong84997022019-01-29 12:52:21 -08001359 qcom,appsbl-qseecom-support;
Zhen Kong284c9f02018-11-06 12:00:30 -08001360 qcom,commonlib64-loaded-by-uefi;
1361 qcom,qsee-reentrancy-support = <2>;
1362 };
1363
Zhen Kong24ab1cf2019-02-20 11:59:15 -08001364 qcom_rng: qrng@793000 {
1365 compatible = "qcom,msm-rng";
1366 reg = <0x793000 0x1000>;
1367 qcom,msm-rng-iface-clk;
1368 qcom,no-qrng-config;
1369 qcom,msm-bus,name = "msm-rng-noc";
1370 qcom,msm-bus,num-cases = <2>;
1371 qcom,msm-bus,num-paths = <1>;
1372 qcom,msm-bus,vectors-KBps =
1373 <1 618 0 0>, /* No vote */
1374 <1 618 0 300000>; /* 75 MHz */
1375 clocks = <&clock_gcc GCC_PRNG_AHB_CLK>;
1376 clock-names = "iface_clk";
1377 };
1378
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -07001379 mdm0: qcom,mdm0 {
Rishabh Bhatnagar134ede82018-10-16 10:54:12 -07001380 compatible = "qcom,ext-sdx55m";
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -07001381 cell-index = <0>;
1382 #address-cells = <0>;
1383 interrupt-parent = <&mdm0>;
1384 #interrupt-cells = <1>;
1385 interrupt-map-mask = <0xffffffff>;
1386 interrupt-names =
1387 "err_fatal_irq",
1388 "status_irq",
1389 "mdm2ap_vddmin_irq";
1390 /* modem attributes */
1391 qcom,ramdump-delay-ms = <3000>;
1392 qcom,ramdump-timeout-ms = <120000>;
1393 qcom,vddmin-modes = "normal";
1394 qcom,vddmin-drive-strength = <8>;
1395 qcom,sfr-query;
1396 qcom,sysmon-id = <20>;
1397 qcom,ssctl-instance-id = <0x10>;
1398 qcom,support-shutdown;
1399 qcom,pil-force-shutdown;
1400 qcom,esoc-skip-restart-for-mdm-crash;
Rishabh Bhatnagar632f3262019-01-25 10:30:36 -08001401 qcom,esoc-spmi-soft-reset;
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -07001402 pinctrl-names = "default", "mdm_active", "mdm_suspend";
1403 pinctrl-0 = <&ap2mdm_pon_reset_default>;
1404 pinctrl-1 = <&ap2mdm_active &mdm2ap_active>;
1405 pinctrl-2 = <&ap2mdm_sleep &mdm2ap_sleep>;
1406 interrupt-map = <0 &tlmm 1 0x3
1407 1 &tlmm 3 0x3>;
1408 qcom,mdm2ap-errfatal-gpio = <&tlmm 1 0x00>;
1409 qcom,ap2mdm-errfatal-gpio = <&tlmm 57 0x00>;
1410 qcom,mdm2ap-status-gpio = <&tlmm 3 0x00>;
1411 qcom,ap2mdm-status-gpio = <&tlmm 56 0x00>;
Rishabh Bhatnagar2b66dc12018-10-18 10:36:27 -07001412 qcom,ap2mdm-soft-reset-gpio = <&tlmm 145 GPIO_ACTIVE_LOW>;
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -07001413 qcom,mdm-link-info = "0306_02.01.00";
1414 status = "ok";
1415 };
1416
Lina Iyer8551c792018-06-21 16:06:53 -06001417 pdc: interrupt-controller@b220000 {
1418 compatible = "qcom,kona-pdc";
1419 reg = <0xb220000 0x30000>;
Lina Iyer20cebbc2019-02-06 09:06:52 -07001420 qcom,pdc-ranges = <0 480 30>, <42 522 52>, <94 609 30>;
Lina Iyer8551c792018-06-21 16:06:53 -06001421 #interrupt-cells = <2>;
1422 interrupt-parent = <&intc>;
1423 interrupt-controller;
1424 };
1425
Vivek Aknurwar65bafd92018-11-01 17:27:53 -07001426 clocks {
David Daiee6a9d62019-01-10 17:14:04 -08001427 xo_board: xo-board {
1428 compatible = "fixed-clock";
1429 #clock-cells = <0>;
1430 clock-frequency = <38400000>;
1431 clock-output-names = "xo_board";
1432 };
1433
Vivek Aknurwar65bafd92018-11-01 17:27:53 -07001434 sleep_clk: sleep-clk {
1435 compatible = "fixed-clock";
1436 clock-frequency = <32000>;
1437 clock-output-names = "chip_sleep_clk";
1438 #clock-cells = <1>;
1439 };
1440 };
1441
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001442 clock_aop: qcom,aopclk {
David Collinsb8a46bb2019-01-07 18:03:13 -08001443 compatible = "qcom,aop-qmp-clk";
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001444 #clock-cells = <1>;
David Collinsb8a46bb2019-01-07 18:03:13 -08001445 mboxes = <&qmp_aop 0>;
1446 mbox-names = "qdss_clk";
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001447 };
1448
Vivek Aknurwar7e9ecb92018-09-07 14:27:58 -07001449 clock_gcc: qcom,gcc@100000 {
David Dai7e431ad2018-12-05 15:37:39 -08001450 compatible = "qcom,gcc-kona", "syscon";
Vivek Aknurwar7e9ecb92018-09-07 14:27:58 -07001451 reg = <0x100000 0x1f0000>;
1452 reg-names = "cc_base";
1453 vdd_cx-supply = <&VDD_CX_LEVEL>;
1454 vdd_cx_ao-supply = <&VDD_CX_LEVEL_AO>;
1455 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001456 #clock-cells = <1>;
1457 #reset-cells = <1>;
1458 };
1459
David Collins4eb34f32018-12-06 11:51:01 -08001460 clock_npucc: qcom,npucc@9980000 {
1461 compatible = "qcom,npucc-kona", "syscon";
1462 reg = <0x9980000 0x10000>,
1463 <0x9800000 0x10000>,
1464 <0x9810000 0x10000>;
1465 reg-names = "cc", "qdsp6ss", "qdsp6ss_pll";
1466 vdd_cx-supply = <&VDD_CX_LEVEL>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001467 #clock-cells = <1>;
1468 #reset-cells = <1>;
1469 };
1470
Vivek Aknurwar65bafd92018-11-01 17:27:53 -07001471 clock_videocc: qcom,videocc@abf0000 {
1472 compatible = "qcom,videocc-kona", "syscon";
1473 reg = <0xabf0000 0x10000>;
1474 reg-names = "cc_base";
1475 vdd_mx-supply = <&VDD_MX_LEVEL>;
1476 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
1477 clock-names = "cfg_ahb_clk";
1478 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001479 #clock-cells = <1>;
1480 #reset-cells = <1>;
1481 };
1482
Vivek Aknurwar86452c02018-11-05 15:20:31 -08001483 clock_camcc: qcom,camcc@ad00000 {
1484 compatible = "qcom,camcc-kona", "syscon";
1485 reg = <0xad00000 0x10000>;
1486 reg-names = "cc_base";
1487 vdd_mx-supply = <&VDD_MX_LEVEL>;
1488 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
1489 clock-names = "cfg_ahb_clk";
1490 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001491 #clock-cells = <1>;
1492 #reset-cells = <1>;
1493 };
1494
David Daidc93e482018-11-27 17:32:50 -08001495 clock_dispcc: qcom,dispcc@af00000 {
David Dai7e431ad2018-12-05 15:37:39 -08001496 compatible = "qcom,kona-dispcc", "syscon";
David Daidc93e482018-11-27 17:32:50 -08001497 reg = <0xaf00000 0x20000>;
1498 reg-names = "cc_base";
1499 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
1500 clock-names = "cfg_ahb_clk";
1501 clocks = <&clock_gcc GCC_DISP_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001502 #clock-cells = <1>;
1503 #reset-cells = <1>;
1504 };
1505
Vivek Aknurwar31c2e0f22018-11-16 17:10:12 -08001506 clock_gpucc: qcom,gpucc@3d90000 {
1507 compatible = "qcom,gpucc-kona", "syscon";
1508 reg = <0x3d90000 0x9000>;
1509 reg-names = "cc_base";
1510 vdd_cx-supply = <&VDD_CX_LEVEL>;
1511 vdd_mx-supply = <&VDD_MX_LEVEL>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001512 #clock-cells = <1>;
1513 #reset-cells = <1>;
1514 };
1515
1516 clock_cpucc: qcom,cpucc {
1517 compatible = "qcom,dummycc";
1518 clock-output-names = "cpucc_clocks";
1519 #clock-cells = <1>;
1520 };
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -07001521
David Dai7e431ad2018-12-05 15:37:39 -08001522 clock_debugcc: qcom,cc-debug {
1523 compatible = "qcom,kona-debugcc";
1524 qcom,gcc = <&clock_gcc>;
1525 qcom,videocc = <&clock_videocc>;
1526 qcom,dispcc = <&clock_dispcc>;
1527 qcom,camcc = <&clock_camcc>;
1528 qcom,gpucc = <&clock_gpucc>;
David Collins4eb34f32018-12-06 11:51:01 -08001529 qcom,npucc = <&clock_npucc>;
David Dai7e431ad2018-12-05 15:37:39 -08001530 clock-names = "xo_clk_src";
David Daiee6a9d62019-01-10 17:14:04 -08001531 clocks = <&clock_rpmh RPMH_CXO_CLK>;
David Dai7e431ad2018-12-05 15:37:39 -08001532 #clock-cells = <1>;
1533 };
1534
David Collinsa86302c2018-09-17 14:16:50 -07001535 /* GCC GDSCs */
1536 pcie_0_gdsc: qcom,gdsc@16b004 {
1537 compatible = "qcom,gdsc";
1538 reg = <0x16b004 0x4>;
1539 regulator-name = "pcie_0_gdsc";
David Collins48f61312019-02-08 15:52:55 -08001540 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001541 };
1542
1543 pcie_1_gdsc: qcom,gdsc@18d004 {
1544 compatible = "qcom,gdsc";
1545 reg = <0x18d004 0x4>;
1546 regulator-name = "pcie_1_gdsc";
David Collins48f61312019-02-08 15:52:55 -08001547 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001548 };
1549
1550 pcie_2_gdsc: qcom,gdsc@106004 {
1551 compatible = "qcom,gdsc";
1552 reg = <0x106004 0x4>;
1553 regulator-name = "pcie_2_gdsc";
David Collins48f61312019-02-08 15:52:55 -08001554 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001555 };
1556
1557 ufs_card_gdsc: qcom,gdsc@175004 {
1558 compatible = "qcom,gdsc";
1559 reg = <0x175004 0x4>;
1560 regulator-name = "ufs_card_gdsc";
David Collins48f61312019-02-08 15:52:55 -08001561 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001562 };
1563
1564 ufs_phy_gdsc: qcom,gdsc@177004 {
1565 compatible = "qcom,gdsc";
1566 reg = <0x177004 0x4>;
1567 regulator-name = "ufs_phy_gdsc";
David Collins48f61312019-02-08 15:52:55 -08001568 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001569 };
1570
1571 usb30_prim_gdsc: qcom,gdsc@10f004 {
1572 compatible = "qcom,gdsc";
1573 reg = <0x10f004 0x4>;
1574 regulator-name = "usb30_prim_gdsc";
David Collins48f61312019-02-08 15:52:55 -08001575 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001576 };
1577
1578 usb30_sec_gdsc: qcom,gdsc@110004 {
1579 compatible = "qcom,gdsc";
1580 reg = <0x110004 0x4>;
1581 regulator-name = "usb30_sec_gdsc";
David Collins48f61312019-02-08 15:52:55 -08001582 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001583 };
1584
1585 hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc: qcom,gdsc@17d050 {
1586 compatible = "qcom,gdsc";
1587 reg = <0x17d050 0x4>;
1588 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc";
1589 qcom,no-status-check-on-disable;
1590 qcom,gds-timeout = <500>;
1591 };
1592
1593 hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc: qcom,gdsc@17d058 {
1594 compatible = "qcom,gdsc";
1595 reg = <0x17d058 0x4>;
1596 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc";
1597 qcom,no-status-check-on-disable;
1598 qcom,gds-timeout = <500>;
1599 };
1600
1601 hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc: qcom,gdsc@17d054 {
1602 compatible = "qcom,gdsc";
1603 reg = <0x17d054 0x4>;
1604 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc";
1605 qcom,no-status-check-on-disable;
1606 qcom,gds-timeout = <500>;
1607 };
1608
1609 hlos1_vote_mmnoc_mmu_tbu_sf1_gdsc: qcom,gdsc@17d06c {
1610 compatible = "qcom,gdsc";
1611 reg = <0x17d06c 0x4>;
1612 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf1_gdsc";
1613 qcom,no-status-check-on-disable;
1614 qcom,gds-timeout = <500>;
1615 };
1616
1617 /* CAM_CC GDSCs */
1618 bps_gdsc: qcom,gdsc@ad07004 {
1619 compatible = "qcom,gdsc";
1620 reg = <0xad07004 0x4>;
1621 regulator-name = "bps_gdsc";
1622 clock-names = "ahb_clk";
1623 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1624 parent-supply = <&VDD_MMCX_LEVEL>;
1625 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1626 qcom,support-hw-trigger;
David Collins48f61312019-02-08 15:52:55 -08001627 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001628 };
1629
1630 ife_0_gdsc: qcom,gdsc@ad0a004 {
1631 compatible = "qcom,gdsc";
1632 reg = <0xad0a004 0x4>;
1633 regulator-name = "ife_0_gdsc";
1634 clock-names = "ahb_clk";
1635 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1636 parent-supply = <&VDD_MMCX_LEVEL>;
1637 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
David Collins48f61312019-02-08 15:52:55 -08001638 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001639 };
1640
1641 ife_1_gdsc: qcom,gdsc@ad0b004 {
1642 compatible = "qcom,gdsc";
1643 reg = <0xad0b004 0x4>;
1644 regulator-name = "ife_1_gdsc";
1645 clock-names = "ahb_clk";
1646 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1647 parent-supply = <&VDD_MMCX_LEVEL>;
1648 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
David Collins48f61312019-02-08 15:52:55 -08001649 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001650 };
1651
1652 ipe_0_gdsc: qcom,gdsc@ad08004 {
1653 compatible = "qcom,gdsc";
1654 reg = <0xad08004 0x4>;
1655 regulator-name = "ipe_0_gdsc";
1656 clock-names = "ahb_clk";
1657 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1658 parent-supply = <&VDD_MMCX_LEVEL>;
1659 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1660 qcom,support-hw-trigger;
David Collins48f61312019-02-08 15:52:55 -08001661 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001662 };
1663
1664 sbi_gdsc: qcom,gdsc@ad09004 {
1665 compatible = "qcom,gdsc";
1666 reg = <0xad09004 0x4>;
1667 regulator-name = "sbi_gdsc";
1668 clock-names = "ahb_clk";
1669 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1670 parent-supply = <&VDD_MMCX_LEVEL>;
1671 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
David Collins48f61312019-02-08 15:52:55 -08001672 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001673 };
1674
1675 titan_top_gdsc: qcom,gdsc@ad0c144 {
1676 compatible = "qcom,gdsc";
1677 reg = <0xad0c144 0x4>;
1678 regulator-name = "titan_top_gdsc";
1679 clock-names = "ahb_clk";
1680 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1681 parent-supply = <&VDD_MMCX_LEVEL>;
1682 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
David Collins48f61312019-02-08 15:52:55 -08001683 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001684 };
1685
1686 /* DISP_CC GDSC */
1687 mdss_core_gdsc: qcom,gdsc@af03000 {
1688 compatible = "qcom,gdsc";
1689 reg = <0xaf03000 0x4>;
1690 regulator-name = "mdss_core_gdsc";
1691 clock-names = "ahb_clk";
1692 clocks = <&clock_gcc GCC_DISP_AHB_CLK>;
1693 parent-supply = <&VDD_MMCX_LEVEL>;
1694 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1695 qcom,support-hw-trigger;
David Collins48f61312019-02-08 15:52:55 -08001696 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001697 };
1698
1699 /* GPU_CC GDSCs */
1700 gpu_cx_hw_ctrl: syscon@3d91540 {
1701 compatible = "syscon";
1702 reg = <0x3d91540 0x4>;
1703 };
1704
1705 gpu_cx_gdsc: qcom,gdsc@3d9106c {
1706 compatible = "qcom,gdsc";
1707 reg = <0x3d9106c 0x4>;
1708 regulator-name = "gpu_cx_gdsc";
1709 hw-ctrl-addr = <&gpu_cx_hw_ctrl>;
1710 parent-supply = <&VDD_CX_LEVEL>;
1711 qcom,no-status-check-on-disable;
1712 qcom,clk-dis-wait-val = <8>;
1713 qcom,gds-timeout = <500>;
David Collins48f61312019-02-08 15:52:55 -08001714 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001715 };
1716
David Collinsd7eea142018-10-08 17:32:48 -07001717 gpu_gx_domain_addr: syscon@3d91508 {
David Collinsa86302c2018-09-17 14:16:50 -07001718 compatible = "syscon";
1719 reg = <0x3d91508 0x4>;
1720 };
1721
David Collinsd7eea142018-10-08 17:32:48 -07001722 gpu_gx_sw_reset: syscon@3d91008 {
David Collinsa86302c2018-09-17 14:16:50 -07001723 compatible = "syscon";
1724 reg = <0x3d91008 0x4>;
1725 };
1726
1727 gpu_gx_gdsc: qcom,gdsc@3d9100c {
1728 compatible = "qcom,gdsc";
1729 reg = <0x3d9100c 0x4>;
1730 regulator-name = "gpu_gx_gdsc";
1731 domain-addr = <&gpu_gx_domain_addr>;
1732 sw-reset = <&gpu_gx_sw_reset>;
1733 parent-supply = <&VDD_GFX_LEVEL>;
1734 vdd_parent-supply = <&VDD_GFX_LEVEL>;
1735 qcom,reset-aon-logic;
David Collins48f61312019-02-08 15:52:55 -08001736 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001737 };
1738
1739 /* NPU GDSC */
1740 npu_core_gdsc: qcom,gdsc@9981004 {
1741 compatible = "qcom,gdsc";
1742 reg = <0x9981004 0x4>;
1743 regulator-name = "npu_core_gdsc";
1744 clock-names = "ahb_clk";
1745 clocks = <&clock_gcc GCC_NPU_CFG_AHB_CLK>;
David Collins48f61312019-02-08 15:52:55 -08001746 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001747 };
1748
Jishnu Prakash793bf5b2018-11-09 16:28:55 +05301749 qcom,sps {
1750 compatible = "qcom,msm-sps-4k";
1751 qcom,pipe-attr-ee;
1752 };
1753
David Collinsa86302c2018-09-17 14:16:50 -07001754 /* VIDEO_CC GDSCs */
1755 mvs0_gdsc: qcom,gdsc@abf0d18 {
1756 compatible = "qcom,gdsc";
1757 reg = <0xabf0d18 0x4>;
1758 regulator-name = "mvs0_gdsc";
1759 clock-names = "ahb_clk";
1760 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1761 parent-supply = <&VDD_MMCX_LEVEL>;
1762 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
David Collins48f61312019-02-08 15:52:55 -08001763 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001764 };
1765
1766 mvs0c_gdsc: qcom,gdsc@abf0bf8 {
1767 compatible = "qcom,gdsc";
1768 reg = <0xabf0bf8 0x4>;
1769 regulator-name = "mvs0c_gdsc";
1770 clock-names = "ahb_clk";
1771 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1772 parent-supply = <&VDD_MMCX_LEVEL>;
1773 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
David Collins48f61312019-02-08 15:52:55 -08001774 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001775 };
1776
1777 mvs1_gdsc: qcom,gdsc@abf0d98 {
1778 compatible = "qcom,gdsc";
1779 reg = <0xabf0d98 0x4>;
1780 regulator-name = "mvs1_gdsc";
1781 clock-names = "ahb_clk";
1782 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1783 parent-supply = <&VDD_MMCX_LEVEL>;
1784 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
David Collins2da7dc92019-02-14 17:38:00 -08001785 qcom,support-hw-trigger;
David Collins48f61312019-02-08 15:52:55 -08001786 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001787 };
1788
1789 mvs1c_gdsc: qcom,gdsc@abf0c98 {
1790 compatible = "qcom,gdsc";
1791 reg = <0xabf0c98 0x4>;
1792 regulator-name = "mvs1c_gdsc";
1793 clock-names = "ahb_clk";
1794 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1795 parent-supply = <&VDD_MMCX_LEVEL>;
1796 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
David Collins48f61312019-02-08 15:52:55 -08001797 qcom,retain-regs;
David Collinsa86302c2018-09-17 14:16:50 -07001798 };
1799
David Collinsc2c02f62018-11-05 16:23:24 -08001800 spmi_bus: qcom,spmi@c440000 {
1801 compatible = "qcom,spmi-pmic-arb";
1802 reg = <0xc440000 0x1100>,
1803 <0xc600000 0x2000000>,
1804 <0xe600000 0x100000>,
1805 <0xe700000 0xa0000>,
1806 <0xc40a000 0x26000>;
1807 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1808 interrupt-names = "periph_irq";
Lina Iyer55c22492019-02-27 14:04:27 -07001809 interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
David Collinsc2c02f62018-11-05 16:23:24 -08001810 qcom,ee = <0>;
1811 qcom,channel = <0>;
1812 #address-cells = <2>;
1813 #size-cells = <0>;
1814 interrupt-controller;
1815 #interrupt-cells = <4>;
1816 cell-index = <0>;
1817 };
1818
Zhen Kong833f5342019-03-04 14:39:40 -08001819 ufs_ice: ufsice@1d90000 {
1820 compatible = "qcom,ice";
1821 reg = <0x1d90000 0x8000>;
1822 qcom,enable-ice-clk;
1823 clock-names = "ufs_core_clk", "bus_clk",
1824 "iface_clk", "ice_core_clk";
1825 clocks = <&clock_gcc GCC_UFS_PHY_AXI_CLK>,
1826 <&clock_gcc GCC_UFS_1X_CLKREF_EN>,
1827 <&clock_gcc GCC_UFS_PHY_AHB_CLK>,
1828 <&clock_gcc GCC_UFS_PHY_ICE_CORE_CLK>;
1829 qcom,op-freq-hz = <0>, <0>, <0>, <300000000>;
1830 vdd-hba-supply = <&ufs_phy_gdsc>;
1831 qcom,msm-bus,name = "ufs_ice_noc";
1832 qcom,msm-bus,num-cases = <2>;
1833 qcom,msm-bus,num-paths = <1>;
1834 qcom,msm-bus,vectors-KBps =
1835 <1 650 0 0>, /* No vote */
1836 <1 650 1000 0>; /* Max. bandwidth */
1837 qcom,bus-vector-names = "MIN",
1838 "MAX";
1839 qcom,instance-type = "ufs";
1840 };
1841
Can Guob04bed52018-07-10 19:27:32 -07001842 ufsphy_mem: ufsphy_mem@1d87000 {
1843 reg = <0x1d87000 0xe00>; /* PHY regs */
1844 reg-names = "phy_mem";
1845 #phy-cells = <0>;
Zhen Kong833f5342019-03-04 14:39:40 -08001846 ufs-qcom-crypto = <&ufs_ice>;
Can Guob04bed52018-07-10 19:27:32 -07001847
1848 lanes-per-direction = <2>;
1849
1850 clock-names = "ref_clk_src",
1851 "ref_clk",
1852 "ref_aux_clk";
1853 clocks = <&clock_rpmh RPMH_CXO_CLK>,
Vivek Aknurwarec5c93d2018-08-28 14:52:33 -07001854 <&clock_gcc GCC_UFS_1X_CLKREF_EN>,
Can Guob04bed52018-07-10 19:27:32 -07001855 <&clock_gcc GCC_UFS_PHY_PHY_AUX_CLK>;
1856
1857 status = "disabled";
1858 };
1859
1860 ufshc_mem: ufshc@1d84000 {
1861 compatible = "qcom,ufshc";
1862 reg = <0x1d84000 0x3000>;
1863 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1864 phys = <&ufsphy_mem>;
1865 phy-names = "ufsphy";
Zhen Kong833f5342019-03-04 14:39:40 -08001866 ufs-qcom-crypto = <&ufs_ice>;
Can Guob04bed52018-07-10 19:27:32 -07001867
1868 lanes-per-direction = <2>;
1869 dev-ref-clk-freq = <0>; /* 19.2 MHz */
1870
1871 clock-names =
1872 "core_clk",
1873 "bus_aggr_clk",
1874 "iface_clk",
1875 "core_clk_unipro",
1876 "core_clk_ice",
1877 "ref_clk",
1878 "tx_lane0_sync_clk",
1879 "rx_lane0_sync_clk",
1880 "rx_lane1_sync_clk";
1881 clocks =
1882 <&clock_gcc GCC_UFS_PHY_AXI_CLK>,
1883 <&clock_gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1884 <&clock_gcc GCC_UFS_PHY_AHB_CLK>,
1885 <&clock_gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
1886 <&clock_gcc GCC_UFS_PHY_ICE_CORE_CLK>,
1887 <&clock_rpmh RPMH_CXO_CLK>,
1888 <&clock_gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
1889 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
1890 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
1891 freq-table-hz =
1892 <37500000 300000000>,
1893 <0 0>,
1894 <0 0>,
1895 <37500000 300000000>,
1896 <75000000 300000000>,
1897 <0 0>,
1898 <0 0>,
1899 <0 0>,
1900 <0 0>;
1901
1902 qcom,msm-bus,name = "ufshc_mem";
Bao D. Nguyen5c208722019-02-01 11:03:41 -08001903 qcom,msm-bus,num-cases = <26>;
Can Guob04bed52018-07-10 19:27:32 -07001904 qcom,msm-bus,num-paths = <2>;
1905 qcom,msm-bus,vectors-KBps =
1906 /*
1907 * During HS G3 UFS runs at nominal voltage corner, vote
1908 * higher bandwidth to push other buses in the data path
1909 * to run at nominal to achieve max throughput.
1910 * 4GBps pushes BIMC to run at nominal.
1911 * 200MBps pushes CNOC to run at nominal.
1912 * Vote for half of this bandwidth for HS G3 1-lane.
1913 * For max bandwidth, vote high enough to push the buses
1914 * to run in turbo voltage corner.
1915 */
1916 <123 512 0 0>, <1 757 0 0>, /* No vote */
1917 <123 512 922 0>, <1 757 1000 0>, /* PWM G1 */
1918 <123 512 1844 0>, <1 757 1000 0>, /* PWM G2 */
1919 <123 512 3688 0>, <1 757 1000 0>, /* PWM G3 */
1920 <123 512 7376 0>, <1 757 1000 0>, /* PWM G4 */
1921 <123 512 1844 0>, <1 757 1000 0>, /* PWM G1 L2 */
1922 <123 512 3688 0>, <1 757 1000 0>, /* PWM G2 L2 */
1923 <123 512 7376 0>, <1 757 1000 0>, /* PWM G3 L2 */
1924 <123 512 14752 0>, <1 757 1000 0>, /* PWM G4 L2 */
1925 <123 512 127796 0>, <1 757 1000 0>, /* HS G1 RA */
1926 <123 512 255591 0>, <1 757 1000 0>, /* HS G2 RA */
1927 <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RA */
Bao D. Nguyen5c208722019-02-01 11:03:41 -08001928 <123 512 4194304 0>, <1 757 204800 0>, /* HS G4 RA */
Can Guob04bed52018-07-10 19:27:32 -07001929 <123 512 255591 0>, <1 757 1000 0>, /* HS G1 RA L2 */
1930 <123 512 511181 0>, <1 757 1000 0>, /* HS G2 RA L2 */
1931 <123 512 4194304 0>, <1 757 204800 0>, /* HS G3 RA L2 */
Bao D. Nguyen5c208722019-02-01 11:03:41 -08001932 <123 512 8388608 0>, <1 757 409600 0>, /* HS G4 RA L2 */
Can Guob04bed52018-07-10 19:27:32 -07001933 <123 512 149422 0>, <1 757 1000 0>, /* HS G1 RB */
1934 <123 512 298189 0>, <1 757 1000 0>, /* HS G2 RB */
1935 <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RB */
Bao D. Nguyen5c208722019-02-01 11:03:41 -08001936 <123 512 4194304 0>, <1 757 204800 0>, /* HS G4 RB */
Can Guob04bed52018-07-10 19:27:32 -07001937 <123 512 298189 0>, <1 757 1000 0>, /* HS G1 RB L2 */
1938 <123 512 596378 0>, <1 757 1000 0>, /* HS G2 RB L2 */
1939 /* As UFS working in HS G3 RB L2 mode, aggregated
1940 * bandwidth (AB) should take care of providing
1941 * optimum throughput requested. However, as tested,
1942 * in order to scale up CNOC clock, instantaneous
1943 * bindwidth (IB) needs to be given a proper value too.
1944 */
1945 <123 512 4194304 0>, <1 757 204800 409600>, /* HS G3 RB L2 */
Bao D. Nguyen5c208722019-02-01 11:03:41 -08001946 <123 512 8388608 0>, <1 757 409600 409600>, /* HS G4 RB L2 */
Can Guob04bed52018-07-10 19:27:32 -07001947 <123 512 7643136 0>, <1 757 307200 0>; /* Max. bandwidth */
1948
1949 qcom,bus-vector-names = "MIN",
1950 "PWM_G1_L1", "PWM_G2_L1", "PWM_G3_L1", "PWM_G4_L1",
1951 "PWM_G1_L2", "PWM_G2_L2", "PWM_G3_L2", "PWM_G4_L2",
Bao D. Nguyen5c208722019-02-01 11:03:41 -08001952 "HS_RA_G1_L1", "HS_RA_G2_L1", "HS_RA_G3_L1", "HS_RA_G4_L1",
1953 "HS_RA_G1_L2", "HS_RA_G2_L2", "HS_RA_G3_L2", "HS_RA_G4_L2",
1954 "HS_RB_G1_L1", "HS_RB_G2_L1", "HS_RB_G3_L1", "HS_RB_G4_L1",
1955 "HS_RB_G1_L2", "HS_RB_G2_L2", "HS_RB_G3_L2", "HS_RB_G4_L2",
1956
Can Guob04bed52018-07-10 19:27:32 -07001957 "MAX";
1958
1959 /* PM QoS */
1960 qcom,pm-qos-cpu-groups = <0x0f 0xf0>;
1961 qcom,pm-qos-cpu-group-latency-us = <44 44>;
1962 qcom,pm-qos-default-cpu = <0>;
1963
1964 pinctrl-names = "dev-reset-assert", "dev-reset-deassert";
1965 pinctrl-0 = <&ufs_dev_reset_assert>;
1966 pinctrl-1 = <&ufs_dev_reset_deassert>;
1967
1968 resets = <&clock_gcc GCC_UFS_PHY_BCR>;
1969 reset-names = "core_reset";
1970
1971 status = "disabled";
1972 };
1973
Bao D. Nguyenbd2335b2019-01-17 13:32:42 -08001974 sdhc_2: sdhci@8804000 {
1975 compatible = "qcom,sdhci-msm-v5";
1976 reg = <0x8804000 0x1000>;
1977 reg-names = "hc_mem";
1978
1979 interrupts = <0 204 0>, <0 222 0>;
1980 interrupt-names = "hc_irq", "pwr_irq";
1981
1982 qcom,bus-width = <4>;
1983 qcom,large-address-bus;
1984
1985 qcom,msm-bus,name = "sdhc2";
1986 qcom,msm-bus,num-cases = <8>;
1987 qcom,msm-bus,num-paths = <2>;
1988 qcom,msm-bus,vectors-KBps =
1989 /* No vote */
1990 <81 512 0 0>, <1 608 0 0>,
1991 /* 400 KB/s*/
1992 <81 512 1046 1600>,
1993 <1 608 1600 1600>,
1994 /* 20 MB/s */
1995 <81 512 52286 80000>,
1996 <1 608 80000 80000>,
1997 /* 25 MB/s */
1998 <81 512 65360 100000>,
1999 <1 608 100000 100000>,
2000 /* 50 MB/s */
2001 <81 512 130718 200000>,
2002 <1 608 133320 133320>,
2003 /* 100 MB/s */
2004 <81 512 261438 200000>,
2005 <1 608 150000 150000>,
2006 /* 200 MB/s */
2007 <81 512 261438 400000>,
2008 <1 608 300000 300000>,
2009 /* Max. bandwidth */
2010 <81 512 1338562 4096000>,
2011 <1 608 1338562 4096000>;
2012 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
2013 100750000 200000000 4294967295>;
2014
2015 qcom,restore-after-cx-collapse;
2016
2017 qcom,clk-rates = <400000 20000000 25000000
2018 50000000 100000000 201500000>;
2019 qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50",
2020 "SDR104";
2021
2022 qcom,devfreq,freq-table = <50000000 201500000>;
2023 clocks = <&clock_gcc GCC_SDCC2_AHB_CLK>,
2024 <&clock_gcc GCC_SDCC2_APPS_CLK>;
2025 clock-names = "iface_clk", "core_clk";
2026
2027 /* PM QoS */
2028 qcom,pm-qos-irq-type = "affine_irq";
2029 qcom,pm-qos-irq-latency = <44 44>;
2030 qcom,pm-qos-cpu-groups = <0x3f 0xc0>;
2031 qcom,pm-qos-legacy-latency-us = <44 44>, <44 44>;
2032
2033 status = "disabled";
2034 };
2035
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -07002036 ipcc_mproc: qcom,ipcc@408000 {
Neeraj Upadhyay5d7531f2019-01-16 10:25:24 -08002037 compatible = "qcom,ipcc";
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -07002038 reg = <0x408000 0x1000>;
2039 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
2040 interrupt-controller;
2041 #interrupt-cells = <3>;
2042 #mbox-cells = <2>;
2043 };
Lina Iyerea91c722018-06-20 14:58:05 -06002044
Raghavendra Rao Ananta5da54b32018-08-09 10:04:50 -07002045 ipcc_self_ping: ipcc-self-ping {
2046 compatible = "qcom,ipcc-self-ping";
2047 interrupts-extended = <&ipcc_mproc IPCC_CLIENT_APSS
2048 IPCC_MPROC_SIGNAL_SMP2P IRQ_TYPE_LEVEL_HIGH>;
2049 mboxes = <&ipcc_mproc IPCC_CLIENT_APSS IPCC_MPROC_SIGNAL_SMP2P>;
2050 };
2051
Maria Neptune5a1428b2018-08-29 13:25:19 -07002052 apps_rsc: rsc@18200000 {
Lina Iyerea91c722018-06-20 14:58:05 -06002053 label = "apps_rsc";
2054 compatible = "qcom,rpmh-rsc";
2055 reg = <0x18200000 0x10000>,
2056 <0x18210000 0x10000>,
2057 <0x18220000 0x10000>;
2058 reg-names = "drv-0", "drv-1", "drv-2";
2059 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
2060 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
2061 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
2062 qcom,tcs-offset = <0xd00>;
2063 qcom,drv-id = <2>;
2064 qcom,tcs-config = <ACTIVE_TCS 2>,
2065 <SLEEP_TCS 3>,
2066 <WAKE_TCS 3>,
2067 <CONTROL_TCS 1>;
David Dai07c8d4e2018-10-09 14:22:06 -07002068
2069 msm_bus_apps_rsc {
2070 compatible = "qcom,msm-bus-rsc";
2071 qcom,msm-bus-id = <MSM_BUS_RSC_APPS>;
2072 };
Arjun Bagla76f02ef2018-09-19 10:00:29 -07002073
2074 system_pm {
2075 compatible = "qcom,system-pm";
2076 };
David Daiee6a9d62019-01-10 17:14:04 -08002077
2078 clock_rpmh: qcom,rpmhclk {
2079 compatible = "qcom,kona-rpmh-clk";
2080 #clock-cells = <1>;
2081 };
Lina Iyerea91c722018-06-20 14:58:05 -06002082 };
2083
2084 disp_rsc: rsc@af20000 {
2085 label = "disp_rsc";
2086 compatible = "qcom,rpmh-rsc";
2087 reg = <0xaf20000 0x10000>;
2088 reg-names = "drv-0";
2089 interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
2090 qcom,tcs-offset = <0x1c00>;
2091 qcom,drv-id = <0>;
2092 qcom,tcs-config = <ACTIVE_TCS 0>,
2093 <SLEEP_TCS 1>,
2094 <WAKE_TCS 1>,
2095 <CONTROL_TCS 0>;
2096 status = "disabled";
Dhaval Patelf92536a2018-10-24 13:19:15 -07002097
David Daiaa2197d2019-02-12 10:32:43 -08002098 msm_bus_disp_rsc {
2099 compatible = "qcom,msm-bus-rsc";
2100 qcom,msm-bus-id = <MSM_BUS_RSC_DISP>;
2101 status = "disabled";
2102 };
2103
Dhaval Patelf92536a2018-10-24 13:19:15 -07002104 sde_rsc_rpmh {
2105 compatible = "qcom,sde-rsc-rpmh";
2106 cell-index = <0>;
2107 status = "disabled";
2108 };
Lina Iyerea91c722018-06-20 14:58:05 -06002109 };
Chris Lew86f6bde2018-09-06 16:40:39 -07002110
2111 tcsr_mutex_block: syscon@1f40000 {
2112 compatible = "syscon";
2113 reg = <0x1f40000 0x20000>;
2114 };
2115
2116 tcsr_mutex: hwlock {
2117 compatible = "qcom,tcsr-mutex";
2118 syscon = <&tcsr_mutex_block 0 0x1000>;
2119 #hwlock-cells = <1>;
2120 };
2121
2122 smem: qcom,smem {
2123 compatible = "qcom,smem";
2124 memory-region = <&smem_mem>;
2125 hwlocks = <&tcsr_mutex 3>;
2126 };
Venkata Narendra Kumar Gutta1781e562018-10-09 14:44:10 -07002127
2128 kryo-erp {
2129 compatible = "arm,arm64-kryo-cpu-erp";
2130 interrupts = <GIC_PPI 0 IRQ_TYPE_LEVEL_HIGH>,
2131 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
2132 interrupt-names = "l1-l2-faultirq",
2133 "l3-scu-faultirq";
2134 };
Chris Lew3859b1b72018-09-25 16:54:52 -07002135
Chris Lew3b1f0982018-10-05 17:28:21 -07002136 sp_scsr: mailbox@188501c {
2137 compatible = "qcom,kona-spcs-global";
2138 reg = <0x188501c 0x4>;
2139
2140 #mbox-cells = <1>;
2141 };
2142
2143 sp_scsr_block: syscon@1880000 {
2144 compatible = "syscon";
2145 reg = <0x1880000 0x10000>;
2146 };
2147
2148 intsp: qcom,qsee_irq {
2149 compatible = "qcom,kona-qsee-irq";
2150
2151 syscon = <&sp_scsr_block>;
2152 interrupts = <0 348 IRQ_TYPE_LEVEL_HIGH>,
2153 <0 349 IRQ_TYPE_LEVEL_HIGH>;
2154
2155 interrupt-names = "sp_ipc0",
2156 "sp_ipc1";
2157
2158 interrupt-controller;
2159 #interrupt-cells = <3>;
2160 };
2161
2162 qcom,qsee_irq_bridge {
2163 compatible = "qcom,qsee-ipc-irq-bridge";
2164
2165 qcom,qsee-ipc-irq-spss {
2166 qcom,dev-name = "qsee_ipc_irq_spss";
2167 label = "spss";
2168 interrupt-parent = <&intsp>;
2169 interrupts = <1 0 IRQ_TYPE_LEVEL_HIGH>;
2170 };
2171 };
2172
Amir Samuelove4c04342019-01-17 13:25:02 +02002173 spss_utils: qcom,spss_utils {
2174 compatible = "qcom,spss-utils";
2175 /* spss fuses physical address */
Mor Ohana7af12db2019-02-20 09:33:12 +02002176 qcom,spss-fuse1-addr = <0x00780234>;
Amir Samuelove4c04342019-01-17 13:25:02 +02002177 qcom,spss-fuse1-bit = <27>;
Mor Ohana7af12db2019-02-20 09:33:12 +02002178 qcom,spss-fuse2-addr = <0x00780234>;
Amir Samuelove4c04342019-01-17 13:25:02 +02002179 qcom,spss-fuse2-bit = <26>;
2180 qcom,spss-dev-firmware-name = "spss1d"; /* 8 chars max */
2181 qcom,spss-test-firmware-name = "spss1t"; /* 8 chars max */
2182 qcom,spss-prod-firmware-name = "spss1p"; /* 8 chars max */
2183 qcom,spss-debug-reg-addr = <0x01886020>;
2184 qcom,spss-emul-type-reg-addr = <0x01fc8004>;
2185 status = "ok";
2186 };
2187
2188 qcom,spcom {
2189 compatible = "qcom,spcom";
2190
2191 /* predefined channels, remote side is server */
2192 qcom,spcom-ch-names = "sp_kernel", "sp_ssr";
2193 status = "ok";
2194 };
2195
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002196 qcom,msm_gsi {
2197 compatible = "qcom,msm_gsi";
2198 };
2199
2200 qcom,rmnet-ipa {
2201 compatible = "qcom,rmnet-ipa3";
2202 qcom,rmnet-ipa-ssr;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002203 qcom,ipa-advertise-sg-support;
2204 qcom,ipa-napi-enable;
2205 };
2206
2207 qcom,ipa_fws {
2208 compatible = "qcom,pil-tz-generic";
2209 qcom,pas-id = <0xf>;
2210 qcom,firmware-name = "ipa_fws";
2211 qcom,pil-force-shutdown;
Amir Levy69bdbc42019-01-31 15:40:18 +02002212 memory-region = <&pil_ipa_gsi_mem>;
2213 };
2214
2215 qcom,ipa_uc {
2216 compatible = "qcom,pil-tz-generic";
2217 qcom,pas-id = <0x1B>;
2218 qcom,firmware-name = "ipa_uc";
2219 qcom,pil-force-shutdown;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002220 memory-region = <&pil_ipa_fw_mem>;
2221 };
2222
2223 ipa_hw: qcom,ipa@1e00000 {
2224 compatible = "qcom,ipa";
Michael Adisumarta33e334f2019-03-20 11:57:29 -07002225 mboxes = <&qmp_aop 0>;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002226 reg =
2227 <0x1e00000 0x84000>,
2228 <0x1e04000 0x23000>;
2229 reg-names = "ipa-base", "gsi-base";
2230 interrupts =
2231 <0 311 IRQ_TYPE_LEVEL_HIGH>,
2232 <0 432 IRQ_TYPE_LEVEL_HIGH>;
2233 interrupt-names = "ipa-irq", "gsi-irq";
2234 qcom,ipa-hw-ver = <17>; /* IPA core version = IPAv4.5 */
2235 qcom,ipa-hw-mode = <0>;
Ghanim Fodif8dcdbf2018-11-04 17:58:22 +02002236 qcom,platform-type = <2>; /* APQ platform */
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002237 qcom,ee = <0>;
2238 qcom,use-ipa-tethering-bridge;
2239 qcom,mhi-event-ring-id-limits = <9 11>; /* start and end */
2240 qcom,modem-cfg-emb-pipe-flt;
Ghanim Fodi03a999c2019-02-18 18:43:31 +02002241 qcom,ipa-wdi3-over-gsi;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002242 qcom,use-ipa-pm;
Michael Adisumarta039e2922019-02-19 20:18:40 -08002243 qcom,arm-smmu;
2244 qcom,smmu-fast-map;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002245 qcom,bandwidth-vote-for-ipa;
2246 qcom,use-64-bit-dma-mask;
2247 qcom,msm-bus,name = "ipa";
2248 qcom,msm-bus,num-cases = <5>;
Michael Adisumarta039e2922019-02-19 20:18:40 -08002249 qcom,msm-bus,num-paths = <5>;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002250 qcom,msm-bus,vectors-KBps =
2251 /* No vote */
Michael Adisumarta039e2922019-02-19 20:18:40 -08002252 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_LLCC 0 0>,
2253 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0 0 0>,
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002254 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 0 0>,
2255 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 0 0>,
2256 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 0>,
2257
2258 /* SVS2 */
Michael Adisumarta039e2922019-02-19 20:18:40 -08002259 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_LLCC 150000 600000>,
2260 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0 150000 1804000>,
2261 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 75000 300000>,
2262 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 0 76800>,
2263 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 150>,
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002264
2265 /* SVS */
Michael Adisumarta039e2922019-02-19 20:18:40 -08002266 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_LLCC 625000 1200000>,
2267 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0 625000 3072000>,
2268 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 312500 700000>,
2269 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 0 150000>,
2270 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 240>,
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002271
2272 /* NOMINAL */
Michael Adisumarta039e2922019-02-19 20:18:40 -08002273 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_LLCC 1250000 2400000>,
2274 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0 1250000 6220800>,
2275 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 625000 1500000>,
2276 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 0 400000>,
2277 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 466>,
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002278
2279 /* TURBO */
Michael Adisumarta039e2922019-02-19 20:18:40 -08002280 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_LLCC 2000000 3500000>,
2281 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0 2000000 7219200>,
2282 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 1000000 1920000>,
2283 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 0 400000>,
2284 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 533>;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002285
2286 qcom,bus-vector-names = "MIN", "SVS2", "SVS", "NOMINAL",
2287 "TURBO";
Michael Adisumarta039e2922019-02-19 20:18:40 -08002288 qcom,throughput-threshold = <600 2500 5000>;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002289 qcom,scaling-exceptions = <>;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002290
Jennifer L. Zenner718a8ca2019-01-31 12:24:21 -05002291 qcom,entire-ipa-block-size = <0x100000>;
2292 qcom,register-collection-on-crash;
2293 qcom,testbus-collection-on-crash;
2294 qcom,non-tn-collection-on-crash;
Perry Randisef912c792019-02-27 11:10:24 -05002295 qcom,secure-debug-check-action = <0>;
Jennifer L. Zenner718a8ca2019-01-31 12:24:21 -05002296
Michael Adisumarta039e2922019-02-19 20:18:40 -08002297 ipa_smmu_ap: ipa_smmu_ap {
2298 compatible = "qcom,ipa-smmu-ap-cb";
2299 iommus = <&apps_smmu 0x5C0 0x0>;
2300 qcom,iova-mapping = <0x20000000 0x40000000>;
2301 qcom,additional-mapping =
2302 /* modem tables in IMEM */
2303 <0x146BD000 0x146BD000 0x2000>;
2304 dma-coherent;
2305 qcom,iommu-dma = "disabled";
2306 };
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002307
Michael Adisumarta039e2922019-02-19 20:18:40 -08002308 ipa_smmu_wlan: ipa_smmu_wlan {
2309 compatible = "qcom,ipa-smmu-wlan-cb";
2310 iommus = <&apps_smmu 0x5C1 0x0>;
2311 qcom,iommu-dma = "disabled";
2312 };
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002313
Michael Adisumarta039e2922019-02-19 20:18:40 -08002314 ipa_smmu_uc: ipa_smmu_uc {
2315 compatible = "qcom,ipa-smmu-uc-cb";
2316 iommus = <&apps_smmu 0x5C2 0x0>;
2317 qcom,iova-mapping = <0x40000000 0x20000000>;
2318 qcom,iommu-dma = "disabled";
2319 };
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002320 };
2321
Chris Lew3859b1b72018-09-25 16:54:52 -07002322 qcom,glink {
2323 compatible = "qcom,glink";
2324 #address-cells = <1>;
2325 #size-cells = <1>;
2326 ranges;
2327
Chris Lewb2da0482018-11-16 14:50:31 -08002328 glink_npu: npu {
2329 qcom,remote-pid = <10>;
2330 transport = "smem";
2331 mboxes = <&ipcc_mproc IPCC_CLIENT_NPU
2332 IPCC_MPROC_SIGNAL_GLINK_QMP>;
2333 mbox-names = "npu_smem";
2334 interrupt-parent = <&ipcc_mproc>;
2335 interrupts = <IPCC_CLIENT_NPU
2336 IPCC_MPROC_SIGNAL_GLINK_QMP
2337 IRQ_TYPE_EDGE_RISING>;
2338
2339 label = "npu";
2340 qcom,glink-label = "npu";
2341
2342 qcom,npu_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08002343 qcom,net-id = <1>;
Chris Lewb2da0482018-11-16 14:50:31 -08002344 qcom,glink-channels = "IPCRTR";
2345 qcom,intents = <0x800 5
2346 0x2000 3
2347 0x4400 2>;
2348 };
2349
2350 qcom,npu_glink_ssr {
2351 qcom,glink-channels = "glink_ssr";
2352 qcom,notify-edges = <&glink_cdsp>;
2353 };
2354 };
2355
Chris Lew3859b1b72018-09-25 16:54:52 -07002356 glink_adsp: adsp {
2357 qcom,remote-pid = <2>;
2358 transport = "smem";
2359 mboxes = <&ipcc_mproc IPCC_CLIENT_LPASS
2360 IPCC_MPROC_SIGNAL_GLINK_QMP>;
2361 mbox-names = "adsp_smem";
2362 interrupt-parent = <&ipcc_mproc>;
2363 interrupts = <IPCC_CLIENT_LPASS
2364 IPCC_MPROC_SIGNAL_GLINK_QMP
2365 IRQ_TYPE_EDGE_RISING>;
2366
2367 label = "adsp";
2368 qcom,glink-label = "lpass";
2369
2370 qcom,adsp_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08002371 qcom,net-id = <2>;
Chris Lew3859b1b72018-09-25 16:54:52 -07002372 qcom,glink-channels = "IPCRTR";
2373 qcom,intents = <0x800 5
2374 0x2000 3
2375 0x4400 2>;
2376 };
2377
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302378 qcom,msm_fastrpc_rpmsg {
2379 compatible = "qcom,msm-fastrpc-rpmsg";
2380 qcom,glink-channels = "fastrpcglink-apps-dsp";
2381 qcom,intents = <0x64 64>;
2382 };
2383
Chris Lew3859b1b72018-09-25 16:54:52 -07002384 qcom,adsp_glink_ssr {
2385 qcom,glink-channels = "glink_ssr";
2386 qcom,notify-edges = <&glink_slpi>,
2387 <&glink_cdsp>;
2388 };
2389 };
2390
2391 glink_slpi: dsps {
2392 qcom,remote-pid = <3>;
2393 transport = "smem";
2394 mboxes = <&ipcc_mproc IPCC_CLIENT_SLPI
2395 IPCC_MPROC_SIGNAL_GLINK_QMP>;
2396 mbox-names = "dsps_smem";
2397 interrupt-parent = <&ipcc_mproc>;
2398 interrupts = <IPCC_CLIENT_SLPI
2399 IPCC_MPROC_SIGNAL_GLINK_QMP
2400 IRQ_TYPE_EDGE_RISING>;
2401
2402 label = "slpi";
2403 qcom,glink-label = "dsps";
2404
2405 qcom,slpi_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08002406 qcom,net-id = <2>;
Chris Lew3859b1b72018-09-25 16:54:52 -07002407 qcom,glink-channels = "IPCRTR";
2408 qcom,intents = <0x800 5
2409 0x2000 3
2410 0x4400 2>;
2411 };
2412
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302413 qcom,msm_fastrpc_rpmsg {
2414 compatible = "qcom,msm-fastrpc-rpmsg";
2415 qcom,glink-channels = "fastrpcglink-apps-dsp";
2416 qcom,intents = <0x64 64>;
2417 };
2418
Chris Lew3859b1b72018-09-25 16:54:52 -07002419 qcom,slpi_glink_ssr {
2420 qcom,glink-channels = "glink_ssr";
2421 qcom,notify-edges = <&glink_adsp>,
2422 <&glink_cdsp>;
2423 };
2424 };
2425
2426 glink_cdsp: cdsp {
2427 qcom,remote-pid = <5>;
2428 transport = "smem";
2429 mboxes = <&ipcc_mproc IPCC_CLIENT_CDSP
2430 IPCC_MPROC_SIGNAL_GLINK_QMP>;
2431 mbox-names = "dsps_smem";
2432 interrupt-parent = <&ipcc_mproc>;
2433 interrupts = <IPCC_CLIENT_CDSP
2434 IPCC_MPROC_SIGNAL_GLINK_QMP
2435 IRQ_TYPE_EDGE_RISING>;
2436
2437 label = "cdsp";
2438 qcom,glink-label = "cdsp";
2439
2440 qcom,cdsp_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08002441 qcom,net-id = <1>;
Chris Lew3859b1b72018-09-25 16:54:52 -07002442 qcom,glink-channels = "IPCRTR";
2443 qcom,intents = <0x800 5
2444 0x2000 3
2445 0x4400 2>;
2446 };
2447
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302448 qcom,msm_fastrpc_rpmsg {
2449 compatible = "qcom,msm-fastrpc-rpmsg";
2450 qcom,glink-channels = "fastrpcglink-apps-dsp";
2451 qcom,intents = <0x64 64>;
2452 };
2453
Chris Lew3859b1b72018-09-25 16:54:52 -07002454 qcom,cdsp_glink_ssr {
2455 qcom,glink-channels = "glink_ssr";
2456 qcom,notify-edges = <&glink_adsp>,
Chris Lewb2da0482018-11-16 14:50:31 -08002457 <&glink_slpi>,
2458 <&glink_npu>;
Chris Lew3859b1b72018-09-25 16:54:52 -07002459 };
2460 };
Chris Lew3b1f0982018-10-05 17:28:21 -07002461
2462 glink_spss: spss {
2463 qcom,remote-pid = <8>;
2464 transport = "spss";
2465 mboxes = <&sp_scsr 0>;
2466 mbox-names = "spss_spss";
2467 interrupt-parent = <&intsp>;
2468 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>;
2469
2470 reg = <0x1885008 0x8>,
2471 <0x1885010 0x4>;
2472 reg-names = "qcom,spss-addr",
2473 "qcom,spss-size";
2474
2475 label = "spss";
2476 qcom,glink-label = "spss";
2477 };
Chris Lew3859b1b72018-09-25 16:54:52 -07002478 };
Bruce Levy5122a632018-09-25 15:51:37 -07002479
Chris Lew3cbe4032018-11-30 18:57:32 -08002480 qmp_aop: qcom,qmp-aop@c300000 {
2481 compatible = "qcom,qmp-mbox";
2482 mboxes = <&ipcc_mproc IPCC_CLIENT_AOP
2483 IPCC_MPROC_SIGNAL_GLINK_QMP>;
2484 mbox-names = "aop_qmp";
2485 interrupt-parent = <&ipcc_mproc>;
2486 interrupts = <IPCC_CLIENT_AOP
2487 IPCC_MPROC_SIGNAL_GLINK_QMP
2488 IRQ_TYPE_EDGE_RISING>;
2489 reg = <0xc300000 0x1000>;
2490 reg-names = "msgram";
2491
2492 label = "aop";
2493 qcom,early-boot;
2494 priority = <0>;
2495 mbox-desc-offset = <0x0>;
2496 #mbox-cells = <1>;
2497 };
2498
Lina Iyer01db1032018-12-06 14:14:45 -07002499 aop-msg-client {
2500 compatible = "qcom,debugfs-qmp-client";
2501 mboxes = <&qmp_aop 0>;
2502 mbox-names = "aop";
2503 };
2504
Venkata Narendra Kumar Guttabf148762019-02-08 20:33:20 -08002505 qcom,msm-eud@ff0000 {
2506 compatible = "qcom,msm-eud";
2507 interrupt-names = "eud_irq";
Jeevan Shriram0d192182019-02-28 09:54:10 -08002508 interrupt-parent = <&pdc>;
2509 interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
Venkata Narendra Kumar Guttabf148762019-02-08 20:33:20 -08002510 reg = <0x088E0000 0x2000>,
2511 <0x088E2000 0x1000>;
2512 reg-names = "eud_base", "eud_mode_mgr2";
2513 qcom,secure-eud-en;
2514 qcom,eud-clock-vote-req;
2515 clocks = <&clock_gcc GCC_USB_PHY_CFG_AHB2PHY_BCR>;
2516 clock-names = "eud_ahb2phy_clk";
2517 status = "ok";
2518 };
2519
Bruce Levy5122a632018-09-25 15:51:37 -07002520 qcom,lpass@17300000 {
2521 compatible = "qcom,pil-tz-generic";
2522 reg = <0x17300000 0x00100>;
2523
2524 vdd_cx-supply = <&VDD_CX_LEVEL>;
2525 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
2526 qcom,proxy-reg-names = "vdd_cx";
2527
2528 clocks = <&clock_rpmh RPMH_CXO_CLK>;
2529 clock-names = "xo";
2530 qcom,proxy-clock-names = "xo";
2531
2532 qcom,pas-id = <1>;
2533 qcom,proxy-timeout-ms = <10000>;
2534 qcom,smem-id = <423>;
2535 qcom,sysmon-id = <1>;
2536 qcom,ssctl-instance-id = <0x14>;
2537 qcom,firmware-name = "adsp";
2538 memory-region = <&pil_adsp_mem>;
2539 qcom,complete-ramdump;
2540
2541 /* Inputs from lpass */
Bruce Levy6fa1fd52019-02-26 13:03:03 -08002542 interrupts-extended = <&pdc 6 IRQ_TYPE_LEVEL_HIGH>,
Bruce Levy5122a632018-09-25 15:51:37 -07002543 <&adsp_smp2p_in 0 0>,
2544 <&adsp_smp2p_in 2 0>,
2545 <&adsp_smp2p_in 1 0>,
2546 <&adsp_smp2p_in 3 0>;
2547
2548 interrupt-names = "qcom,wdog",
2549 "qcom,err-fatal",
2550 "qcom,proxy-unvote",
2551 "qcom,err-ready",
2552 "qcom,stop-ack";
2553
2554 /* Outputs to lpass */
2555 qcom,smem-states = <&adsp_smp2p_out 0>;
2556 qcom,smem-state-names = "qcom,force-stop";
2557
2558 mbox-names = "adsp-pil";
2559 };
2560
2561 qcom,turing@8300000 {
2562 compatible = "qcom,pil-tz-generic";
2563 reg = <0x8300000 0x100000>;
2564
2565 vdd_cx-supply = <&VDD_CX_LEVEL>;
2566 qcom,proxy-reg-names = "vdd_cx";
2567 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
2568
2569 clocks = <&clock_rpmh RPMH_CXO_CLK>;
2570 clock-names = "xo";
2571 qcom,proxy-clock-names = "xo";
2572
2573 qcom,pas-id = <18>;
2574 qcom,proxy-timeout-ms = <10000>;
2575 qcom,smem-id = <601>;
2576 qcom,sysmon-id = <7>;
2577 qcom,ssctl-instance-id = <0x17>;
2578 qcom,firmware-name = "cdsp";
2579 memory-region = <&pil_cdsp_mem>;
2580 qcom,complete-ramdump;
2581
2582 qcom,msm-bus,name = "pil-cdsp";
2583 qcom,msm-bus,num-cases = <2>;
2584 qcom,msm-bus,num-paths = <1>;
2585 qcom,msm-bus,vectors-KBps =
2586 <154 10070 0 0>,
2587 <154 10070 0 1>;
2588
2589 /* Inputs from turing */
Bruce Levy821133c2018-11-29 11:34:45 -08002590 interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_LEVEL_HIGH>,
Bruce Levy5122a632018-09-25 15:51:37 -07002591 <&cdsp_smp2p_in 0 0>,
2592 <&cdsp_smp2p_in 2 0>,
2593 <&cdsp_smp2p_in 1 0>,
2594 <&cdsp_smp2p_in 3 0>;
2595
2596 interrupt-names = "qcom,wdog",
2597 "qcom,err-fatal",
2598 "qcom,proxy-unvote",
2599 "qcom,err-ready",
2600 "qcom,stop-ack";
2601
2602 /* Outputs to turing */
2603 qcom,smem-states = <&cdsp_smp2p_out 0>;
2604 qcom,smem-state-names = "qcom,force-stop";
2605
2606 mbox-names = "cdsp-pil";
2607 };
Akshay Chandrashekhar Kalghatgif7905ad2018-11-08 16:30:42 -08002608
2609 qcom,venus@aab0000 {
2610 compatible = "qcom,pil-tz-generic";
2611 reg = <0xaab0000 0x2000>;
Chinmay Sawarkar2cfeca02018-11-15 17:59:36 -08002612
2613 vdd-supply = <&mvs0c_gdsc>;
2614 qcom,proxy-reg-names = "vdd";
2615 qcom,complete-ramdump;
2616
2617 clocks = <&clock_videocc VIDEO_CC_XO_CLK>,
2618 <&clock_videocc VIDEO_CC_MVS0C_CLK>,
2619 <&clock_videocc VIDEO_CC_AHB_CLK>;
2620 clock-names = "xo", "core", "ahb";
2621 qcom,proxy-clock-names = "xo", "core", "ahb";
2622
Akshay Chandrashekhar Kalghatgif7905ad2018-11-08 16:30:42 -08002623 qcom,core-freq = <200000000>;
2624 qcom,ahb-freq = <200000000>;
2625
2626 qcom,pas-id = <9>;
2627 qcom,msm-bus,name = "pil-venus";
2628 qcom,msm-bus,num-cases = <2>;
2629 qcom,msm-bus,num-paths = <1>;
2630 qcom,msm-bus,vectors-KBps =
2631 <63 512 0 0>,
2632 <63 512 0 304000>;
2633 qcom,proxy-timeout-ms = <100>;
2634 qcom,firmware-name = "venus";
2635 memory-region = <&pil_video_mem>;
2636 };
Tharun Kumar Merugub8d79dd2018-11-02 23:07:31 +05302637
Amir Samuelovf52db412019-01-08 09:30:58 +02002638 /* PIL spss node - for loading Secure Processor */
2639 qcom,spss@1880000 {
2640 compatible = "qcom,pil-tz-generic";
2641 reg = <0x188101c 0x4>,
2642 <0x1881024 0x4>,
2643 <0x1881028 0x4>,
2644 <0x188103c 0x4>,
2645 <0x1882014 0x4>;
2646 reg-names = "sp2soc_irq_status", "sp2soc_irq_clr",
2647 "sp2soc_irq_mask", "rmb_err", "rmb_err_spare2";
2648 interrupts = <0 352 1>;
2649
2650 vdd_cx-supply = <&VDD_CX_LEVEL>;
2651 qcom,proxy-reg-names = "vdd_cx";
2652 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
2653 vdd_mx-supply = <&VDD_MX_LEVEL>;
2654 vdd_mx-uV = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
2655
2656 clocks = <&clock_rpmh RPMH_CXO_CLK>;
2657 clock-names = "xo";
2658 qcom,proxy-clock-names = "xo";
2659 qcom,pil-generic-irq-handler;
2660 status = "ok";
2661
Amir Samuelov48955b32019-01-17 17:24:37 +02002662 qcom,signal-aop;
Amir Samuelovf52db412019-01-08 09:30:58 +02002663 qcom,complete-ramdump;
2664
2665 qcom,pas-id = <14>;
2666 qcom,proxy-timeout-ms = <10000>;
2667 qcom,firmware-name = "spss";
2668 memory-region = <&pil_spss_mem>;
2669 qcom,spss-scsr-bits = <24 25>;
2670
Amir Samuelov48955b32019-01-17 17:24:37 +02002671 mboxes = <&qmp_aop 0>;
Amir Samuelovf52db412019-01-08 09:30:58 +02002672 mbox-names = "spss-pil";
2673 };
2674
George Shen9c54c662018-12-26 15:50:11 -08002675 qcom,cvpss@abb0000 {
2676 compatible = "qcom,pil-tz-generic";
2677 reg = <0xabb0000 0x2000>;
2678 status = "ok";
George Shen24f63232019-01-11 14:28:21 -08002679 qcom,pas-id = <26>;
George Shen9c54c662018-12-26 15:50:11 -08002680 qcom,firmware-name = "cvpss";
2681
2682 memory-region = <&pil_cvp_mem>;
2683 };
2684
Jilai Wangd20a5292018-12-04 11:05:10 -05002685 qcom,npu@9800000 {
2686 compatible = "qcom,pil-tz-generic";
2687 reg = <0x9800000 0x800000>;
2688
2689 status = "ok";
2690 qcom,pas-id = <23>;
2691 qcom,firmware-name = "npu";
2692 memory-region = <&pil_npu_mem>;
2693 };
2694
Tharun Kumar Merugub8d79dd2018-11-02 23:07:31 +05302695 qcom,msm-cdsp-loader {
2696 compatible = "qcom,cdsp-loader";
2697 qcom,proc-img-to-load = "cdsp";
2698 };
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302699
2700 qcom,msm-adsprpc-mem {
2701 compatible = "qcom,msm-adsprpc-mem-region";
2702 memory-region = <&adsp_mem>;
Tharun Kumar Merugu9bf49d72018-12-21 02:33:10 +05302703 restrict-access;
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302704 };
2705
2706 msm_fastrpc: qcom,msm_fastrpc {
2707 compatible = "qcom,msm-fastrpc-compute";
Tharun Kumar Merugu9bf49d72018-12-21 02:33:10 +05302708 qcom,adsp-remoteheap-vmid = <22 37>;
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302709 qcom,fastrpc-adsp-audio-pdr;
Tharun Kumar Merugu9bf49d72018-12-21 02:33:10 +05302710 qcom,fastrpc-adsp-sensors-pdr;
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302711 qcom,rpc-latency-us = <235>;
2712
2713 qcom,msm_fastrpc_compute_cb1 {
2714 compatible = "qcom,msm-fastrpc-compute-cb";
2715 label = "cdsprpc-smd";
2716 iommus = <&apps_smmu 0x1001 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002717 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302718 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302719 dma-coherent;
2720 };
2721
2722 qcom,msm_fastrpc_compute_cb2 {
2723 compatible = "qcom,msm-fastrpc-compute-cb";
2724 label = "cdsprpc-smd";
2725 iommus = <&apps_smmu 0x1002 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002726 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302727 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302728 dma-coherent;
2729 };
2730
2731 qcom,msm_fastrpc_compute_cb3 {
2732 compatible = "qcom,msm-fastrpc-compute-cb";
2733 label = "cdsprpc-smd";
2734 iommus = <&apps_smmu 0x1003 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002735 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302736 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302737 dma-coherent;
2738 };
2739
2740 qcom,msm_fastrpc_compute_cb4 {
2741 compatible = "qcom,msm-fastrpc-compute-cb";
2742 label = "cdsprpc-smd";
2743 iommus = <&apps_smmu 0x1004 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002744 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302745 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302746 dma-coherent;
2747 };
2748
2749 qcom,msm_fastrpc_compute_cb5 {
2750 compatible = "qcom,msm-fastrpc-compute-cb";
2751 label = "cdsprpc-smd";
2752 iommus = <&apps_smmu 0x1005 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002753 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302754 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302755 dma-coherent;
2756 };
2757
2758 qcom,msm_fastrpc_compute_cb6 {
2759 compatible = "qcom,msm-fastrpc-compute-cb";
2760 label = "cdsprpc-smd";
2761 iommus = <&apps_smmu 0x1006 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002762 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302763 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302764 dma-coherent;
2765 };
2766
2767 qcom,msm_fastrpc_compute_cb7 {
2768 compatible = "qcom,msm-fastrpc-compute-cb";
2769 label = "cdsprpc-smd";
2770 iommus = <&apps_smmu 0x1007 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002771 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302772 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302773 dma-coherent;
2774 };
2775
2776 qcom,msm_fastrpc_compute_cb8 {
2777 compatible = "qcom,msm-fastrpc-compute-cb";
2778 label = "cdsprpc-smd";
2779 iommus = <&apps_smmu 0x1008 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002780 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302781 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302782 dma-coherent;
2783 };
2784
2785 qcom,msm_fastrpc_compute_cb9 {
2786 compatible = "qcom,msm-fastrpc-compute-cb";
2787 label = "cdsprpc-smd";
2788 qcom,secure-context-bank;
2789 iommus = <&apps_smmu 0x1009 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002790 qcom,iommu-dma-addr-pool = <0x60000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302791 qcom,iommu-faults = "stall-disable";
2792 qcom,iommu-vmid = <0xA>; /* VMID_CP_PIXEL */
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302793 dma-coherent;
2794 };
2795
2796 qcom,msm_fastrpc_compute_cb10 {
2797 compatible = "qcom,msm-fastrpc-compute-cb";
2798 label = "adsprpc-smd";
2799 iommus = <&apps_smmu 0x1803 0x0>;
Patrick Daly84360e12019-02-05 14:37:08 -08002800 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302801 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302802 dma-coherent;
2803 };
2804
2805 qcom,msm_fastrpc_compute_cb11 {
2806 compatible = "qcom,msm-fastrpc-compute-cb";
2807 label = "adsprpc-smd";
2808 iommus = <&apps_smmu 0x1804 0x0>;
Patrick Daly84360e12019-02-05 14:37:08 -08002809 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302810 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302811 dma-coherent;
2812 };
2813
2814 qcom,msm_fastrpc_compute_cb12 {
2815 compatible = "qcom,msm-fastrpc-compute-cb";
2816 label = "adsprpc-smd";
2817 iommus = <&apps_smmu 0x1805 0x0>;
Patrick Daly84360e12019-02-05 14:37:08 -08002818 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302819 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302820 dma-coherent;
2821 };
2822
2823 qcom,msm_fastrpc_compute_cb13 {
2824 compatible = "qcom,msm-fastrpc-compute-cb";
2825 label = "sdsprpc-smd";
2826 iommus = <&apps_smmu 0x0541 0x0>;
Patrick Daly84360e12019-02-05 14:37:08 -08002827 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302828 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302829 dma-coherent;
2830 };
2831
2832 qcom,msm_fastrpc_compute_cb14 {
2833 compatible = "qcom,msm-fastrpc-compute-cb";
2834 label = "sdsprpc-smd";
2835 iommus = <&apps_smmu 0x0542 0x0>;
Patrick Daly84360e12019-02-05 14:37:08 -08002836 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302837 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302838 dma-coherent;
2839 };
2840
2841 qcom,msm_fastrpc_compute_cb15 {
2842 compatible = "qcom,msm-fastrpc-compute-cb";
2843 label = "sdsprpc-smd";
2844 iommus = <&apps_smmu 0x0543 0x0>;
Patrick Daly84360e12019-02-05 14:37:08 -08002845 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302846 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302847 shared-cb = <4>;
2848 dma-coherent;
2849 };
2850 };
Shaikh Shadulbfdfdda2018-11-14 15:36:21 +05302851
Tatenda Chipeperekwaa84e1aa2019-01-18 17:43:45 -08002852 qcom_msmhdcp: qcom,msm_hdcp {
2853 compatible = "qcom,msm-hdcp";
2854 };
2855
Tingwei Zhangd9b535f2018-12-03 19:14:06 -08002856 mem_dump {
2857 compatible = "qcom,mem-dump";
2858 memory-region = <&dump_mem>;
2859
2860 rpmh {
2861 qcom,dump-size = <0x2000000>;
2862 qcom,dump-id = <0xec>;
2863 };
2864
2865 rpm_sw {
2866 qcom,dump-size = <0x28000>;
2867 qcom,dump-id = <0xea>;
2868 };
2869
2870 pmic {
2871 qcom,dump-size = <0x80000>;
2872 qcom,dump-id = <0xe4>;
2873 };
2874
2875 fcm {
2876 qcom,dump-size = <0x8400>;
2877 qcom,dump-id = <0xee>;
2878 };
2879
2880 etf_swao {
2881 qcom,dump-size = <0x10000>;
2882 qcom,dump-id = <0xf1>;
2883 };
2884
2885 etr_reg {
2886 qcom,dump-size = <0x1000>;
2887 qcom,dump-id = <0x100>;
2888 };
2889
2890 etfswao_reg {
2891 qcom,dump-size = <0x1000>;
2892 qcom,dump-id = <0x102>;
2893 };
2894
2895 misc_data {
2896 qcom,dump-size = <0x1000>;
2897 qcom,dump-id = <0xe8>;
2898 };
2899 };
2900
Zhen Kong93446d22018-12-27 13:10:09 -08002901 qcom_tzlog: tz-log@146bf720 {
2902 compatible = "qcom,tz-log";
2903 reg = <0x146bf720 0x3000>;
2904 qcom,hyplog-enabled;
2905 hyplog-address-offset = <0x410>;
2906 hyplog-size-offset = <0x414>;
2907 };
2908
Shaikh Shadulbfdfdda2018-11-14 15:36:21 +05302909 qcom,ssc@5c00000 {
2910 compatible = "qcom,pil-tz-generic";
2911 reg = <0x5c00000 0x4000>;
2912
2913 vdd_cx-supply = <&VDD_CX_LEVEL>;
2914 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
2915 vdd_mx-supply = <&VDD_MX_LEVEL>;
2916 qcom,vdd_mx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
2917
2918 qcom,proxy-reg-names = "vdd_cx", "vdd_mx";
2919 qcom,keep-proxy-regs-on;
2920
2921 clocks = <&clock_rpmh RPMH_CXO_CLK>;
2922 clock-names = "xo";
2923 qcom,proxy-clock-names = "xo";
2924
2925 qcom,pas-id = <12>;
2926 qcom,proxy-timeout-ms = <10000>;
2927 qcom,smem-id = <424>;
2928 qcom,sysmon-id = <3>;
2929 qcom,ssctl-instance-id = <0x16>;
2930 qcom,firmware-name = "slpi";
2931 status = "ok";
2932 memory-region = <&pil_slpi_mem>;
2933 qcom,complete-ramdump;
2934
2935 /* Inputs from ssc */
2936 interrupts-extended = <&pdc 9 IRQ_TYPE_LEVEL_HIGH>,
2937 <&dsps_smp2p_in 0 0>,
2938 <&dsps_smp2p_in 2 0>,
2939 <&dsps_smp2p_in 1 0>,
2940 <&dsps_smp2p_in 3 0>;
2941
2942 interrupt-names = "qcom,wdog",
2943 "qcom,err-fatal",
2944 "qcom,proxy-unvote",
2945 "qcom,err-ready",
2946 "qcom,stop-ack";
2947
2948 /* Outputs to ssc */
2949 qcom,smem-states = <&dsps_smp2p_out 0>;
2950 qcom,smem-state-names = "qcom,force-stop";
2951
2952 mbox-names = "slpi-pil";
2953 };
2954
2955 ssc_sensors: qcom,msm-ssc-sensors {
2956 compatible = "qcom,msm-ssc-sensors";
2957 status = "ok";
2958 qcom,firmware-name = "slpi";
2959 };
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002960
Zhen Kongec18a5f2019-02-13 17:24:17 -08002961 qcom_smcinvoke: smcinvoke@87900000 {
2962 compatible = "qcom,smcinvoke";
2963 reg = <0x87900000 0x2200000>;
2964 reg-names = "secapp-region";
2965 };
2966
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002967 tsens0: tsens@c222000 {
2968 compatible = "qcom,tsens24xx";
2969 reg = <0xc222000 0x4>,
2970 <0xc263000 0x1ff>;
2971 reg-names = "tsens_srot_physical",
2972 "tsens_tm_physical";
Siddartha Mohanadoss404a89a2019-01-04 15:29:48 -08002973 interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
2974 <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002975 interrupt-names = "tsens-upper-lower", "tsens-critical";
2976 #thermal-sensor-cells = <1>;
2977 };
2978
2979 tsens1: tsens@c223000 {
2980 compatible = "qcom,tsens24xx";
2981 reg = <0xc223000 0x4>,
2982 <0xc265000 0x1ff>;
2983 reg-names = "tsens_srot_physical",
2984 "tsens_tm_physical";
Siddartha Mohanadoss404a89a2019-01-04 15:29:48 -08002985 interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
2986 <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002987 interrupt-names = "tsens-upper-lower", "tsens-critical";
2988 #thermal-sensor-cells = <1>;
2989 };
Rishabh Bhatnagarf7a853a2018-06-28 14:14:54 -07002990
2991 qcom,msm-rtb {
2992 compatible = "qcom,msm-rtb";
2993 qcom,rtb-size = <0x100000>;
2994 };
2995
2996 qcom,mpm2-sleep-counter@c221000 {
2997 compatible = "qcom,mpm2-sleep-counter";
2998 reg = <0xc221000 0x1000>;
2999 clock-frequency = <32768>;
3000 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -07003001
3002 cpuss_dump {
3003 compatible = "qcom,cpuss-dump";
3004
3005 qcom,l1_i_cache0 {
3006 qcom,dump-node = <&L1_I_0>;
3007 qcom,dump-id = <0x60>;
3008 };
3009
3010 qcom,l1_i_cache1 {
3011 qcom,dump-node = <&L1_I_100>;
3012 qcom,dump-id = <0x61>;
3013 };
3014
3015 qcom,l1_i_cache2 {
3016 qcom,dump-node = <&L1_I_200>;
3017 qcom,dump-id = <0x62>;
3018 };
3019
3020 qcom,l1_i_cache3 {
3021 qcom,dump-node = <&L1_I_300>;
3022 qcom,dump-id = <0x63>;
3023 };
3024
3025 qcom,l1_i_cache100 {
3026 qcom,dump-node = <&L1_I_400>;
3027 qcom,dump-id = <0x64>;
3028 };
3029
3030 qcom,l1_i_cache101 {
3031 qcom,dump-node = <&L1_I_500>;
3032 qcom,dump-id = <0x65>;
3033 };
3034
3035 qcom,l1_i_cache102 {
3036 qcom,dump-node = <&L1_I_600>;
3037 qcom,dump-id = <0x66>;
3038 };
3039
3040 qcom,l1_i_cache103 {
3041 qcom,dump-node = <&L1_I_700>;
3042 qcom,dump-id = <0x67>;
3043 };
3044
3045 qcom,l1_d_cache0 {
3046 qcom,dump-node = <&L1_D_0>;
3047 qcom,dump-id = <0x80>;
3048 };
3049
3050 qcom,l1_d_cache1 {
3051 qcom,dump-node = <&L1_D_100>;
3052 qcom,dump-id = <0x81>;
3053 };
3054
3055 qcom,l1_d_cache2 {
3056 qcom,dump-node = <&L1_D_200>;
3057 qcom,dump-id = <0x82>;
3058 };
3059
3060 qcom,l1_d_cache3 {
3061 qcom,dump-node = <&L1_D_300>;
3062 qcom,dump-id = <0x83>;
3063 };
3064
3065 qcom,l1_d_cache100 {
3066 qcom,dump-node = <&L1_D_400>;
3067 qcom,dump-id = <0x84>;
3068 };
3069
3070 qcom,l1_d_cache101 {
3071 qcom,dump-node = <&L1_D_500>;
3072 qcom,dump-id = <0x85>;
3073 };
3074
3075 qcom,l1_d_cache102 {
3076 qcom,dump-node = <&L1_D_600>;
3077 qcom,dump-id = <0x86>;
3078 };
3079
3080 qcom,l1_d_cache103 {
3081 qcom,dump-node = <&L1_D_700>;
3082 qcom,dump-id = <0x87>;
3083 };
3084
3085 qcom,l1_i_tlb_dump400 {
3086 qcom,dump-node = <&L1_ITLB_400>;
3087 qcom,dump-id = <0x24>;
3088 };
3089
3090 qcom,l1_i_tlb_dump500 {
3091 qcom,dump-node = <&L1_ITLB_500>;
3092 qcom,dump-id = <0x25>;
3093 };
3094
3095 qcom,l1_i_tlb_dump600 {
3096 qcom,dump-node = <&L1_ITLB_600>;
3097 qcom,dump-id = <0x26>;
3098 };
3099
3100 qcom,l1_i_tlb_dump700 {
3101 qcom,dump-node = <&L1_ITLB_700>;
3102 qcom,dump-id = <0x27>;
3103 };
3104
3105 qcom,l1_d_tlb_dump400 {
3106 qcom,dump-node = <&L1_DTLB_400>;
3107 qcom,dump-id = <0x44>;
3108 };
3109
3110 qcom,l1_d_tlb_dump500 {
3111 qcom,dump-node = <&L1_DTLB_500>;
3112 qcom,dump-id = <0x45>;
3113 };
3114
3115 qcom,l1_d_tlb_dump600 {
3116 qcom,dump-node = <&L1_DTLB_600>;
3117 qcom,dump-id = <0x46>;
3118 };
3119
3120 qcom,l1_d_tlb_dump700 {
3121 qcom,dump-node = <&L1_DTLB_700>;
3122 qcom,dump-id = <0x47>;
3123 };
3124
3125 qcom,l2_cache_dump400 {
3126 qcom,dump-node = <&L2_4>;
3127 qcom,dump-id = <0xc4>;
3128 };
3129
3130 qcom,l2_cache_dump500 {
3131 qcom,dump-node = <&L2_5>;
3132 qcom,dump-id = <0xc5>;
3133 };
3134
3135 qcom,l2_cache_dump600 {
3136 qcom,dump-node = <&L2_6>;
3137 qcom,dump-id = <0xc6>;
3138 };
3139
3140 qcom,l2_cache_dump700 {
3141 qcom,dump-node = <&L2_7>;
3142 qcom,dump-id = <0xc7>;
3143 };
3144
3145 qcom,l2_tlb_dump0 {
3146 qcom,dump-node = <&L2_TLB_0>;
3147 qcom,dump-id = <0x120>;
3148 };
3149
3150 qcom,l2_tlb_dump100 {
3151 qcom,dump-node = <&L2_TLB_100>;
3152 qcom,dump-id = <0x121>;
3153 };
3154
3155 qcom,l2_tlb_dump200 {
3156 qcom,dump-node = <&L2_TLB_200>;
3157 qcom,dump-id = <0x122>;
3158 };
3159
3160 qcom,l2_tlb_dump300 {
3161 qcom,dump-node = <&L2_TLB_300>;
3162 qcom,dump-id = <0x123>;
3163 };
3164
3165 qcom,l2_tlb_dump400 {
3166 qcom,dump-node = <&L2_TLB_400>;
3167 qcom,dump-id = <0x124>;
3168 };
3169
3170 qcom,l2_tlb_dump500 {
3171 qcom,dump-node = <&L2_TLB_500>;
3172 qcom,dump-id = <0x125>;
3173 };
3174
3175 qcom,l2_tlb_dump600 {
3176 qcom,dump-node = <&L2_TLB_600>;
3177 qcom,dump-id = <0x126>;
3178 };
3179
3180 qcom,l2_tlb_dump700 {
3181 qcom,dump-node = <&L2_TLB_700>;
3182 qcom,dump-id = <0x127>;
3183 };
3184 };
Vipin Deep Kaur1cd6ed02018-12-27 16:23:43 +05303185
3186 gpi_dma0: qcom,gpi-dma@900000 {
3187 #dma-cells = <5>;
3188 compatible = "qcom,gpi-dma";
3189 reg = <0x900000 0x70000>;
3190 reg-names = "gpi-top";
Rishabh Bhatnagar7ef15882019-01-22 11:02:09 -08003191 interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
3192 <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
3193 <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
3194 <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
3195 <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
3196 <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
3197 <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
3198 <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
3199 <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
3200 <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
3201 <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
3202 <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
3203 <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
Vipin Deep Kaur1cd6ed02018-12-27 16:23:43 +05303204 qcom,max-num-gpii = <13>;
3205 qcom,gpii-mask = <0x7ff>;
3206 qcom,ev-factor = <2>;
3207 iommus = <&apps_smmu 0x5b6 0x0>;
3208 qcom,smmu-cfg = <0x1>;
3209 qcom,iova-range = <0x0 0x100000 0x0 0x100000>;
3210 status = "ok";
3211 };
3212
3213 gpi_dma1: qcom,gpi-dma@a00000 {
3214 #dma-cells = <5>;
3215 compatible = "qcom,gpi-dma";
3216 reg = <0xa00000 0x70000>;
3217 reg-names = "gpi-top";
Rishabh Bhatnagar7ef15882019-01-22 11:02:09 -08003218 interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
3219 <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
3220 <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
3221 <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
3222 <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
3223 <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
3224 <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
3225 <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>,
3226 <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>,
3227 <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>;
Vipin Deep Kaur1cd6ed02018-12-27 16:23:43 +05303228 qcom,max-num-gpii = <10>;
3229 qcom,gpii-mask = <0x3f>;
3230 qcom,ev-factor = <2>;
3231 iommus = <&apps_smmu 0x56 0x0>;
3232 qcom,smmu-cfg = <0x1>;
3233 qcom,iova-range = <0x0 0x100000 0x0 0x100000>;
3234 status = "ok";
3235 };
3236
3237 gpi_dma2: qcom,gpi-dma@800000 {
3238 #dma-cells = <5>;
3239 compatible = "qcom,gpi-dma";
3240 reg = <0x800000 0x70000>;
3241 reg-names = "gpi-top";
Rishabh Bhatnagar7ef15882019-01-22 11:02:09 -08003242 interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
3243 <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>,
3244 <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>,
3245 <GIC_SPI 591 IRQ_TYPE_LEVEL_HIGH>,
3246 <GIC_SPI 592 IRQ_TYPE_LEVEL_HIGH>,
3247 <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>,
3248 <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH>,
3249 <GIC_SPI 595 IRQ_TYPE_LEVEL_HIGH>,
3250 <GIC_SPI 596 IRQ_TYPE_LEVEL_HIGH>,
3251 <GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH>;
Vipin Deep Kaur1cd6ed02018-12-27 16:23:43 +05303252 qcom,max-num-gpii = <10>;
3253 qcom,gpii-mask = <0x3f>;
3254 qcom,ev-factor = <2>;
3255 iommus = <&apps_smmu 0x76 0x0>;
3256 qcom,smmu-cfg = <0x1>;
3257 qcom,iova-range = <0x0 0x100000 0x0 0x100000>;
3258 status = "ok";
3259 };
3260
Yuanyuan Liu99e0b9a2019-01-16 11:01:38 -08003261 qcom,cnss-qca6390@a0000000 {
3262 compatible = "qcom,cnss-qca6390";
Yuanyuan Liu10616b832019-02-20 14:32:31 -08003263 reg = <0xb0000000 0x10000>;
3264 reg-names = "smmu_iova_ipa";
Yuanyuan Liu09a52092019-02-05 16:02:43 -08003265 wlan-en-gpio = <&tlmm 20 0>;
Yuanyuan Liu99e0b9a2019-01-16 11:01:38 -08003266 pinctrl-names = "wlan_en_active", "wlan_en_sleep";
3267 pinctrl-0 = <&cnss_wlan_en_active>;
3268 pinctrl-1 = <&cnss_wlan_en_sleep>;
3269 qcom,wlan-rc-num = <0>;
3270 qcom,wlan-ramdump-dynamic = <0x400000>;
Yuanyuan Liue0c49072019-02-07 16:21:09 -08003271 qcom,smmu-s1-enable;
Yuanyuan Liu99e0b9a2019-01-16 11:01:38 -08003272
Yuanyuan Liu30d201f2019-01-22 14:04:54 -08003273 vdd-wlan-aon-supply = <&pm8150_s6>;
3274 vdd-wlan-dig-supply = <&pm8009_s2>;
3275 vdd-wlan-io-supply = <&pm8150_s4>;
3276 vdd-wlan-rfa1-supply = <&pm8150_s5>;
3277 vdd-wlan-rfa2-supply = <&pm8150a_s8>;
Yuanyuan Liu8f91f4a2019-01-30 10:42:25 -08003278 wlan-ant-switch-supply = <&pm8150a_l5>;
Yuanyuan Liu30d201f2019-01-22 14:04:54 -08003279
Yuanyuan Liu99e0b9a2019-01-16 11:01:38 -08003280 mhi,max-channels = <30>;
3281 mhi,timeout = <10000>;
3282
3283 mhi_channels {
3284 #address-cells = <1>;
3285 #size-cells = <0>;
3286
3287 mhi_chan@0 {
3288 reg = <0>;
3289 label = "LOOPBACK";
3290 mhi,num-elements = <32>;
3291 mhi,event-ring = <1>;
3292 mhi,chan-dir = <1>;
3293 mhi,data-type = <0>;
3294 mhi,doorbell-mode = <2>;
3295 mhi,ee = <0x14>;
3296 };
3297
3298 mhi_chan@1 {
3299 reg = <1>;
3300 label = "LOOPBACK";
3301 mhi,num-elements = <32>;
3302 mhi,event-ring = <1>;
3303 mhi,chan-dir = <2>;
3304 mhi,data-type = <0>;
3305 mhi,doorbell-mode = <2>;
3306 mhi,ee = <0x14>;
3307 };
3308
3309 mhi_chan@4 {
3310 reg = <4>;
3311 label = "DIAG";
3312 mhi,num-elements = <32>;
3313 mhi,event-ring = <1>;
3314 mhi,chan-dir = <1>;
3315 mhi,data-type = <0>;
3316 mhi,doorbell-mode = <2>;
3317 mhi,ee = <0x14>;
3318 };
3319
3320 mhi_chan@5 {
3321 reg = <5>;
3322 label = "DIAG";
3323 mhi,num-elements = <32>;
3324 mhi,event-ring = <1>;
3325 mhi,chan-dir = <2>;
3326 mhi,data-type = <0>;
3327 mhi,doorbell-mode = <2>;
3328 mhi,ee = <0x14>;
3329 };
3330
3331 mhi_chan@20 {
3332 reg = <20>;
3333 label = "IPCR";
3334 mhi,num-elements = <32>;
3335 mhi,event-ring = <1>;
3336 mhi,chan-dir = <1>;
3337 mhi,data-type = <1>;
3338 mhi,doorbell-mode = <2>;
3339 mhi,ee = <0x14>;
3340 mhi,auto-start;
3341 };
3342
3343 mhi_chan@21 {
3344 reg = <21>;
3345 label = "IPCR";
3346 mhi,num-elements = <32>;
3347 mhi,event-ring = <1>;
3348 mhi,chan-dir = <2>;
3349 mhi,data-type = <0>;
3350 mhi,doorbell-mode = <2>;
3351 mhi,ee = <0x14>;
3352 mhi,auto-queue;
3353 mhi,auto-start;
3354 };
3355 };
3356
3357 mhi_events {
3358 mhi_event@0 {
3359 mhi,num-elements = <32>;
3360 mhi,intmod = <1>;
3361 mhi,msi = <1>;
3362 mhi,priority = <1>;
3363 mhi,brstmode = <2>;
3364 mhi,data-type = <1>;
3365 };
3366
3367 mhi_event@1 {
3368 mhi,num-elements = <256>;
3369 mhi,intmod = <1>;
3370 mhi,msi = <2>;
3371 mhi,priority = <1>;
3372 mhi,brstmode = <2>;
3373 };
3374 };
3375 };
Runmin Wang4f5985b2017-04-19 15:55:12 -07003376};
Swathi Sridhar4008eb42018-07-17 15:34:46 -07003377
David Collins61d237d2019-01-03 16:01:15 -08003378#include "kona-regulators.dtsi"
David Daib1d68482018-10-01 19:40:35 -07003379#include "kona-bus.dtsi"
Swathi Sridharbbbc80b2018-07-13 10:02:08 -07003380#include "kona-ion.dtsi"
Tony Truongc972c642018-09-12 10:03:51 -07003381#include "kona-pcie.dtsi"
Sujeev Dias5399e552018-09-18 17:57:54 -07003382#include "kona-mhi.dtsi"
Yuanyuan Liu7c4eb3f2019-02-05 19:33:03 -08003383
3384&pcie0_rp {
3385 #address-cells = <5>;
3386 #size-cells = <0>;
3387
3388 cnss_pci: cnss_pci {
3389 reg = <0 0 0 0 0>;
Yuanyuan Liu10616b832019-02-20 14:32:31 -08003390 qcom,iommu-group = <&cnss_pci_iommu_group>;
3391
3392 #address-cells = <1>;
3393 #size-cells = <1>;
3394
3395 cnss_pci_iommu_group: cnss_pci_iommu_group {
3396 qcom,iommu-dma-addr-pool = <0xa0000000 0x10000000>;
3397 qcom,iommu-dma = "fastmap";
3398 qcom,iommu-pagetable = "coherent";
3399 };
Yuanyuan Liu7c4eb3f2019-02-05 19:33:03 -08003400 };
3401};
3402
Swathi Sridhar4008eb42018-07-17 15:34:46 -07003403#include "msm-arm-smmu-kona.dtsi"
Rishabh Bhatnagara740b0e2018-07-20 15:08:35 -07003404#include "kona-pinctrl.dtsi"
Chris Lew86f6bde2018-09-06 16:40:39 -07003405#include "kona-smp2p.dtsi"
Hemant Kumar5f58bad2018-08-31 14:25:23 -07003406#include "kona-usb.dtsi"
Tingwei Zhang564fa692018-11-28 00:31:17 -08003407#include "kona-coresight.dtsi"
Samantha Tran7e309f02018-08-31 17:23:00 -07003408#include "kona-sde.dtsi"
Satya Rama Aditya Pinapala09600b32018-10-29 10:52:37 -07003409#include "kona-sde-pll.dtsi"
Mukund Atred454ec92018-11-05 15:32:16 -08003410
Arjun Bagla76f02ef2018-09-19 10:00:29 -07003411#include "kona-pm.dtsi"
Mukund Atred454ec92018-11-05 15:32:16 -08003412#include "kona-camera.dtsi"
Vipin Deep Kaur9a2c13d2018-12-19 18:38:46 +05303413#include "kona-qupv3.dtsi"
Karthikeyan Mani7f5b10b2019-01-16 16:35:07 -08003414#include "kona-audio.dtsi"
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08003415#include "kona-thermal.dtsi"
Chinmay Sawarkar83d01b42018-12-14 12:34:50 -08003416#include "kona-vidc.dtsi"
George Shen9c54c662018-12-26 15:50:11 -08003417#include "kona-cvp.dtsi"
Jilai Wang6fed1a22019-01-23 16:58:39 -05003418#include "kona-npu.dtsi"
Urvashi Agrawalcdc3a3a2018-09-23 15:30:24 -07003419#include "kona-gpu.dtsi"
himta rame83f1132019-01-29 18:30:27 +05303420
3421&qupv3_se15_i2c {
3422 status = "ok";
3423 nq@64 {
3424 compatible = "rtc6226";
3425 reg = <0x64>;
3426 fmint-gpio = <&tlmm 51 0>;
3427 vdd-supply = <&pm8150a_bob>;
Umesh Vatsa9ba8482019-02-26 14:47:54 -08003428 rtc6226,vdd-supply-voltage = <3296000 3296000>;
himta rame83f1132019-01-29 18:30:27 +05303429 vio-supply = <&pm8150_s4>;
3430 rtc6226,vio-supply-voltage = <1800000 1800000 >;
3431 };
3432};