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