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