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