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