blob: a7a2feac3bf71df3d2cbf2bd49a26bd980094877 [file] [log] [blame]
Rishabh Bhatnagare9a05bb2018-12-10 11:09:45 -08001// SPDX-License-Identifier: GPL-2.0-only
Runmin Wang4f5985b2017-04-19 15:55:12 -07002/*
Amir Samuelovf52db412019-01-08 09:30:58 +02003 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
Runmin Wang4f5985b2017-04-19 15:55:12 -07004 */
5
6#include "skeleton64.dtsi"
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07007
8#include <dt-bindings/clock/qcom,aop-qmp.h>
9#include <dt-bindings/clock/qcom,camcc-kona.h>
10#include <dt-bindings/clock/qcom,cpucc-kona.h>
11#include <dt-bindings/clock/qcom,dispcc-kona.h>
12#include <dt-bindings/clock/qcom,gcc-kona.h>
13#include <dt-bindings/clock/qcom,gpucc-kona.h>
14#include <dt-bindings/clock/qcom,npucc-kona.h>
15#include <dt-bindings/clock/qcom,rpmh.h>
16#include <dt-bindings/clock/qcom,videocc-kona.h>
Runmin Wang4f5985b2017-04-19 15:55:12 -070017#include <dt-bindings/interrupt-controller/arm-gic.h>
David Daib1d68482018-10-01 19:40:35 -070018#include <dt-bindings/msm/msm-bus-ids.h>
David Collins61d237d2019-01-03 16:01:15 -080019#include <dt-bindings/regulator/qcom,rpmh-regulator-levels.h>
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -070020#include <dt-bindings/soc/qcom,ipcc.h>
Lina Iyerea91c722018-06-20 14:58:05 -060021#include <dt-bindings/soc/qcom,rpmh-rsc.h>
Rishabh Bhatnagar2b66dc12018-10-18 10:36:27 -070022#include <dt-bindings/gpio/gpio.h>
Deepak Katragadda5bbf8142018-06-20 16:12:13 -070023
Rama Aparna Mallavarapu5a7daf42019-01-14 22:08:20 -080024#define MHZ_TO_MBPS(mhz, w) ((mhz * 1000000 * w) / (1024 * 1024))
25#define BW_OPP_ENTRY(mhz, w) opp-mhz {opp-hz = /bits/ 64 <MHZ_TO_MBPS(mhz, w)>;}
26
27
Runmin Wang4f5985b2017-04-19 15:55:12 -070028/ {
29 model = "Qualcomm Technologies, Inc. kona";
30 compatible = "qcom,kona";
31 qcom,msm-id = <356 0x10000>;
32 interrupt-parent = <&intc>;
33
Can Guob04bed52018-07-10 19:27:32 -070034 aliases {
35 ufshc1 = &ufshc_mem; /* Embedded UFS slot */
Bao D. Nguyenbd2335b2019-01-17 13:32:42 -080036 sdhc2 = &sdhc_2; /* SDC2 SD card slot */
Tony Truong576c9bf2019-01-31 17:38:11 -080037 pci-domain0 = &pcie0; /* PCIe0 domain */
38 pci-domain1 = &pcie1; /* PCIe1 domain */
Tony Truongc972c642018-09-12 10:03:51 -070039 pci-domain2 = &pcie2; /* PCIe2 domain */
Vipin Deep Kaur9a2c13d2018-12-19 18:38:46 +053040 serial0 = &qupv3_se2_2uart; /* RUMI */
Karthikeyan Mani4b264262019-02-12 19:49:50 -080041 swr0 = &swr0;
42 swr1 = &swr1;
43 swr2 = &swr2;
Can Guob04bed52018-07-10 19:27:32 -070044 };
45
Runmin Wang4f5985b2017-04-19 15:55:12 -070046 cpus {
47 #address-cells = <2>;
48 #size-cells = <0>;
49
50 CPU0: cpu@0 {
51 device_type = "cpu";
52 compatible = "qcom,kryo";
53 reg = <0x0 0x0>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -070054 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -070055 cache-size = <0x8000>;
56 cpu-release-addr = <0x0 0x90000000>;
57 next-level-cache = <&L2_0>;
David Daia4635e62018-10-11 13:39:44 -070058 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -080059 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -080060 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -070061 L2_0: l2-cache {
62 compatible = "arm,arch-cache";
63 cache-size = <0x20000>;
64 cache-level = <2>;
65 next-level-cache = <&L3_0>;
66
67 L3_0: l3-cache {
68 compatible = "arm,arch-cache";
69 cache-size = <0x400000>;
70 cache-level = <3>;
71 };
72 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -070073
74 L1_I_0: l1-icache {
75 compatible = "arm,arch-cache";
76 qcom,dump-size = <0x8800>;
77 };
78
79 L1_D_0: l1-dcache {
80 compatible = "arm,arch-cache";
81 qcom,dump-size = <0x9000>;
82 };
83
84 L2_TLB_0: l2-tlb {
85 qcom,dump-size = <0x5000>;
86 };
Runmin Wang4f5985b2017-04-19 15:55:12 -070087 };
88
89 CPU1: cpu@100 {
90 device_type = "cpu";
91 compatible = "qcom,kryo";
92 reg = <0x0 0x100>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -070093 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -070094 cache-size = <0x8000>;
95 cpu-release-addr = <0x0 0x90000000>;
96 next-level-cache = <&L2_1>;
David Daia4635e62018-10-11 13:39:44 -070097 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -080098 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -080099 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700100 L2_1: l2-cache {
101 compatible = "arm,arch-cache";
102 cache-size = <0x20000>;
103 cache-level = <2>;
104 next-level-cache = <&L3_0>;
105 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700106
107 L1_I_100: l1-icache {
108 compatible = "arm,arch-cache";
109 qcom,dump-size = <0x8800>;
110 };
111
112 L1_D_100: l1-dcache {
113 compatible = "arm,arch-cache";
114 qcom,dump-size = <0x9000>;
115 };
116
117 L2_TLB_100: l2-tlb {
118 qcom,dump-size = <0x5000>;
119 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700120 };
121
122 CPU2: cpu@200 {
123 device_type = "cpu";
124 compatible = "qcom,kryo";
125 reg = <0x0 0x200>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700126 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700127 cache-size = <0x8000>;
128 cpu-release-addr = <0x0 0x90000000>;
129 next-level-cache = <&L2_2>;
David Daia4635e62018-10-11 13:39:44 -0700130 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800131 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -0800132 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700133 L2_2: l2-cache {
134 compatible = "arm,arch-cache";
135 cache-size = <0x20000>;
136 cache-level = <2>;
137 next-level-cache = <&L3_0>;
138 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700139
140 L1_I_200: l1-icache {
141 compatible = "arm,arch-cache";
142 qcom,dump-size = <0x8800>;
143 };
144
145 L1_D_200: l1-dcache {
146 compatible = "arm,arch-cache";
147 qcom,dump-size = <0x9000>;
148 };
149
150 L2_TLB_200: l2-tlb {
151 qcom,dump-size = <0x5000>;
152 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700153 };
154
155 CPU3: cpu@300 {
156 device_type = "cpu";
157 compatible = "qcom,kryo";
158 reg = <0x0 0x300>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700159 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700160 cache-size = <0x8000>;
161 cpu-release-addr = <0x0 0x90000000>;
162 next-level-cache = <&L2_3>;
David Daia4635e62018-10-11 13:39:44 -0700163 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800164 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -0800165 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700166 L2_3: l2-cache {
167 compatible = "arm,arch-cache";
168 cache-size = <0x20000>;
169 cache-level = <2>;
170 next-level-cache = <&L3_0>;
171 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700172
173 L1_I_300: l1-icache {
174 compatible = "arm,arch-cache";
175 qcom,dump-size = <0x8800>;
176 };
177
178 L1_D_300: l1-dcache {
179 compatible = "arm,arch-cache";
180 qcom,dump-size = <0x9000>;
181 };
182
183 L2_TLB_300: l2-tlb {
184 qcom,dump-size = <0x5000>;
185 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700186 };
187
188 CPU4: cpu@400 {
189 device_type = "cpu";
190 compatible = "qcom,kryo";
191 reg = <0x0 0x400>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700192 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700193 cache-size = <0x10000>;
194 cpu-release-addr = <0x0 0x90000000>;
195 next-level-cache = <&L2_4>;
David Daia4635e62018-10-11 13:39:44 -0700196 qcom,freq-domain = <&cpufreq_hw 1 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800197 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhaladb98c3e2019-01-25 10:26:46 -0800198 dynamic-power-coefficient = <514>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700199 L2_4: l2-cache {
200 compatible = "arm,arch-cache";
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700201 cache-size = <0x40000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700202 cache-level = <2>;
203 next-level-cache = <&L3_0>;
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700204 qcom,dump-size = <0x48000>;
205 };
206
207 L1_I_400: l1-icache {
208 compatible = "arm,arch-cache";
209 qcom,dump-size = <0x11000>;
210 };
211
212 L1_D_400: l1-dcache {
213 compatible = "arm,arch-cache";
214 qcom,dump-size = <0x12000>;
215 };
216
217 L1_ITLB_400: l1-itlb {
218 qcom,dump-size = <0x300>;
219 };
220
221 L1_DTLB_400: l1-dtlb {
222 qcom,dump-size = <0x480>;
223 };
224
225 L2_TLB_400: l2-tlb {
226 qcom,dump-size = <0x7800>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700227 };
228 };
229
230 CPU5: cpu@500 {
231 device_type = "cpu";
232 compatible = "qcom,kryo";
233 reg = <0x0 0x500>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700234 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700235 cache-size = <0x10000>;
236 cpu-release-addr = <0x0 0x90000000>;
237 next-level-cache = <&L2_5>;
David Daia4635e62018-10-11 13:39:44 -0700238 qcom,freq-domain = <&cpufreq_hw 1 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800239 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhaladb98c3e2019-01-25 10:26:46 -0800240 dynamic-power-coefficient = <514>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700241 L2_5: l2-cache {
242 compatible = "arm,arch-cache";
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700243 cache-size = <0x40000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700244 cache-level = <2>;
245 next-level-cache = <&L3_0>;
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700246 qcom,dump-size = <0x48000>;
247 };
248
249 L1_I_500: l1-icache {
250 compatible = "arm,arch-cache";
251 qcom,dump-size = <0x11000>;
252 };
253
254 L1_D_500: l1-dcache {
255 compatible = "arm,arch-cache";
256 qcom,dump-size = <0x12000>;
257 };
258
259 L1_ITLB_500: l1-itlb {
260 qcom,dump-size = <0x300>;
261 };
262
263 L1_DTLB_500: l1-dtlb {
264 qcom,dump-size = <0x480>;
265 };
266
267 L2_TLB_500: l2-tlb {
268 qcom,dump-size = <0x7800>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700269 };
270 };
271
272 CPU6: cpu@600 {
273 device_type = "cpu";
274 compatible = "qcom,kryo";
275 reg = <0x0 0x600>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700276 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700277 cache-size = <0x10000>;
278 cpu-release-addr = <0x0 0x90000000>;
279 next-level-cache = <&L2_6>;
David Daia4635e62018-10-11 13:39:44 -0700280 qcom,freq-domain = <&cpufreq_hw 1 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800281 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhaladb98c3e2019-01-25 10:26:46 -0800282 dynamic-power-coefficient = <514>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700283 L2_6: l2-cache {
284 compatible = "arm,arch-cache";
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700285 cache-size = <0x40000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700286 cache-level = <2>;
287 next-level-cache = <&L3_0>;
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700288 qcom,dump-size = <0x48000>;
289 };
290
291 L1_I_600: l1-icache {
292 compatible = "arm,arch-cache";
293 qcom,dump-size = <0x11000>;
294 };
295
296 L1_D_600: l1-dcache {
297 compatible = "arm,arch-cache";
298 qcom,dump-size = <0x12000>;
299 };
300
301 L1_ITLB_600: l1-itlb {
302 qcom,dump-size = <0x300>;
303 };
304
305 L1_DTLB_600: l1-dtlb {
306 qcom,dump-size = <0x480>;
307 };
308
309 L2_TLB_600: l2-tlb {
310 qcom,dump-size = <0x7800>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700311 };
312 };
313
314 CPU7: cpu@700 {
315 device_type = "cpu";
316 compatible = "qcom,kryo";
317 reg = <0x0 0x700>;
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700318 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700319 cache-size = <0x10000>;
320 cpu-release-addr = <0x0 0x90000000>;
321 next-level-cache = <&L2_7>;
David Daia4635e62018-10-11 13:39:44 -0700322 qcom,freq-domain = <&cpufreq_hw 2 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800323 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhaladb98c3e2019-01-25 10:26:46 -0800324 dynamic-power-coefficient = <598>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700325 L2_7: l2-cache {
326 compatible = "arm,arch-cache";
327 cache-size = <0x80000>;
328 cache-level = <2>;
329 next-level-cache = <&L3_0>;
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -0700330 qcom,dump-size = <0x90000>;
331 };
332
333 L1_I_700: l1-icache {
334 compatible = "arm,arch-cache";
335 qcom,dump-size = <0x11000>;
336 };
337
338 L1_D_700: l1-dcache {
339 compatible = "arm,arch-cache";
340 qcom,dump-size = <0x12000>;
341 };
342
343 L1_ITLB_700: l1-itlb {
344 qcom,dump-size = <0x300>;
345 };
346
347 L1_DTLB_700: l1-dtlb {
348 qcom,dump-size = <0x480>;
349 };
350
351 L2_TLB_700: l2-tlb {
352 qcom,dump-size = <0x7800>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700353 };
354 };
355
356 cpu-map {
357 cluster0 {
358 core0 {
359 cpu = <&CPU0>;
360 };
361
362 core1 {
363 cpu = <&CPU1>;
364 };
365
366 core2 {
367 cpu = <&CPU2>;
368 };
369
370 core3 {
371 cpu = <&CPU3>;
372 };
373 };
374
375 cluster1 {
376 core0 {
377 cpu = <&CPU4>;
378 };
379
380 core1 {
381 cpu = <&CPU5>;
382 };
383
384 core2 {
385 cpu = <&CPU6>;
386 };
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800387 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700388
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800389 cluster2 {
390 core0 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700391 cpu = <&CPU7>;
392 };
393 };
394 };
395 };
396
David Daia4635e62018-10-11 13:39:44 -0700397
Channagoud Kadabicdd72a02018-09-21 14:46:21 -0700398 cpu_pmu: cpu-pmu {
399 compatible = "arm,armv8-pmuv3";
400 qcom,irq-is-percpu;
401 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
402 };
403
David Daia4635e62018-10-11 13:39:44 -0700404 soc: soc {
405 cpufreq_hw: qcom,cpufreq-hw {
406 compatible = "qcom,cpufreq-hw";
407 reg = <0x18591000 0x1000>, <0x18592000 0x1000>,
408 <0x18593000 0x1000>;
409 reg-names = "freq-domain0", "freq-domain1",
410 "freq-domain2";
411
David Daiee6a9d62019-01-10 17:14:04 -0800412 clocks = <&clock_rpmh RPMH_CXO_CLK>, <&clock_gcc GPLL0>;
David Daia4635e62018-10-11 13:39:44 -0700413 clock-names = "xo", "cpu_clk";
414
415 #freq-domain-cells = <2>;
416 };
417 };
418
Arjun Bagla76f02ef2018-09-19 10:00:29 -0700419 psci {
420 compatible = "arm,psci-1.0";
421 method = "smc";
422 };
423
Venkata Narendra Kumar Gutta07fdd262019-02-11 21:12:04 -0800424 chosen {
425 bootargs = "rcupdate.rcu_expedited=1 rcu_nocbs=0-7";
426 };
427
Bruce Levy3bd8d1b2018-09-11 11:31:13 -0700428 firmware: firmware {
429 android {
430 compatible = "android,firmware";
Zhen Kongb8fe4072019-01-15 17:58:27 -0800431 vbmeta {
432 compatible = "android,vbmeta";
433 parts = "vbmeta,boot,system,vendor,dtbo";
434 };
435
Bruce Levy3bd8d1b2018-09-11 11:31:13 -0700436 fstab {
437 compatible = "android,fstab";
438 vendor {
439 compatible = "android,vendor";
440 dev = "/dev/block/platform/soc/1d84000.ufshc/by-name/vendor";
441 type = "ext4";
442 mnt_flags = "ro,barrier=1,discard";
443 fsmgr_flags = "wait,slotselect,avb";
444 status = "ok";
445 };
446 };
447 };
448 };
449
Channagoud Kadabida4367b2018-09-20 15:07:04 -0700450 psci {
451 compatible = "arm,psci-1.0";
452 method = "smc";
453 };
454
Swathi Sridhara79a9542018-06-21 11:40:44 -0700455 reserved-memory {
456 #address-cells = <2>;
457 #size-cells = <2>;
458 ranges;
459
460 hyp_mem: hyp_region@80000000 {
461 no-map;
462 reg = <0x0 0x80000000 0x0 0x600000>;
463 };
464
465 xbl_aop_mem: xbl_aop_region@80700000 {
466 no-map;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700467 reg = <0x0 0x80700000 0x0 0x120000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700468 };
469
Lina Iyer5d609fa2018-10-03 14:26:55 -0600470 cmd_db: reserved-memory@80820000 {
471 reg = <0x0 0x80820000 0x0 0x20000>;
472 compatible = "qcom,cmd-db";
473 no-map;
474 };
475
Swathi Sridhara79a9542018-06-21 11:40:44 -0700476 smem_mem: smem_region@80900000 {
477 no-map;
478 reg = <0x0 0x80900000 0x0 0x200000>;
479 };
480
481 removed_mem: removed_region@80b00000 {
482 no-map;
Swathi Sridhar67f2e9c2019-01-14 11:04:05 -0800483 reg = <0x0 0x80b00000 0x0 0x1300000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700484 };
485
486 qtee_apps_mem: qtee_apps_region@81e00000 {
487 no-map;
488 reg = <0x0 0x81e00000 0x0 0x2600000>;
489 };
490
491 pil_camera_mem: pil_camera_region@86000000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700492 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700493 no-map;
494 reg = <0x0 0x86000000 0x0 0x500000>;
495 };
496
497 pil_wlan_fw_mem: pil_wlan_fw_region@86500000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700498 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700499 no-map;
500 reg = <0x0 0x86500000 0x0 0x100000>;
501 };
502
503 pil_ipa_fw_mem: pil_ipa_fw_region@86600000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700504 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700505 no-map;
506 reg = <0x0 0x86600000 0x0 0x10000>;
507 };
508
509 pil_ipa_gsi_mem: pil_ipa_gsi_region@86610000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700510 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700511 no-map;
Swathi Sridhar67f2e9c2019-01-14 11:04:05 -0800512 reg = <0x0 0x86610000 0x0 0xa000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700513 };
514
Swathi Sridhar67f2e9c2019-01-14 11:04:05 -0800515 pil_gpu_mem: pil_gpu_region@8661a000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700516 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700517 no-map;
Swathi Sridhar67f2e9c2019-01-14 11:04:05 -0800518 reg = <0x0 0x8661a000 0x0 0x2000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700519 };
520
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700521 pil_npu_mem: pil_npu_region@86700000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700522 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700523 no-map;
524 reg = <0x0 0x86700000 0x0 0x500000>;
525 };
526
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700527 pil_video_mem: pil_video_region@86c00000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700528 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700529 no-map;
530 reg = <0x0 0x86c00000 0x0 0x500000>;
531 };
532
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700533 pil_cvp_mem: pil_cvp_region@87100000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700534 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700535 no-map;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700536 reg = <0x0 0x87100000 0x0 0x500000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700537 };
538
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700539 pil_cdsp_mem: pil_cdsp_region@87600000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700540 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700541 no-map;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700542 reg = <0x0 0x87600000 0x0 0x800000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700543 };
544
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700545 pil_slpi_mem: pil_slpi_region@87e00000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700546 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700547 no-map;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700548 reg = <0x0 0x87e00000 0x0 0x1500000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700549 };
550
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700551 pil_adsp_mem: pil_adsp_region@89300000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700552 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700553 no-map;
Swathi Sridhar19db3ed2018-11-29 11:01:42 -0800554 reg = <0x0 0x89300000 0x0 0x1a00000>;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700555 };
556
Swathi Sridhar19db3ed2018-11-29 11:01:42 -0800557 pil_spss_mem: pil_spss_region@8ad00000 {
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700558 compatible = "removed-dma-pool";
559 no-map;
Swathi Sridhar19db3ed2018-11-29 11:01:42 -0800560 reg = <0x0 0x8ad00000 0x0 0x100000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700561 };
562
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +0530563 adsp_mem: adsp_region {
564 compatible = "shared-dma-pool";
565 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
566 reusable;
567 alignment = <0x0 0x400000>;
Tharun Kumar Merugu9bf49d72018-12-21 02:33:10 +0530568 size = <0x0 0xC00000>;
569 };
570
571 sdsp_mem: sdsp_region {
572 compatible = "shared-dma-pool";
573 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
574 reusable;
575 alignment = <0x0 0x400000>;
576 size = <0x0 0x800000>;
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +0530577 };
578
George Shen9c54c662018-12-26 15:50:11 -0800579 cdsp_mem: cdsp_region {
580 compatible = "shared-dma-pool";
581 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
582 reusable;
583 alignment = <0x0 0x400000>;
584 size = <0x0 0x400000>;
585 };
586
Tingwei Zhangd9b535f2018-12-03 19:14:06 -0800587 dump_mem: mem_dump_region {
588 compatible = "shared-dma-pool";
Swathi Sridhar08b670b2019-01-16 17:05:24 -0800589 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
Tingwei Zhangd9b535f2018-12-03 19:14:06 -0800590 reusable;
591 size = <0 0x2400000>;
592 };
Konstantin Dorfman13fe5432019-02-06 16:03:13 +0200593 sp_mem: sp_region { /* SPSS-HLOS ION shared mem */
594 compatible = "shared-dma-pool";
595 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
596 reusable;
597 alignment = <0x0 0x400000>;
598 size = <0x0 0x800000>;
599 };
Tingwei Zhangd9b535f2018-12-03 19:14:06 -0800600
Zhen Kong284c9f02018-11-06 12:00:30 -0800601 qseecom_mem: qseecom_region {
602 compatible = "shared-dma-pool";
603 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
604 reusable;
605 alignment = <0x0 0x400000>;
606 size = <0x0 0x1400000>;
607 };
608
609 qseecom_ta_mem: qseecom_ta_region {
610 compatible = "shared-dma-pool";
611 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
612 reusable;
613 alignment = <0x0 0x400000>;
614 size = <0x0 0x1000000>;
615 };
616
Swathi Sridhara79a9542018-06-21 11:40:44 -0700617 /* global autoconfigured region for contiguous allocations */
618 linux,cma {
619 compatible = "shared-dma-pool";
620 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
621 reusable;
622 alignment = <0x0 0x400000>;
623 size = <0x0 0x2000000>;
624 linux,cma-default;
625 };
Vikram Panduranga5bbf75a2019-01-17 19:26:52 -0800626
627 mailbox_mem: mailbox_region {
628 compatible = "shared-dma-pool";
629 no-map;
630 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
631 alignment = <0x0 0x400000>;
632 size = <0x0 0x20000>;
633 };
Swathi Sridhara79a9542018-06-21 11:40:44 -0700634 };
Bruce Levyc5eb1992019-01-11 12:09:18 -0800635
636 vendor: vendor {
637 #address-cells = <1>;
638 #size-cells = <1>;
639 ranges = <0 0 0 0xffffffff>;
640 compatible = "simple-bus";
641 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700642};
643
644&soc {
645 #address-cells = <1>;
646 #size-cells = <1>;
647 ranges = <0 0 0 0xffffffff>;
648 compatible = "simple-bus";
649
David Collins692dff72018-11-12 17:09:49 -0800650 thermal_zones: thermal-zones {
651 };
652
Dilip Kotaab8bf962018-12-26 12:12:22 +0530653 slim_aud: slim@3ac0000 {
654 cell-index = <1>;
655 compatible = "qcom,slim-ngd";
656 reg = <0x3ac0000 0x2c000>,
657 <0x3a84000 0x2c000>;
658 reg-names = "slimbus_physical", "slimbus_bam_physical";
Rishabh Bhatnagar7ef15882019-01-22 11:02:09 -0800659 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
660 <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
Dilip Kotaab8bf962018-12-26 12:12:22 +0530661 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
662 qcom,apps-ch-pipes = <0x700000>;
663 qcom,ea-pc = <0x2d0>;
Dilip Kota8b36d602019-02-06 12:07:34 +0530664 iommus = <&apps_smmu 0x1826 0x0>,
665 <&apps_smmu 0x182f 0x0>,
666 <&apps_smmu 0x1830 0x1>;
667 qcom,iommu-dma-addr-pool = <0x40000000 0xc0000000>;
668 qcom,iommu-dma = "bypass";
Mahesh Kumar Sharmab8e62662019-01-17 16:16:22 -0800669 status = "ok";
Mahesh Kumar Sharmab8e62662019-01-17 16:16:22 -0800670
671 /* Slimbus Slave DT for QCA6390 */
672 btfmslim_codec: qca6390 {
673 compatible = "qcom,btfmslim_slave";
674 elemental-addr = [00 01 20 02 17 02];
675 qcom,btfm-slim-ifd = "btfmslim_slave_ifd";
676 qcom,btfm-slim-ifd-elemental-addr = [00 00 20 02 17 02];
677 };
Dilip Kotaab8bf962018-12-26 12:12:22 +0530678 };
679
Runmin Wang4f5985b2017-04-19 15:55:12 -0700680 intc: interrupt-controller@17a00000 {
681 compatible = "arm,gic-v3";
682 #interrupt-cells = <3>;
683 interrupt-controller;
684 #redistributor-regions = <1>;
685 redistributor-stride = <0x0 0x20000>;
686 reg = <0x17a00000 0x10000>, /* GICD */
687 <0x17a60000 0x100000>; /* GICR * 8 */
688 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
689 };
690
Rishabh Bhatnagarfd73eb12018-09-04 15:00:46 -0700691 qcom,chd_silver {
692 compatible = "qcom,core-hang-detect";
693 label = "silver";
694 qcom,threshold-arr = <0x18000058 0x18010058
695 0x18020058 0x18030058>;
696 qcom,config-arr = <0x18000060 0x18010060
697 0x18020060 0x18030060>;
698 };
699
700 qcom,chd_gold {
701 compatible = "qcom,core-hang-detect";
702 label = "gold";
703 qcom,threshold-arr = <0x18040058 0x18050058
704 0x18060058 0x18070058>;
705 qcom,config-arr = <0x18040060 0x18050060
706 0x18060060 0x18070060>;
707 };
708
Rishabh Bhatnagar8f0dd4b2018-08-07 11:07:40 -0700709 cache-controller@9200000 {
710 compatible = "qcom,kona-llcc";
711 reg = <0x9200000 0x1d0000> , <0x9600000 0x50000>;
712 reg-names = "llcc_base", "llcc_broadcast_base";
Rishabh Bhatnagar2e49cd3a2019-01-16 12:03:36 -0800713 cap-based-alloc-and-pwr-collapse;
Rishabh Bhatnagar8f0dd4b2018-08-07 11:07:40 -0700714 };
715
Rishabh Bhatnagarc6970a02018-09-04 16:43:43 -0700716 wdog: qcom,wdt@17c10000 {
717 compatible = "qcom,msm-watchdog";
718 reg = <0x17c10000 0x1000>;
719 reg-names = "wdt-base";
720 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
721 <0 1 IRQ_TYPE_LEVEL_HIGH>;
722 qcom,bark-time = <11000>;
723 qcom,pet-time = <9360>;
724 qcom,wakeup-enable;
Rishabh Bhatnagar1265dc52019-02-08 13:40:59 -0800725 qcom,ipi-ping;
Rishabh Bhatnagarc6970a02018-09-04 16:43:43 -0700726 qcom,scandump-sizes = <0x10100 0x10100 0x10100 0x10100
727 0x18100 0x18100 0x18100 0x18100>;
Rishabh Bhatnagarc6970a02018-09-04 16:43:43 -0700728 };
729
Maria Neptune5a1428b2018-08-29 13:25:19 -0700730 arch_timer: timer {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700731 compatible = "arm,armv8-timer";
732 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
733 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
734 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
735 <GIC_PPI 12 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
736 clock-frequency = <19200000>;
737 };
738
Maria Neptune5a1428b2018-08-29 13:25:19 -0700739 memtimer: timer@17c20000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700740 #address-cells = <1>;
741 #size-cells = <1>;
742 ranges;
743 compatible = "arm,armv7-timer-mem";
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700744 reg = <0x17c20000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700745 clock-frequency = <19200000>;
746
Maria Neptune5a1428b2018-08-29 13:25:19 -0700747 frame@17c21000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700748 frame-number = <0>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700749 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
Runmin Wang4f5985b2017-04-19 15:55:12 -0700750 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700751 reg = <0x17c21000 0x1000>,
752 <0x17c22000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700753 };
754
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700755 frame@17c23000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700756 frame-number = <1>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700757 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
758 reg = <0x17c23000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700759 status = "disabled";
760 };
761
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700762 frame@17c25000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700763 frame-number = <2>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700764 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
765 reg = <0x17c25000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700766 status = "disabled";
767 };
768
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700769 frame@17c27000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700770 frame-number = <3>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700771 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
772 reg = <0x17c27000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700773 status = "disabled";
774 };
775
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700776 frame@17c29000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700777 frame-number = <4>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700778 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
779 reg = <0x17c29000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700780 status = "disabled";
781 };
782
Maria Neptune5a1428b2018-08-29 13:25:19 -0700783 frame@17c2b000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700784 frame-number = <5>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700785 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
786 reg = <0x17c2b000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700787 status = "disabled";
788 };
789
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700790 frame@17c2d000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700791 frame-number = <6>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700792 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
793 reg = <0x17c2d000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700794 status = "disabled";
795 };
796 };
Deepak Katragadda5bbf8142018-06-20 16:12:13 -0700797
Tingwei Zhang020594a2018-11-27 21:58:09 -0800798 jtag_mm0: jtagmm@7040000 {
799 compatible = "qcom,jtagv8-mm";
800 reg = <0x7040000 0x1000>;
801 reg-names = "etm-base";
802
803 clocks = <&clock_aop QDSS_CLK>;
804 clock-names = "core_clk";
805
806 qcom,coresight-jtagmm-cpu = <&CPU0>;
807 };
808
809 jtag_mm1: jtagmm@7140000 {
810 compatible = "qcom,jtagv8-mm";
811 reg = <0x7140000 0x1000>;
812 reg-names = "etm-base";
813
814 clocks = <&clock_aop QDSS_CLK>;
815 clock-names = "core_clk";
816
817 qcom,coresight-jtagmm-cpu = <&CPU1>;
818 };
819
820 jtag_mm2: jtagmm@7240000 {
821 compatible = "qcom,jtagv8-mm";
822 reg = <0x7240000 0x1000>;
823 reg-names = "etm-base";
824
825 clocks = <&clock_aop QDSS_CLK>;
826 clock-names = "core_clk";
827
828 qcom,coresight-jtagmm-cpu = <&CPU2>;
829 };
830
831 jtag_mm3: jtagmm@7340000 {
832 compatible = "qcom,jtagv8-mm";
833 reg = <0x7340000 0x1000>;
834 reg-names = "etm-base";
835
836 clocks = <&clock_aop QDSS_CLK>;
837 clock-names = "core_clk";
838
839 qcom,coresight-jtagmm-cpu = <&CPU3>;
840 };
841
842 jtag_mm4: jtagmm@7440000 {
843 compatible = "qcom,jtagv8-mm";
844 reg = <0x7440000 0x1000>;
845 reg-names = "etm-base";
846
847 clocks = <&clock_aop QDSS_CLK>;
848 clock-names = "core_clk";
849
850 qcom,coresight-jtagmm-cpu = <&CPU4>;
851 };
852
853 jtag_mm5: jtagmm@7540000 {
854 compatible = "qcom,jtagv8-mm";
855 reg = <0x7540000 0x1000>;
856 reg-names = "etm-base";
857
858 clocks = <&clock_aop QDSS_CLK>;
859 clock-names = "core_clk";
860
861 qcom,coresight-jtagmm-cpu = <&CPU5>;
862 };
863
864 jtag_mm6: jtagmm@7640000 {
865 compatible = "qcom,jtagv8-mm";
866 reg = <0x7640000 0x1000>;
867 reg-names = "etm-base";
868
869 clocks = <&clock_aop QDSS_CLK>;
870 clock-names = "core_clk";
871
872 qcom,coresight-jtagmm-cpu = <&CPU6>;
873 };
874
875 jtag_mm7: jtagmm@7740000 {
876 compatible = "qcom,jtagv8-mm";
877 reg = <0x7740000 0x1000>;
878 reg-names = "etm-base";
879
880 clocks = <&clock_aop QDSS_CLK>;
881 clock-names = "core_clk";
882
883 qcom,coresight-jtagmm-cpu = <&CPU7>;
884 };
885
David Dai3c427802018-10-17 14:40:08 -0700886 qcom,devfreq-l3 {
887 compatible = "qcom,devfreq-fw";
888 reg = <0x18590000 0x4>, <0x18590100 0xa0>, <0x18590320 0x4>;
889 reg-names = "en-base", "ftbl-base", "perf-base";
890
Rama Aparna Mallavarapude6608e2019-01-07 15:41:32 -0800891 cpu0_l3: qcom,cpu0-cpu-l3-lat {
David Dai3c427802018-10-17 14:40:08 -0700892 compatible = "qcom,devfreq-fw-voter";
893 };
894
Rama Aparna Mallavarapude6608e2019-01-07 15:41:32 -0800895 cpu4_l3: qcom,cpu4-cpu-l3-lat {
896 compatible = "qcom,devfreq-fw-voter";
897 };
898
899 cpu7_l3: qcom,cpu7-cpu-l3-lat {
900 compatible = "qcom,devfreq-fw-voter";
901 };
902
903 cdsp_l3: qcom,cdsp-cdsp-l3-lat {
David Dai3c427802018-10-17 14:40:08 -0700904 compatible = "qcom,devfreq-fw-voter";
905 };
906 };
907
David Dai95d5bfba2019-01-31 13:59:58 -0800908 keepalive_opp_table: keepalive-opp-table {
909 compatible = "operating-points-v2";
910 opp-1 {
911 opp-hz = /bits/ 64 < 1 >;
912 };
913 };
914
915 snoc_cnoc_keepalive: qcom,snoc_cnoc_keepalive {
916 compatible = "qcom,devbw";
917 governor = "powersave";
918 qcom,src-dst-ports = <MSM_BUS_MASTER_AMPSS_M0
919 MSM_BUS_SLAVE_IMEM_CFG>;
920 qcom,active-only;
921 status = "ok";
922 operating-points-v2 = <&keepalive_opp_table>;
923 };
924
Chinmay Sawarkare5d4b862019-01-07 15:54:39 -0800925 venus_bus_cnoc_bw_table: bus-cnoc-bw-table {
926 compatible = "operating-points-v2";
927 BW_OPP_ENTRY( 200, 4);
928 };
929
Rama Aparna Mallavarapu5a7daf42019-01-14 22:08:20 -0800930 llcc_bw_opp_table: llcc-bw-opp-table {
931 compatible = "operating-points-v2";
932 BW_OPP_ENTRY( 150, 16); /* 2288 MB/s */
933 BW_OPP_ENTRY( 300, 16); /* 4577 MB/s */
934 BW_OPP_ENTRY( 466, 16); /* 7110 MB/s */
935 BW_OPP_ENTRY( 600, 16); /* 9155 MB/s */
936 BW_OPP_ENTRY( 806, 16); /* 12298 MB/s */
937 BW_OPP_ENTRY( 933, 16); /* 14236 MB/s */
938 BW_OPP_ENTRY( 1000, 16); /* 15258 MB/s */
939 };
940
941 ddr_bw_opp_table: ddr-bw-opp-table {
942 compatible = "operating-points-v2";
943 BW_OPP_ENTRY( 200, 4); /* 762 MB/s */
944 BW_OPP_ENTRY( 300, 4); /* 1144 MB/s */
945 BW_OPP_ENTRY( 451, 4); /* 1720 MB/s */
946 BW_OPP_ENTRY( 547, 4); /* 2086 MB/s */
947 BW_OPP_ENTRY( 681, 4); /* 2597 MB/s */
948 BW_OPP_ENTRY( 768, 4); /* 2929 MB/s */
949 BW_OPP_ENTRY( 1017, 4); /* 3879 MB/s */
950 BW_OPP_ENTRY( 1353, 4); /* 5161 MB/s */
951 BW_OPP_ENTRY( 1555, 4); /* 5931 MB/s */
Rama Aparna Mallavarapude6608e2019-01-07 15:41:32 -0800952 BW_OPP_ENTRY( 1804, 4); /* 6881 MB/s */
Rama Aparna Mallavarapu5a7daf42019-01-14 22:08:20 -0800953 BW_OPP_ENTRY( 2092, 4); /* 7980 MB/s */
954 BW_OPP_ENTRY( 2736, 4); /* 10437 MB/s */
955 };
956
957 suspendable_ddr_bw_opp_table: suspendable-ddr-bw-opp-table {
958 compatible = "operating-points-v2";
959 BW_OPP_ENTRY( 0, 4); /* 0 MB/s */
960 BW_OPP_ENTRY( 200, 4); /* 762 MB/s */
961 BW_OPP_ENTRY( 300, 4); /* 1144 MB/s */
962 BW_OPP_ENTRY( 451, 4); /* 1720 MB/s */
963 BW_OPP_ENTRY( 547, 4); /* 2086 MB/s */
964 BW_OPP_ENTRY( 681, 4); /* 2597 MB/s */
965 BW_OPP_ENTRY( 768, 4); /* 2929 MB/s */
966 BW_OPP_ENTRY( 1017, 4); /* 3879 MB/s */
967 BW_OPP_ENTRY( 1353, 4); /* 5161 MB/s */
968 BW_OPP_ENTRY( 1555, 4); /* 5931 MB/s */
Rama Aparna Mallavarapude6608e2019-01-07 15:41:32 -0800969 BW_OPP_ENTRY( 1804, 4); /* 6881 MB/s */
Rama Aparna Mallavarapu5a7daf42019-01-14 22:08:20 -0800970 BW_OPP_ENTRY( 2092, 4); /* 7980 MB/s */
971 BW_OPP_ENTRY( 2736, 4); /* 10437 MB/s */
972 };
973
Rama Aparna Mallavarapu230fb2a2019-01-31 12:56:01 -0800974 llcc_pmu: llcc-pmu@9095000 {
975 compatible = "qcom,llcc-pmu-ver2";
976 reg = <0x09095000 0x300>;
Rama Aparna Mallavarapude6608e2019-01-07 15:41:32 -0800977 reg-names = "lagg-base";
978 };
979
980 cpu_cpu_llcc_bw: qcom,cpu-cpu-llcc-bw {
981 compatible = "qcom,devbw";
982 governor = "performance";
983 qcom,src-dst-ports =
984 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_LLCC>;
985 qcom,active-only;
986 operating-points-v2 = <&llcc_bw_opp_table>;
987 };
988
989 cpu_cpu_llcc_bwmon: qcom,cpu-cpu-llcc-bwmon@90b6400 {
990 compatible = "qcom,bimc-bwmon4";
991 reg = <0x90b6400 0x300>, <0x90b6300 0x200>;
992 reg-names = "base", "global_base";
993 interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
994 qcom,mport = <0>;
995 qcom,hw-timer-hz = <19200000>;
996 qcom,target-dev = <&cpu_cpu_llcc_bw>;
997 qcom,count-unit = <0x10000>;
998 };
999
1000 cpu_llcc_ddr_bw: qcom,cpu-llcc-ddr-bw {
1001 compatible = "qcom,devbw";
1002 governor = "performance";
1003 qcom,src-dst-ports =
1004 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0>;
1005 qcom,active-only;
1006 operating-points-v2 = <&ddr_bw_opp_table>;
1007 };
1008
1009 cpu_llcc_ddr_bwmon: qcom,cpu-llcc-ddr-bwmon@9091000 {
1010 compatible = "qcom,bimc-bwmon5";
1011 reg = <0x9091000 0x1000>;
1012 reg-names = "base";
1013 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
1014 qcom,hw-timer-hz = <19200000>;
1015 qcom,target-dev = <&cpu_llcc_ddr_bw>;
1016 qcom,count-unit = <0x10000>;
1017 };
1018
1019 npu_npu_ddr_bw: qcom,npu-npu-ddr-bw {
1020 compatible = "qcom,devbw";
1021 governor = "performance";
1022 qcom,src-dst-ports = <MSM_BUS_MASTER_NPU MSM_BUS_SLAVE_EBI_CH0>;
1023 operating-points-v2 = <&suspendable_ddr_bw_opp_table>;
1024 };
1025
1026 npu_npu_ddr_bwmon: qcom,npu-npu-ddr-bwmon@60300 {
1027 compatible = "qcom,bimc-bwmon4";
1028 reg = <0x00060300 0x300>, <0x00060400 0x200>;
1029 reg-names = "base", "global_base";
1030 interrupts = <GIC_SPI 476 IRQ_TYPE_LEVEL_HIGH>;
1031 qcom,mport = <0>;
1032 qcom,hw-timer-hz = <19200000>;
1033 qcom,target-dev = <&npu_npu_ddr_bw>;
1034 qcom,count-unit = <0x10000>;
1035 };
1036
1037 npu_npu_ddr_bwmon_dsp: qcom,npu-npu-ddr-bwmoni_dsp@70200 {
1038 compatible = "qcom,bimc-bwmon4";
1039 reg = <0x00070200 0x300>, <0x00070300 0x200>;
1040 reg-names = "base", "global_base";
1041 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
1042 qcom,mport = <0>;
1043 qcom,hw-timer-hz = <19200000>;
1044 qcom,target-dev = <&npu_npu_ddr_bw>;
1045 qcom,count-unit = <0x10000>;
1046 };
1047
1048 cpu0_cpu_l3_latmon: qcom,cpu0-cpu-l3-latmon {
1049 compatible = "qcom,arm-memlat-mon";
1050 qcom,cpulist = <&CPU0 &CPU1 &CPU2 &CPU3>;
1051 qcom,target-dev = <&cpu0_l3>;
1052 qcom,cachemiss-ev = <0x17>;
1053 qcom,core-dev-table =
1054 < 300000 300000000 >,
1055 < 403200 403200000 >,
1056 < 518400 518400000 >,
1057 < 633600 614400000 >,
1058 < 825600 729600000 >,
1059 < 921600 825600000 >,
1060 < 1036800 921600000 >,
1061 < 1132800 1036800000 >,
1062 < 1228800 1132800000 >,
1063 < 1401600 1228800000 >,
1064 < 1497600 1305600000 >,
1065 < 1670400 1382400000 >;
1066 };
1067
1068 cpu4_cpu_l3_latmon: qcom,cpu4-cpu-l3-latmon {
1069 compatible = "qcom,arm-memlat-mon";
1070 qcom,cpulist = <&CPU4 &CPU5 &CPU6>;
1071 qcom,target-dev = <&cpu4_l3>;
1072 qcom,cachemiss-ev = <0x17>;
1073 qcom,core-dev-table =
1074 < 300000 300000000 >,
1075 < 806400 614400000 >,
1076 < 1017600 729600000 >,
1077 < 1228800 921600000 >,
1078 < 1689600 1228800000 >,
1079 < 1804800 1305600000 >,
1080 < 2227200 1382400000 >;
1081 };
1082
1083 cpu7_cpu_l3_latmon: qcom,cpu7-cpu-l3-latmon {
1084 compatible = "qcom,arm-memlat-mon";
1085 qcom,cpulist = <&CPU7>;
1086 qcom,target-dev = <&cpu7_l3>;
1087 qcom,cachemiss-ev = <0x17>;
1088 qcom,core-dev-table =
1089 < 300000 300000000 >,
1090 < 806400 614400000 >,
1091 < 1017600 729600000 >,
1092 < 1228800 921600000 >,
1093 < 1689600 1228800000 >,
1094 < 1804800 1305600000 >,
1095 < 2227200 1382400000 >;
1096 };
1097
1098 cpu0_cpu_llcc_lat: qcom,cpu0-cpu-llcc-lat {
1099 compatible = "qcom,devbw";
1100 governor = "performance";
1101 qcom,src-dst-ports =
1102 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_LLCC>;
1103 qcom,active-only;
1104 operating-points-v2 = <&llcc_bw_opp_table>;
1105 };
1106
1107 cpu0_cpu_llcc_latmon: qcom,cpu0-cpu-llcc-latmon {
1108 compatible = "qcom,arm-memlat-mon";
1109 qcom,cpulist = <&CPU0 &CPU1 &CPU2 &CPU3>;
1110 qcom,target-dev = <&cpu0_cpu_llcc_lat>;
1111 qcom,cachemiss-ev = <0x2A>;
1112 qcom,core-dev-table =
1113 < 300000 MHZ_TO_MBPS( 150, 16) >,
1114 < 729600 MHZ_TO_MBPS( 300, 16) >,
1115 < 1497600 MHZ_TO_MBPS( 466, 16) >,
1116 < 1670400 MHZ_TO_MBPS( 600, 16) >;
1117 };
1118
1119 cpu4_cpu_llcc_lat: qcom,cpu4-cpu-llcc-lat {
1120 compatible = "qcom,devbw";
1121 governor = "performance";
1122 qcom,src-dst-ports =
1123 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_LLCC>;
1124 qcom,active-only;
1125 operating-points-v2 = <&llcc_bw_opp_table>;
1126 };
1127
1128 cpu4_cpu_llcc_latmon: qcom,cpu4-cpu-llcc-latmon {
1129 compatible = "qcom,arm-memlat-mon";
1130 qcom,cpulist = <&CPU4 &CPU5 &CPU6 &CPU7>;
1131 qcom,target-dev = <&cpu4_cpu_llcc_lat>;
1132 qcom,cachemiss-ev = <0x2A>;
1133 qcom,core-dev-table =
1134 < 300000 MHZ_TO_MBPS( 150, 16) >,
1135 < 691200 MHZ_TO_MBPS( 300, 16) >,
1136 < 1017600 MHZ_TO_MBPS( 466, 16) >,
1137 < 1228800 MHZ_TO_MBPS( 600, 16) >,
1138 < 1804800 MHZ_TO_MBPS( 806, 16) >,
1139 < 2227200 MHZ_TO_MBPS( 933, 16) >,
1140 < 2476800 MHZ_TO_MBPS( 1000, 16) >;
1141 };
1142
1143 cpu0_llcc_ddr_lat: qcom,cpu0-llcc-ddr-lat {
1144 compatible = "qcom,devbw";
1145 governor = "performance";
1146 qcom,src-dst-ports =
1147 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0>;
1148 qcom,active-only;
1149 operating-points-v2 = <&ddr_bw_opp_table>;
1150 };
1151
1152 cpu0_llcc_ddr_latmon: qcom,cpu0-llcc-ddr-latmon {
1153 compatible = "qcom,arm-memlat-mon";
1154 qcom,cpulist = <&CPU0 &CPU1 &CPU2 &CPU3>;
1155 qcom,target-dev = <&cpu0_llcc_ddr_lat>;
1156 qcom,cachemiss-ev = <0x1000>;
1157 qcom,core-dev-table =
1158 < 300000 MHZ_TO_MBPS( 200, 4) >,
1159 < 729600 MHZ_TO_MBPS( 451, 4) >,
1160 < 1132800 MHZ_TO_MBPS( 547, 4) >,
1161 < 1497600 MHZ_TO_MBPS( 768, 4) >,
1162 < 1670400 MHZ_TO_MBPS( 1017, 4) >;
1163 };
1164
1165 cpu4_llcc_ddr_lat: qcom,cpu4-llcc-ddr-lat {
1166 compatible = "qcom,devbw";
1167 governor = "performance";
1168 qcom,src-dst-ports =
1169 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0>;
1170 qcom,active-only;
1171 operating-points-v2 = <&ddr_bw_opp_table>;
1172 };
1173
1174 cpu4_llcc_ddr_latmon: qcom,cpu4-llcc-ddr-latmon {
1175 compatible = "qcom,arm-memlat-mon";
1176 qcom,cpulist = <&CPU4 &CPU5 &CPU6 &CPU7>;
1177 qcom,target-dev = <&cpu4_llcc_ddr_lat>;
1178 qcom,cachemiss-ev = <0x1000>;
1179 qcom,core-dev-table =
1180 < 300000 MHZ_TO_MBPS( 200, 4) >,
1181 < 691200 MHZ_TO_MBPS( 451, 4) >,
1182 < 806400 MHZ_TO_MBPS( 547, 4) >,
1183 < 1017600 MHZ_TO_MBPS( 768, 4) >,
1184 < 1228800 MHZ_TO_MBPS(1017, 4) >,
1185 < 1574400 MHZ_TO_MBPS(1353, 4) >,
1186 < 1804800 MHZ_TO_MBPS(1555, 4) >,
1187 < 2227200 MHZ_TO_MBPS(1804, 4) >,
1188 < 2380800 MHZ_TO_MBPS(2092, 4) >,
1189 < 2476800 MHZ_TO_MBPS(2736, 4) >;
1190 };
1191
1192 cpu4_cpu_ddr_latfloor: qcom,cpu4-cpu-ddr-latfloor {
1193 compatible = "qcom,devbw";
1194 governor = "performance";
1195 qcom,src-dst-ports =
1196 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0>;
1197 qcom,active-only;
1198 operating-points-v2 = <&ddr_bw_opp_table>;
1199 };
1200
1201 cpu4_computemon: qcom,cpu4-computemon {
1202 compatible = "qcom,arm-cpu-mon";
1203 qcom,cpulist = <&CPU4 &CPU5 &CPU6 &CPU7>;
1204 qcom,target-dev = <&cpu4_cpu_ddr_latfloor>;
1205 qcom,core-dev-table =
1206 < 1804800 MHZ_TO_MBPS( 200, 4) >,
1207 < 2380800 MHZ_TO_MBPS(1017, 4) >,
1208 < 2500000 MHZ_TO_MBPS(2736, 4) >;
1209 };
1210
1211 keepalive_opp_table: keepalive-opp-table {
1212 compatible = "operating-points-v2";
1213 opp-1 {
1214 opp-hz = /bits/ 64 < 1 >;
1215 };
1216 };
1217
1218 snoc_cnoc_keepalive: qcom,snoc_cnoc_keepalive {
1219 compatible = "qcom,devbw";
1220 governor = "powersave";
1221 qcom,src-dst-ports = <1 627>;
1222 qcom,active-only;
1223 status = "ok";
1224 operating-points-v2 = <&keepalive_opp_table>;
1225 };
1226
1227 cdsp_keepalive: qcom,cdsp_keepalive {
1228 compatible = "qcom,devbw";
1229 governor = "powersave";
1230 qcom,src-dst-ports = <154 10070>;
1231 qcom,active-only;
1232 status = "ok";
1233 operating-points-v2 = <&keepalive_opp_table>;
1234 };
1235
Rishabh Bhatnagarf35ba022018-09-18 15:17:22 -07001236 qcom,msm-imem@146bf000 {
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001237 compatible = "qcom,msm-imem";
1238 reg = <0x146bf000 0x1000>;
1239 ranges = <0x0 0x146bf000 0x1000>;
1240 #address-cells = <1>;
1241 #size-cells = <1>;
1242
Tingwei Zhangd9b535f2018-12-03 19:14:06 -08001243 mem_dump_table@10 {
1244 compatible = "qcom,msm-imem-mem_dump_table";
1245 reg = <0x10 0x8>;
1246 };
1247
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001248 restart_reason@65c {
1249 compatible = "qcom,msm-imem-restart_reason";
Maria Neptune5a1428b2018-08-29 13:25:19 -07001250 reg = <0x65c 0x4>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001251 };
1252
1253 dload_type@1c {
1254 compatible = "qcom,msm-imem-dload-type";
1255 reg = <0x1c 0x4>;
1256 };
1257
1258 boot_stats@6b0 {
1259 compatible = "qcom,msm-imem-boot_stats";
Maria Neptune5a1428b2018-08-29 13:25:19 -07001260 reg = <0x6b0 0x20>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001261 };
1262
1263 kaslr_offset@6d0 {
1264 compatible = "qcom,msm-imem-kaslr_offset";
Maria Neptune5a1428b2018-08-29 13:25:19 -07001265 reg = <0x6d0 0xc>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001266 };
1267
1268 pil@94c {
1269 compatible = "qcom,msm-imem-pil";
Maria Neptune5a1428b2018-08-29 13:25:19 -07001270 reg = <0x94c 0xc8>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001271 };
Hemant Kumarca399682019-01-25 14:51:13 -08001272
1273 diag_dload@c8 {
1274 compatible = "qcom,msm-imem-diag-dload";
1275 reg = <0xc8 0xc8>;
1276 };
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -07001277 };
1278
Rishabh Bhatnagar811170f2018-11-09 13:44:32 -08001279 restart@c264000 {
1280 compatible = "qcom,pshold";
1281 reg = <0xc264000 0x4>,
1282 <0x1fd3000 0x4>;
1283 reg-names = "pshold-base", "tcsr-boot-misc-detect";
1284 };
1285
Zhen Kong284c9f02018-11-06 12:00:30 -08001286 dcc: dcc_v2@1023000 {
1287 compatible = "qcom,dcc-v2";
1288 reg = <0x1023000 0x1000>,
1289 <0x103a000 0x6000>;
1290 reg-names = "dcc-base", "dcc-ram-base";
1291
1292 dcc-ram-offset = <0x1a000>;
1293 };
1294
1295 qcom_seecom: qseecom@82200000 {
1296 compatible = "qcom,qseecom";
1297 reg = <0x82200000 0x2200000>;
1298 reg-names = "secapp-region";
1299 memory-region = <&qseecom_mem>;
1300 qcom,hlos-num-ce-hw-instances = <1>;
1301 qcom,hlos-ce-hw-instance = <0>;
1302 qcom,qsee-ce-hw-instance = <0>;
1303 qcom,disk-encrypt-pipe-pair = <2>;
1304 qcom,support-fde;
1305 qcom,no-clock-support;
1306 qcom,fde-key-size;
Zhen Kong84997022019-01-29 12:52:21 -08001307 qcom,appsbl-qseecom-support;
Zhen Kong284c9f02018-11-06 12:00:30 -08001308 qcom,commonlib64-loaded-by-uefi;
1309 qcom,qsee-reentrancy-support = <2>;
1310 };
1311
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -07001312 mdm0: qcom,mdm0 {
Rishabh Bhatnagar134ede82018-10-16 10:54:12 -07001313 compatible = "qcom,ext-sdx55m";
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -07001314 cell-index = <0>;
1315 #address-cells = <0>;
1316 interrupt-parent = <&mdm0>;
1317 #interrupt-cells = <1>;
1318 interrupt-map-mask = <0xffffffff>;
1319 interrupt-names =
1320 "err_fatal_irq",
1321 "status_irq",
1322 "mdm2ap_vddmin_irq";
1323 /* modem attributes */
1324 qcom,ramdump-delay-ms = <3000>;
1325 qcom,ramdump-timeout-ms = <120000>;
1326 qcom,vddmin-modes = "normal";
1327 qcom,vddmin-drive-strength = <8>;
1328 qcom,sfr-query;
1329 qcom,sysmon-id = <20>;
1330 qcom,ssctl-instance-id = <0x10>;
1331 qcom,support-shutdown;
1332 qcom,pil-force-shutdown;
1333 qcom,esoc-skip-restart-for-mdm-crash;
Rishabh Bhatnagar632f3262019-01-25 10:30:36 -08001334 qcom,esoc-spmi-soft-reset;
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -07001335 pinctrl-names = "default", "mdm_active", "mdm_suspend";
1336 pinctrl-0 = <&ap2mdm_pon_reset_default>;
1337 pinctrl-1 = <&ap2mdm_active &mdm2ap_active>;
1338 pinctrl-2 = <&ap2mdm_sleep &mdm2ap_sleep>;
1339 interrupt-map = <0 &tlmm 1 0x3
1340 1 &tlmm 3 0x3>;
1341 qcom,mdm2ap-errfatal-gpio = <&tlmm 1 0x00>;
1342 qcom,ap2mdm-errfatal-gpio = <&tlmm 57 0x00>;
1343 qcom,mdm2ap-status-gpio = <&tlmm 3 0x00>;
1344 qcom,ap2mdm-status-gpio = <&tlmm 56 0x00>;
Rishabh Bhatnagar2b66dc12018-10-18 10:36:27 -07001345 qcom,ap2mdm-soft-reset-gpio = <&tlmm 145 GPIO_ACTIVE_LOW>;
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -07001346 qcom,mdm-link-info = "0306_02.01.00";
1347 status = "ok";
1348 };
1349
Lina Iyer8551c792018-06-21 16:06:53 -06001350 pdc: interrupt-controller@b220000 {
1351 compatible = "qcom,kona-pdc";
1352 reg = <0xb220000 0x30000>;
Lina Iyer20cebbc2019-02-06 09:06:52 -07001353 qcom,pdc-ranges = <0 480 30>, <42 522 52>, <94 609 30>;
Lina Iyer8551c792018-06-21 16:06:53 -06001354 #interrupt-cells = <2>;
1355 interrupt-parent = <&intc>;
1356 interrupt-controller;
1357 };
1358
Vivek Aknurwar65bafd92018-11-01 17:27:53 -07001359 clocks {
David Daiee6a9d62019-01-10 17:14:04 -08001360 xo_board: xo-board {
1361 compatible = "fixed-clock";
1362 #clock-cells = <0>;
1363 clock-frequency = <38400000>;
1364 clock-output-names = "xo_board";
1365 };
1366
Vivek Aknurwar65bafd92018-11-01 17:27:53 -07001367 sleep_clk: sleep-clk {
1368 compatible = "fixed-clock";
1369 clock-frequency = <32000>;
1370 clock-output-names = "chip_sleep_clk";
1371 #clock-cells = <1>;
1372 };
1373 };
1374
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001375 clock_aop: qcom,aopclk {
David Collinsb8a46bb2019-01-07 18:03:13 -08001376 compatible = "qcom,aop-qmp-clk";
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001377 #clock-cells = <1>;
David Collinsb8a46bb2019-01-07 18:03:13 -08001378 mboxes = <&qmp_aop 0>;
1379 mbox-names = "qdss_clk";
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001380 };
1381
Vivek Aknurwar7e9ecb92018-09-07 14:27:58 -07001382 clock_gcc: qcom,gcc@100000 {
David Dai7e431ad2018-12-05 15:37:39 -08001383 compatible = "qcom,gcc-kona", "syscon";
Vivek Aknurwar7e9ecb92018-09-07 14:27:58 -07001384 reg = <0x100000 0x1f0000>;
1385 reg-names = "cc_base";
1386 vdd_cx-supply = <&VDD_CX_LEVEL>;
1387 vdd_cx_ao-supply = <&VDD_CX_LEVEL_AO>;
1388 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001389 #clock-cells = <1>;
1390 #reset-cells = <1>;
1391 };
1392
David Collins4eb34f32018-12-06 11:51:01 -08001393 clock_npucc: qcom,npucc@9980000 {
1394 compatible = "qcom,npucc-kona", "syscon";
1395 reg = <0x9980000 0x10000>,
1396 <0x9800000 0x10000>,
1397 <0x9810000 0x10000>;
1398 reg-names = "cc", "qdsp6ss", "qdsp6ss_pll";
1399 vdd_cx-supply = <&VDD_CX_LEVEL>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001400 #clock-cells = <1>;
1401 #reset-cells = <1>;
1402 };
1403
Vivek Aknurwar65bafd92018-11-01 17:27:53 -07001404 clock_videocc: qcom,videocc@abf0000 {
1405 compatible = "qcom,videocc-kona", "syscon";
1406 reg = <0xabf0000 0x10000>;
1407 reg-names = "cc_base";
1408 vdd_mx-supply = <&VDD_MX_LEVEL>;
1409 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
1410 clock-names = "cfg_ahb_clk";
1411 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001412 #clock-cells = <1>;
1413 #reset-cells = <1>;
1414 };
1415
Vivek Aknurwar86452c02018-11-05 15:20:31 -08001416 clock_camcc: qcom,camcc@ad00000 {
1417 compatible = "qcom,camcc-kona", "syscon";
1418 reg = <0xad00000 0x10000>;
1419 reg-names = "cc_base";
1420 vdd_mx-supply = <&VDD_MX_LEVEL>;
1421 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
1422 clock-names = "cfg_ahb_clk";
1423 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001424 #clock-cells = <1>;
1425 #reset-cells = <1>;
1426 };
1427
David Daidc93e482018-11-27 17:32:50 -08001428 clock_dispcc: qcom,dispcc@af00000 {
David Dai7e431ad2018-12-05 15:37:39 -08001429 compatible = "qcom,kona-dispcc", "syscon";
David Daidc93e482018-11-27 17:32:50 -08001430 reg = <0xaf00000 0x20000>;
1431 reg-names = "cc_base";
1432 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
1433 clock-names = "cfg_ahb_clk";
1434 clocks = <&clock_gcc GCC_DISP_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001435 #clock-cells = <1>;
1436 #reset-cells = <1>;
1437 };
1438
Vivek Aknurwar31c2e0f22018-11-16 17:10:12 -08001439 clock_gpucc: qcom,gpucc@3d90000 {
1440 compatible = "qcom,gpucc-kona", "syscon";
1441 reg = <0x3d90000 0x9000>;
1442 reg-names = "cc_base";
1443 vdd_cx-supply = <&VDD_CX_LEVEL>;
1444 vdd_mx-supply = <&VDD_MX_LEVEL>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07001445 #clock-cells = <1>;
1446 #reset-cells = <1>;
1447 };
1448
1449 clock_cpucc: qcom,cpucc {
1450 compatible = "qcom,dummycc";
1451 clock-output-names = "cpucc_clocks";
1452 #clock-cells = <1>;
1453 };
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -07001454
David Dai7e431ad2018-12-05 15:37:39 -08001455 clock_debugcc: qcom,cc-debug {
1456 compatible = "qcom,kona-debugcc";
1457 qcom,gcc = <&clock_gcc>;
1458 qcom,videocc = <&clock_videocc>;
1459 qcom,dispcc = <&clock_dispcc>;
1460 qcom,camcc = <&clock_camcc>;
1461 qcom,gpucc = <&clock_gpucc>;
David Collins4eb34f32018-12-06 11:51:01 -08001462 qcom,npucc = <&clock_npucc>;
David Dai7e431ad2018-12-05 15:37:39 -08001463 clock-names = "xo_clk_src";
David Daiee6a9d62019-01-10 17:14:04 -08001464 clocks = <&clock_rpmh RPMH_CXO_CLK>;
David Dai7e431ad2018-12-05 15:37:39 -08001465 #clock-cells = <1>;
1466 };
1467
David Collinsa86302c2018-09-17 14:16:50 -07001468 /* GCC GDSCs */
1469 pcie_0_gdsc: qcom,gdsc@16b004 {
1470 compatible = "qcom,gdsc";
1471 reg = <0x16b004 0x4>;
1472 regulator-name = "pcie_0_gdsc";
1473 };
1474
1475 pcie_1_gdsc: qcom,gdsc@18d004 {
1476 compatible = "qcom,gdsc";
1477 reg = <0x18d004 0x4>;
1478 regulator-name = "pcie_1_gdsc";
1479 };
1480
1481 pcie_2_gdsc: qcom,gdsc@106004 {
1482 compatible = "qcom,gdsc";
1483 reg = <0x106004 0x4>;
1484 regulator-name = "pcie_2_gdsc";
1485 };
1486
1487 ufs_card_gdsc: qcom,gdsc@175004 {
1488 compatible = "qcom,gdsc";
1489 reg = <0x175004 0x4>;
1490 regulator-name = "ufs_card_gdsc";
1491 };
1492
1493 ufs_phy_gdsc: qcom,gdsc@177004 {
1494 compatible = "qcom,gdsc";
1495 reg = <0x177004 0x4>;
1496 regulator-name = "ufs_phy_gdsc";
1497 };
1498
1499 usb30_prim_gdsc: qcom,gdsc@10f004 {
1500 compatible = "qcom,gdsc";
1501 reg = <0x10f004 0x4>;
1502 regulator-name = "usb30_prim_gdsc";
1503 };
1504
1505 usb30_sec_gdsc: qcom,gdsc@110004 {
1506 compatible = "qcom,gdsc";
1507 reg = <0x110004 0x4>;
1508 regulator-name = "usb30_sec_gdsc";
1509 };
1510
1511 hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc: qcom,gdsc@17d050 {
1512 compatible = "qcom,gdsc";
1513 reg = <0x17d050 0x4>;
1514 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc";
1515 qcom,no-status-check-on-disable;
1516 qcom,gds-timeout = <500>;
1517 };
1518
1519 hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc: qcom,gdsc@17d058 {
1520 compatible = "qcom,gdsc";
1521 reg = <0x17d058 0x4>;
1522 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc";
1523 qcom,no-status-check-on-disable;
1524 qcom,gds-timeout = <500>;
1525 };
1526
1527 hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc: qcom,gdsc@17d054 {
1528 compatible = "qcom,gdsc";
1529 reg = <0x17d054 0x4>;
1530 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc";
1531 qcom,no-status-check-on-disable;
1532 qcom,gds-timeout = <500>;
1533 };
1534
1535 hlos1_vote_mmnoc_mmu_tbu_sf1_gdsc: qcom,gdsc@17d06c {
1536 compatible = "qcom,gdsc";
1537 reg = <0x17d06c 0x4>;
1538 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf1_gdsc";
1539 qcom,no-status-check-on-disable;
1540 qcom,gds-timeout = <500>;
1541 };
1542
1543 /* CAM_CC GDSCs */
1544 bps_gdsc: qcom,gdsc@ad07004 {
1545 compatible = "qcom,gdsc";
1546 reg = <0xad07004 0x4>;
1547 regulator-name = "bps_gdsc";
1548 clock-names = "ahb_clk";
1549 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1550 parent-supply = <&VDD_MMCX_LEVEL>;
1551 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1552 qcom,support-hw-trigger;
1553 };
1554
1555 ife_0_gdsc: qcom,gdsc@ad0a004 {
1556 compatible = "qcom,gdsc";
1557 reg = <0xad0a004 0x4>;
1558 regulator-name = "ife_0_gdsc";
1559 clock-names = "ahb_clk";
1560 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1561 parent-supply = <&VDD_MMCX_LEVEL>;
1562 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1563 };
1564
1565 ife_1_gdsc: qcom,gdsc@ad0b004 {
1566 compatible = "qcom,gdsc";
1567 reg = <0xad0b004 0x4>;
1568 regulator-name = "ife_1_gdsc";
1569 clock-names = "ahb_clk";
1570 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1571 parent-supply = <&VDD_MMCX_LEVEL>;
1572 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1573 };
1574
1575 ipe_0_gdsc: qcom,gdsc@ad08004 {
1576 compatible = "qcom,gdsc";
1577 reg = <0xad08004 0x4>;
1578 regulator-name = "ipe_0_gdsc";
1579 clock-names = "ahb_clk";
1580 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1581 parent-supply = <&VDD_MMCX_LEVEL>;
1582 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1583 qcom,support-hw-trigger;
1584 };
1585
1586 sbi_gdsc: qcom,gdsc@ad09004 {
1587 compatible = "qcom,gdsc";
1588 reg = <0xad09004 0x4>;
1589 regulator-name = "sbi_gdsc";
1590 clock-names = "ahb_clk";
1591 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1592 parent-supply = <&VDD_MMCX_LEVEL>;
1593 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1594 };
1595
1596 titan_top_gdsc: qcom,gdsc@ad0c144 {
1597 compatible = "qcom,gdsc";
1598 reg = <0xad0c144 0x4>;
1599 regulator-name = "titan_top_gdsc";
1600 clock-names = "ahb_clk";
1601 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
1602 parent-supply = <&VDD_MMCX_LEVEL>;
1603 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1604 };
1605
1606 /* DISP_CC GDSC */
1607 mdss_core_gdsc: qcom,gdsc@af03000 {
1608 compatible = "qcom,gdsc";
1609 reg = <0xaf03000 0x4>;
1610 regulator-name = "mdss_core_gdsc";
1611 clock-names = "ahb_clk";
1612 clocks = <&clock_gcc GCC_DISP_AHB_CLK>;
1613 parent-supply = <&VDD_MMCX_LEVEL>;
1614 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1615 qcom,support-hw-trigger;
1616 };
1617
1618 /* GPU_CC GDSCs */
1619 gpu_cx_hw_ctrl: syscon@3d91540 {
1620 compatible = "syscon";
1621 reg = <0x3d91540 0x4>;
1622 };
1623
1624 gpu_cx_gdsc: qcom,gdsc@3d9106c {
1625 compatible = "qcom,gdsc";
1626 reg = <0x3d9106c 0x4>;
1627 regulator-name = "gpu_cx_gdsc";
1628 hw-ctrl-addr = <&gpu_cx_hw_ctrl>;
1629 parent-supply = <&VDD_CX_LEVEL>;
1630 qcom,no-status-check-on-disable;
1631 qcom,clk-dis-wait-val = <8>;
1632 qcom,gds-timeout = <500>;
1633 };
1634
David Collinsd7eea142018-10-08 17:32:48 -07001635 gpu_gx_domain_addr: syscon@3d91508 {
David Collinsa86302c2018-09-17 14:16:50 -07001636 compatible = "syscon";
1637 reg = <0x3d91508 0x4>;
1638 };
1639
David Collinsd7eea142018-10-08 17:32:48 -07001640 gpu_gx_sw_reset: syscon@3d91008 {
David Collinsa86302c2018-09-17 14:16:50 -07001641 compatible = "syscon";
1642 reg = <0x3d91008 0x4>;
1643 };
1644
1645 gpu_gx_gdsc: qcom,gdsc@3d9100c {
1646 compatible = "qcom,gdsc";
1647 reg = <0x3d9100c 0x4>;
1648 regulator-name = "gpu_gx_gdsc";
1649 domain-addr = <&gpu_gx_domain_addr>;
1650 sw-reset = <&gpu_gx_sw_reset>;
1651 parent-supply = <&VDD_GFX_LEVEL>;
1652 vdd_parent-supply = <&VDD_GFX_LEVEL>;
1653 qcom,reset-aon-logic;
1654 };
1655
1656 /* NPU GDSC */
1657 npu_core_gdsc: qcom,gdsc@9981004 {
1658 compatible = "qcom,gdsc";
1659 reg = <0x9981004 0x4>;
1660 regulator-name = "npu_core_gdsc";
1661 clock-names = "ahb_clk";
1662 clocks = <&clock_gcc GCC_NPU_CFG_AHB_CLK>;
1663 };
1664
Jishnu Prakash793bf5b2018-11-09 16:28:55 +05301665 qcom,sps {
1666 compatible = "qcom,msm-sps-4k";
1667 qcom,pipe-attr-ee;
1668 };
1669
David Collinsa86302c2018-09-17 14:16:50 -07001670 /* VIDEO_CC GDSCs */
1671 mvs0_gdsc: qcom,gdsc@abf0d18 {
1672 compatible = "qcom,gdsc";
1673 reg = <0xabf0d18 0x4>;
1674 regulator-name = "mvs0_gdsc";
1675 clock-names = "ahb_clk";
1676 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1677 parent-supply = <&VDD_MMCX_LEVEL>;
1678 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
Shivendra Kakrania801dc682019-02-08 22:09:39 -08001679 qcom,support-hw-trigger;
David Collinsa86302c2018-09-17 14:16:50 -07001680 };
1681
1682 mvs0c_gdsc: qcom,gdsc@abf0bf8 {
1683 compatible = "qcom,gdsc";
1684 reg = <0xabf0bf8 0x4>;
1685 regulator-name = "mvs0c_gdsc";
1686 clock-names = "ahb_clk";
1687 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1688 parent-supply = <&VDD_MMCX_LEVEL>;
1689 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
Shivendra Kakrania801dc682019-02-08 22:09:39 -08001690 qcom,support-hw-trigger;
David Collinsa86302c2018-09-17 14:16:50 -07001691 };
1692
1693 mvs1_gdsc: qcom,gdsc@abf0d98 {
1694 compatible = "qcom,gdsc";
1695 reg = <0xabf0d98 0x4>;
1696 regulator-name = "mvs1_gdsc";
1697 clock-names = "ahb_clk";
1698 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1699 parent-supply = <&VDD_MMCX_LEVEL>;
1700 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
David Collins2da7dc92019-02-14 17:38:00 -08001701 qcom,support-hw-trigger;
David Collinsa86302c2018-09-17 14:16:50 -07001702 };
1703
1704 mvs1c_gdsc: qcom,gdsc@abf0c98 {
1705 compatible = "qcom,gdsc";
1706 reg = <0xabf0c98 0x4>;
1707 regulator-name = "mvs1c_gdsc";
1708 clock-names = "ahb_clk";
1709 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1710 parent-supply = <&VDD_MMCX_LEVEL>;
1711 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1712 };
1713
David Collinsc2c02f62018-11-05 16:23:24 -08001714 spmi_bus: qcom,spmi@c440000 {
1715 compatible = "qcom,spmi-pmic-arb";
1716 reg = <0xc440000 0x1100>,
1717 <0xc600000 0x2000000>,
1718 <0xe600000 0x100000>,
1719 <0xe700000 0xa0000>,
1720 <0xc40a000 0x26000>;
1721 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1722 interrupt-names = "periph_irq";
1723 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
1724 qcom,ee = <0>;
1725 qcom,channel = <0>;
1726 #address-cells = <2>;
1727 #size-cells = <0>;
1728 interrupt-controller;
1729 #interrupt-cells = <4>;
1730 cell-index = <0>;
1731 };
1732
Can Guob04bed52018-07-10 19:27:32 -07001733 ufsphy_mem: ufsphy_mem@1d87000 {
1734 reg = <0x1d87000 0xe00>; /* PHY regs */
1735 reg-names = "phy_mem";
1736 #phy-cells = <0>;
1737
1738 lanes-per-direction = <2>;
1739
1740 clock-names = "ref_clk_src",
1741 "ref_clk",
1742 "ref_aux_clk";
1743 clocks = <&clock_rpmh RPMH_CXO_CLK>,
Vivek Aknurwarec5c93d2018-08-28 14:52:33 -07001744 <&clock_gcc GCC_UFS_1X_CLKREF_EN>,
Can Guob04bed52018-07-10 19:27:32 -07001745 <&clock_gcc GCC_UFS_PHY_PHY_AUX_CLK>;
1746
1747 status = "disabled";
1748 };
1749
1750 ufshc_mem: ufshc@1d84000 {
1751 compatible = "qcom,ufshc";
1752 reg = <0x1d84000 0x3000>;
1753 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1754 phys = <&ufsphy_mem>;
1755 phy-names = "ufsphy";
1756
1757 lanes-per-direction = <2>;
1758 dev-ref-clk-freq = <0>; /* 19.2 MHz */
1759
1760 clock-names =
1761 "core_clk",
1762 "bus_aggr_clk",
1763 "iface_clk",
1764 "core_clk_unipro",
1765 "core_clk_ice",
1766 "ref_clk",
1767 "tx_lane0_sync_clk",
1768 "rx_lane0_sync_clk",
1769 "rx_lane1_sync_clk";
1770 clocks =
1771 <&clock_gcc GCC_UFS_PHY_AXI_CLK>,
1772 <&clock_gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1773 <&clock_gcc GCC_UFS_PHY_AHB_CLK>,
1774 <&clock_gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
1775 <&clock_gcc GCC_UFS_PHY_ICE_CORE_CLK>,
1776 <&clock_rpmh RPMH_CXO_CLK>,
1777 <&clock_gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
1778 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
1779 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
1780 freq-table-hz =
1781 <37500000 300000000>,
1782 <0 0>,
1783 <0 0>,
1784 <37500000 300000000>,
1785 <75000000 300000000>,
1786 <0 0>,
1787 <0 0>,
1788 <0 0>,
1789 <0 0>;
1790
1791 qcom,msm-bus,name = "ufshc_mem";
Bao D. Nguyen5c208722019-02-01 11:03:41 -08001792 qcom,msm-bus,num-cases = <26>;
Can Guob04bed52018-07-10 19:27:32 -07001793 qcom,msm-bus,num-paths = <2>;
1794 qcom,msm-bus,vectors-KBps =
1795 /*
1796 * During HS G3 UFS runs at nominal voltage corner, vote
1797 * higher bandwidth to push other buses in the data path
1798 * to run at nominal to achieve max throughput.
1799 * 4GBps pushes BIMC to run at nominal.
1800 * 200MBps pushes CNOC to run at nominal.
1801 * Vote for half of this bandwidth for HS G3 1-lane.
1802 * For max bandwidth, vote high enough to push the buses
1803 * to run in turbo voltage corner.
1804 */
1805 <123 512 0 0>, <1 757 0 0>, /* No vote */
1806 <123 512 922 0>, <1 757 1000 0>, /* PWM G1 */
1807 <123 512 1844 0>, <1 757 1000 0>, /* PWM G2 */
1808 <123 512 3688 0>, <1 757 1000 0>, /* PWM G3 */
1809 <123 512 7376 0>, <1 757 1000 0>, /* PWM G4 */
1810 <123 512 1844 0>, <1 757 1000 0>, /* PWM G1 L2 */
1811 <123 512 3688 0>, <1 757 1000 0>, /* PWM G2 L2 */
1812 <123 512 7376 0>, <1 757 1000 0>, /* PWM G3 L2 */
1813 <123 512 14752 0>, <1 757 1000 0>, /* PWM G4 L2 */
1814 <123 512 127796 0>, <1 757 1000 0>, /* HS G1 RA */
1815 <123 512 255591 0>, <1 757 1000 0>, /* HS G2 RA */
1816 <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RA */
Bao D. Nguyen5c208722019-02-01 11:03:41 -08001817 <123 512 4194304 0>, <1 757 204800 0>, /* HS G4 RA */
Can Guob04bed52018-07-10 19:27:32 -07001818 <123 512 255591 0>, <1 757 1000 0>, /* HS G1 RA L2 */
1819 <123 512 511181 0>, <1 757 1000 0>, /* HS G2 RA L2 */
1820 <123 512 4194304 0>, <1 757 204800 0>, /* HS G3 RA L2 */
Bao D. Nguyen5c208722019-02-01 11:03:41 -08001821 <123 512 8388608 0>, <1 757 409600 0>, /* HS G4 RA L2 */
Can Guob04bed52018-07-10 19:27:32 -07001822 <123 512 149422 0>, <1 757 1000 0>, /* HS G1 RB */
1823 <123 512 298189 0>, <1 757 1000 0>, /* HS G2 RB */
1824 <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RB */
Bao D. Nguyen5c208722019-02-01 11:03:41 -08001825 <123 512 4194304 0>, <1 757 204800 0>, /* HS G4 RB */
Can Guob04bed52018-07-10 19:27:32 -07001826 <123 512 298189 0>, <1 757 1000 0>, /* HS G1 RB L2 */
1827 <123 512 596378 0>, <1 757 1000 0>, /* HS G2 RB L2 */
1828 /* As UFS working in HS G3 RB L2 mode, aggregated
1829 * bandwidth (AB) should take care of providing
1830 * optimum throughput requested. However, as tested,
1831 * in order to scale up CNOC clock, instantaneous
1832 * bindwidth (IB) needs to be given a proper value too.
1833 */
1834 <123 512 4194304 0>, <1 757 204800 409600>, /* HS G3 RB L2 */
Bao D. Nguyen5c208722019-02-01 11:03:41 -08001835 <123 512 8388608 0>, <1 757 409600 409600>, /* HS G4 RB L2 */
Can Guob04bed52018-07-10 19:27:32 -07001836 <123 512 7643136 0>, <1 757 307200 0>; /* Max. bandwidth */
1837
1838 qcom,bus-vector-names = "MIN",
1839 "PWM_G1_L1", "PWM_G2_L1", "PWM_G3_L1", "PWM_G4_L1",
1840 "PWM_G1_L2", "PWM_G2_L2", "PWM_G3_L2", "PWM_G4_L2",
Bao D. Nguyen5c208722019-02-01 11:03:41 -08001841 "HS_RA_G1_L1", "HS_RA_G2_L1", "HS_RA_G3_L1", "HS_RA_G4_L1",
1842 "HS_RA_G1_L2", "HS_RA_G2_L2", "HS_RA_G3_L2", "HS_RA_G4_L2",
1843 "HS_RB_G1_L1", "HS_RB_G2_L1", "HS_RB_G3_L1", "HS_RB_G4_L1",
1844 "HS_RB_G1_L2", "HS_RB_G2_L2", "HS_RB_G3_L2", "HS_RB_G4_L2",
1845
Can Guob04bed52018-07-10 19:27:32 -07001846 "MAX";
1847
1848 /* PM QoS */
1849 qcom,pm-qos-cpu-groups = <0x0f 0xf0>;
1850 qcom,pm-qos-cpu-group-latency-us = <44 44>;
1851 qcom,pm-qos-default-cpu = <0>;
1852
1853 pinctrl-names = "dev-reset-assert", "dev-reset-deassert";
1854 pinctrl-0 = <&ufs_dev_reset_assert>;
1855 pinctrl-1 = <&ufs_dev_reset_deassert>;
1856
1857 resets = <&clock_gcc GCC_UFS_PHY_BCR>;
1858 reset-names = "core_reset";
1859
1860 status = "disabled";
1861 };
1862
Bao D. Nguyenbd2335b2019-01-17 13:32:42 -08001863 sdhc_2: sdhci@8804000 {
1864 compatible = "qcom,sdhci-msm-v5";
1865 reg = <0x8804000 0x1000>;
1866 reg-names = "hc_mem";
1867
1868 interrupts = <0 204 0>, <0 222 0>;
1869 interrupt-names = "hc_irq", "pwr_irq";
1870
1871 qcom,bus-width = <4>;
1872 qcom,large-address-bus;
1873
1874 qcom,msm-bus,name = "sdhc2";
1875 qcom,msm-bus,num-cases = <8>;
1876 qcom,msm-bus,num-paths = <2>;
1877 qcom,msm-bus,vectors-KBps =
1878 /* No vote */
1879 <81 512 0 0>, <1 608 0 0>,
1880 /* 400 KB/s*/
1881 <81 512 1046 1600>,
1882 <1 608 1600 1600>,
1883 /* 20 MB/s */
1884 <81 512 52286 80000>,
1885 <1 608 80000 80000>,
1886 /* 25 MB/s */
1887 <81 512 65360 100000>,
1888 <1 608 100000 100000>,
1889 /* 50 MB/s */
1890 <81 512 130718 200000>,
1891 <1 608 133320 133320>,
1892 /* 100 MB/s */
1893 <81 512 261438 200000>,
1894 <1 608 150000 150000>,
1895 /* 200 MB/s */
1896 <81 512 261438 400000>,
1897 <1 608 300000 300000>,
1898 /* Max. bandwidth */
1899 <81 512 1338562 4096000>,
1900 <1 608 1338562 4096000>;
1901 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
1902 100750000 200000000 4294967295>;
1903
1904 qcom,restore-after-cx-collapse;
1905
1906 qcom,clk-rates = <400000 20000000 25000000
1907 50000000 100000000 201500000>;
1908 qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50",
1909 "SDR104";
1910
1911 qcom,devfreq,freq-table = <50000000 201500000>;
1912 clocks = <&clock_gcc GCC_SDCC2_AHB_CLK>,
1913 <&clock_gcc GCC_SDCC2_APPS_CLK>;
1914 clock-names = "iface_clk", "core_clk";
1915
1916 /* PM QoS */
1917 qcom,pm-qos-irq-type = "affine_irq";
1918 qcom,pm-qos-irq-latency = <44 44>;
1919 qcom,pm-qos-cpu-groups = <0x3f 0xc0>;
1920 qcom,pm-qos-legacy-latency-us = <44 44>, <44 44>;
1921
1922 status = "disabled";
1923 };
1924
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -07001925 ipcc_mproc: qcom,ipcc@408000 {
Neeraj Upadhyay5d7531f2019-01-16 10:25:24 -08001926 compatible = "qcom,ipcc";
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -07001927 reg = <0x408000 0x1000>;
1928 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
1929 interrupt-controller;
1930 #interrupt-cells = <3>;
1931 #mbox-cells = <2>;
1932 };
Lina Iyerea91c722018-06-20 14:58:05 -06001933
Raghavendra Rao Ananta5da54b32018-08-09 10:04:50 -07001934 ipcc_self_ping: ipcc-self-ping {
1935 compatible = "qcom,ipcc-self-ping";
1936 interrupts-extended = <&ipcc_mproc IPCC_CLIENT_APSS
1937 IPCC_MPROC_SIGNAL_SMP2P IRQ_TYPE_LEVEL_HIGH>;
1938 mboxes = <&ipcc_mproc IPCC_CLIENT_APSS IPCC_MPROC_SIGNAL_SMP2P>;
1939 };
1940
Maria Neptune5a1428b2018-08-29 13:25:19 -07001941 apps_rsc: rsc@18200000 {
Lina Iyerea91c722018-06-20 14:58:05 -06001942 label = "apps_rsc";
1943 compatible = "qcom,rpmh-rsc";
1944 reg = <0x18200000 0x10000>,
1945 <0x18210000 0x10000>,
1946 <0x18220000 0x10000>;
1947 reg-names = "drv-0", "drv-1", "drv-2";
1948 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
1949 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
1950 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1951 qcom,tcs-offset = <0xd00>;
1952 qcom,drv-id = <2>;
1953 qcom,tcs-config = <ACTIVE_TCS 2>,
1954 <SLEEP_TCS 3>,
1955 <WAKE_TCS 3>,
1956 <CONTROL_TCS 1>;
David Dai07c8d4e2018-10-09 14:22:06 -07001957
1958 msm_bus_apps_rsc {
1959 compatible = "qcom,msm-bus-rsc";
1960 qcom,msm-bus-id = <MSM_BUS_RSC_APPS>;
1961 };
Arjun Bagla76f02ef2018-09-19 10:00:29 -07001962
1963 system_pm {
1964 compatible = "qcom,system-pm";
1965 };
David Daiee6a9d62019-01-10 17:14:04 -08001966
1967 clock_rpmh: qcom,rpmhclk {
1968 compatible = "qcom,kona-rpmh-clk";
1969 #clock-cells = <1>;
1970 };
Lina Iyerea91c722018-06-20 14:58:05 -06001971 };
1972
1973 disp_rsc: rsc@af20000 {
1974 label = "disp_rsc";
1975 compatible = "qcom,rpmh-rsc";
1976 reg = <0xaf20000 0x10000>;
1977 reg-names = "drv-0";
1978 interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
1979 qcom,tcs-offset = <0x1c00>;
1980 qcom,drv-id = <0>;
1981 qcom,tcs-config = <ACTIVE_TCS 0>,
1982 <SLEEP_TCS 1>,
1983 <WAKE_TCS 1>,
1984 <CONTROL_TCS 0>;
1985 status = "disabled";
Dhaval Patelf92536a2018-10-24 13:19:15 -07001986
David Daiaa2197d2019-02-12 10:32:43 -08001987 msm_bus_disp_rsc {
1988 compatible = "qcom,msm-bus-rsc";
1989 qcom,msm-bus-id = <MSM_BUS_RSC_DISP>;
1990 status = "disabled";
1991 };
1992
Dhaval Patelf92536a2018-10-24 13:19:15 -07001993 sde_rsc_rpmh {
1994 compatible = "qcom,sde-rsc-rpmh";
1995 cell-index = <0>;
1996 status = "disabled";
1997 };
Lina Iyerea91c722018-06-20 14:58:05 -06001998 };
Chris Lew86f6bde2018-09-06 16:40:39 -07001999
2000 tcsr_mutex_block: syscon@1f40000 {
2001 compatible = "syscon";
2002 reg = <0x1f40000 0x20000>;
2003 };
2004
2005 tcsr_mutex: hwlock {
2006 compatible = "qcom,tcsr-mutex";
2007 syscon = <&tcsr_mutex_block 0 0x1000>;
2008 #hwlock-cells = <1>;
2009 };
2010
2011 smem: qcom,smem {
2012 compatible = "qcom,smem";
2013 memory-region = <&smem_mem>;
2014 hwlocks = <&tcsr_mutex 3>;
2015 };
Venkata Narendra Kumar Gutta1781e562018-10-09 14:44:10 -07002016
2017 kryo-erp {
2018 compatible = "arm,arm64-kryo-cpu-erp";
2019 interrupts = <GIC_PPI 0 IRQ_TYPE_LEVEL_HIGH>,
2020 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
2021 interrupt-names = "l1-l2-faultirq",
2022 "l3-scu-faultirq";
2023 };
Chris Lew3859b1b72018-09-25 16:54:52 -07002024
Chris Lew3b1f0982018-10-05 17:28:21 -07002025 sp_scsr: mailbox@188501c {
2026 compatible = "qcom,kona-spcs-global";
2027 reg = <0x188501c 0x4>;
2028
2029 #mbox-cells = <1>;
2030 };
2031
2032 sp_scsr_block: syscon@1880000 {
2033 compatible = "syscon";
2034 reg = <0x1880000 0x10000>;
2035 };
2036
2037 intsp: qcom,qsee_irq {
2038 compatible = "qcom,kona-qsee-irq";
2039
2040 syscon = <&sp_scsr_block>;
2041 interrupts = <0 348 IRQ_TYPE_LEVEL_HIGH>,
2042 <0 349 IRQ_TYPE_LEVEL_HIGH>;
2043
2044 interrupt-names = "sp_ipc0",
2045 "sp_ipc1";
2046
2047 interrupt-controller;
2048 #interrupt-cells = <3>;
2049 };
2050
2051 qcom,qsee_irq_bridge {
2052 compatible = "qcom,qsee-ipc-irq-bridge";
2053
2054 qcom,qsee-ipc-irq-spss {
2055 qcom,dev-name = "qsee_ipc_irq_spss";
2056 label = "spss";
2057 interrupt-parent = <&intsp>;
2058 interrupts = <1 0 IRQ_TYPE_LEVEL_HIGH>;
2059 };
2060 };
2061
Amir Samuelove4c04342019-01-17 13:25:02 +02002062 spss_utils: qcom,spss_utils {
2063 compatible = "qcom,spss-utils";
2064 /* spss fuses physical address */
2065 qcom,spss-fuse1-addr = <0x007841c4>;
2066 qcom,spss-fuse1-bit = <27>;
2067 qcom,spss-fuse2-addr = <0x007841c4>;
2068 qcom,spss-fuse2-bit = <26>;
2069 qcom,spss-dev-firmware-name = "spss1d"; /* 8 chars max */
2070 qcom,spss-test-firmware-name = "spss1t"; /* 8 chars max */
2071 qcom,spss-prod-firmware-name = "spss1p"; /* 8 chars max */
2072 qcom,spss-debug-reg-addr = <0x01886020>;
2073 qcom,spss-emul-type-reg-addr = <0x01fc8004>;
2074 status = "ok";
2075 };
2076
2077 qcom,spcom {
2078 compatible = "qcom,spcom";
2079
2080 /* predefined channels, remote side is server */
2081 qcom,spcom-ch-names = "sp_kernel", "sp_ssr";
2082 status = "ok";
2083 };
2084
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002085 qcom,msm_gsi {
2086 compatible = "qcom,msm_gsi";
2087 };
2088
2089 qcom,rmnet-ipa {
2090 compatible = "qcom,rmnet-ipa3";
2091 qcom,rmnet-ipa-ssr;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002092 qcom,ipa-advertise-sg-support;
2093 qcom,ipa-napi-enable;
2094 };
2095
2096 qcom,ipa_fws {
2097 compatible = "qcom,pil-tz-generic";
2098 qcom,pas-id = <0xf>;
2099 qcom,firmware-name = "ipa_fws";
2100 qcom,pil-force-shutdown;
Amir Levy69bdbc42019-01-31 15:40:18 +02002101 memory-region = <&pil_ipa_gsi_mem>;
2102 };
2103
2104 qcom,ipa_uc {
2105 compatible = "qcom,pil-tz-generic";
2106 qcom,pas-id = <0x1B>;
2107 qcom,firmware-name = "ipa_uc";
2108 qcom,pil-force-shutdown;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002109 memory-region = <&pil_ipa_fw_mem>;
2110 };
2111
2112 ipa_hw: qcom,ipa@1e00000 {
2113 compatible = "qcom,ipa";
2114 reg =
2115 <0x1e00000 0x84000>,
2116 <0x1e04000 0x23000>;
2117 reg-names = "ipa-base", "gsi-base";
2118 interrupts =
2119 <0 311 IRQ_TYPE_LEVEL_HIGH>,
2120 <0 432 IRQ_TYPE_LEVEL_HIGH>;
2121 interrupt-names = "ipa-irq", "gsi-irq";
2122 qcom,ipa-hw-ver = <17>; /* IPA core version = IPAv4.5 */
2123 qcom,ipa-hw-mode = <0>;
Ghanim Fodif8dcdbf2018-11-04 17:58:22 +02002124 qcom,platform-type = <2>; /* APQ platform */
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002125 qcom,ee = <0>;
2126 qcom,use-ipa-tethering-bridge;
2127 qcom,mhi-event-ring-id-limits = <9 11>; /* start and end */
2128 qcom,modem-cfg-emb-pipe-flt;
Ghanim Fodi03a999c2019-02-18 18:43:31 +02002129 qcom,ipa-wdi3-over-gsi;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002130 qcom,use-ipa-pm;
Michael Adisumarta039e2922019-02-19 20:18:40 -08002131 qcom,arm-smmu;
2132 qcom,smmu-fast-map;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002133 qcom,bandwidth-vote-for-ipa;
2134 qcom,use-64-bit-dma-mask;
2135 qcom,msm-bus,name = "ipa";
2136 qcom,msm-bus,num-cases = <5>;
Michael Adisumarta039e2922019-02-19 20:18:40 -08002137 qcom,msm-bus,num-paths = <5>;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002138 qcom,msm-bus,vectors-KBps =
2139 /* No vote */
Michael Adisumarta039e2922019-02-19 20:18:40 -08002140 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_LLCC 0 0>,
2141 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0 0 0>,
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002142 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 0 0>,
2143 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 0 0>,
2144 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 0>,
2145
2146 /* SVS2 */
Michael Adisumarta039e2922019-02-19 20:18:40 -08002147 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_LLCC 150000 600000>,
2148 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0 150000 1804000>,
2149 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 75000 300000>,
2150 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 0 76800>,
2151 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 150>,
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002152
2153 /* SVS */
Michael Adisumarta039e2922019-02-19 20:18:40 -08002154 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_LLCC 625000 1200000>,
2155 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0 625000 3072000>,
2156 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 312500 700000>,
2157 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 0 150000>,
2158 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 240>,
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002159
2160 /* NOMINAL */
Michael Adisumarta039e2922019-02-19 20:18:40 -08002161 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_LLCC 1250000 2400000>,
2162 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0 1250000 6220800>,
2163 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 625000 1500000>,
2164 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 0 400000>,
2165 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 466>,
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002166
2167 /* TURBO */
Michael Adisumarta039e2922019-02-19 20:18:40 -08002168 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_LLCC 2000000 3500000>,
2169 <MSM_BUS_MASTER_LLCC MSM_BUS_SLAVE_EBI_CH0 2000000 7219200>,
2170 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 1000000 1920000>,
2171 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 0 400000>,
2172 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 533>;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002173
2174 qcom,bus-vector-names = "MIN", "SVS2", "SVS", "NOMINAL",
2175 "TURBO";
Michael Adisumarta039e2922019-02-19 20:18:40 -08002176 qcom,throughput-threshold = <600 2500 5000>;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002177 qcom,scaling-exceptions = <>;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002178
Jennifer L. Zenner718a8ca2019-01-31 12:24:21 -05002179 qcom,entire-ipa-block-size = <0x100000>;
2180 qcom,register-collection-on-crash;
2181 qcom,testbus-collection-on-crash;
2182 qcom,non-tn-collection-on-crash;
2183
Michael Adisumarta039e2922019-02-19 20:18:40 -08002184 ipa_smmu_ap: ipa_smmu_ap {
2185 compatible = "qcom,ipa-smmu-ap-cb";
2186 iommus = <&apps_smmu 0x5C0 0x0>;
2187 qcom,iova-mapping = <0x20000000 0x40000000>;
2188 qcom,additional-mapping =
2189 /* modem tables in IMEM */
2190 <0x146BD000 0x146BD000 0x2000>;
2191 dma-coherent;
2192 qcom,iommu-dma = "disabled";
2193 };
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002194
Michael Adisumarta039e2922019-02-19 20:18:40 -08002195 ipa_smmu_wlan: ipa_smmu_wlan {
2196 compatible = "qcom,ipa-smmu-wlan-cb";
2197 iommus = <&apps_smmu 0x5C1 0x0>;
2198 qcom,iommu-dma = "disabled";
2199 };
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002200
Michael Adisumarta039e2922019-02-19 20:18:40 -08002201 ipa_smmu_uc: ipa_smmu_uc {
2202 compatible = "qcom,ipa-smmu-uc-cb";
2203 iommus = <&apps_smmu 0x5C2 0x0>;
2204 qcom,iova-mapping = <0x40000000 0x20000000>;
2205 qcom,iommu-dma = "disabled";
2206 };
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02002207 };
2208
Chris Lew3859b1b72018-09-25 16:54:52 -07002209 qcom,glink {
2210 compatible = "qcom,glink";
2211 #address-cells = <1>;
2212 #size-cells = <1>;
2213 ranges;
2214
Chris Lewb2da0482018-11-16 14:50:31 -08002215 glink_npu: npu {
2216 qcom,remote-pid = <10>;
2217 transport = "smem";
2218 mboxes = <&ipcc_mproc IPCC_CLIENT_NPU
2219 IPCC_MPROC_SIGNAL_GLINK_QMP>;
2220 mbox-names = "npu_smem";
2221 interrupt-parent = <&ipcc_mproc>;
2222 interrupts = <IPCC_CLIENT_NPU
2223 IPCC_MPROC_SIGNAL_GLINK_QMP
2224 IRQ_TYPE_EDGE_RISING>;
2225
2226 label = "npu";
2227 qcom,glink-label = "npu";
2228
2229 qcom,npu_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08002230 qcom,net-id = <1>;
Chris Lewb2da0482018-11-16 14:50:31 -08002231 qcom,glink-channels = "IPCRTR";
2232 qcom,intents = <0x800 5
2233 0x2000 3
2234 0x4400 2>;
2235 };
2236
2237 qcom,npu_glink_ssr {
2238 qcom,glink-channels = "glink_ssr";
2239 qcom,notify-edges = <&glink_cdsp>;
2240 };
2241 };
2242
Chris Lew3859b1b72018-09-25 16:54:52 -07002243 glink_adsp: adsp {
2244 qcom,remote-pid = <2>;
2245 transport = "smem";
2246 mboxes = <&ipcc_mproc IPCC_CLIENT_LPASS
2247 IPCC_MPROC_SIGNAL_GLINK_QMP>;
2248 mbox-names = "adsp_smem";
2249 interrupt-parent = <&ipcc_mproc>;
2250 interrupts = <IPCC_CLIENT_LPASS
2251 IPCC_MPROC_SIGNAL_GLINK_QMP
2252 IRQ_TYPE_EDGE_RISING>;
2253
2254 label = "adsp";
2255 qcom,glink-label = "lpass";
2256
2257 qcom,adsp_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08002258 qcom,net-id = <2>;
Chris Lew3859b1b72018-09-25 16:54:52 -07002259 qcom,glink-channels = "IPCRTR";
2260 qcom,intents = <0x800 5
2261 0x2000 3
2262 0x4400 2>;
2263 };
2264
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302265 qcom,msm_fastrpc_rpmsg {
2266 compatible = "qcom,msm-fastrpc-rpmsg";
2267 qcom,glink-channels = "fastrpcglink-apps-dsp";
2268 qcom,intents = <0x64 64>;
2269 };
2270
Chris Lew3859b1b72018-09-25 16:54:52 -07002271 qcom,adsp_glink_ssr {
2272 qcom,glink-channels = "glink_ssr";
2273 qcom,notify-edges = <&glink_slpi>,
2274 <&glink_cdsp>;
2275 };
2276 };
2277
2278 glink_slpi: dsps {
2279 qcom,remote-pid = <3>;
2280 transport = "smem";
2281 mboxes = <&ipcc_mproc IPCC_CLIENT_SLPI
2282 IPCC_MPROC_SIGNAL_GLINK_QMP>;
2283 mbox-names = "dsps_smem";
2284 interrupt-parent = <&ipcc_mproc>;
2285 interrupts = <IPCC_CLIENT_SLPI
2286 IPCC_MPROC_SIGNAL_GLINK_QMP
2287 IRQ_TYPE_EDGE_RISING>;
2288
2289 label = "slpi";
2290 qcom,glink-label = "dsps";
2291
2292 qcom,slpi_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08002293 qcom,net-id = <2>;
Chris Lew3859b1b72018-09-25 16:54:52 -07002294 qcom,glink-channels = "IPCRTR";
2295 qcom,intents = <0x800 5
2296 0x2000 3
2297 0x4400 2>;
2298 };
2299
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302300 qcom,msm_fastrpc_rpmsg {
2301 compatible = "qcom,msm-fastrpc-rpmsg";
2302 qcom,glink-channels = "fastrpcglink-apps-dsp";
2303 qcom,intents = <0x64 64>;
2304 };
2305
Chris Lew3859b1b72018-09-25 16:54:52 -07002306 qcom,slpi_glink_ssr {
2307 qcom,glink-channels = "glink_ssr";
2308 qcom,notify-edges = <&glink_adsp>,
2309 <&glink_cdsp>;
2310 };
2311 };
2312
2313 glink_cdsp: cdsp {
2314 qcom,remote-pid = <5>;
2315 transport = "smem";
2316 mboxes = <&ipcc_mproc IPCC_CLIENT_CDSP
2317 IPCC_MPROC_SIGNAL_GLINK_QMP>;
2318 mbox-names = "dsps_smem";
2319 interrupt-parent = <&ipcc_mproc>;
2320 interrupts = <IPCC_CLIENT_CDSP
2321 IPCC_MPROC_SIGNAL_GLINK_QMP
2322 IRQ_TYPE_EDGE_RISING>;
2323
2324 label = "cdsp";
2325 qcom,glink-label = "cdsp";
2326
2327 qcom,cdsp_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08002328 qcom,net-id = <1>;
Chris Lew3859b1b72018-09-25 16:54:52 -07002329 qcom,glink-channels = "IPCRTR";
2330 qcom,intents = <0x800 5
2331 0x2000 3
2332 0x4400 2>;
2333 };
2334
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302335 qcom,msm_fastrpc_rpmsg {
2336 compatible = "qcom,msm-fastrpc-rpmsg";
2337 qcom,glink-channels = "fastrpcglink-apps-dsp";
2338 qcom,intents = <0x64 64>;
2339 };
2340
Chris Lew3859b1b72018-09-25 16:54:52 -07002341 qcom,cdsp_glink_ssr {
2342 qcom,glink-channels = "glink_ssr";
2343 qcom,notify-edges = <&glink_adsp>,
Chris Lewb2da0482018-11-16 14:50:31 -08002344 <&glink_slpi>,
2345 <&glink_npu>;
Chris Lew3859b1b72018-09-25 16:54:52 -07002346 };
2347 };
Chris Lew3b1f0982018-10-05 17:28:21 -07002348
2349 glink_spss: spss {
2350 qcom,remote-pid = <8>;
2351 transport = "spss";
2352 mboxes = <&sp_scsr 0>;
2353 mbox-names = "spss_spss";
2354 interrupt-parent = <&intsp>;
2355 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>;
2356
2357 reg = <0x1885008 0x8>,
2358 <0x1885010 0x4>;
2359 reg-names = "qcom,spss-addr",
2360 "qcom,spss-size";
2361
2362 label = "spss";
2363 qcom,glink-label = "spss";
2364 };
Chris Lew3859b1b72018-09-25 16:54:52 -07002365 };
Bruce Levy5122a632018-09-25 15:51:37 -07002366
Chris Lew3cbe4032018-11-30 18:57:32 -08002367 qmp_aop: qcom,qmp-aop@c300000 {
2368 compatible = "qcom,qmp-mbox";
2369 mboxes = <&ipcc_mproc IPCC_CLIENT_AOP
2370 IPCC_MPROC_SIGNAL_GLINK_QMP>;
2371 mbox-names = "aop_qmp";
2372 interrupt-parent = <&ipcc_mproc>;
2373 interrupts = <IPCC_CLIENT_AOP
2374 IPCC_MPROC_SIGNAL_GLINK_QMP
2375 IRQ_TYPE_EDGE_RISING>;
2376 reg = <0xc300000 0x1000>;
2377 reg-names = "msgram";
2378
2379 label = "aop";
2380 qcom,early-boot;
2381 priority = <0>;
2382 mbox-desc-offset = <0x0>;
2383 #mbox-cells = <1>;
2384 };
2385
Lina Iyer01db1032018-12-06 14:14:45 -07002386 aop-msg-client {
2387 compatible = "qcom,debugfs-qmp-client";
2388 mboxes = <&qmp_aop 0>;
2389 mbox-names = "aop";
2390 };
2391
Venkata Narendra Kumar Guttabf148762019-02-08 20:33:20 -08002392 qcom,msm-eud@ff0000 {
2393 compatible = "qcom,msm-eud";
2394 interrupt-names = "eud_irq";
2395 interrupts = <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
2396 reg = <0x088E0000 0x2000>,
2397 <0x088E2000 0x1000>;
2398 reg-names = "eud_base", "eud_mode_mgr2";
2399 qcom,secure-eud-en;
2400 qcom,eud-clock-vote-req;
2401 clocks = <&clock_gcc GCC_USB_PHY_CFG_AHB2PHY_BCR>;
2402 clock-names = "eud_ahb2phy_clk";
2403 status = "ok";
2404 };
2405
Bruce Levy5122a632018-09-25 15:51:37 -07002406 qcom,lpass@17300000 {
2407 compatible = "qcom,pil-tz-generic";
2408 reg = <0x17300000 0x00100>;
2409
2410 vdd_cx-supply = <&VDD_CX_LEVEL>;
2411 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
2412 qcom,proxy-reg-names = "vdd_cx";
2413
2414 clocks = <&clock_rpmh RPMH_CXO_CLK>;
2415 clock-names = "xo";
2416 qcom,proxy-clock-names = "xo";
2417
2418 qcom,pas-id = <1>;
2419 qcom,proxy-timeout-ms = <10000>;
2420 qcom,smem-id = <423>;
2421 qcom,sysmon-id = <1>;
2422 qcom,ssctl-instance-id = <0x14>;
2423 qcom,firmware-name = "adsp";
2424 memory-region = <&pil_adsp_mem>;
2425 qcom,complete-ramdump;
2426
2427 /* Inputs from lpass */
2428 interrupts-extended = <&pdc 96 IRQ_TYPE_LEVEL_HIGH>,
2429 <&adsp_smp2p_in 0 0>,
2430 <&adsp_smp2p_in 2 0>,
2431 <&adsp_smp2p_in 1 0>,
2432 <&adsp_smp2p_in 3 0>;
2433
2434 interrupt-names = "qcom,wdog",
2435 "qcom,err-fatal",
2436 "qcom,proxy-unvote",
2437 "qcom,err-ready",
2438 "qcom,stop-ack";
2439
2440 /* Outputs to lpass */
2441 qcom,smem-states = <&adsp_smp2p_out 0>;
2442 qcom,smem-state-names = "qcom,force-stop";
2443
2444 mbox-names = "adsp-pil";
2445 };
2446
2447 qcom,turing@8300000 {
2448 compatible = "qcom,pil-tz-generic";
2449 reg = <0x8300000 0x100000>;
2450
2451 vdd_cx-supply = <&VDD_CX_LEVEL>;
2452 qcom,proxy-reg-names = "vdd_cx";
2453 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
2454
2455 clocks = <&clock_rpmh RPMH_CXO_CLK>;
2456 clock-names = "xo";
2457 qcom,proxy-clock-names = "xo";
2458
2459 qcom,pas-id = <18>;
2460 qcom,proxy-timeout-ms = <10000>;
2461 qcom,smem-id = <601>;
2462 qcom,sysmon-id = <7>;
2463 qcom,ssctl-instance-id = <0x17>;
2464 qcom,firmware-name = "cdsp";
2465 memory-region = <&pil_cdsp_mem>;
2466 qcom,complete-ramdump;
2467
2468 qcom,msm-bus,name = "pil-cdsp";
2469 qcom,msm-bus,num-cases = <2>;
2470 qcom,msm-bus,num-paths = <1>;
2471 qcom,msm-bus,vectors-KBps =
2472 <154 10070 0 0>,
2473 <154 10070 0 1>;
2474
2475 /* Inputs from turing */
Bruce Levy821133c2018-11-29 11:34:45 -08002476 interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_LEVEL_HIGH>,
Bruce Levy5122a632018-09-25 15:51:37 -07002477 <&cdsp_smp2p_in 0 0>,
2478 <&cdsp_smp2p_in 2 0>,
2479 <&cdsp_smp2p_in 1 0>,
2480 <&cdsp_smp2p_in 3 0>;
2481
2482 interrupt-names = "qcom,wdog",
2483 "qcom,err-fatal",
2484 "qcom,proxy-unvote",
2485 "qcom,err-ready",
2486 "qcom,stop-ack";
2487
2488 /* Outputs to turing */
2489 qcom,smem-states = <&cdsp_smp2p_out 0>;
2490 qcom,smem-state-names = "qcom,force-stop";
2491
2492 mbox-names = "cdsp-pil";
2493 };
Akshay Chandrashekhar Kalghatgif7905ad2018-11-08 16:30:42 -08002494
2495 qcom,venus@aab0000 {
2496 compatible = "qcom,pil-tz-generic";
2497 reg = <0xaab0000 0x2000>;
Chinmay Sawarkar2cfeca02018-11-15 17:59:36 -08002498
2499 vdd-supply = <&mvs0c_gdsc>;
2500 qcom,proxy-reg-names = "vdd";
2501 qcom,complete-ramdump;
2502
2503 clocks = <&clock_videocc VIDEO_CC_XO_CLK>,
2504 <&clock_videocc VIDEO_CC_MVS0C_CLK>,
2505 <&clock_videocc VIDEO_CC_AHB_CLK>;
2506 clock-names = "xo", "core", "ahb";
2507 qcom,proxy-clock-names = "xo", "core", "ahb";
2508
Akshay Chandrashekhar Kalghatgif7905ad2018-11-08 16:30:42 -08002509 qcom,core-freq = <200000000>;
2510 qcom,ahb-freq = <200000000>;
2511
2512 qcom,pas-id = <9>;
2513 qcom,msm-bus,name = "pil-venus";
2514 qcom,msm-bus,num-cases = <2>;
2515 qcom,msm-bus,num-paths = <1>;
2516 qcom,msm-bus,vectors-KBps =
2517 <63 512 0 0>,
2518 <63 512 0 304000>;
2519 qcom,proxy-timeout-ms = <100>;
2520 qcom,firmware-name = "venus";
2521 memory-region = <&pil_video_mem>;
2522 };
Tharun Kumar Merugub8d79dd2018-11-02 23:07:31 +05302523
Amir Samuelovf52db412019-01-08 09:30:58 +02002524 /* PIL spss node - for loading Secure Processor */
2525 qcom,spss@1880000 {
2526 compatible = "qcom,pil-tz-generic";
2527 reg = <0x188101c 0x4>,
2528 <0x1881024 0x4>,
2529 <0x1881028 0x4>,
2530 <0x188103c 0x4>,
2531 <0x1882014 0x4>;
2532 reg-names = "sp2soc_irq_status", "sp2soc_irq_clr",
2533 "sp2soc_irq_mask", "rmb_err", "rmb_err_spare2";
2534 interrupts = <0 352 1>;
2535
2536 vdd_cx-supply = <&VDD_CX_LEVEL>;
2537 qcom,proxy-reg-names = "vdd_cx";
2538 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
2539 vdd_mx-supply = <&VDD_MX_LEVEL>;
2540 vdd_mx-uV = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
2541
2542 clocks = <&clock_rpmh RPMH_CXO_CLK>;
2543 clock-names = "xo";
2544 qcom,proxy-clock-names = "xo";
2545 qcom,pil-generic-irq-handler;
2546 status = "ok";
2547
Amir Samuelov48955b32019-01-17 17:24:37 +02002548 qcom,signal-aop;
Amir Samuelovf52db412019-01-08 09:30:58 +02002549 qcom,complete-ramdump;
2550
2551 qcom,pas-id = <14>;
2552 qcom,proxy-timeout-ms = <10000>;
2553 qcom,firmware-name = "spss";
2554 memory-region = <&pil_spss_mem>;
2555 qcom,spss-scsr-bits = <24 25>;
2556
Amir Samuelov48955b32019-01-17 17:24:37 +02002557 mboxes = <&qmp_aop 0>;
Amir Samuelovf52db412019-01-08 09:30:58 +02002558 mbox-names = "spss-pil";
2559 };
2560
George Shen9c54c662018-12-26 15:50:11 -08002561 qcom,cvpss@abb0000 {
2562 compatible = "qcom,pil-tz-generic";
2563 reg = <0xabb0000 0x2000>;
2564 status = "ok";
George Shen24f63232019-01-11 14:28:21 -08002565 qcom,pas-id = <26>;
George Shen9c54c662018-12-26 15:50:11 -08002566 qcom,firmware-name = "cvpss";
2567
2568 memory-region = <&pil_cvp_mem>;
2569 };
2570
Jilai Wangd20a5292018-12-04 11:05:10 -05002571 qcom,npu@9800000 {
2572 compatible = "qcom,pil-tz-generic";
2573 reg = <0x9800000 0x800000>;
2574
2575 status = "ok";
2576 qcom,pas-id = <23>;
2577 qcom,firmware-name = "npu";
2578 memory-region = <&pil_npu_mem>;
2579 };
2580
Tharun Kumar Merugub8d79dd2018-11-02 23:07:31 +05302581 qcom,msm-cdsp-loader {
2582 compatible = "qcom,cdsp-loader";
2583 qcom,proc-img-to-load = "cdsp";
2584 };
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302585
2586 qcom,msm-adsprpc-mem {
2587 compatible = "qcom,msm-adsprpc-mem-region";
2588 memory-region = <&adsp_mem>;
Tharun Kumar Merugu9bf49d72018-12-21 02:33:10 +05302589 restrict-access;
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302590 };
2591
2592 msm_fastrpc: qcom,msm_fastrpc {
2593 compatible = "qcom,msm-fastrpc-compute";
Tharun Kumar Merugu9bf49d72018-12-21 02:33:10 +05302594 qcom,adsp-remoteheap-vmid = <22 37>;
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302595 qcom,fastrpc-adsp-audio-pdr;
Tharun Kumar Merugu9bf49d72018-12-21 02:33:10 +05302596 qcom,fastrpc-adsp-sensors-pdr;
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302597 qcom,rpc-latency-us = <235>;
2598
2599 qcom,msm_fastrpc_compute_cb1 {
2600 compatible = "qcom,msm-fastrpc-compute-cb";
2601 label = "cdsprpc-smd";
2602 iommus = <&apps_smmu 0x1001 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002603 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302604 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302605 dma-coherent;
2606 };
2607
2608 qcom,msm_fastrpc_compute_cb2 {
2609 compatible = "qcom,msm-fastrpc-compute-cb";
2610 label = "cdsprpc-smd";
2611 iommus = <&apps_smmu 0x1002 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002612 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302613 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302614 dma-coherent;
2615 };
2616
2617 qcom,msm_fastrpc_compute_cb3 {
2618 compatible = "qcom,msm-fastrpc-compute-cb";
2619 label = "cdsprpc-smd";
2620 iommus = <&apps_smmu 0x1003 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002621 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302622 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302623 dma-coherent;
2624 };
2625
2626 qcom,msm_fastrpc_compute_cb4 {
2627 compatible = "qcom,msm-fastrpc-compute-cb";
2628 label = "cdsprpc-smd";
2629 iommus = <&apps_smmu 0x1004 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002630 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302631 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302632 dma-coherent;
2633 };
2634
2635 qcom,msm_fastrpc_compute_cb5 {
2636 compatible = "qcom,msm-fastrpc-compute-cb";
2637 label = "cdsprpc-smd";
2638 iommus = <&apps_smmu 0x1005 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002639 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302640 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302641 dma-coherent;
2642 };
2643
2644 qcom,msm_fastrpc_compute_cb6 {
2645 compatible = "qcom,msm-fastrpc-compute-cb";
2646 label = "cdsprpc-smd";
2647 iommus = <&apps_smmu 0x1006 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002648 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302649 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302650 dma-coherent;
2651 };
2652
2653 qcom,msm_fastrpc_compute_cb7 {
2654 compatible = "qcom,msm-fastrpc-compute-cb";
2655 label = "cdsprpc-smd";
2656 iommus = <&apps_smmu 0x1007 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002657 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302658 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302659 dma-coherent;
2660 };
2661
2662 qcom,msm_fastrpc_compute_cb8 {
2663 compatible = "qcom,msm-fastrpc-compute-cb";
2664 label = "cdsprpc-smd";
2665 iommus = <&apps_smmu 0x1008 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002666 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302667 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302668 dma-coherent;
2669 };
2670
2671 qcom,msm_fastrpc_compute_cb9 {
2672 compatible = "qcom,msm-fastrpc-compute-cb";
2673 label = "cdsprpc-smd";
2674 qcom,secure-context-bank;
2675 iommus = <&apps_smmu 0x1009 0x0460>;
Patrick Daly84360e12019-02-05 14:37:08 -08002676 qcom,iommu-dma-addr-pool = <0x60000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302677 qcom,iommu-faults = "stall-disable";
2678 qcom,iommu-vmid = <0xA>; /* VMID_CP_PIXEL */
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302679 dma-coherent;
2680 };
2681
2682 qcom,msm_fastrpc_compute_cb10 {
2683 compatible = "qcom,msm-fastrpc-compute-cb";
2684 label = "adsprpc-smd";
2685 iommus = <&apps_smmu 0x1803 0x0>;
Patrick Daly84360e12019-02-05 14:37:08 -08002686 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302687 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302688 dma-coherent;
2689 };
2690
2691 qcom,msm_fastrpc_compute_cb11 {
2692 compatible = "qcom,msm-fastrpc-compute-cb";
2693 label = "adsprpc-smd";
2694 iommus = <&apps_smmu 0x1804 0x0>;
Patrick Daly84360e12019-02-05 14:37:08 -08002695 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302696 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302697 dma-coherent;
2698 };
2699
2700 qcom,msm_fastrpc_compute_cb12 {
2701 compatible = "qcom,msm-fastrpc-compute-cb";
2702 label = "adsprpc-smd";
2703 iommus = <&apps_smmu 0x1805 0x0>;
Patrick Daly84360e12019-02-05 14:37:08 -08002704 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302705 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302706 dma-coherent;
2707 };
2708
2709 qcom,msm_fastrpc_compute_cb13 {
2710 compatible = "qcom,msm-fastrpc-compute-cb";
2711 label = "sdsprpc-smd";
2712 iommus = <&apps_smmu 0x0541 0x0>;
Patrick Daly84360e12019-02-05 14:37:08 -08002713 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302714 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302715 dma-coherent;
2716 };
2717
2718 qcom,msm_fastrpc_compute_cb14 {
2719 compatible = "qcom,msm-fastrpc-compute-cb";
2720 label = "sdsprpc-smd";
2721 iommus = <&apps_smmu 0x0542 0x0>;
Patrick Daly84360e12019-02-05 14:37:08 -08002722 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302723 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302724 dma-coherent;
2725 };
2726
2727 qcom,msm_fastrpc_compute_cb15 {
2728 compatible = "qcom,msm-fastrpc-compute-cb";
2729 label = "sdsprpc-smd";
2730 iommus = <&apps_smmu 0x0543 0x0>;
Patrick Daly84360e12019-02-05 14:37:08 -08002731 qcom,iommu-dma-addr-pool = <0x80000000 0x78000000>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05302732 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05302733 shared-cb = <4>;
2734 dma-coherent;
2735 };
2736 };
Shaikh Shadulbfdfdda2018-11-14 15:36:21 +05302737
Tatenda Chipeperekwaa84e1aa2019-01-18 17:43:45 -08002738 qcom_msmhdcp: qcom,msm_hdcp {
2739 compatible = "qcom,msm-hdcp";
2740 };
2741
Tingwei Zhangd9b535f2018-12-03 19:14:06 -08002742 mem_dump {
2743 compatible = "qcom,mem-dump";
2744 memory-region = <&dump_mem>;
2745
2746 rpmh {
2747 qcom,dump-size = <0x2000000>;
2748 qcom,dump-id = <0xec>;
2749 };
2750
2751 rpm_sw {
2752 qcom,dump-size = <0x28000>;
2753 qcom,dump-id = <0xea>;
2754 };
2755
2756 pmic {
2757 qcom,dump-size = <0x80000>;
2758 qcom,dump-id = <0xe4>;
2759 };
2760
2761 fcm {
2762 qcom,dump-size = <0x8400>;
2763 qcom,dump-id = <0xee>;
2764 };
2765
2766 etf_swao {
2767 qcom,dump-size = <0x10000>;
2768 qcom,dump-id = <0xf1>;
2769 };
2770
2771 etr_reg {
2772 qcom,dump-size = <0x1000>;
2773 qcom,dump-id = <0x100>;
2774 };
2775
2776 etfswao_reg {
2777 qcom,dump-size = <0x1000>;
2778 qcom,dump-id = <0x102>;
2779 };
2780
2781 misc_data {
2782 qcom,dump-size = <0x1000>;
2783 qcom,dump-id = <0xe8>;
2784 };
2785 };
2786
Zhen Kong93446d22018-12-27 13:10:09 -08002787 qcom_tzlog: tz-log@146bf720 {
2788 compatible = "qcom,tz-log";
2789 reg = <0x146bf720 0x3000>;
2790 qcom,hyplog-enabled;
2791 hyplog-address-offset = <0x410>;
2792 hyplog-size-offset = <0x414>;
2793 };
2794
Shaikh Shadulbfdfdda2018-11-14 15:36:21 +05302795 qcom,ssc@5c00000 {
2796 compatible = "qcom,pil-tz-generic";
2797 reg = <0x5c00000 0x4000>;
2798
2799 vdd_cx-supply = <&VDD_CX_LEVEL>;
2800 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
2801 vdd_mx-supply = <&VDD_MX_LEVEL>;
2802 qcom,vdd_mx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
2803
2804 qcom,proxy-reg-names = "vdd_cx", "vdd_mx";
2805 qcom,keep-proxy-regs-on;
2806
2807 clocks = <&clock_rpmh RPMH_CXO_CLK>;
2808 clock-names = "xo";
2809 qcom,proxy-clock-names = "xo";
2810
2811 qcom,pas-id = <12>;
2812 qcom,proxy-timeout-ms = <10000>;
2813 qcom,smem-id = <424>;
2814 qcom,sysmon-id = <3>;
2815 qcom,ssctl-instance-id = <0x16>;
2816 qcom,firmware-name = "slpi";
2817 status = "ok";
2818 memory-region = <&pil_slpi_mem>;
2819 qcom,complete-ramdump;
2820
2821 /* Inputs from ssc */
2822 interrupts-extended = <&pdc 9 IRQ_TYPE_LEVEL_HIGH>,
2823 <&dsps_smp2p_in 0 0>,
2824 <&dsps_smp2p_in 2 0>,
2825 <&dsps_smp2p_in 1 0>,
2826 <&dsps_smp2p_in 3 0>;
2827
2828 interrupt-names = "qcom,wdog",
2829 "qcom,err-fatal",
2830 "qcom,proxy-unvote",
2831 "qcom,err-ready",
2832 "qcom,stop-ack";
2833
2834 /* Outputs to ssc */
2835 qcom,smem-states = <&dsps_smp2p_out 0>;
2836 qcom,smem-state-names = "qcom,force-stop";
2837
2838 mbox-names = "slpi-pil";
2839 };
2840
2841 ssc_sensors: qcom,msm-ssc-sensors {
2842 compatible = "qcom,msm-ssc-sensors";
2843 status = "ok";
2844 qcom,firmware-name = "slpi";
2845 };
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002846
Zhen Kongec18a5f2019-02-13 17:24:17 -08002847 qcom_smcinvoke: smcinvoke@87900000 {
2848 compatible = "qcom,smcinvoke";
2849 reg = <0x87900000 0x2200000>;
2850 reg-names = "secapp-region";
2851 };
2852
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002853 tsens0: tsens@c222000 {
2854 compatible = "qcom,tsens24xx";
2855 reg = <0xc222000 0x4>,
2856 <0xc263000 0x1ff>;
2857 reg-names = "tsens_srot_physical",
2858 "tsens_tm_physical";
Siddartha Mohanadoss404a89a2019-01-04 15:29:48 -08002859 interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
2860 <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002861 interrupt-names = "tsens-upper-lower", "tsens-critical";
2862 #thermal-sensor-cells = <1>;
2863 };
2864
2865 tsens1: tsens@c223000 {
2866 compatible = "qcom,tsens24xx";
2867 reg = <0xc223000 0x4>,
2868 <0xc265000 0x1ff>;
2869 reg-names = "tsens_srot_physical",
2870 "tsens_tm_physical";
Siddartha Mohanadoss404a89a2019-01-04 15:29:48 -08002871 interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
2872 <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>;
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002873 interrupt-names = "tsens-upper-lower", "tsens-critical";
2874 #thermal-sensor-cells = <1>;
2875 };
Rishabh Bhatnagarf7a853a2018-06-28 14:14:54 -07002876
2877 qcom,msm-rtb {
2878 compatible = "qcom,msm-rtb";
2879 qcom,rtb-size = <0x100000>;
2880 };
2881
2882 qcom,mpm2-sleep-counter@c221000 {
2883 compatible = "qcom,mpm2-sleep-counter";
2884 reg = <0xc221000 0x1000>;
2885 clock-frequency = <32768>;
2886 };
Venkata Narendra Kumar Guttab0205a92018-09-11 13:40:34 -07002887
2888 cpuss_dump {
2889 compatible = "qcom,cpuss-dump";
2890
2891 qcom,l1_i_cache0 {
2892 qcom,dump-node = <&L1_I_0>;
2893 qcom,dump-id = <0x60>;
2894 };
2895
2896 qcom,l1_i_cache1 {
2897 qcom,dump-node = <&L1_I_100>;
2898 qcom,dump-id = <0x61>;
2899 };
2900
2901 qcom,l1_i_cache2 {
2902 qcom,dump-node = <&L1_I_200>;
2903 qcom,dump-id = <0x62>;
2904 };
2905
2906 qcom,l1_i_cache3 {
2907 qcom,dump-node = <&L1_I_300>;
2908 qcom,dump-id = <0x63>;
2909 };
2910
2911 qcom,l1_i_cache100 {
2912 qcom,dump-node = <&L1_I_400>;
2913 qcom,dump-id = <0x64>;
2914 };
2915
2916 qcom,l1_i_cache101 {
2917 qcom,dump-node = <&L1_I_500>;
2918 qcom,dump-id = <0x65>;
2919 };
2920
2921 qcom,l1_i_cache102 {
2922 qcom,dump-node = <&L1_I_600>;
2923 qcom,dump-id = <0x66>;
2924 };
2925
2926 qcom,l1_i_cache103 {
2927 qcom,dump-node = <&L1_I_700>;
2928 qcom,dump-id = <0x67>;
2929 };
2930
2931 qcom,l1_d_cache0 {
2932 qcom,dump-node = <&L1_D_0>;
2933 qcom,dump-id = <0x80>;
2934 };
2935
2936 qcom,l1_d_cache1 {
2937 qcom,dump-node = <&L1_D_100>;
2938 qcom,dump-id = <0x81>;
2939 };
2940
2941 qcom,l1_d_cache2 {
2942 qcom,dump-node = <&L1_D_200>;
2943 qcom,dump-id = <0x82>;
2944 };
2945
2946 qcom,l1_d_cache3 {
2947 qcom,dump-node = <&L1_D_300>;
2948 qcom,dump-id = <0x83>;
2949 };
2950
2951 qcom,l1_d_cache100 {
2952 qcom,dump-node = <&L1_D_400>;
2953 qcom,dump-id = <0x84>;
2954 };
2955
2956 qcom,l1_d_cache101 {
2957 qcom,dump-node = <&L1_D_500>;
2958 qcom,dump-id = <0x85>;
2959 };
2960
2961 qcom,l1_d_cache102 {
2962 qcom,dump-node = <&L1_D_600>;
2963 qcom,dump-id = <0x86>;
2964 };
2965
2966 qcom,l1_d_cache103 {
2967 qcom,dump-node = <&L1_D_700>;
2968 qcom,dump-id = <0x87>;
2969 };
2970
2971 qcom,l1_i_tlb_dump400 {
2972 qcom,dump-node = <&L1_ITLB_400>;
2973 qcom,dump-id = <0x24>;
2974 };
2975
2976 qcom,l1_i_tlb_dump500 {
2977 qcom,dump-node = <&L1_ITLB_500>;
2978 qcom,dump-id = <0x25>;
2979 };
2980
2981 qcom,l1_i_tlb_dump600 {
2982 qcom,dump-node = <&L1_ITLB_600>;
2983 qcom,dump-id = <0x26>;
2984 };
2985
2986 qcom,l1_i_tlb_dump700 {
2987 qcom,dump-node = <&L1_ITLB_700>;
2988 qcom,dump-id = <0x27>;
2989 };
2990
2991 qcom,l1_d_tlb_dump400 {
2992 qcom,dump-node = <&L1_DTLB_400>;
2993 qcom,dump-id = <0x44>;
2994 };
2995
2996 qcom,l1_d_tlb_dump500 {
2997 qcom,dump-node = <&L1_DTLB_500>;
2998 qcom,dump-id = <0x45>;
2999 };
3000
3001 qcom,l1_d_tlb_dump600 {
3002 qcom,dump-node = <&L1_DTLB_600>;
3003 qcom,dump-id = <0x46>;
3004 };
3005
3006 qcom,l1_d_tlb_dump700 {
3007 qcom,dump-node = <&L1_DTLB_700>;
3008 qcom,dump-id = <0x47>;
3009 };
3010
3011 qcom,l2_cache_dump400 {
3012 qcom,dump-node = <&L2_4>;
3013 qcom,dump-id = <0xc4>;
3014 };
3015
3016 qcom,l2_cache_dump500 {
3017 qcom,dump-node = <&L2_5>;
3018 qcom,dump-id = <0xc5>;
3019 };
3020
3021 qcom,l2_cache_dump600 {
3022 qcom,dump-node = <&L2_6>;
3023 qcom,dump-id = <0xc6>;
3024 };
3025
3026 qcom,l2_cache_dump700 {
3027 qcom,dump-node = <&L2_7>;
3028 qcom,dump-id = <0xc7>;
3029 };
3030
3031 qcom,l2_tlb_dump0 {
3032 qcom,dump-node = <&L2_TLB_0>;
3033 qcom,dump-id = <0x120>;
3034 };
3035
3036 qcom,l2_tlb_dump100 {
3037 qcom,dump-node = <&L2_TLB_100>;
3038 qcom,dump-id = <0x121>;
3039 };
3040
3041 qcom,l2_tlb_dump200 {
3042 qcom,dump-node = <&L2_TLB_200>;
3043 qcom,dump-id = <0x122>;
3044 };
3045
3046 qcom,l2_tlb_dump300 {
3047 qcom,dump-node = <&L2_TLB_300>;
3048 qcom,dump-id = <0x123>;
3049 };
3050
3051 qcom,l2_tlb_dump400 {
3052 qcom,dump-node = <&L2_TLB_400>;
3053 qcom,dump-id = <0x124>;
3054 };
3055
3056 qcom,l2_tlb_dump500 {
3057 qcom,dump-node = <&L2_TLB_500>;
3058 qcom,dump-id = <0x125>;
3059 };
3060
3061 qcom,l2_tlb_dump600 {
3062 qcom,dump-node = <&L2_TLB_600>;
3063 qcom,dump-id = <0x126>;
3064 };
3065
3066 qcom,l2_tlb_dump700 {
3067 qcom,dump-node = <&L2_TLB_700>;
3068 qcom,dump-id = <0x127>;
3069 };
3070 };
Vipin Deep Kaur1cd6ed02018-12-27 16:23:43 +05303071
3072 gpi_dma0: qcom,gpi-dma@900000 {
3073 #dma-cells = <5>;
3074 compatible = "qcom,gpi-dma";
3075 reg = <0x900000 0x70000>;
3076 reg-names = "gpi-top";
Rishabh Bhatnagar7ef15882019-01-22 11:02:09 -08003077 interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
3078 <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
3079 <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
3080 <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
3081 <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
3082 <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
3083 <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
3084 <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
3085 <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
3086 <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
3087 <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
3088 <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
3089 <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
Vipin Deep Kaur1cd6ed02018-12-27 16:23:43 +05303090 qcom,max-num-gpii = <13>;
3091 qcom,gpii-mask = <0x7ff>;
3092 qcom,ev-factor = <2>;
3093 iommus = <&apps_smmu 0x5b6 0x0>;
3094 qcom,smmu-cfg = <0x1>;
3095 qcom,iova-range = <0x0 0x100000 0x0 0x100000>;
3096 status = "ok";
3097 };
3098
3099 gpi_dma1: qcom,gpi-dma@a00000 {
3100 #dma-cells = <5>;
3101 compatible = "qcom,gpi-dma";
3102 reg = <0xa00000 0x70000>;
3103 reg-names = "gpi-top";
Rishabh Bhatnagar7ef15882019-01-22 11:02:09 -08003104 interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
3105 <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
3106 <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
3107 <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
3108 <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
3109 <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
3110 <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
3111 <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>,
3112 <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>,
3113 <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>;
Vipin Deep Kaur1cd6ed02018-12-27 16:23:43 +05303114 qcom,max-num-gpii = <10>;
3115 qcom,gpii-mask = <0x3f>;
3116 qcom,ev-factor = <2>;
3117 iommus = <&apps_smmu 0x56 0x0>;
3118 qcom,smmu-cfg = <0x1>;
3119 qcom,iova-range = <0x0 0x100000 0x0 0x100000>;
3120 status = "ok";
3121 };
3122
3123 gpi_dma2: qcom,gpi-dma@800000 {
3124 #dma-cells = <5>;
3125 compatible = "qcom,gpi-dma";
3126 reg = <0x800000 0x70000>;
3127 reg-names = "gpi-top";
Rishabh Bhatnagar7ef15882019-01-22 11:02:09 -08003128 interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
3129 <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>,
3130 <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>,
3131 <GIC_SPI 591 IRQ_TYPE_LEVEL_HIGH>,
3132 <GIC_SPI 592 IRQ_TYPE_LEVEL_HIGH>,
3133 <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>,
3134 <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH>,
3135 <GIC_SPI 595 IRQ_TYPE_LEVEL_HIGH>,
3136 <GIC_SPI 596 IRQ_TYPE_LEVEL_HIGH>,
3137 <GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH>;
Vipin Deep Kaur1cd6ed02018-12-27 16:23:43 +05303138 qcom,max-num-gpii = <10>;
3139 qcom,gpii-mask = <0x3f>;
3140 qcom,ev-factor = <2>;
3141 iommus = <&apps_smmu 0x76 0x0>;
3142 qcom,smmu-cfg = <0x1>;
3143 qcom,iova-range = <0x0 0x100000 0x0 0x100000>;
3144 status = "ok";
3145 };
3146
Yuanyuan Liu99e0b9a2019-01-16 11:01:38 -08003147 qcom,cnss-qca6390@a0000000 {
3148 compatible = "qcom,cnss-qca6390";
3149 reg = <0xa0000000 0x10000000>,
3150 <0xb0000000 0x10000>;
3151 reg-names = "smmu_iova_base", "smmu_iova_ipa";
Yuanyuan Liu09a52092019-02-05 16:02:43 -08003152 wlan-en-gpio = <&tlmm 20 0>;
Yuanyuan Liu99e0b9a2019-01-16 11:01:38 -08003153 pinctrl-names = "wlan_en_active", "wlan_en_sleep";
3154 pinctrl-0 = <&cnss_wlan_en_active>;
3155 pinctrl-1 = <&cnss_wlan_en_sleep>;
3156 qcom,wlan-rc-num = <0>;
3157 qcom,wlan-ramdump-dynamic = <0x400000>;
Yuanyuan Liue0c49072019-02-07 16:21:09 -08003158 qcom,smmu-s1-enable;
Yuanyuan Liu99e0b9a2019-01-16 11:01:38 -08003159
Yuanyuan Liu30d201f2019-01-22 14:04:54 -08003160 vdd-wlan-aon-supply = <&pm8150_s6>;
3161 vdd-wlan-dig-supply = <&pm8009_s2>;
3162 vdd-wlan-io-supply = <&pm8150_s4>;
3163 vdd-wlan-rfa1-supply = <&pm8150_s5>;
3164 vdd-wlan-rfa2-supply = <&pm8150a_s8>;
Yuanyuan Liu8f91f4a2019-01-30 10:42:25 -08003165 wlan-ant-switch-supply = <&pm8150a_l5>;
Yuanyuan Liu30d201f2019-01-22 14:04:54 -08003166
Yuanyuan Liu99e0b9a2019-01-16 11:01:38 -08003167 mhi,max-channels = <30>;
3168 mhi,timeout = <10000>;
3169
3170 mhi_channels {
3171 #address-cells = <1>;
3172 #size-cells = <0>;
3173
3174 mhi_chan@0 {
3175 reg = <0>;
3176 label = "LOOPBACK";
3177 mhi,num-elements = <32>;
3178 mhi,event-ring = <1>;
3179 mhi,chan-dir = <1>;
3180 mhi,data-type = <0>;
3181 mhi,doorbell-mode = <2>;
3182 mhi,ee = <0x14>;
3183 };
3184
3185 mhi_chan@1 {
3186 reg = <1>;
3187 label = "LOOPBACK";
3188 mhi,num-elements = <32>;
3189 mhi,event-ring = <1>;
3190 mhi,chan-dir = <2>;
3191 mhi,data-type = <0>;
3192 mhi,doorbell-mode = <2>;
3193 mhi,ee = <0x14>;
3194 };
3195
3196 mhi_chan@4 {
3197 reg = <4>;
3198 label = "DIAG";
3199 mhi,num-elements = <32>;
3200 mhi,event-ring = <1>;
3201 mhi,chan-dir = <1>;
3202 mhi,data-type = <0>;
3203 mhi,doorbell-mode = <2>;
3204 mhi,ee = <0x14>;
3205 };
3206
3207 mhi_chan@5 {
3208 reg = <5>;
3209 label = "DIAG";
3210 mhi,num-elements = <32>;
3211 mhi,event-ring = <1>;
3212 mhi,chan-dir = <2>;
3213 mhi,data-type = <0>;
3214 mhi,doorbell-mode = <2>;
3215 mhi,ee = <0x14>;
3216 };
3217
3218 mhi_chan@20 {
3219 reg = <20>;
3220 label = "IPCR";
3221 mhi,num-elements = <32>;
3222 mhi,event-ring = <1>;
3223 mhi,chan-dir = <1>;
3224 mhi,data-type = <1>;
3225 mhi,doorbell-mode = <2>;
3226 mhi,ee = <0x14>;
3227 mhi,auto-start;
3228 };
3229
3230 mhi_chan@21 {
3231 reg = <21>;
3232 label = "IPCR";
3233 mhi,num-elements = <32>;
3234 mhi,event-ring = <1>;
3235 mhi,chan-dir = <2>;
3236 mhi,data-type = <0>;
3237 mhi,doorbell-mode = <2>;
3238 mhi,ee = <0x14>;
3239 mhi,auto-queue;
3240 mhi,auto-start;
3241 };
3242 };
3243
3244 mhi_events {
3245 mhi_event@0 {
3246 mhi,num-elements = <32>;
3247 mhi,intmod = <1>;
3248 mhi,msi = <1>;
3249 mhi,priority = <1>;
3250 mhi,brstmode = <2>;
3251 mhi,data-type = <1>;
3252 };
3253
3254 mhi_event@1 {
3255 mhi,num-elements = <256>;
3256 mhi,intmod = <1>;
3257 mhi,msi = <2>;
3258 mhi,priority = <1>;
3259 mhi,brstmode = <2>;
3260 };
3261 };
3262 };
Runmin Wang4f5985b2017-04-19 15:55:12 -07003263};
Swathi Sridhar4008eb42018-07-17 15:34:46 -07003264
David Collins61d237d2019-01-03 16:01:15 -08003265#include "kona-regulators.dtsi"
David Daib1d68482018-10-01 19:40:35 -07003266#include "kona-bus.dtsi"
Swathi Sridharbbbc80b2018-07-13 10:02:08 -07003267#include "kona-ion.dtsi"
Tony Truongc972c642018-09-12 10:03:51 -07003268#include "kona-pcie.dtsi"
Sujeev Dias5399e552018-09-18 17:57:54 -07003269#include "kona-mhi.dtsi"
Yuanyuan Liu7c4eb3f2019-02-05 19:33:03 -08003270
3271&pcie0_rp {
3272 #address-cells = <5>;
3273 #size-cells = <0>;
3274
3275 cnss_pci: cnss_pci {
3276 reg = <0 0 0 0 0>;
3277 qcom,iommu-dma = "disabled";
3278 };
3279};
3280
Swathi Sridhar4008eb42018-07-17 15:34:46 -07003281#include "msm-arm-smmu-kona.dtsi"
Rishabh Bhatnagara740b0e2018-07-20 15:08:35 -07003282#include "kona-pinctrl.dtsi"
Chris Lew86f6bde2018-09-06 16:40:39 -07003283#include "kona-smp2p.dtsi"
Hemant Kumar5f58bad2018-08-31 14:25:23 -07003284#include "kona-usb.dtsi"
Tingwei Zhang564fa692018-11-28 00:31:17 -08003285#include "kona-coresight.dtsi"
Samantha Tran7e309f02018-08-31 17:23:00 -07003286#include "kona-sde.dtsi"
Satya Rama Aditya Pinapala09600b32018-10-29 10:52:37 -07003287#include "kona-sde-pll.dtsi"
Mukund Atred454ec92018-11-05 15:32:16 -08003288
Arjun Bagla76f02ef2018-09-19 10:00:29 -07003289#include "kona-pm.dtsi"
Mukund Atred454ec92018-11-05 15:32:16 -08003290#include "kona-camera.dtsi"
Vipin Deep Kaur9a2c13d2018-12-19 18:38:46 +05303291#include "kona-qupv3.dtsi"
Karthikeyan Mani7f5b10b2019-01-16 16:35:07 -08003292#include "kona-audio.dtsi"
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08003293#include "kona-thermal.dtsi"
Chinmay Sawarkar83d01b42018-12-14 12:34:50 -08003294#include "kona-vidc.dtsi"
George Shen9c54c662018-12-26 15:50:11 -08003295#include "kona-cvp.dtsi"
Jilai Wang6fed1a22019-01-23 16:58:39 -05003296#include "kona-npu.dtsi"
Urvashi Agrawalcdc3a3a2018-09-23 15:30:24 -07003297#include "kona-gpu.dtsi"
himta rame83f1132019-01-29 18:30:27 +05303298
3299&qupv3_se15_i2c {
3300 status = "ok";
3301 nq@64 {
3302 compatible = "rtc6226";
3303 reg = <0x64>;
3304 fmint-gpio = <&tlmm 51 0>;
3305 vdd-supply = <&pm8150a_bob>;
3306 rtc6226,vdd-supply-voltage = <3300000 3300000>;
3307 vio-supply = <&pm8150_s4>;
3308 rtc6226,vio-supply-voltage = <1800000 1800000 >;
3309 };
3310};