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