blob: 88b91fb9d31a9d34a02dd2a38fa077f10c5bb69a [file] [log] [blame]
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301/*
2 * Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
3 *
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 Gundaaf6a0b62017-10-23 16:03:10 +053016#include <dt-bindings/interrupt-controller/arm-gic.h>
Srinivas Ramana3cac2782017-09-13 16:31:17 +053017
18/ {
19 model = "Qualcomm Technologies, Inc. MSM 8953";
20 compatible = "qcom,msm8953";
21 qcom,msm-id = <293 0x0>;
22 interrupt-parent = <&intc>;
23
24 chosen {
25 bootargs = "sched_enable_hmp=1 sched_enable_power_aware=1";
26 };
27
28 reserved-memory {
29 #address-cells = <2>;
30 #size-cells = <2>;
31 ranges;
32
33 other_ext_mem: other_ext_region@0 {
34 compatible = "removed-dma-pool";
35 no-map;
36 reg = <0x0 0x85b00000 0x0 0xd00000>;
37 };
38
39 modem_mem: modem_region@0 {
40 compatible = "removed-dma-pool";
41 no-map-fixup;
42 reg = <0x0 0x86c00000 0x0 0x6a00000>;
43 };
44
45 adsp_fw_mem: adsp_fw_region@0 {
46 compatible = "removed-dma-pool";
47 no-map;
48 reg = <0x0 0x8d600000 0x0 0x1100000>;
49 };
50
51 wcnss_fw_mem: wcnss_fw_region@0 {
52 compatible = "removed-dma-pool";
53 no-map;
54 reg = <0x0 0x8e700000 0x0 0x700000>;
55 };
56
57 venus_mem: venus_region@0 {
58 compatible = "shared-dma-pool";
59 reusable;
60 alloc-ranges = <0x0 0x80000000 0x0 0x10000000>;
61 alignment = <0 0x400000>;
62 size = <0 0x0800000>;
63 };
64
65 secure_mem: secure_region@0 {
66 compatible = "shared-dma-pool";
67 reusable;
68 alignment = <0 0x400000>;
69 size = <0 0x09800000>;
70 };
71
72 qseecom_mem: qseecom_region@0 {
73 compatible = "shared-dma-pool";
74 reusable;
75 alignment = <0 0x400000>;
76 size = <0 0x1000000>;
77 };
78
79 adsp_mem: adsp_region@0 {
80 compatible = "shared-dma-pool";
81 reusable;
82 size = <0 0x400000>;
83 };
84
85 dfps_data_mem: dfps_data_mem@90000000 {
86 reg = <0 0x90000000 0 0x1000>;
87 label = "dfps_data_mem";
88 };
89
90 cont_splash_mem: splash_region@0x90001000 {
91 reg = <0x0 0x90001000 0x0 0x13ff000>;
92 label = "cont_splash_mem";
93 };
94
95 gpu_mem: gpu_region@0 {
96 compatible = "shared-dma-pool";
97 reusable;
98 alloc-ranges = <0x0 0x80000000 0x0 0x10000000>;
99 alignment = <0 0x400000>;
100 size = <0 0x800000>;
101 };
102 };
103
104 aliases {
105 /* smdtty devices */
Arun Kumar Neelakantam36151aa2017-11-02 21:34:33 +0530106 smd1 = &smdtty_apps_fm;
107 smd2 = &smdtty_apps_riva_bt_acl;
108 smd3 = &smdtty_apps_riva_bt_cmd;
109 smd4 = &smdtty_mbalbridge;
110 smd5 = &smdtty_apps_riva_ant_cmd;
111 smd6 = &smdtty_apps_riva_ant_data;
112 smd7 = &smdtty_data1;
113 smd8 = &smdtty_data4;
114 smd11 = &smdtty_data11;
115 smd21 = &smdtty_data21;
116 smd36 = &smdtty_loopback;
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530117 sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
118 sdhc2 = &sdhc_2; /* SDC2 for SD card */
119 };
120
121 soc: soc { };
122
123};
124
125#include "msm8953-pinctrl.dtsi"
126#include "msm8953-cpu.dtsi"
Raju P.L.S.S.S.Ne0b22c92017-11-02 13:42:27 +0530127#include "msm8953-pm.dtsi"
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530128
129
130&soc {
131 #address-cells = <1>;
132 #size-cells = <1>;
133 ranges = <0 0 0 0xffffffff>;
134 compatible = "simple-bus";
135
136 apc_apm: apm@b111000 {
137 compatible = "qcom,msm8953-apm";
138 reg = <0xb111000 0x1000>;
139 reg-names = "pm-apcc-glb";
140 qcom,apm-post-halt-delay = <0x2>;
141 qcom,apm-halt-clk-delay = <0x11>;
142 qcom,apm-resume-clk-delay = <0x10>;
143 qcom,apm-sel-switch-delay = <0x01>;
144 };
145
146 intc: interrupt-controller@b000000 {
147 compatible = "qcom,msm-qgic2";
148 interrupt-controller;
149 #interrupt-cells = <3>;
150 reg = <0x0b000000 0x1000>,
151 <0x0b002000 0x1000>;
152 };
153
154 qcom,msm-gladiator@b1c0000 {
155 compatible = "qcom,msm-gladiator";
156 reg = <0x0b1c0000 0x4000>;
157 reg-names = "gladiator_base";
158 interrupts = <0 22 0>;
159 };
160
161 timer {
162 compatible = "arm,armv8-timer";
163 interrupts = <1 2 0xff08>,
164 <1 3 0xff08>,
165 <1 4 0xff08>,
166 <1 1 0xff08>;
167 clock-frequency = <19200000>;
168 };
169
170 timer@b120000 {
171 #address-cells = <1>;
172 #size-cells = <1>;
173 ranges;
174 compatible = "arm,armv7-timer-mem";
175 reg = <0xb120000 0x1000>;
176 clock-frequency = <19200000>;
177
178 frame@b121000 {
179 frame-number = <0>;
180 interrupts = <0 8 0x4>,
181 <0 7 0x4>;
182 reg = <0xb121000 0x1000>,
183 <0xb122000 0x1000>;
184 };
185
186 frame@b123000 {
187 frame-number = <1>;
188 interrupts = <0 9 0x4>;
189 reg = <0xb123000 0x1000>;
190 status = "disabled";
191 };
192
193 frame@b124000 {
194 frame-number = <2>;
195 interrupts = <0 10 0x4>;
196 reg = <0xb124000 0x1000>;
197 status = "disabled";
198 };
199
200 frame@b125000 {
201 frame-number = <3>;
202 interrupts = <0 11 0x4>;
203 reg = <0xb125000 0x1000>;
204 status = "disabled";
205 };
206
207 frame@b126000 {
208 frame-number = <4>;
209 interrupts = <0 12 0x4>;
210 reg = <0xb126000 0x1000>;
211 status = "disabled";
212 };
213
214 frame@b127000 {
215 frame-number = <5>;
216 interrupts = <0 13 0x4>;
217 reg = <0xb127000 0x1000>;
218 status = "disabled";
219 };
220
221 frame@b128000 {
222 frame-number = <6>;
223 interrupts = <0 14 0x4>;
224 reg = <0xb128000 0x1000>;
225 status = "disabled";
226 };
227 };
228 qcom,rmtfs_sharedmem@00000000 {
229 compatible = "qcom,sharedmem-uio";
230 reg = <0x00000000 0x00180000>;
231 reg-names = "rmtfs";
232 qcom,client-id = <0x00000001>;
233 };
234
235 restart@4ab000 {
236 compatible = "qcom,pshold";
237 reg = <0x4ab000 0x4>,
238 <0x193d100 0x4>;
239 reg-names = "pshold-base", "tcsr-boot-misc-detect";
240 };
241
242 qcom,mpm2-sleep-counter@4a3000 {
243 compatible = "qcom,mpm2-sleep-counter";
244 reg = <0x4a3000 0x1000>;
245 clock-frequency = <32768>;
246 };
247
248 cpu-pmu {
249 compatible = "arm,armv8-pmuv3";
250 interrupts = <1 7 0xff00>;
251 };
252
253 qcom,sps {
254 compatible = "qcom,msm_sps_4k";
255 qcom,pipe-attr-ee;
256 };
257
258 blsp1_uart0: serial@78af000 {
259 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
260 reg = <0x78af000 0x200>;
261 interrupts = <0 107 0>;
262 status = "disabled";
263 };
264
265 dma_blsp1: qcom,sps-dma@7884000 { /* BLSP1 */
266 #dma-cells = <4>;
267 compatible = "qcom,sps-dma";
268 reg = <0x7884000 0x1f000>;
269 interrupts = <0 238 0>;
270 qcom,summing-threshold = <10>;
271 };
272
273 dma_blsp2: qcom,sps-dma@7ac4000 { /* BLSP2 */
274 #dma-cells = <4>;
275 compatible = "qcom,sps-dma";
276 reg = <0x7ac4000 0x1f000>;
277 interrupts = <0 239 0>;
278 qcom,summing-threshold = <10>;
279 };
280
281 slim_msm: slim@c140000{
282 cell-index = <1>;
283 compatible = "qcom,slim-ngd";
284 reg = <0xc140000 0x2c000>,
285 <0xc104000 0x2a000>;
286 reg-names = "slimbus_physical", "slimbus_bam_physical";
287 interrupts = <0 163 0>, <0 180 0>;
288 interrupt-names = "slimbus_irq", "slimbus_bam_irq";
289 qcom,apps-ch-pipes = <0x600000>;
290 qcom,ea-pc = <0x200>;
291 status = "disabled";
292 };
293
294 cpubw: qcom,cpubw {
295 compatible = "qcom,devbw";
296 governor = "cpufreq";
297 qcom,src-dst-ports = <1 512>;
298 qcom,active-only;
299 qcom,bw-tbl =
300 < 769 /* 100.8 MHz */ >,
301 < 1611 /* 211.2 MHz */ >, /*Low SVS*/
302 < 2124 /* 278.4 MHz */ >,
303 < 2929 /* 384 MHz */ >,
304 < 3221 /* 422.4 MHz */ >, /* SVS */
305 < 4248 /* 556.8 MHz */ >,
306 < 5126 /* 672 MHz */ >,
307 < 5859 /* 768 MHz */ >, /* SVS+ */
308 < 6152 /* 806.4 MHz */ >,
309 < 6445 /* 844.8 MHz */ >, /* NOM */
310 < 7104 /* 931.2 MHz */ >; /* TURBO */
311 };
312
313 mincpubw: qcom,mincpubw {
314 compatible = "qcom,devbw";
315 governor = "cpufreq";
316 qcom,src-dst-ports = <1 512>;
317 qcom,active-only;
318 qcom,bw-tbl =
319 < 769 /* 100.8 MHz */ >,
320 < 1611 /* 211.2 MHz */ >, /*Low SVS*/
321 < 2124 /* 278.4 MHz */ >,
322 < 2929 /* 384 MHz */ >,
323 < 3221 /* 422.4 MHz */ >, /* SVS */
324 < 4248 /* 556.8 MHz */ >,
325 < 5126 /* 672 MHz */ >,
326 < 5859 /* 768 MHz */ >, /* SVS+ */
327 < 6152 /* 806.4 MHz */ >,
328 < 6445 /* 844.8 MHz */ >, /* NOM */
329 < 7104 /* 931.2 MHz */ >; /* TURBO */
330 };
331
332 qcom,cpu-bwmon {
333 compatible = "qcom,bimc-bwmon2";
334 reg = <0x408000 0x300>, <0x401000 0x200>;
335 reg-names = "base", "global_base";
336 interrupts = <0 183 4>;
337 qcom,mport = <0>;
338 qcom,target-dev = <&cpubw>;
339 };
340
341 devfreq-cpufreq {
342 cpubw-cpufreq {
343 target-dev = <&cpubw>;
344 cpu-to-dev-map =
345 < 652800 1611>,
346 < 1036800 3221>,
347 < 1401600 5859>,
348 < 1689600 6445>,
349 < 1804800 7104>,
350 < 1958400 7104>,
351 < 2208000 7104>;
352 };
353
354 mincpubw-cpufreq {
355 target-dev = <&mincpubw>;
356 cpu-to-dev-map =
357 < 652800 1611 >,
358 < 1401600 3221 >,
359 < 2208000 5859 >;
360 };
361 };
362
Jonathan Avilac7a6fd52017-10-12 15:24:05 -0700363 cpubw_compute: qcom,cpubw-compute {
364 compatible = "qcom,arm-cpu-mon";
365 qcom,cpulist = < &CPU0 &CPU1 &CPU2 &CPU3
366 &CPU4 &CPU5 &CPU6 &CPU7 >;
367 qcom,target-dev = <&cpubw>;
368 qcom,core-dev-table =
369 < 652800 1611>,
370 < 1036800 3221>,
371 < 1401600 5859>,
372 < 1689600 6445>,
373 < 1804800 7104>,
374 < 1958400 7104>,
375 < 2208000 7104>;
376 };
377
378 mincpubw_compute: qcom,mincpubw-compute {
379 compatible = "qcom,arm-cpu-mon";
380 qcom,cpulist = < &CPU0 &CPU1 &CPU2 &CPU3
381 &CPU4 &CPU5 &CPU6 &CPU7 >;
382 qcom,target-dev = <&mincpubw>;
383 qcom,core-dev-table =
384 < 652800 1611 >,
385 < 1401600 3221 >,
386 < 2208000 5859 >;
387 };
388
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530389 qcom,ipc-spinlock@1905000 {
390 compatible = "qcom,ipc-spinlock-sfpb";
391 reg = <0x1905000 0x8000>;
392 qcom,num-locks = <8>;
393 };
394
395 qcom,smem@86300000 {
396 compatible = "qcom,smem";
397 reg = <0x86300000 0x100000>,
398 <0x0b011008 0x4>,
399 <0x60000 0x8000>,
400 <0x193d000 0x8>;
401 reg-names = "smem", "irq-reg-base",
402 "aux-mem1", "smem_targ_info_reg";
403 qcom,mpu-enabled;
404
405 qcom,smd-modem {
406 compatible = "qcom,smd";
407 qcom,smd-edge = <0>;
408 qcom,smd-irq-offset = <0x0>;
409 qcom,smd-irq-bitmask = <0x1000>;
410 interrupts = <0 25 1>;
411 label = "modem";
412 qcom,not-loadable;
413 };
414
415 qcom,smsm-modem {
416 compatible = "qcom,smsm";
417 qcom,smsm-edge = <0>;
418 qcom,smsm-irq-offset = <0x0>;
419 qcom,smsm-irq-bitmask = <0x2000>;
420 interrupts = <0 26 1>;
421 };
422
423 qcom,smd-wcnss {
424 compatible = "qcom,smd";
425 qcom,smd-edge = <6>;
426 qcom,smd-irq-offset = <0x0>;
427 qcom,smd-irq-bitmask = <0x20000>;
428 interrupts = <0 142 1>;
429 label = "wcnss";
430 };
431
432 qcom,smsm-wcnss {
433 compatible = "qcom,smsm";
434 qcom,smsm-edge = <6>;
435 qcom,smsm-irq-offset = <0x0>;
436 qcom,smsm-irq-bitmask = <0x80000>;
437 interrupts = <0 144 1>;
438 };
439
440 qcom,smd-adsp {
441 compatible = "qcom,smd";
442 qcom,smd-edge = <1>;
443 qcom,smd-irq-offset = <0x0>;
444 qcom,smd-irq-bitmask = <0x100>;
445 interrupts = <0 289 1>;
446 label = "adsp";
447 };
448
449 qcom,smsm-adsp {
450 compatible = "qcom,smsm";
451 qcom,smsm-edge = <1>;
452 qcom,smsm-irq-offset = <0x0>;
453 qcom,smsm-irq-bitmask = <0x200>;
454 interrupts = <0 290 1>;
455 };
456
457 qcom,smd-rpm {
458 compatible = "qcom,smd";
459 qcom,smd-edge = <15>;
460 qcom,smd-irq-offset = <0x0>;
461 qcom,smd-irq-bitmask = <0x1>;
462 interrupts = <0 168 1>;
463 label = "rpm";
464 qcom,irq-no-suspend;
465 qcom,not-loadable;
466 };
467 };
468
Arun Kumar Neelakantam36151aa2017-11-02 21:34:33 +0530469 qcom,smdtty {
470 compatible = "qcom,smdtty";
471
472 smdtty_apps_fm: qcom,smdtty-apps-fm {
473 qcom,smdtty-remote = "wcnss";
474 qcom,smdtty-port-name = "APPS_FM";
475 };
476
477 smdtty_apps_riva_bt_acl: smdtty-apps-riva-bt-acl {
478 qcom,smdtty-remote = "wcnss";
479 qcom,smdtty-port-name = "APPS_RIVA_BT_ACL";
480 };
481
482 smdtty_apps_riva_bt_cmd: qcom,smdtty-apps-riva-bt-cmd {
483 qcom,smdtty-remote = "wcnss";
484 qcom,smdtty-port-name = "APPS_RIVA_BT_CMD";
485 };
486
487 smdtty_mbalbridge: qcom,smdtty-mbalbridge {
488 qcom,smdtty-remote = "modem";
489 qcom,smdtty-port-name = "MBALBRIDGE";
490 };
491
492 smdtty_apps_riva_ant_cmd: smdtty-apps-riva-ant-cmd {
493 qcom,smdtty-remote = "wcnss";
494 qcom,smdtty-port-name = "APPS_RIVA_ANT_CMD";
495 };
496
497 smdtty_apps_riva_ant_data: smdtty-apps-riva-ant-data {
498 qcom,smdtty-remote = "wcnss";
499 qcom,smdtty-port-name = "APPS_RIVA_ANT_DATA";
500 };
501
502 smdtty_data1: qcom,smdtty-data1 {
503 qcom,smdtty-remote = "modem";
504 qcom,smdtty-port-name = "DATA1";
505 };
506
507 smdtty_data4: qcom,smdtty-data4 {
508 qcom,smdtty-remote = "modem";
509 qcom,smdtty-port-name = "DATA4";
510 };
511
512 smdtty_data11: qcom,smdtty-data11 {
513 qcom,smdtty-remote = "modem";
514 qcom,smdtty-port-name = "DATA11";
515 };
516
517 smdtty_data21: qcom,smdtty-data21 {
518 qcom,smdtty-remote = "modem";
519 qcom,smdtty-port-name = "DATA21";
520 };
521
522 smdtty_loopback: smdtty-loopback {
523 qcom,smdtty-remote = "modem";
524 qcom,smdtty-port-name = "LOOPBACK";
525 qcom,smdtty-dev-name = "LOOPBACK_TTY";
526 };
527 };
528
Arun Kumar Neelakantamea07e3d2017-11-02 21:27:50 +0530529 qcom,smdpkt {
530 compatible = "qcom,smdpkt";
531
532 qcom,smdpkt-data5-cntl {
533 qcom,smdpkt-remote = "modem";
534 qcom,smdpkt-port-name = "DATA5_CNTL";
535 qcom,smdpkt-dev-name = "smdcntl0";
536 };
537
538 qcom,smdpkt-data22 {
539 qcom,smdpkt-remote = "modem";
540 qcom,smdpkt-port-name = "DATA22";
541 qcom,smdpkt-dev-name = "smd22";
542 };
543
544 qcom,smdpkt-data40-cntl {
545 qcom,smdpkt-remote = "modem";
546 qcom,smdpkt-port-name = "DATA40_CNTL";
547 qcom,smdpkt-dev-name = "smdcntl8";
548 };
549
550 qcom,smdpkt-apr-apps2 {
551 qcom,smdpkt-remote = "adsp";
552 qcom,smdpkt-port-name = "apr_apps2";
553 qcom,smdpkt-dev-name = "apr_apps2";
554 };
555
556 qcom,smdpkt-loopback {
557 qcom,smdpkt-remote = "modem";
558 qcom,smdpkt-port-name = "LOOPBACK";
559 qcom,smdpkt-dev-name = "smd_pkt_loopback";
560 };
561 };
562
Raju P.L.S.S.S.N786994d2017-11-08 17:03:56 +0530563 rpm_bus: qcom,rpm-smd {
564 compatible = "qcom,rpm-smd";
565 rpm-channel-name = "rpm_requests";
566 rpm-channel-type = <15>; /* SMD_APPS_RPM */
567 };
568
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530569 qcom,wdt@b017000 {
570 compatible = "qcom,msm-watchdog";
571 reg = <0xb017000 0x1000>;
572 reg-names = "wdt-base";
573 interrupts = <0 3 0>, <0 4 0>;
574 qcom,bark-time = <11000>;
575 qcom,pet-time = <10000>;
576 qcom,ipi-ping;
577 qcom,wakeup-enable;
578 };
579
580 qcom,chd {
581 compatible = "qcom,core-hang-detect";
582 qcom,threshold-arr = <0xb1880b0 0xb1980b0 0xb1a80b0
583 0xb1b80b0 0xb0880b0 0xb0980b0 0xb0a80b0 0xb0b80b0>;
584 qcom,config-arr = <0xb1880b8 0xb1980b8 0xb1a80b8
585 0xb1b80b8 0xb0880b8 0xb0980b8 0xb0a80b8 0xb0b80b8>;
586 };
587
588 qcom,msm-rtb {
589 compatible = "qcom,msm-rtb";
590 qcom,rtb-size = <0x100000>;
591 };
592
593 qcom,msm-imem@8600000 {
594 compatible = "qcom,msm-imem";
595 reg = <0x08600000 0x1000>;
596 ranges = <0x0 0x08600000 0x1000>;
597 #address-cells = <1>;
598 #size-cells = <1>;
599
600 mem_dump_table@10 {
601 compatible = "qcom,msm-imem-mem_dump_table";
602 reg = <0x10 8>;
603 };
604
605 restart_reason@65c {
606 compatible = "qcom,msm-imem-restart_reason";
607 reg = <0x65c 4>;
608 };
609
610 boot_stats@6b0 {
611 compatible = "qcom,msm-imem-boot_stats";
612 reg = <0x6b0 32>;
613 };
614
615 pil@94c {
616 compatible = "qcom,msm-imem-pil";
617 reg = <0x94c 200>;
618
619 };
620 };
621
622 qcom,memshare {
623 compatible = "qcom,memshare";
624
625 qcom,client_1 {
626 compatible = "qcom,memshare-peripheral";
627 qcom,peripheral-size = <0x200000>;
628 qcom,client-id = <0>;
629 qcom,allocate-boot-time;
630 label = "modem";
631 };
632
633 qcom,client_2 {
634 compatible = "qcom,memshare-peripheral";
635 qcom,peripheral-size = <0x300000>;
636 qcom,client-id = <2>;
637 label = "modem";
638 };
639
640 mem_client_3_size: qcom,client_3 {
641 compatible = "qcom,memshare-peripheral";
642 qcom,peripheral-size = <0x0>;
643 qcom,client-id = <1>;
644 label = "modem";
645 };
646 };
647 sdcc1_ice: sdcc1ice@7803000 {
648 compatible = "qcom,ice";
649 reg = <0x7803000 0x8000>;
650 interrupt-names = "sdcc_ice_nonsec_level_irq",
651 "sdcc_ice_sec_level_irq";
652 interrupts = <0 312 0>, <0 313 0>;
653 qcom,enable-ice-clk;
654 qcom,op-freq-hz = <270000000>, <0>, <0>, <0>;
655 qcom,msm-bus,name = "sdcc_ice_noc";
656 qcom,msm-bus,num-cases = <2>;
657 qcom,msm-bus,num-paths = <1>;
658 qcom,msm-bus,vectors-KBps =
659 <78 512 0 0>, /* No vote */
660 <78 512 1000 0>; /* Max. bandwidth */
661 qcom,bus-vector-names = "MIN", "MAX";
662 qcom,instance-type = "sdcc";
663 };
664
665 sdhc_1: sdhci@7824900 {
666 compatible = "qcom,sdhci-msm";
667 reg = <0x7824900 0x500>, <0x7824000 0x800>, <0x7824e00 0x200>;
668 reg-names = "hc_mem", "core_mem", "cmdq_mem";
669
670 interrupts = <0 123 0>, <0 138 0>;
671 interrupt-names = "hc_irq", "pwr_irq";
672
673 sdhc-msm-crypto = <&sdcc1_ice>;
674 qcom,bus-width = <8>;
675
676 qcom,devfreq,freq-table = <50000000 200000000>;
677
678 qcom,pm-qos-irq-type = "affine_irq";
679 qcom,pm-qos-irq-latency = <2 213>;
680
681 qcom,pm-qos-cpu-groups = <0x0f 0xf0>;
682 qcom,pm-qos-cmdq-latency-us = <2 213>, <2 213>;
683
684 qcom,pm-qos-legacy-latency-us = <2 213>, <2 213>;
685
686 qcom,msm-bus,name = "sdhc1";
687 qcom,msm-bus,num-cases = <9>;
688 qcom,msm-bus,num-paths = <1>;
689 qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
690 <78 512 1046 3200>, /* 400 KB/s*/
691 <78 512 52286 160000>, /* 20 MB/s */
692 <78 512 65360 200000>, /* 25 MB/s */
693 <78 512 130718 400000>, /* 50 MB/s */
694 <78 512 130718 400000>, /* 100 MB/s */
695 <78 512 261438 800000>, /* 200 MB/s */
696 <78 512 261438 800000>, /* 400 MB/s */
697 <78 512 1338562 4096000>; /* Max. bandwidth */
698 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
699 100000000 200000000 400000000 4294967295>;
700
701 qcom,ice-clk-rates = <270000000 160000000>;
702 qcom,large-address-bus;
703
704 status = "disabled";
705 };
706
707 sdhc_2: sdhci@7864900 {
708 compatible = "qcom,sdhci-msm";
709 reg = <0x7864900 0x500>, <0x7864000 0x800>;
710 reg-names = "hc_mem", "core_mem";
711
712 interrupts = <0 125 0>, <0 221 0>;
713 interrupt-names = "hc_irq", "pwr_irq";
714
715 qcom,bus-width = <4>;
716
717 qcom,pm-qos-irq-type = "affine_irq";
718 qcom,pm-qos-irq-latency = <2 213>;
719
720 qcom,pm-qos-cpu-groups = <0x0f 0xf0>;
721 qcom,pm-qos-legacy-latency-us = <2 213>, <2 213>;
722
723 qcom,devfreq,freq-table = <50000000 200000000>;
724
725 qcom,msm-bus,name = "sdhc2";
726 qcom,msm-bus,num-cases = <8>;
727 qcom,msm-bus,num-paths = <1>;
728 qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
729 <81 512 1046 3200>, /* 400 KB/s*/
730 <81 512 52286 160000>, /* 20 MB/s */
731 <81 512 65360 200000>, /* 25 MB/s */
732 <81 512 130718 400000>, /* 50 MB/s */
733 <81 512 261438 800000>, /* 100 MB/s */
734 <81 512 261438 800000>, /* 200 MB/s */
735 <81 512 1338562 4096000>; /* Max. bandwidth */
736 qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
737 100000000 200000000 4294967295>;
738
739 qcom,large-address-bus;
740 status = "disabled";
741 };
742
Kiran Gundaaf6a0b62017-10-23 16:03:10 +0530743 spmi_bus: qcom,spmi@200f000 {
744 compatible = "qcom,spmi-pmic-arb";
745 reg = <0x200f000 0x1000>,
746 <0x2400000 0x800000>,
747 <0x2c00000 0x800000>,
748 <0x3800000 0x200000>,
749 <0x200a000 0x2100>;
750 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
751 interrupt-names = "periph_irq";
752 interrupts = <GIC_SPI 190 IRQ_TYPE_NONE>;
753 qcom,ee = <0>;
754 qcom,channel = <0>;
Kiran Gunda90e356a2017-11-22 17:04:46 +0530755 #address-cells = <2>;
Kiran Gundaaf6a0b62017-10-23 16:03:10 +0530756 #size-cells = <0>;
757 interrupt-controller;
Kiran Gunda90e356a2017-11-22 17:04:46 +0530758 #interrupt-cells = <4>;
Kiran Gundaaf6a0b62017-10-23 16:03:10 +0530759 cell-index = <0>;
760 };
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530761};