blob: bbf815f53d35c0de138acf450ccb9dd3b6028a34 [file] [log] [blame]
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301/*
Tingwei Zhang5ac96772018-01-04 09:54:03 +08002 * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
Srinivas Ramana3cac2782017-09-13 16:31:17 +05303 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14#include "skeleton64.dtsi"
15#include <dt-bindings/gpio/gpio.h>
Kiran Gunda0954f392017-10-16 16:24:55 +053016#include <dt-bindings/spmi/spmi.h>
Kiran Gundaaf6a0b62017-10-23 16:03:10 +053017#include <dt-bindings/interrupt-controller/arm-gic.h>
Kiran Gunda0954f392017-10-16 16:24:55 +053018#include <dt-bindings/regulator/qcom,rpm-smd-regulator.h>
Shefali Jain44e24ad2017-11-23 12:27:33 +053019#include <dt-bindings/clock/msm-clocks-8953.h>
Srinivas Ramana3cac2782017-09-13 16:31:17 +053020
21/ {
Maria Yuf307a0f2017-11-24 16:34:30 +080022 model = "Qualcomm Technologies, Inc. MSM8953";
Srinivas Ramana3cac2782017-09-13 16:31:17 +053023 compatible = "qcom,msm8953";
24 qcom,msm-id = <293 0x0>;
Maria Yuf307a0f2017-11-24 16:34:30 +080025 qcom,msm-name = "MSM8953";
Srinivas Ramana3cac2782017-09-13 16:31:17 +053026 interrupt-parent = <&intc>;
27
28 chosen {
29 bootargs = "sched_enable_hmp=1 sched_enable_power_aware=1";
30 };
31
Tingwei Zhang5ac96772018-01-04 09:54:03 +080032 firmware: firmware {
33 android {
34 compatible = "android,firmware";
35 fstab {
36 compatible = "android,fstab";
37 vendor {
38 compatible = "android,vendor";
39 dev = "/dev/block/platform/soc/7824900.sdhci/by-name/vendor";
40 type = "ext4";
41 mnt_flags = "ro,barrier=1,discard";
42 fsmgr_flags = "wait";
43 status = "ok";
44 };
45 system {
46 compatible = "android,system";
47 dev = "/dev/block/platform/soc/7824900.sdhci/by-name/system";
48 type = "ext4";
49 mnt_flags = "ro,barrier=1,discard";
50 fsmgr_flags = "wait";
51 status = "ok";
52 };
53
54 };
55 };
56 };
57
Srinivas Ramana3cac2782017-09-13 16:31:17 +053058 reserved-memory {
59 #address-cells = <2>;
60 #size-cells = <2>;
61 ranges;
62
63 other_ext_mem: other_ext_region@0 {
64 compatible = "removed-dma-pool";
65 no-map;
66 reg = <0x0 0x85b00000 0x0 0xd00000>;
67 };
68
69 modem_mem: modem_region@0 {
70 compatible = "removed-dma-pool";
71 no-map-fixup;
72 reg = <0x0 0x86c00000 0x0 0x6a00000>;
73 };
74
75 adsp_fw_mem: adsp_fw_region@0 {
76 compatible = "removed-dma-pool";
77 no-map;
78 reg = <0x0 0x8d600000 0x0 0x1100000>;
79 };
80
81 wcnss_fw_mem: wcnss_fw_region@0 {
82 compatible = "removed-dma-pool";
83 no-map;
84 reg = <0x0 0x8e700000 0x0 0x700000>;
85 };
86
87 venus_mem: venus_region@0 {
88 compatible = "shared-dma-pool";
89 reusable;
90 alloc-ranges = <0x0 0x80000000 0x0 0x10000000>;
91 alignment = <0 0x400000>;
92 size = <0 0x0800000>;
93 };
94
95 secure_mem: secure_region@0 {
96 compatible = "shared-dma-pool";
97 reusable;
98 alignment = <0 0x400000>;
99 size = <0 0x09800000>;
100 };
101
102 qseecom_mem: qseecom_region@0 {
103 compatible = "shared-dma-pool";
104 reusable;
105 alignment = <0 0x400000>;
106 size = <0 0x1000000>;
107 };
108
109 adsp_mem: adsp_region@0 {
110 compatible = "shared-dma-pool";
111 reusable;
112 size = <0 0x400000>;
113 };
114
115 dfps_data_mem: dfps_data_mem@90000000 {
116 reg = <0 0x90000000 0 0x1000>;
117 label = "dfps_data_mem";
118 };
119
120 cont_splash_mem: splash_region@0x90001000 {
121 reg = <0x0 0x90001000 0x0 0x13ff000>;
122 label = "cont_splash_mem";
123 };
124
125 gpu_mem: gpu_region@0 {
126 compatible = "shared-dma-pool";
127 reusable;
128 alloc-ranges = <0x0 0x80000000 0x0 0x10000000>;
129 alignment = <0 0x400000>;
130 size = <0 0x800000>;
131 };
132 };
133
134 aliases {
135 /* smdtty devices */
Arun Kumar Neelakantam36151aa2017-11-02 21:34:33 +0530136 smd1 = &smdtty_apps_fm;
137 smd2 = &smdtty_apps_riva_bt_acl;
138 smd3 = &smdtty_apps_riva_bt_cmd;
139 smd4 = &smdtty_mbalbridge;
140 smd5 = &smdtty_apps_riva_ant_cmd;
141 smd6 = &smdtty_apps_riva_ant_data;
142 smd7 = &smdtty_data1;
143 smd8 = &smdtty_data4;
144 smd11 = &smdtty_data11;
145 smd21 = &smdtty_data21;
146 smd36 = &smdtty_loopback;
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530147 sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
148 sdhc2 = &sdhc_2; /* SDC2 for SD card */
Shrey Vijay88eddb52017-11-30 14:47:52 +0530149 i2c2 = &i2c_2;
150 i2c3 = &i2c_3;
151 i2c5 = &i2c_5;
152 spi3 = &spi_3;
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530153 };
154
155 soc: soc { };
156
157};
158
159#include "msm8953-pinctrl.dtsi"
160#include "msm8953-cpu.dtsi"
Raju P.L.S.S.S.Ne0b22c92017-11-02 13:42:27 +0530161#include "msm8953-pm.dtsi"
Odelu Kukatla1a811042017-10-29 17:26:44 +0530162#include "msm8953-bus.dtsi"
Mukesh Ojhae07d80e2017-11-28 20:22:44 +0530163#include "msm8953-coresight.dtsi"
Charan Teja Reddy6f1f8292017-12-26 20:54:26 +0530164#include "msm8953-ion.dtsi"
Charan Teja Reddyf20a02f2017-10-20 11:12:39 +0530165#include "msm-arm-smmu-8953.dtsi"
Sunil Khatrifc03ac62018-01-03 12:31:08 +0530166#include "msm8953-gpu.dtsi"
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530167
168&soc {
169 #address-cells = <1>;
170 #size-cells = <1>;
171 ranges = <0 0 0 0xffffffff>;
172 compatible = "simple-bus";
173
Mukesh Ojhae07d80e2017-11-28 20:22:44 +0530174 dcc: dcc@b3000 {
175 compatible = "qcom,dcc";
176 reg = <0xb3000 0x1000>,
177 <0xb4000 0x800>;
178 reg-names = "dcc-base", "dcc-ram-base";
179
180 clocks = <&clock_gcc clk_gcc_dcc_clk>;
181 clock-names = "apb_pclk";
182 qcom,save-reg;
183 };
184
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530185 apc_apm: apm@b111000 {
186 compatible = "qcom,msm8953-apm";
187 reg = <0xb111000 0x1000>;
188 reg-names = "pm-apcc-glb";
189 qcom,apm-post-halt-delay = <0x2>;
190 qcom,apm-halt-clk-delay = <0x11>;
191 qcom,apm-resume-clk-delay = <0x10>;
192 qcom,apm-sel-switch-delay = <0x01>;
193 };
194
195 intc: interrupt-controller@b000000 {
196 compatible = "qcom,msm-qgic2";
197 interrupt-controller;
198 #interrupt-cells = <3>;
199 reg = <0x0b000000 0x1000>,
200 <0x0b002000 0x1000>;
201 };
202
203 qcom,msm-gladiator@b1c0000 {
204 compatible = "qcom,msm-gladiator";
205 reg = <0x0b1c0000 0x4000>;
206 reg-names = "gladiator_base";
207 interrupts = <0 22 0>;
208 };
209
210 timer {
211 compatible = "arm,armv8-timer";
212 interrupts = <1 2 0xff08>,
213 <1 3 0xff08>,
214 <1 4 0xff08>,
215 <1 1 0xff08>;
216 clock-frequency = <19200000>;
217 };
218
219 timer@b120000 {
220 #address-cells = <1>;
221 #size-cells = <1>;
222 ranges;
223 compatible = "arm,armv7-timer-mem";
224 reg = <0xb120000 0x1000>;
225 clock-frequency = <19200000>;
226
227 frame@b121000 {
228 frame-number = <0>;
229 interrupts = <0 8 0x4>,
230 <0 7 0x4>;
231 reg = <0xb121000 0x1000>,
232 <0xb122000 0x1000>;
233 };
234
235 frame@b123000 {
236 frame-number = <1>;
237 interrupts = <0 9 0x4>;
238 reg = <0xb123000 0x1000>;
239 status = "disabled";
240 };
241
242 frame@b124000 {
243 frame-number = <2>;
244 interrupts = <0 10 0x4>;
245 reg = <0xb124000 0x1000>;
246 status = "disabled";
247 };
248
249 frame@b125000 {
250 frame-number = <3>;
251 interrupts = <0 11 0x4>;
252 reg = <0xb125000 0x1000>;
253 status = "disabled";
254 };
255
256 frame@b126000 {
257 frame-number = <4>;
258 interrupts = <0 12 0x4>;
259 reg = <0xb126000 0x1000>;
260 status = "disabled";
261 };
262
263 frame@b127000 {
264 frame-number = <5>;
265 interrupts = <0 13 0x4>;
266 reg = <0xb127000 0x1000>;
267 status = "disabled";
268 };
269
270 frame@b128000 {
271 frame-number = <6>;
272 interrupts = <0 14 0x4>;
273 reg = <0xb128000 0x1000>;
274 status = "disabled";
275 };
276 };
277 qcom,rmtfs_sharedmem@00000000 {
278 compatible = "qcom,sharedmem-uio";
279 reg = <0x00000000 0x00180000>;
280 reg-names = "rmtfs";
281 qcom,client-id = <0x00000001>;
282 };
283
284 restart@4ab000 {
285 compatible = "qcom,pshold";
286 reg = <0x4ab000 0x4>,
287 <0x193d100 0x4>;
288 reg-names = "pshold-base", "tcsr-boot-misc-detect";
289 };
290
291 qcom,mpm2-sleep-counter@4a3000 {
292 compatible = "qcom,mpm2-sleep-counter";
293 reg = <0x4a3000 0x1000>;
294 clock-frequency = <32768>;
295 };
296
297 cpu-pmu {
298 compatible = "arm,armv8-pmuv3";
299 interrupts = <1 7 0xff00>;
300 };
301
302 qcom,sps {
303 compatible = "qcom,msm_sps_4k";
304 qcom,pipe-attr-ee;
305 };
306
Manaf Meethalavalappu Pallikunhi4eb2b272018-01-02 17:29:37 +0530307 thermal_zones: thermal-zones {};
Ashok Jammigumpuladb43f572017-12-06 18:05:57 +0530308
309 tsens0: tsens@4a8000 {
310 compatible = "qcom,msm8953-tsens";
311 reg = <0x4a8000 0x1000>,
312 <0x4a9000 0x1000>;
313 reg-names = "tsens_srot_physical",
314 "tsens_tm_physical";
315 interrupts = <0 184 0>, <0 314 0>;
316 interrupt-names = "tsens-upper-lower", "tsens-critical";
317 #thermal-sensor-cells = <1>;
318 };
319
mohamed sunfeer2bfd8c82017-11-30 13:08:36 +0530320 qcom_seecom: qseecom@85b00000 {
321 compatible = "qcom,qseecom";
322 reg = <0x85b00000 0x800000>;
323 reg-names = "secapp-region";
324 qcom,hlos-num-ce-hw-instances = <1>;
325 qcom,hlos-ce-hw-instance = <0>;
326 qcom,qsee-ce-hw-instance = <0>;
327 qcom,disk-encrypt-pipe-pair = <2>;
328 qcom,support-fde;
329 qcom,msm-bus,name = "qseecom-noc";
330 qcom,msm-bus,num-cases = <4>;
331 qcom,msm-bus,num-paths = <1>;
332 qcom,support-bus-scaling;
333 qcom,msm-bus,vectors-KBps =
334 <55 512 0 0>,
335 <55 512 0 0>,
336 <55 512 120000 1200000>,
337 <55 512 393600 3936000>;
338 clocks = <&clock_gcc clk_crypto_clk_src>,
339 <&clock_gcc clk_gcc_crypto_clk>,
340 <&clock_gcc clk_gcc_crypto_ahb_clk>,
341 <&clock_gcc clk_gcc_crypto_axi_clk>;
342 clock-names = "core_clk_src", "core_clk",
343 "iface_clk", "bus_clk";
344 qcom,ce-opp-freq = <100000000>;
Brahmaji K22191832017-12-27 13:42:35 +0530345 status = "okay";
mohamed sunfeer2bfd8c82017-11-30 13:08:36 +0530346 };
347
mohamed sunfeerd9761e62017-11-30 13:33:02 +0530348 qcom_tzlog: tz-log@08600720 {
349 compatible = "qcom,tz-log";
350 reg = <0x08600720 0x2000>;
Brahmaji K22191832017-12-27 13:42:35 +0530351 status = "okay";
mohamed sunfeerd9761e62017-11-30 13:33:02 +0530352 };
353
mohamed sunfeer0d623222017-11-30 13:51:20 +0530354 qcom_rng: qrng@e3000 {
355 compatible = "qcom,msm-rng";
356 reg = <0xe3000 0x1000>;
357 qcom,msm-rng-iface-clk;
358 qcom,no-qrng-config;
359 qcom,msm-bus,name = "msm-rng-noc";
360 qcom,msm-bus,num-cases = <2>;
361 qcom,msm-bus,num-paths = <1>;
362 qcom,msm-bus,vectors-KBps =
363 <1 618 0 0>, /* No vote */
364 <1 618 0 800>; /* 100 MB/s */
365 clocks = <&clock_gcc clk_gcc_prng_ahb_clk>;
366 clock-names = "iface_clk";
Brahmaji K22191832017-12-27 13:42:35 +0530367 status = "okay";
mohamed sunfeer0d623222017-11-30 13:51:20 +0530368 };
369
mohamed sunfeer1f6a4e02017-11-30 14:07:28 +0530370 qcom_crypto: qcrypto@720000 {
371 compatible = "qcom,qcrypto";
372 reg = <0x720000 0x20000>,
373 <0x704000 0x20000>;
374 reg-names = "crypto-base","crypto-bam-base";
375 interrupts = <0 207 0>;
376 qcom,bam-pipe-pair = <2>;
377 qcom,ce-hw-instance = <0>;
378 qcom,ce-device = <0>;
379 qcom,ce-hw-shared;
380 qcom,clk-mgmt-sus-res;
381 qcom,msm-bus,name = "qcrypto-noc";
382 qcom,msm-bus,num-cases = <2>;
383 qcom,msm-bus,num-paths = <1>;
384 qcom,msm-bus,vectors-KBps =
385 <55 512 0 0>,
386 <55 512 393600 393600>;
387 clocks = <&clock_gcc clk_crypto_clk_src>,
388 <&clock_gcc clk_gcc_crypto_clk>,
389 <&clock_gcc clk_gcc_crypto_ahb_clk>,
390 <&clock_gcc clk_gcc_crypto_axi_clk>;
391 clock-names = "core_clk_src", "core_clk",
392 "iface_clk", "bus_clk";
393 qcom,use-sw-aes-cbc-ecb-ctr-algo;
394 qcom,use-sw-aes-xts-algo;
395 qcom,use-sw-aes-ccm-algo;
396 qcom,use-sw-ahash-algo;
397 qcom,use-sw-hmac-algo;
398 qcom,use-sw-aead-algo;
399 qcom,ce-opp-freq = <100000000>;
Brahmaji K22191832017-12-27 13:42:35 +0530400 status = "okay";
mohamed sunfeer1f6a4e02017-11-30 14:07:28 +0530401 };
402
403 qcom_cedev: qcedev@720000 {
404 compatible = "qcom,qcedev";
405 reg = <0x720000 0x20000>,
406 <0x704000 0x20000>;
407 reg-names = "crypto-base","crypto-bam-base";
408 interrupts = <0 207 0>;
409 qcom,bam-pipe-pair = <1>;
410 qcom,ce-hw-instance = <0>;
411 qcom,ce-device = <0>;
412 qcom,ce-hw-shared;
413 qcom,msm-bus,name = "qcedev-noc";
414 qcom,msm-bus,num-cases = <2>;
415 qcom,msm-bus,num-paths = <1>;
416 qcom,msm-bus,vectors-KBps =
417 <55 512 0 0>,
418 <55 512 393600 393600>;
419 clocks = <&clock_gcc clk_crypto_clk_src>,
420 <&clock_gcc clk_gcc_crypto_clk>,
421 <&clock_gcc clk_gcc_crypto_ahb_clk>,
422 <&clock_gcc clk_gcc_crypto_axi_clk>;
423 clock-names = "core_clk_src", "core_clk",
424 "iface_clk", "bus_clk";
425 qcom,ce-opp-freq = <100000000>;
Brahmaji K22191832017-12-27 13:42:35 +0530426 status = "okay";
mohamed sunfeer1f6a4e02017-11-30 14:07:28 +0530427 };
428
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530429 blsp1_uart0: serial@78af000 {
430 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
431 reg = <0x78af000 0x200>;
432 interrupts = <0 107 0>;
Maria Yuaf0e9252017-11-30 19:58:44 +0800433 clocks = <&clock_gcc clk_gcc_blsp1_uart1_apps_clk>,
434 <&clock_gcc clk_gcc_blsp1_ahb_clk>;
435 clock-names = "core", "iface";
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530436 status = "disabled";
437 };
438
Shrey Vijay88eddb52017-11-30 14:47:52 +0530439 blsp1_uart1: uart@78b0000 {
440 compatible = "qcom,msm-hsuart-v14";
441 reg = <0x78b0000 0x200>,
442 <0x7884000 0x1f000>;
443 reg-names = "core_mem", "bam_mem";
444
445 interrupt-names = "core_irq", "bam_irq", "wakeup_irq";
446 #address-cells = <0>;
447 interrupt-parent = <&blsp1_uart1>;
448 interrupts = <0 1 2>;
449 #interrupt-cells = <1>;
450 interrupt-map-mask = <0xffffffff>;
451 interrupt-map = <0 &intc 0 108 0
452 1 &intc 0 238 0
453 2 &tlmm 13 0>;
454
455 qcom,inject-rx-on-wakeup;
456 qcom,rx-char-to-inject = <0xFD>;
457 qcom,master-id = <86>;
458 clock-names = "core_clk", "iface_clk";
459 clocks = <&clock_gcc clk_gcc_blsp1_uart2_apps_clk>,
460 <&clock_gcc clk_gcc_blsp1_ahb_clk>;
461 pinctrl-names = "sleep", "default";
462 pinctrl-0 = <&hsuart_sleep>;
463 pinctrl-1 = <&hsuart_active>;
464 qcom,bam-tx-ep-pipe-index = <2>;
465 qcom,bam-rx-ep-pipe-index = <3>;
466 qcom,msm-bus,name = "blsp1_uart1";
467 qcom,msm-bus,num-cases = <2>;
468 qcom,msm-bus,num-paths = <1>;
469 qcom,msm-bus,vectors-KBps =
470 <86 512 0 0>,
471 <86 512 500 800>;
472 status = "disabled";
473 };
474
475 blsp2_uart0: uart@7aef000 {
476 compatible = "qcom,msm-hsuart-v14";
477 reg = <0x7aef000 0x200>,
478 <0x7ac4000 0x1f000>;
479 reg-names = "core_mem", "bam_mem";
480
481 interrupt-names = "core_irq", "bam_irq", "wakeup_irq";
482 #address-cells = <0>;
483 interrupt-parent = <&blsp2_uart0>;
484 interrupts = <0 1 2>;
485 #interrupt-cells = <1>;
486 interrupt-map-mask = <0xffffffff>;
487 interrupt-map = <0 &intc 0 306 0
488 1 &intc 0 239 0
489 2 &tlmm 17 0>;
490
491 qcom,inject-rx-on-wakeup;
492 qcom,rx-char-to-inject = <0xFD>;
493 qcom,master-id = <84>;
494 clock-names = "core_clk", "iface_clk";
495 clocks = <&clock_gcc clk_gcc_blsp2_uart1_apps_clk>,
496 <&clock_gcc clk_gcc_blsp2_ahb_clk>;
497 pinctrl-names = "sleep", "default";
498 pinctrl-0 = <&blsp2_uart0_sleep>;
499 pinctrl-1 = <&blsp2_uart0_active>;
500 qcom,bam-tx-ep-pipe-index = <0>;
501 qcom,bam-rx-ep-pipe-index = <1>;
502 qcom,msm-bus,name = "blsp2_uart0";
503 qcom,msm-bus,num-cases = <2>;
504 qcom,msm-bus,num-paths = <1>;
505 qcom,msm-bus,vectors-KBps =
506 <84 512 0 0>,
507 <84 512 500 800>;
508 status = "disabled";
509 };
510
Maria Yuf16c1602017-12-22 13:05:17 +0800511 blsp1_serial1: serial@78b0000 {
512 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
513 reg = <0x78b0000 0x200>;
514 interrupts = <0 108 0>;
515 clocks = <&clock_gcc clk_gcc_blsp1_uart2_apps_clk>,
516 <&clock_gcc clk_gcc_blsp1_ahb_clk>;
517 clock-names = "core", "iface";
518 status = "disabled";
519 };
520
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530521 dma_blsp1: qcom,sps-dma@7884000 { /* BLSP1 */
522 #dma-cells = <4>;
523 compatible = "qcom,sps-dma";
524 reg = <0x7884000 0x1f000>;
525 interrupts = <0 238 0>;
526 qcom,summing-threshold = <10>;
527 };
528
529 dma_blsp2: qcom,sps-dma@7ac4000 { /* BLSP2 */
530 #dma-cells = <4>;
531 compatible = "qcom,sps-dma";
532 reg = <0x7ac4000 0x1f000>;
533 interrupts = <0 239 0>;
534 qcom,summing-threshold = <10>;
535 };
536
Shrey Vijay88eddb52017-11-30 14:47:52 +0530537 spi_3: spi@78b7000 { /* BLSP1 QUP3 */
538 compatible = "qcom,spi-qup-v2";
539 #address-cells = <1>;
540 #size-cells = <0>;
541 reg-names = "spi_physical", "spi_bam_physical";
542 reg = <0x78b7000 0x600>,
543 <0x7884000 0x1f000>;
544 interrupt-names = "spi_irq", "spi_bam_irq";
545 interrupts = <0 97 0>, <0 238 0>;
546 spi-max-frequency = <19200000>;
547 pinctrl-names = "spi_default", "spi_sleep";
548 pinctrl-0 = <&spi3_default &spi3_cs0_active>;
549 pinctrl-1 = <&spi3_sleep &spi3_cs0_sleep>;
550 clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
551 <&clock_gcc clk_gcc_blsp1_qup3_spi_apps_clk>;
552 clock-names = "iface_clk", "core_clk";
553 qcom,infinite-mode = <0>;
554 qcom,use-bam;
555 qcom,use-pinctrl;
556 qcom,ver-reg-exists;
557 qcom,bam-consumer-pipe-index = <8>;
558 qcom,bam-producer-pipe-index = <9>;
559 qcom,master-id = <86>;
560 status = "disabled";
561 };
562
563 i2c_2: i2c@78b6000 { /* BLSP1 QUP2 */
564 compatible = "qcom,i2c-msm-v2";
565 #address-cells = <1>;
566 #size-cells = <0>;
567 reg-names = "qup_phys_addr";
568 reg = <0x78b6000 0x600>;
569 interrupt-names = "qup_irq";
570 interrupts = <0 96 0>;
571 qcom,clk-freq-out = <400000>;
572 qcom,clk-freq-in = <19200000>;
573 clock-names = "iface_clk", "core_clk";
574 clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
575 <&clock_gcc clk_gcc_blsp1_qup2_i2c_apps_clk>;
576
577 pinctrl-names = "i2c_active", "i2c_sleep";
578 pinctrl-0 = <&i2c_2_active>;
579 pinctrl-1 = <&i2c_2_sleep>;
580 qcom,noise-rjct-scl = <0>;
581 qcom,noise-rjct-sda = <0>;
582 qcom,master-id = <86>;
583 dmas = <&dma_blsp1 6 64 0x20000020 0x20>,
584 <&dma_blsp1 7 32 0x20000020 0x20>;
585 dma-names = "tx", "rx";
586 status = "disabled";
587 };
588
589 i2c_3: i2c@78b7000 { /* BLSP1 QUP3 */
590 compatible = "qcom,i2c-msm-v2";
591 #address-cells = <1>;
592 #size-cells = <0>;
593 reg-names = "qup_phys_addr";
594 reg = <0x78b7000 0x600>;
595 interrupt-names = "qup_irq";
596 interrupts = <0 97 0>;
597 qcom,clk-freq-out = <400000>;
598 qcom,clk-freq-in = <19200000>;
599 clock-names = "iface_clk", "core_clk";
600 clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
601 <&clock_gcc clk_gcc_blsp1_qup3_i2c_apps_clk>;
602
603 pinctrl-names = "i2c_active", "i2c_sleep";
604 pinctrl-0 = <&i2c_3_active>;
605 pinctrl-1 = <&i2c_3_sleep>;
606 qcom,noise-rjct-scl = <0>;
607 qcom,noise-rjct-sda = <0>;
608 qcom,master-id = <86>;
609 dmas = <&dma_blsp1 8 64 0x20000020 0x20>,
610 <&dma_blsp1 9 32 0x20000020 0x20>;
611 dma-names = "tx", "rx";
612 status = "disabled";
613 };
614
615 i2c_5: i2c@7af5000 { /* BLSP2 QUP1 */
616 compatible = "qcom,i2c-msm-v2";
617 #address-cells = <1>;
618 #size-cells = <0>;
619 reg-names = "qup_phys_addr";
620 reg = <0x7af5000 0x600>;
621 interrupt-names = "qup_irq";
622 interrupts = <0 299 0>;
623 qcom,clk-freq-out = <400000>;
624 qcom,clk-freq-in = <19200000>;
625 clock-names = "iface_clk", "core_clk";
626 clocks = <&clock_gcc clk_gcc_blsp2_ahb_clk>,
627 <&clock_gcc clk_gcc_blsp2_qup1_i2c_apps_clk>;
628
629 pinctrl-names = "i2c_active", "i2c_sleep";
630 pinctrl-0 = <&i2c_5_active>;
631 pinctrl-1 = <&i2c_5_sleep>;
632 qcom,noise-rjct-scl = <0>;
633 qcom,noise-rjct-sda = <0>;
634 qcom,master-id = <84>;
635 dmas = <&dma_blsp2 4 64 0x20000020 0x20>,
636 <&dma_blsp2 5 32 0x20000020 0x20>;
637 dma-names = "tx", "rx";
638 status = "disabled";
639 };
640
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530641 slim_msm: slim@c140000{
642 cell-index = <1>;
643 compatible = "qcom,slim-ngd";
644 reg = <0xc140000 0x2c000>,
645 <0xc104000 0x2a000>;
646 reg-names = "slimbus_physical", "slimbus_bam_physical";
647 interrupts = <0 163 0>, <0 180 0>;
648 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
649 qcom,apps-ch-pipes = <0x600000>;
650 qcom,ea-pc = <0x200>;
651 status = "disabled";
652 };
653
Shefali Jain44e24ad2017-11-23 12:27:33 +0530654 clock_gcc: qcom,gcc@1800000 {
655 compatible = "qcom,gcc-8953";
656 reg = <0x1800000 0x80000>,
657 <0x00a4124 0x08>;
658 reg-names = "cc_base", "efuse";
659 vdd_dig-supply = <&pm8953_s2_level>;
660 #clock-cells = <1>;
661 #reset-cells = <1>;
662 };
663
664 clock_debug: qcom,cc-debug@1874000 {
665 compatible = "qcom,cc-debug-8953";
666 reg = <0x1874000 0x4>;
667 reg-names = "cc_base";
668 clocks = <&clock_cpu clk_cpu_debug_pri_mux>;
669 clock-names = "debug_cpu_clk";
670 #clock-cells = <1>;
671 };
672
673 clock_gcc_gfx: qcom,gcc-gfx@1800000 {
674 compatible = "qcom,gcc-gfx-8953";
675 reg = <0x1800000 0x80000>;
676 reg-names = "cc_base";
677 vdd_gfx-supply = <&gfx_vreg_corner>;
Amit Nischal6b27af62018-01-17 18:01:18 +0530678 clocks = <&clock_gcc clk_xo_clk_src>;
679 clock-names = "xo";
Shefali Jain44e24ad2017-11-23 12:27:33 +0530680 qcom,gfxfreq-corner =
681 < 0 0 >,
682 < 133330000 1 >, /* Min SVS */
683 < 216000000 2 >, /* Low SVS */
684 < 320000000 3 >, /* SVS */
685 < 400000000 4 >, /* SVS Plus */
686 < 510000000 5 >, /* NOM */
687 < 560000000 6 >, /* Nom Plus */
688 < 650000000 7 >; /* Turbo */
689 #clock-cells = <1>;
690 };
691
692 clock_cpu: qcom,cpu-clock-8953@b116000 {
693 compatible = "qcom,cpu-clock-8953";
694 reg = <0xb114000 0x68>,
695 <0xb014000 0x68>,
696 <0xb116000 0x400>,
697 <0xb111050 0x08>,
698 <0xb011050 0x08>,
699 <0xb1d1050 0x08>,
700 <0x00a4124 0x08>;
701 reg-names = "rcgwr-c0-base", "rcgwr-c1-base",
702 "c0-pll", "c0-mux", "c1-mux",
703 "cci-mux", "efuse";
704 vdd-mx-supply = <&pm8953_s7_level_ao>;
705 vdd-cl-supply = <&apc_vreg>;
706 clocks = <&clock_gcc clk_xo_a_clk_src>;
707 clock-names = "xo_a";
708 qcom,num-clusters = <2>;
709 qcom,speed0-bin-v0-cl =
710 < 0 0>,
711 < 652800000 1>,
712 < 1036800000 2>,
713 < 1401600000 3>,
714 < 1689600000 4>,
715 < 1804800000 5>,
716 < 1958400000 6>,
717 < 2016000000 7>;
718 qcom,speed0-bin-v0-cci =
719 < 0 0>,
720 < 261120000 1>,
721 < 414720000 2>,
722 < 560640000 3>,
723 < 675840000 4>,
724 < 721920000 5>,
725 < 783360000 6>,
726 < 806400000 7>;
727 qcom,speed2-bin-v0-cl =
728 < 0 0>,
729 < 652800000 1>,
730 < 1036800000 2>,
731 < 1401600000 3>,
732 < 1689600000 4>,
733 < 1804800000 5>,
734 < 1958400000 6>,
735 < 2016000000 7>;
736 qcom,speed2-bin-v0-cci =
737 < 0 0>,
738 < 261120000 1>,
739 < 414720000 2>,
740 < 560640000 3>,
741 < 675840000 4>,
742 < 721920000 5>,
743 < 783360000 6>,
744 < 806400000 7>;
745 qcom,speed7-bin-v0-cl =
746 < 0 0>,
747 < 652800000 1>,
748 < 1036800000 2>,
749 < 1401600000 3>,
750 < 1689600000 4>,
751 < 1804800000 5>,
752 < 1958400000 6>,
753 < 2016000000 7>,
754 < 2150400000 8>,
755 < 2208000000 9>;
756 qcom,speed7-bin-v0-cci =
757 < 0 0>,
758 < 261120000 1>,
759 < 414720000 2>,
760 < 560640000 3>,
761 < 675840000 4>,
762 < 721920000 5>,
763 < 783360000 6>,
764 < 806400000 7>,
765 < 860160000 8>,
766 < 883200000 9>;
767 qcom,speed6-bin-v0-cl =
768 < 0 0>,
769 < 652800000 1>,
770 < 1036800000 2>,
771 < 1401600000 3>,
772 < 1689600000 4>,
773 < 1804800000 5>;
774 qcom,speed6-bin-v0-cci =
775 < 0 0>,
776 < 261120000 1>,
777 < 414720000 2>,
778 < 560640000 3>,
779 < 675840000 4>,
780 < 721920000 5>;
781 #clock-cells = <1>;
Maria Yub90c5482017-12-01 13:28:56 +0800782 };
783
784 msm_cpufreq: qcom,msm-cpufreq {
785 compatible = "qcom,msm-cpufreq";
786 clock-names = "l2_clk", "cpu0_clk", "cpu1_clk", "cpu2_clk",
787 "cpu3_clk", "cpu4_clk", "cpu5_clk",
788 "cpu6_clk", "cpu7_clk";
789 clocks = <&clock_cpu clk_cci_clk>,
790 <&clock_cpu clk_a53_pwr_clk>,
791 <&clock_cpu clk_a53_pwr_clk>,
792 <&clock_cpu clk_a53_pwr_clk>,
793 <&clock_cpu clk_a53_pwr_clk>,
794 <&clock_cpu clk_a53_pwr_clk>,
795 <&clock_cpu clk_a53_pwr_clk>,
796 <&clock_cpu clk_a53_pwr_clk>,
797 <&clock_cpu clk_a53_pwr_clk>;
798
799 qcom,cpufreq-table =
800 < 652800 >,
801 < 1036800 >,
802 < 1401600 >,
803 < 1689600 >,
804 < 1804800 >,
805 < 1958400 >,
806 < 2016000 >,
807 < 2150400 >,
808 < 2208000 >;
Shefali Jain44e24ad2017-11-23 12:27:33 +0530809 };
810
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530811 cpubw: qcom,cpubw {
812 compatible = "qcom,devbw";
813 governor = "cpufreq";
814 qcom,src-dst-ports = <1 512>;
815 qcom,active-only;
816 qcom,bw-tbl =
817 < 769 /* 100.8 MHz */ >,
818 < 1611 /* 211.2 MHz */ >, /*Low SVS*/
819 < 2124 /* 278.4 MHz */ >,
820 < 2929 /* 384 MHz */ >,
821 < 3221 /* 422.4 MHz */ >, /* SVS */
822 < 4248 /* 556.8 MHz */ >,
823 < 5126 /* 672 MHz */ >,
824 < 5859 /* 768 MHz */ >, /* SVS+ */
825 < 6152 /* 806.4 MHz */ >,
826 < 6445 /* 844.8 MHz */ >, /* NOM */
827 < 7104 /* 931.2 MHz */ >; /* TURBO */
828 };
829
830 mincpubw: qcom,mincpubw {
831 compatible = "qcom,devbw";
832 governor = "cpufreq";
833 qcom,src-dst-ports = <1 512>;
834 qcom,active-only;
835 qcom,bw-tbl =
836 < 769 /* 100.8 MHz */ >,
837 < 1611 /* 211.2 MHz */ >, /*Low SVS*/
838 < 2124 /* 278.4 MHz */ >,
839 < 2929 /* 384 MHz */ >,
840 < 3221 /* 422.4 MHz */ >, /* SVS */
841 < 4248 /* 556.8 MHz */ >,
842 < 5126 /* 672 MHz */ >,
843 < 5859 /* 768 MHz */ >, /* SVS+ */
844 < 6152 /* 806.4 MHz */ >,
845 < 6445 /* 844.8 MHz */ >, /* NOM */
846 < 7104 /* 931.2 MHz */ >; /* TURBO */
847 };
848
849 qcom,cpu-bwmon {
850 compatible = "qcom,bimc-bwmon2";
851 reg = <0x408000 0x300>, <0x401000 0x200>;
852 reg-names = "base", "global_base";
853 interrupts = <0 183 4>;
854 qcom,mport = <0>;
855 qcom,target-dev = <&cpubw>;
856 };
857
858 devfreq-cpufreq {
859 cpubw-cpufreq {
860 target-dev = <&cpubw>;
861 cpu-to-dev-map =
862 < 652800 1611>,
863 < 1036800 3221>,
864 < 1401600 5859>,
865 < 1689600 6445>,
866 < 1804800 7104>,
867 < 1958400 7104>,
868 < 2208000 7104>;
869 };
870
871 mincpubw-cpufreq {
872 target-dev = <&mincpubw>;
873 cpu-to-dev-map =
874 < 652800 1611 >,
875 < 1401600 3221 >,
876 < 2208000 5859 >;
877 };
878 };
879
Jonathan Avilac7a6fd52017-10-12 15:24:05 -0700880 cpubw_compute: qcom,cpubw-compute {
881 compatible = "qcom,arm-cpu-mon";
882 qcom,cpulist = < &CPU0 &CPU1 &CPU2 &CPU3
883 &CPU4 &CPU5 &CPU6 &CPU7 >;
884 qcom,target-dev = <&cpubw>;
885 qcom,core-dev-table =
886 < 652800 1611>,
887 < 1036800 3221>,
888 < 1401600 5859>,
889 < 1689600 6445>,
890 < 1804800 7104>,
891 < 1958400 7104>,
892 < 2208000 7104>;
893 };
894
895 mincpubw_compute: qcom,mincpubw-compute {
896 compatible = "qcom,arm-cpu-mon";
897 qcom,cpulist = < &CPU0 &CPU1 &CPU2 &CPU3
898 &CPU4 &CPU5 &CPU6 &CPU7 >;
899 qcom,target-dev = <&mincpubw>;
900 qcom,core-dev-table =
901 < 652800 1611 >,
902 < 1401600 3221 >,
903 < 2208000 5859 >;
904 };
905
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530906 qcom,ipc-spinlock@1905000 {
907 compatible = "qcom,ipc-spinlock-sfpb";
908 reg = <0x1905000 0x8000>;
909 qcom,num-locks = <8>;
910 };
911
912 qcom,smem@86300000 {
913 compatible = "qcom,smem";
914 reg = <0x86300000 0x100000>,
915 <0x0b011008 0x4>,
916 <0x60000 0x8000>,
917 <0x193d000 0x8>;
918 reg-names = "smem", "irq-reg-base",
919 "aux-mem1", "smem_targ_info_reg";
920 qcom,mpu-enabled;
921
922 qcom,smd-modem {
923 compatible = "qcom,smd";
924 qcom,smd-edge = <0>;
925 qcom,smd-irq-offset = <0x0>;
926 qcom,smd-irq-bitmask = <0x1000>;
927 interrupts = <0 25 1>;
928 label = "modem";
929 qcom,not-loadable;
930 };
931
932 qcom,smsm-modem {
933 compatible = "qcom,smsm";
934 qcom,smsm-edge = <0>;
935 qcom,smsm-irq-offset = <0x0>;
936 qcom,smsm-irq-bitmask = <0x2000>;
937 interrupts = <0 26 1>;
938 };
939
940 qcom,smd-wcnss {
941 compatible = "qcom,smd";
942 qcom,smd-edge = <6>;
943 qcom,smd-irq-offset = <0x0>;
944 qcom,smd-irq-bitmask = <0x20000>;
945 interrupts = <0 142 1>;
946 label = "wcnss";
947 };
948
949 qcom,smsm-wcnss {
950 compatible = "qcom,smsm";
951 qcom,smsm-edge = <6>;
952 qcom,smsm-irq-offset = <0x0>;
953 qcom,smsm-irq-bitmask = <0x80000>;
954 interrupts = <0 144 1>;
955 };
956
957 qcom,smd-adsp {
958 compatible = "qcom,smd";
959 qcom,smd-edge = <1>;
960 qcom,smd-irq-offset = <0x0>;
961 qcom,smd-irq-bitmask = <0x100>;
962 interrupts = <0 289 1>;
963 label = "adsp";
964 };
965
966 qcom,smsm-adsp {
967 compatible = "qcom,smsm";
968 qcom,smsm-edge = <1>;
969 qcom,smsm-irq-offset = <0x0>;
970 qcom,smsm-irq-bitmask = <0x200>;
971 interrupts = <0 290 1>;
972 };
973
974 qcom,smd-rpm {
975 compatible = "qcom,smd";
976 qcom,smd-edge = <15>;
977 qcom,smd-irq-offset = <0x0>;
978 qcom,smd-irq-bitmask = <0x1>;
979 interrupts = <0 168 1>;
980 label = "rpm";
981 qcom,irq-no-suspend;
982 qcom,not-loadable;
983 };
984 };
985
Arun Kumar Neelakantam36151aa2017-11-02 21:34:33 +0530986 qcom,smdtty {
987 compatible = "qcom,smdtty";
988
989 smdtty_apps_fm: qcom,smdtty-apps-fm {
990 qcom,smdtty-remote = "wcnss";
991 qcom,smdtty-port-name = "APPS_FM";
992 };
993
994 smdtty_apps_riva_bt_acl: smdtty-apps-riva-bt-acl {
995 qcom,smdtty-remote = "wcnss";
996 qcom,smdtty-port-name = "APPS_RIVA_BT_ACL";
997 };
998
999 smdtty_apps_riva_bt_cmd: qcom,smdtty-apps-riva-bt-cmd {
1000 qcom,smdtty-remote = "wcnss";
1001 qcom,smdtty-port-name = "APPS_RIVA_BT_CMD";
1002 };
1003
1004 smdtty_mbalbridge: qcom,smdtty-mbalbridge {
1005 qcom,smdtty-remote = "modem";
1006 qcom,smdtty-port-name = "MBALBRIDGE";
1007 };
1008
1009 smdtty_apps_riva_ant_cmd: smdtty-apps-riva-ant-cmd {
1010 qcom,smdtty-remote = "wcnss";
1011 qcom,smdtty-port-name = "APPS_RIVA_ANT_CMD";
1012 };
1013
1014 smdtty_apps_riva_ant_data: smdtty-apps-riva-ant-data {
1015 qcom,smdtty-remote = "wcnss";
1016 qcom,smdtty-port-name = "APPS_RIVA_ANT_DATA";
1017 };
1018
1019 smdtty_data1: qcom,smdtty-data1 {
1020 qcom,smdtty-remote = "modem";
1021 qcom,smdtty-port-name = "DATA1";
1022 };
1023
1024 smdtty_data4: qcom,smdtty-data4 {
1025 qcom,smdtty-remote = "modem";
1026 qcom,smdtty-port-name = "DATA4";
1027 };
1028
1029 smdtty_data11: qcom,smdtty-data11 {
1030 qcom,smdtty-remote = "modem";
1031 qcom,smdtty-port-name = "DATA11";
1032 };
1033
1034 smdtty_data21: qcom,smdtty-data21 {
1035 qcom,smdtty-remote = "modem";
1036 qcom,smdtty-port-name = "DATA21";
1037 };
1038
1039 smdtty_loopback: smdtty-loopback {
1040 qcom,smdtty-remote = "modem";
1041 qcom,smdtty-port-name = "LOOPBACK";
1042 qcom,smdtty-dev-name = "LOOPBACK_TTY";
1043 };
1044 };
1045
Arun Kumar Neelakantamea07e3d2017-11-02 21:27:50 +05301046 qcom,smdpkt {
1047 compatible = "qcom,smdpkt";
1048
1049 qcom,smdpkt-data5-cntl {
1050 qcom,smdpkt-remote = "modem";
1051 qcom,smdpkt-port-name = "DATA5_CNTL";
1052 qcom,smdpkt-dev-name = "smdcntl0";
1053 };
1054
1055 qcom,smdpkt-data22 {
1056 qcom,smdpkt-remote = "modem";
1057 qcom,smdpkt-port-name = "DATA22";
1058 qcom,smdpkt-dev-name = "smd22";
1059 };
1060
1061 qcom,smdpkt-data40-cntl {
1062 qcom,smdpkt-remote = "modem";
1063 qcom,smdpkt-port-name = "DATA40_CNTL";
1064 qcom,smdpkt-dev-name = "smdcntl8";
1065 };
1066
1067 qcom,smdpkt-apr-apps2 {
1068 qcom,smdpkt-remote = "adsp";
1069 qcom,smdpkt-port-name = "apr_apps2";
1070 qcom,smdpkt-dev-name = "apr_apps2";
1071 };
1072
1073 qcom,smdpkt-loopback {
1074 qcom,smdpkt-remote = "modem";
1075 qcom,smdpkt-port-name = "LOOPBACK";
1076 qcom,smdpkt-dev-name = "smd_pkt_loopback";
1077 };
1078 };
1079
Raju P.L.S.S.S.N786994d2017-11-08 17:03:56 +05301080 rpm_bus: qcom,rpm-smd {
1081 compatible = "qcom,rpm-smd";
1082 rpm-channel-name = "rpm_requests";
1083 rpm-channel-type = <15>; /* SMD_APPS_RPM */
1084 };
1085
Maria Yuf16c1602017-12-22 13:05:17 +08001086 wdog: qcom,wdt@b017000 {
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301087 compatible = "qcom,msm-watchdog";
1088 reg = <0xb017000 0x1000>;
1089 reg-names = "wdt-base";
1090 interrupts = <0 3 0>, <0 4 0>;
1091 qcom,bark-time = <11000>;
1092 qcom,pet-time = <10000>;
1093 qcom,ipi-ping;
1094 qcom,wakeup-enable;
1095 };
1096
1097 qcom,chd {
1098 compatible = "qcom,core-hang-detect";
1099 qcom,threshold-arr = <0xb1880b0 0xb1980b0 0xb1a80b0
1100 0xb1b80b0 0xb0880b0 0xb0980b0 0xb0a80b0 0xb0b80b0>;
1101 qcom,config-arr = <0xb1880b8 0xb1980b8 0xb1a80b8
1102 0xb1b80b8 0xb0880b8 0xb0980b8 0xb0a80b8 0xb0b80b8>;
1103 };
1104
1105 qcom,msm-rtb {
1106 compatible = "qcom,msm-rtb";
1107 qcom,rtb-size = <0x100000>;
1108 };
1109
1110 qcom,msm-imem@8600000 {
1111 compatible = "qcom,msm-imem";
1112 reg = <0x08600000 0x1000>;
1113 ranges = <0x0 0x08600000 0x1000>;
1114 #address-cells = <1>;
1115 #size-cells = <1>;
1116
1117 mem_dump_table@10 {
1118 compatible = "qcom,msm-imem-mem_dump_table";
1119 reg = <0x10 8>;
1120 };
1121
Maria Yu06cf96e2017-09-21 17:35:13 +08001122 dload_type@18 {
1123 compatible = "qcom,msm-imem-dload-type";
1124 reg = <0x18 4>;
1125 };
1126
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301127 restart_reason@65c {
1128 compatible = "qcom,msm-imem-restart_reason";
1129 reg = <0x65c 4>;
1130 };
1131
1132 boot_stats@6b0 {
1133 compatible = "qcom,msm-imem-boot_stats";
1134 reg = <0x6b0 32>;
1135 };
1136
Maria Yu575d67f2017-12-05 16:31:19 +08001137 kaslr_offset@6d0 {
1138 compatible = "qcom,msm-imem-kaslr_offset";
1139 reg = <0x6d0 12>;
1140 };
1141
1142 pil@94c {
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301143 compatible = "qcom,msm-imem-pil";
1144 reg = <0x94c 200>;
1145
1146 };
1147 };
1148
1149 qcom,memshare {
1150 compatible = "qcom,memshare";
1151
1152 qcom,client_1 {
1153 compatible = "qcom,memshare-peripheral";
1154 qcom,peripheral-size = <0x200000>;
1155 qcom,client-id = <0>;
1156 qcom,allocate-boot-time;
1157 label = "modem";
1158 };
1159
1160 qcom,client_2 {
1161 compatible = "qcom,memshare-peripheral";
1162 qcom,peripheral-size = <0x300000>;
1163 qcom,client-id = <2>;
1164 label = "modem";
1165 };
1166
1167 mem_client_3_size: qcom,client_3 {
1168 compatible = "qcom,memshare-peripheral";
1169 qcom,peripheral-size = <0x0>;
1170 qcom,client-id = <1>;
1171 label = "modem";
1172 };
1173 };
1174 sdcc1_ice: sdcc1ice@7803000 {
1175 compatible = "qcom,ice";
1176 reg = <0x7803000 0x8000>;
1177 interrupt-names = "sdcc_ice_nonsec_level_irq",
1178 "sdcc_ice_sec_level_irq";
1179 interrupts = <0 312 0>, <0 313 0>;
1180 qcom,enable-ice-clk;
Sayali Lokhande31299932017-12-06 09:41:17 +05301181 clock-names = "ice_core_clk_src", "ice_core_clk",
1182 "bus_clk", "iface_clk";
1183 clocks = <&clock_gcc clk_sdcc1_ice_core_clk_src>,
1184 <&clock_gcc clk_gcc_sdcc1_ice_core_clk>,
1185 <&clock_gcc clk_gcc_sdcc1_apps_clk>,
1186 <&clock_gcc clk_gcc_sdcc1_ahb_clk>;
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301187 qcom,op-freq-hz = <270000000>, <0>, <0>, <0>;
1188 qcom,msm-bus,name = "sdcc_ice_noc";
1189 qcom,msm-bus,num-cases = <2>;
1190 qcom,msm-bus,num-paths = <1>;
1191 qcom,msm-bus,vectors-KBps =
1192 <78 512 0 0>, /* No vote */
1193 <78 512 1000 0>; /* Max. bandwidth */
1194 qcom,bus-vector-names = "MIN", "MAX";
1195 qcom,instance-type = "sdcc";
1196 };
1197
1198 sdhc_1: sdhci@7824900 {
1199 compatible = "qcom,sdhci-msm";
1200 reg = <0x7824900 0x500>, <0x7824000 0x800>, <0x7824e00 0x200>;
1201 reg-names = "hc_mem", "core_mem", "cmdq_mem";
1202
1203 interrupts = <0 123 0>, <0 138 0>;
1204 interrupt-names = "hc_irq", "pwr_irq";
1205
1206 sdhc-msm-crypto = <&sdcc1_ice>;
1207 qcom,bus-width = <8>;
1208
1209 qcom,devfreq,freq-table = <50000000 200000000>;
1210
1211 qcom,pm-qos-irq-type = "affine_irq";
1212 qcom,pm-qos-irq-latency = <2 213>;
1213
1214 qcom,pm-qos-cpu-groups = <0x0f 0xf0>;
1215 qcom,pm-qos-cmdq-latency-us = <2 213>, <2 213>;
1216
1217 qcom,pm-qos-legacy-latency-us = <2 213>, <2 213>;
1218
1219 qcom,msm-bus,name = "sdhc1";
1220 qcom,msm-bus,num-cases = <9>;
1221 qcom,msm-bus,num-paths = <1>;
1222 qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
1223 <78 512 1046 3200>, /* 400 KB/s*/
1224 <78 512 52286 160000>, /* 20 MB/s */
1225 <78 512 65360 200000>, /* 25 MB/s */
1226 <78 512 130718 400000>, /* 50 MB/s */
1227 <78 512 130718 400000>, /* 100 MB/s */
1228 <78 512 261438 800000>, /* 200 MB/s */
1229 <78 512 261438 800000>, /* 400 MB/s */
1230 <78 512 1338562 4096000>; /* Max. bandwidth */
1231 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
1232 100000000 200000000 400000000 4294967295>;
1233
Sayali Lokhande31299932017-12-06 09:41:17 +05301234 clocks = <&clock_gcc clk_gcc_sdcc1_ahb_clk>,
1235 <&clock_gcc clk_gcc_sdcc1_apps_clk>,
1236 <&clock_gcc clk_gcc_sdcc1_ice_core_clk>;
1237 clock-names = "iface_clk", "core_clk", "ice_core_clk";
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301238 qcom,ice-clk-rates = <270000000 160000000>;
1239 qcom,large-address-bus;
1240
1241 status = "disabled";
1242 };
1243
1244 sdhc_2: sdhci@7864900 {
1245 compatible = "qcom,sdhci-msm";
1246 reg = <0x7864900 0x500>, <0x7864000 0x800>;
1247 reg-names = "hc_mem", "core_mem";
1248
1249 interrupts = <0 125 0>, <0 221 0>;
1250 interrupt-names = "hc_irq", "pwr_irq";
1251
1252 qcom,bus-width = <4>;
1253
1254 qcom,pm-qos-irq-type = "affine_irq";
1255 qcom,pm-qos-irq-latency = <2 213>;
1256
1257 qcom,pm-qos-cpu-groups = <0x0f 0xf0>;
1258 qcom,pm-qos-legacy-latency-us = <2 213>, <2 213>;
1259
1260 qcom,devfreq,freq-table = <50000000 200000000>;
1261
1262 qcom,msm-bus,name = "sdhc2";
1263 qcom,msm-bus,num-cases = <8>;
1264 qcom,msm-bus,num-paths = <1>;
1265 qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
1266 <81 512 1046 3200>, /* 400 KB/s*/
1267 <81 512 52286 160000>, /* 20 MB/s */
1268 <81 512 65360 200000>, /* 25 MB/s */
1269 <81 512 130718 400000>, /* 50 MB/s */
1270 <81 512 261438 800000>, /* 100 MB/s */
1271 <81 512 261438 800000>, /* 200 MB/s */
1272 <81 512 1338562 4096000>; /* Max. bandwidth */
1273 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
1274 100000000 200000000 4294967295>;
1275
Sayali Lokhande31299932017-12-06 09:41:17 +05301276 clocks = <&clock_gcc clk_gcc_sdcc2_ahb_clk>,
1277 <&clock_gcc clk_gcc_sdcc2_apps_clk>;
1278 clock-names = "iface_clk", "core_clk";
1279
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301280 qcom,large-address-bus;
1281 status = "disabled";
1282 };
1283
Tharun Kumar Meruguc1413e72018-01-22 19:23:58 +05301284 qcom,msm-adsprpc-mem {
1285 compatible = "qcom,msm-adsprpc-mem-region";
1286 memory-region = <&adsp_mem>;
1287 };
1288
1289 qcom,msm_fastrpc {
1290 compatible = "qcom,msm-fastrpc-legacy-compute";
1291 qcom,msm_fastrpc_compute_cb {
1292 compatible = "qcom,msm-fastrpc-legacy-compute-cb";
1293 label = "adsprpc-smd";
1294 iommus = <&apps_iommu 0x2408 0x7>;
1295 sids = <0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf>;
1296 };
1297 };
1298
1299
Mohammed Javidf62ec622017-11-29 20:07:32 +05301300 ipa_hw: qcom,ipa@07900000 {
1301 compatible = "qcom,ipa";
1302 reg = <0x07900000 0x4effc>, <0x07904000 0x26934>;
1303 reg-names = "ipa-base", "bam-base";
1304 interrupts = <0 228 0>,
1305 <0 230 0>;
1306 interrupt-names = "ipa-irq", "bam-irq";
1307 qcom,ipa-hw-ver = <6>; /* IPA core version = IPAv2.6L */
1308 qcom,ipa-hw-mode = <0>; /* IPA hw type = Normal */
1309 qcom,wan-rx-ring-size = <192>; /* IPA WAN-rx-ring-size*/
1310 qcom,lan-rx-ring-size = <192>; /* IPA LAN-rx-ring-size*/
1311 clock-names = "core_clk";
1312 clocks = <&clock_gcc clk_ipa_clk>;
1313 qcom,ee = <0>;
1314 qcom,use-ipa-tethering-bridge;
1315 qcom,modem-cfg-emb-pipe-flt;
1316 qcom,msm-bus,name = "ipa";
1317 qcom,msm-bus,num-cases = <3>;
1318 qcom,msm-bus,num-paths = <1>;
1319 qcom,msm-bus,vectors-KBps =
1320 <90 512 0 0>, /* No BIMC vote (ab=0 Mbps, ib=0 Mbps ~ 0MHZ) */
1321 <90 512 100000 800000>, /* SVS (ab=100, ib=800 ~ 50MHz) */
1322 <90 512 100000 1200000>; /* PERF (ab=100, ib=1200 ~ 75MHz) */
1323 qcom,bus-vector-names = "MIN", "SVS", "PERF";
1324 };
1325
1326 qcom,rmnet-ipa {
1327 compatible = "qcom,rmnet-ipa";
1328 qcom,rmnet-ipa-ssr;
1329 qcom,ipa-loaduC;
1330 qcom,ipa-advertise-sg-support;
1331 };
1332
Kiran Gundaaf6a0b62017-10-23 16:03:10 +05301333 spmi_bus: qcom,spmi@200f000 {
1334 compatible = "qcom,spmi-pmic-arb";
1335 reg = <0x200f000 0x1000>,
1336 <0x2400000 0x800000>,
1337 <0x2c00000 0x800000>,
1338 <0x3800000 0x200000>,
1339 <0x200a000 0x2100>;
1340 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1341 interrupt-names = "periph_irq";
1342 interrupts = <GIC_SPI 190 IRQ_TYPE_NONE>;
1343 qcom,ee = <0>;
1344 qcom,channel = <0>;
Kiran Gunda90e356a2017-11-22 17:04:46 +05301345 #address-cells = <2>;
Kiran Gundaaf6a0b62017-10-23 16:03:10 +05301346 #size-cells = <0>;
1347 interrupt-controller;
Kiran Gunda90e356a2017-11-22 17:04:46 +05301348 #interrupt-cells = <4>;
Kiran Gundaaf6a0b62017-10-23 16:03:10 +05301349 cell-index = <0>;
1350 };
Chandana Kishori Chiluveru34872ee2017-11-30 17:35:26 +05301351
1352 usb3: ssusb@7000000{
1353 compatible = "qcom,dwc-usb3-msm";
1354 reg = <0x07000000 0xfc000>,
1355 <0x0007e000 0x400>;
1356 reg-names = "core_base",
1357 "ahb2phy_base";
1358 #address-cells = <1>;
1359 #size-cells = <1>;
1360 ranges;
1361
1362 interrupts = <0 136 0>, <0 220 0>, <0 134 0>;
1363 interrupt-names = "hs_phy_irq", "ss_phy_irq", "pwr_event_irq";
1364
1365 USB3_GDSC-supply = <&gdsc_usb30>;
1366 qcom,usb-dbm = <&dbm_1p5>;
1367 qcom,msm-bus,name = "usb3";
1368 qcom,msm-bus,num-cases = <3>;
1369 qcom,msm-bus,num-paths = <1>;
1370 qcom,msm-bus,vectors-KBps =
1371 <61 512 0 0>,
1372 <61 512 240000 800000>,
1373 <61 512 240000 800000>;
1374
1375 /* CPU-CLUSTER-WFI-LVL latency +1 */
1376 qcom,pm-qos-latency = <2>;
1377
1378 qcom,dwc-usb3-msm-tx-fifo-size = <21288>;
1379
1380 clocks = <&clock_gcc clk_gcc_usb30_master_clk>,
1381 <&clock_gcc clk_gcc_pcnoc_usb3_axi_clk>,
1382 <&clock_gcc clk_gcc_usb30_mock_utmi_clk>,
1383 <&clock_gcc clk_gcc_usb30_sleep_clk>,
1384 <&clock_gcc clk_xo_dwc3_clk>,
1385 <&clock_gcc clk_gcc_usb_phy_cfg_ahb_clk>;
1386
1387 clock-names = "core_clk", "iface_clk", "utmi_clk",
1388 "sleep_clk", "xo", "cfg_ahb_clk";
1389
1390 qcom,core-clk-rate = <133333333>; /* NOM */
1391 qcom,core-clk-rate-hs = <60000000>; /* LOW SVS */
1392
1393 resets = <&clock_gcc GCC_USB_30_BCR>;
1394 reset-names = "core_reset";
1395
1396 dwc3@7000000 {
1397 compatible = "snps,dwc3";
1398 reg = <0x07000000 0xc8d0>;
1399 interrupt-parent = <&intc>;
1400 interrupts = <0 140 0>;
1401 usb-phy = <&qusb_phy>, <&ssphy>;
1402 tx-fifo-resize;
1403 snps,usb3-u1u2-disable;
1404 snps,nominal-elastic-buffer;
1405 snps,is-utmi-l1-suspend;
1406 snps,hird-threshold = /bits/ 8 <0x0>;
1407 };
1408
1409 qcom,usbbam@7104000 {
1410 compatible = "qcom,usb-bam-msm";
1411 reg = <0x07104000 0x1a934>;
1412 interrupt-parent = <&intc>;
1413 interrupts = <0 135 0>;
1414
1415 qcom,bam-type = <0>;
1416 qcom,usb-bam-fifo-baseaddr = <0x08605000>;
1417 qcom,usb-bam-num-pipes = <8>;
1418 qcom,ignore-core-reset-ack;
1419 qcom,disable-clk-gating;
1420 qcom,usb-bam-override-threshold = <0x4001>;
1421 qcom,usb-bam-max-mbps-highspeed = <400>;
1422 qcom,usb-bam-max-mbps-superspeed = <3600>;
1423 qcom,reset-bam-on-connect;
1424
1425 qcom,pipe0 {
1426 label = "ssusb-ipa-out-0";
1427 qcom,usb-bam-mem-type = <1>;
1428 qcom,dir = <0>;
1429 qcom,pipe-num = <0>;
1430 qcom,peer-bam = <1>;
1431 qcom,src-bam-pipe-index = <1>;
1432 qcom,data-fifo-size = <0x8000>;
1433 qcom,descriptor-fifo-size = <0x2000>;
1434 };
1435
1436 qcom,pipe1 {
1437 label = "ssusb-ipa-in-0";
1438 qcom,usb-bam-mem-type = <1>;
1439 qcom,dir = <1>;
1440 qcom,pipe-num = <0>;
1441 qcom,peer-bam = <1>;
1442 qcom,dst-bam-pipe-index = <0>;
1443 qcom,data-fifo-size = <0x8000>;
1444 qcom,descriptor-fifo-size = <0x2000>;
1445 };
1446
1447 qcom,pipe2 {
1448 label = "ssusb-qdss-in-0";
1449 qcom,usb-bam-mem-type = <2>;
1450 qcom,dir = <1>;
1451 qcom,pipe-num = <0>;
1452 qcom,peer-bam = <0>;
1453 qcom,peer-bam-physical-address = <0x06044000>;
1454 qcom,src-bam-pipe-index = <0>;
1455 qcom,dst-bam-pipe-index = <2>;
1456 qcom,data-fifo-offset = <0x0>;
1457 qcom,data-fifo-size = <0xe00>;
1458 qcom,descriptor-fifo-offset = <0xe00>;
1459 qcom,descriptor-fifo-size = <0x200>;
1460 };
1461
1462 qcom,pipe3 {
1463 label = "ssusb-dpl-ipa-in-1";
1464 qcom,usb-bam-mem-type = <1>;
1465 qcom,dir = <1>;
1466 qcom,pipe-num = <1>;
1467 qcom,peer-bam = <1>;
1468 qcom,dst-bam-pipe-index = <2>;
1469 qcom,data-fifo-size = <0x8000>;
1470 qcom,descriptor-fifo-size = <0x2000>;
1471 };
1472 };
1473 };
1474
1475 qusb_phy: qusb@79000 {
1476 compatible = "qcom,qusb2phy";
1477 reg = <0x079000 0x180>,
1478 <0x01841030 0x4>,
1479 <0x0193f020 0x4>;
1480 reg-names = "qusb_phy_base",
1481 "ref_clk_addr",
1482 "tcsr_clamp_dig_n_1p8";
1483
1484 USB3_GDSC-supply = <&gdsc_usb30>;
1485 vdd-supply = <&pm8953_l3>;
1486 vdda18-supply = <&pm8953_l7>;
1487 vdda33-supply = <&pm8953_l13>;
1488 qcom,vdd-voltage-level = <0 925000 925000>;
1489
1490 qcom,qusb-phy-init-seq = <0xf8 0x80
1491 0xb3 0x84
1492 0x83 0x88
1493 0xc0 0x8c
1494 0x14 0x9c
1495 0x30 0x08
1496 0x79 0x0c
1497 0x21 0x10
1498 0x00 0x90
1499 0x9f 0x1c
1500 0x00 0x18>;
1501 phy_type= "utmi";
1502 qcom,phy-clk-scheme = "cml";
1503 qcom,major-rev = <1>;
1504
1505 clocks = <&clock_gcc clk_bb_clk1>,
1506 <&clock_gcc clk_gcc_qusb_ref_clk>,
1507 <&clock_gcc clk_gcc_usb_phy_cfg_ahb_clk>,
1508 <&clock_gcc clk_gcc_pcnoc_usb3_axi_clk>,
1509 <&clock_gcc clk_gcc_usb30_master_clk>;
1510
1511 clock-names = "ref_clk_src", "ref_clk", "cfg_ahb_clk",
1512 "iface_clk", "core_clk";
1513
1514 resets = <&clock_gcc GCC_QUSB2_PHY_BCR>;
1515 reset-names = "phy_reset";
1516 };
1517
1518 ssphy: ssphy@78000 {
1519 compatible = "qcom,usb-ssphy-qmp";
1520 reg = <0x78000 0x9f8>,
1521 <0x0193f244 0x4>;
1522 reg-names = "qmp_phy_base",
1523 "vls_clamp_reg";
1524
1525 qcom,qmp-phy-init-seq = /*<reg_offset, value, delay>*/
1526 <0xac 0x14 0x00
1527 0x34 0x08 0x00
1528 0x174 0x30 0x00
1529 0x3c 0x06 0x00
1530 0xb4 0x00 0x00
1531 0xb8 0x08 0x00
1532 0x194 0x06 0x3e8
1533 0x19c 0x01 0x00
1534 0x178 0x00 0x00
1535 0xd0 0x82 0x00
1536 0xdc 0x55 0x00
1537 0xe0 0x55 0x00
1538 0xe4 0x03 0x00
1539 0x78 0x0b 0x00
1540 0x84 0x16 0x00
1541 0x90 0x28 0x00
1542 0x108 0x80 0x00
1543 0x10c 0x00 0x00
1544 0x184 0x0a 0x00
1545 0x4c 0x15 0x00
1546 0x50 0x34 0x00
1547 0x54 0x00 0x00
1548 0xc8 0x00 0x00
1549 0x18c 0x00 0x00
1550 0xcc 0x00 0x00
1551 0x128 0x00 0x00
1552 0x0c 0x0a 0x00
1553 0x10 0x01 0x00
1554 0x1c 0x31 0x00
1555 0x20 0x01 0x00
1556 0x14 0x00 0x00
1557 0x18 0x00 0x00
1558 0x24 0xde 0x00
1559 0x28 0x07 0x00
1560 0x48 0x0f 0x00
1561 0x70 0x0f 0x00
1562 0x100 0x80 0x00
1563 0x440 0x0b 0x00
1564 0x4d8 0x02 0x00
1565 0x4dc 0x6c 0x00
1566 0x4e0 0xbb 0x00
1567 0x508 0x77 0x00
1568 0x50c 0x80 0x00
1569 0x514 0x03 0x00
1570 0x51c 0x16 0x00
1571 0x448 0x75 0x00
1572 0x454 0x00 0x00
1573 0x40c 0x0a 0x00
1574 0x41c 0x06 0x00
1575 0x510 0x00 0x00
1576 0x268 0x45 0x00
1577 0x2ac 0x12 0x00
1578 0x294 0x06 0x00
1579 0x254 0x00 0x00
1580 0x8c8 0x83 0x00
1581 0x8c4 0x02 0x00
1582 0x8cc 0x09 0x00
1583 0x8d0 0xa2 0x00
1584 0x8d4 0x85 0x00
1585 0x880 0xd1 0x00
1586 0x884 0x1f 0x00
1587 0x888 0x47 0x00
1588 0x80c 0x9f 0x00
1589 0x824 0x17 0x00
1590 0x828 0x0f 0x00
1591 0x8b8 0x75 0x00
1592 0x8bc 0x13 0x00
1593 0x8b0 0x86 0x00
1594 0x8a0 0x04 0x00
1595 0x88c 0x44 0x00
1596 0x870 0xe7 0x00
1597 0x874 0x03 0x00
1598 0x878 0x40 0x00
1599 0x87c 0x00 0x00
1600 0x9d8 0x88 0x00
1601 0xffffffff 0x00 0x00>;
1602 qcom,qmp-phy-reg-offset =
1603 <0x974 /* USB3_PHY_PCS_STATUS */
1604 0x8d8 /* USB3_PHY_AUTONOMOUS_MODE_CTRL */
1605 0x8dc /* USB3_PHY_LFPS_RXTERM_IRQ_CLEAR */
1606 0x804 /* USB3_PHY_POWER_DOWN_CONTROL */
1607 0x800 /* USB3_PHY_SW_RESET */
1608 0x808>; /* USB3_PHY_START */
1609
1610 vdd-supply = <&pm8953_l3>;
1611 core-supply = <&pm8953_l7>;
1612 qcom,vdd-voltage-level = <0 925000 925000>;
1613 qcom,core-voltage-level = <0 1800000 1800000>;
1614 qcom,vbus-valid-override;
1615
1616 clocks = <&clock_gcc clk_gcc_usb3_aux_clk>,
1617 <&clock_gcc clk_gcc_usb3_pipe_clk>,
1618 <&clock_gcc clk_gcc_usb_phy_cfg_ahb_clk>,
1619 <&clock_gcc clk_bb_clk1>,
1620 <&clock_gcc clk_gcc_usb_ss_ref_clk>;
1621
1622 clock-names = "aux_clk", "pipe_clk", "cfg_ahb_clk",
1623 "ref_clk_src", "ref_clk";
1624
1625 resets = <&clock_gcc GCC_USB3_PHY_BCR>,
1626 <&clock_gcc GCC_USB3PHY_PHY_BCR>;
1627
1628 reset-names = "phy_reset", "phy_phy_reset";
1629 };
1630
1631 dbm_1p5: dbm@70f8000 {
1632 compatible = "qcom,usb-dbm-1p5";
1633 reg = <0x070f8000 0x300>;
1634 qcom,reset-ep-after-lpm-resume;
1635 };
Jitendra Sharmac5c31972017-11-10 14:26:13 +05301636
Jingbiao Lue44c5e52018-01-03 15:26:26 +08001637 qcom,mss@4080000 {
1638 compatible = "qcom,pil-q6v55-mss";
1639 reg = <0x04080000 0x100>,
1640 <0x0194f000 0x010>,
1641 <0x01950000 0x008>,
1642 <0x01951000 0x008>,
1643 <0x04020000 0x040>,
1644 <0x01871000 0x004>;
1645 reg-names = "qdsp6_base", "halt_q6", "halt_modem", "halt_nc",
1646 "rmb_base", "restart_reg";
1647
1648 interrupts = <GIC_SPI 24 IRQ_TYPE_EDGE_RISING>;
1649 vdd_mss-supply = <&pm8953_s1>;
1650 vdd_cx-supply = <&pm8953_s2_level>;
1651 vdd_cx-voltage = <RPM_SMD_REGULATOR_LEVEL_TURBO>;
1652 vdd_mx-supply = <&pm8953_s7_level_ao>;
1653 vdd_mx-uV = <RPM_SMD_REGULATOR_LEVEL_TURBO>;
1654 vdd_pll-supply = <&pm8953_l7>;
1655 qcom,vdd_pll = <1800000>;
1656 vdd_mss-uV = <RPM_SMD_REGULATOR_LEVEL_TURBO>;
1657
1658 clocks = <&clock_gcc clk_xo_pil_mss_clk>,
1659 <&clock_gcc clk_gcc_mss_cfg_ahb_clk>,
1660 <&clock_gcc clk_gcc_mss_q6_bimc_axi_clk>,
1661 <&clock_gcc clk_gcc_boot_rom_ahb_clk>;
1662 clock-names = "xo", "iface_clk", "bus_clk", "mem_clk";
1663 qcom,proxy-clock-names = "xo";
1664 qcom,active-clock-names = "iface_clk", "bus_clk", "mem_clk";
1665
1666 qcom,pas-id = <5>;
1667 qcom,pil-mss-memsetup;
1668 qcom,firmware-name = "modem";
1669 qcom,pil-self-auth;
1670 qcom,sysmon-id = <0>;
1671 qcom,ssctl-instance-id = <0x12>;
1672 qcom,qdsp6v56-1-10;
1673 qcom,reset-clk;
1674
1675 memory-region = <&modem_mem>;
1676 };
1677
Jitendra Sharmac5c31972017-11-10 14:26:13 +05301678 qcom,lpass@c200000 {
1679 compatible = "qcom,pil-tz-generic";
1680 reg = <0xc200000 0x00100>;
1681 interrupts = <0 293 1>;
1682
1683 vdd_cx-supply = <&pm8953_s2_level>;
1684 qcom,proxy-reg-names = "vdd_cx";
1685 qcom,vdd_cx-uV-uA = <RPM_SMD_REGULATOR_LEVEL_TURBO 100000>;
Jingbiao Lu60bda872017-12-27 10:54:21 +08001686 qcom,mas-crypto = <&mas_crypto>;
Jitendra Sharmac5c31972017-11-10 14:26:13 +05301687
1688 clocks = <&clock_gcc clk_xo_pil_lpass_clk>,
1689 <&clock_gcc clk_gcc_crypto_clk>,
1690 <&clock_gcc clk_gcc_crypto_ahb_clk>,
1691 <&clock_gcc clk_gcc_crypto_axi_clk>,
1692 <&clock_gcc clk_crypto_clk_src>;
1693 clock-names = "xo", "scm_core_clk", "scm_iface_clk",
1694 "scm_bus_clk", "scm_core_clk_src";
1695 qcom,proxy-clock-names = "xo", "scm_core_clk", "scm_iface_clk",
1696 "scm_bus_clk", "scm_core_clk_src";
1697 qcom,scm_core_clk_src-freq = <80000000>;
1698
1699 qcom,pas-id = <1>;
1700 qcom,complete-ramdump;
1701 qcom,proxy-timeout-ms = <10000>;
1702 qcom,smem-id = <423>;
1703 qcom,sysmon-id = <1>;
1704 qcom,ssctl-instance-id = <0x14>;
1705 qcom,firmware-name = "adsp";
1706
1707 memory-region = <&adsp_fw_mem>;
1708 };
Jitendra Sharmaa50d8082017-11-10 14:33:32 +05301709
1710 qcom,pronto@a21b000 {
1711 compatible = "qcom,pil-tz-generic";
1712 reg = <0x0a21b000 0x3000>;
1713 interrupts = <0 149 1>;
1714
1715 vdd_pronto_pll-supply = <&pm8953_l7>;
1716 proxy-reg-names = "vdd_pronto_pll";
1717 vdd_pronto_pll-uV-uA = <1800000 18000>;
Jingbiao Lu60bda872017-12-27 10:54:21 +08001718 qcom,mas-crypto = <&mas_crypto>;
1719
Jitendra Sharmaa50d8082017-11-10 14:33:32 +05301720 clocks = <&clock_gcc clk_xo_pil_pronto_clk>,
1721 <&clock_gcc clk_gcc_crypto_clk>,
1722 <&clock_gcc clk_gcc_crypto_ahb_clk>,
1723 <&clock_gcc clk_gcc_crypto_axi_clk>,
1724 <&clock_gcc clk_crypto_clk_src>;
1725
1726 clock-names = "xo", "scm_core_clk", "scm_iface_clk",
1727 "scm_bus_clk", "scm_core_clk_src";
1728 qcom,proxy-clock-names = "xo", "scm_core_clk", "scm_iface_clk",
1729 "scm_bus_clk", "scm_core_clk_src";
1730 qcom,scm_core_clk_src = <80000000>;
1731
1732 qcom,pas-id = <6>;
1733 qcom,proxy-timeout-ms = <10000>;
1734 qcom,smem-id = <422>;
1735 qcom,sysmon-id = <6>;
1736 qcom,ssctl-instance-id = <0x13>;
1737 qcom,firmware-name = "wcnss";
1738
1739 memory-region = <&wcnss_fw_mem>;
1740 };
1741
Tingwei Zhang63c1b7d2017-12-22 16:38:16 +08001742 qcom,venus@1de0000 {
1743 compatible = "qcom,pil-tz-generic";
1744 reg = <0x1de0000 0x4000>;
1745
1746 vdd-supply = <&gdsc_venus>;
1747 qcom,proxy-reg-names = "vdd";
Tingwei Zhang7f3d05b2018-01-18 21:08:07 +08001748 qcom,mas-crypto = <&mas_crypto>;
Tingwei Zhang63c1b7d2017-12-22 16:38:16 +08001749
1750 clocks = <&clock_gcc clk_gcc_venus0_vcodec0_clk>,
1751 <&clock_gcc clk_gcc_venus0_ahb_clk>,
1752 <&clock_gcc clk_gcc_venus0_axi_clk>,
1753 <&clock_gcc clk_gcc_crypto_clk>,
1754 <&clock_gcc clk_gcc_crypto_ahb_clk>,
1755 <&clock_gcc clk_gcc_crypto_axi_clk>,
1756 <&clock_gcc clk_crypto_clk_src>;
1757
1758 clock-names = "core_clk", "iface_clk", "bus_clk",
1759 "scm_core_clk", "scm_iface_clk",
1760 "scm_bus_clk", "scm_core_clk_src";
1761
1762 qcom,proxy-clock-names = "core_clk", "iface_clk",
1763 "bus_clk", "scm_core_clk",
1764 "scm_iface_clk", "scm_bus_clk",
1765 "scm_core_clk_src";
1766 qcom,scm_core_clk_src-freq = <80000000>;
1767
1768 qcom,msm-bus,name = "pil-venus";
1769 qcom,msm-bus,num-cases = <2>;
1770 qcom,msm-bus,num-paths = <1>;
1771 qcom,msm-bus,vectors-KBps =
1772 <63 512 0 0>,
1773 <63 512 0 304000>;
1774 qcom,pas-id = <9>;
1775 qcom,proxy-timeout-ms = <100>;
1776 qcom,firmware-name = "venus";
1777 memory-region = <&venus_mem>;
1778 };
Anurag Chouhan0c6dba82018-01-08 15:20:30 +05301779
1780 qcom,wcnss-wlan@0a000000 {
1781 compatible = "qcom,wcnss_wlan";
1782 reg = <0x0a000000 0x280000>,
1783 <0x0b011008 0x04>,
1784 <0x0a21b000 0x3000>,
1785 <0x03204000 0x00000100>,
1786 <0x03200800 0x00000200>,
1787 <0x0a100400 0x00000200>,
1788 <0x0a205050 0x00000200>,
1789 <0x0a219000 0x00000020>,
1790 <0x0a080488 0x00000008>,
1791 <0x0a080fb0 0x00000008>,
1792 <0x0a08040c 0x00000008>,
1793 <0x0a0120a8 0x00000008>,
1794 <0x0a012448 0x00000008>,
1795 <0x0a080c00 0x00000001>;
1796
1797 reg-names = "wcnss_mmio", "wcnss_fiq",
1798 "pronto_phy_base", "riva_phy_base",
1799 "riva_ccu_base", "pronto_a2xb_base",
1800 "pronto_ccpu_base", "pronto_saw2_base",
1801 "wlan_tx_phy_aborts","wlan_brdg_err_source",
1802 "wlan_tx_status", "alarms_txctl",
1803 "alarms_tactl", "pronto_mcu_base";
1804
1805 interrupts = <0 145 0 0 146 0>;
1806 interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq";
1807
1808 qcom,pronto-vddmx-supply = <&pm8953_s7_level_ao>;
1809 qcom,pronto-vddcx-supply = <&pm8953_s2_level>;
1810 qcom,pronto-vddpx-supply = <&pm8953_l5>;
1811 qcom,iris-vddxo-supply = <&pm8953_l7>;
1812 qcom,iris-vddrfa-supply = <&pm8953_l19>;
1813 qcom,iris-vddpa-supply = <&pm8953_l9>;
1814 qcom,iris-vdddig-supply = <&pm8953_l5>;
1815
1816 qcom,iris-vddxo-voltage-level = <1800000 0 1800000>;
1817 qcom,iris-vddrfa-voltage-level = <1300000 0 1300000>;
1818 qcom,iris-vddpa-voltage-level = <3300000 0 3300000>;
1819 qcom,iris-vdddig-voltage-level = <1800000 0 1800000>;
1820
1821 qcom,vddmx-voltage-level = <RPM_SMD_REGULATOR_LEVEL_TURBO
1822 RPM_SMD_REGULATOR_LEVEL_NONE
1823 RPM_SMD_REGULATOR_LEVEL_TURBO>;
1824 qcom,vddcx-voltage-level = <RPM_SMD_REGULATOR_LEVEL_NOM
1825 RPM_SMD_REGULATOR_LEVEL_NONE
1826 RPM_SMD_REGULATOR_LEVEL_TURBO>;
1827 qcom,vddpx-voltage-level = <1800000 0 1800000>;
1828
1829 qcom,iris-vddxo-current = <10000>;
1830 qcom,iris-vddrfa-current = <100000>;
1831 qcom,iris-vddpa-current = <515000>;
1832 qcom,iris-vdddig-current = <10000>;
1833
1834 qcom,pronto-vddmx-current = <0>;
1835 qcom,pronto-vddcx-current = <0>;
1836 qcom,pronto-vddpx-current = <0>;
1837
1838 pinctrl-names = "wcnss_default", "wcnss_sleep",
1839 "wcnss_gpio_default";
1840 pinctrl-0 = <&wcnss_default>;
1841 pinctrl-1 = <&wcnss_sleep>;
1842 pinctrl-2 = <&wcnss_gpio_default>;
1843
1844 gpios = <&tlmm 76 0>, <&tlmm 77 0>, <&tlmm 78 0>,
1845 <&tlmm 79 0>, <&tlmm 80 0>;
1846
1847 clocks = <&clock_gcc clk_xo_wlan_clk>,
1848 <&clock_gcc clk_rf_clk2>,
1849 <&clock_debug clk_gcc_debug_mux>,
1850 <&clock_gcc clk_wcnss_m_clk>;
1851
1852 clock-names = "xo", "rf_clk", "measure", "wcnss_debug";
1853
1854 qcom,has-autodetect-xo;
1855 qcom,is-pronto-v3;
1856 qcom,has-pronto-hw;
1857 qcom,has-vsys-adc-channel;
1858 qcom,has-a2xb-split-reg;
1859 qcom,wcnss-adc_tm = <&pm8953_adc_tm>;
1860 };
1861
Shaikh Shadulf38749c2018-02-09 18:06:28 +05301862 ssc_sensors: qcom,msm-ssc-sensors {
1863 compatible = "qcom,msm-ssc-sensors";
1864 status = "ok";
1865 };
1866
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301867};
Kiran Gunda0954f392017-10-16 16:24:55 +05301868
1869#include "pm8953-rpm-regulator.dtsi"
1870#include "pm8953.dtsi"
1871#include "msm8953-regulator.dtsi"
Shefali Jain44e24ad2017-11-23 12:27:33 +05301872#include "msm-gdsc-8916.dtsi"
Manaf Meethalavalappu Pallikunhi4eb2b272018-01-02 17:29:37 +05301873#include "msm8953-thermal.dtsi"
Shefali Jain44e24ad2017-11-23 12:27:33 +05301874
1875&gdsc_venus {
1876 clock-names = "bus_clk", "core_clk";
1877 clocks = <&clock_gcc clk_gcc_venus0_axi_clk>,
1878 <&clock_gcc clk_gcc_venus0_vcodec0_clk>;
1879 status = "okay";
1880};
1881
1882&gdsc_venus_core0 {
1883 qcom,support-hw-trigger;
1884 clock-names ="core0_clk";
1885 clocks = <&clock_gcc clk_gcc_venus0_core0_vcodec0_clk>;
1886 status = "okay";
1887};
1888
1889&gdsc_mdss {
1890 clock-names = "core_clk", "bus_clk";
1891 clocks = <&clock_gcc clk_gcc_mdss_mdp_clk>,
1892 <&clock_gcc clk_gcc_mdss_axi_clk>;
1893 proxy-supply = <&gdsc_mdss>;
1894 qcom,proxy-consumer-enable;
1895 status = "okay";
1896};
1897
1898&gdsc_oxili_gx {
1899 clock-names = "core_root_clk";
1900 clocks =<&clock_gcc_gfx clk_gfx3d_clk_src>;
1901 qcom,force-enable-root-clk;
1902 parent-supply = <&gfx_vreg_corner>;
1903 status = "okay";
1904};
1905
1906&gdsc_jpeg {
1907 clock-names = "core_clk", "bus_clk";
1908 clocks = <&clock_gcc clk_gcc_camss_jpeg0_clk>,
1909 <&clock_gcc clk_gcc_camss_jpeg_axi_clk>;
1910 status = "okay";
1911};
1912
1913&gdsc_vfe {
1914 clock-names = "core_clk", "bus_clk", "micro_clk",
1915 "csi_clk";
1916 clocks = <&clock_gcc clk_gcc_camss_vfe0_clk>,
1917 <&clock_gcc clk_gcc_camss_vfe_axi_clk>,
1918 <&clock_gcc clk_gcc_camss_micro_ahb_clk>,
1919 <&clock_gcc clk_gcc_camss_csi_vfe0_clk>;
1920 status = "okay";
1921};
1922
1923&gdsc_vfe1 {
1924 clock-names = "core_clk", "bus_clk", "micro_clk",
1925 "csi_clk";
1926 clocks = <&clock_gcc clk_gcc_camss_vfe1_clk>,
1927 <&clock_gcc clk_gcc_camss_vfe1_axi_clk>,
1928 <&clock_gcc clk_gcc_camss_micro_ahb_clk>,
1929 <&clock_gcc clk_gcc_camss_csi_vfe1_clk>;
1930 status = "okay";
1931};
1932
1933&gdsc_cpp {
1934 clock-names = "core_clk", "bus_clk";
1935 clocks = <&clock_gcc clk_gcc_camss_cpp_clk>,
1936 <&clock_gcc clk_gcc_camss_cpp_axi_clk>;
1937 status = "okay";
1938};
1939
1940&gdsc_oxili_cx {
1941 clock-names = "core_clk";
1942 clocks = <&clock_gcc_gfx clk_gcc_oxili_gfx3d_clk>;
1943 status = "okay";
1944};
1945
1946&gdsc_usb30 {
1947 status = "okay";
1948};