blob: c80c8b8a3b8fb5ba409b59ca86a17429e075c033 [file] [log] [blame]
Channagoud Kadabi6d4bb832016-06-30 23:40:05 -07001/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#include "skeleton64.dtsi"
Deepak Katragadda22a9bbe2016-08-02 17:24:10 -070014#include <dt-bindings/clock/qcom,gcc-skunk.h>
15#include <dt-bindings/clock/qcom,camcc-skunk.h>
16#include <dt-bindings/clock/qcom,dispcc-skunk.h>
17#include <dt-bindings/clock/qcom,gpucc-skunk.h>
18#include <dt-bindings/clock/qcom,videocc-skunk.h>
David Collins5ab42b92016-07-07 17:38:51 -070019#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
Satya Durga Srinivasu Prabhalafbddbe72016-09-12 11:40:11 -070020#include <dt-bindings/interrupt-controller/arm-gic.h>
Lina Iyer9f782ba2016-10-11 15:13:50 -060021#include <dt-bindings/soc/qcom,tcs-mbox.h>
Channagoud Kadabi6d4bb832016-06-30 23:40:05 -070022
23/ {
24 model = "Qualcomm Technologies, Inc. MSM SKUNK";
25 compatible = "qcom,msmskunk";
26 qcom,msm-id = <321 0x0>;
27 interrupt-parent = <&intc>;
28
29 cpus {
30 #address-cells = <2>;
31 #size-cells = <0>;
32
33 CPU0: cpu@0 {
34 device_type = "cpu";
35 compatible = "arm,armv8";
36 reg = <0x0 0x0>;
37 enable-method = "spin-table";
38 cache-size = <0x8000>;
39 cpu-release-addr = <0x0 0x90000000>;
40 next-level-cache = <&L2_0>;
41 L2_0: l2-cache {
42 compatible = "arm,arch-cache";
43 cache-size = <0x20000>;
44 cache-level = <2>;
45 next-level-cache = <&L3_0>;
46
47 L3_0: l3-cache {
48 compatible = "arm,arch-cache";
49 cache-size = <0x200000>;
50 cache-level = <3>;
51 };
52 };
53 };
54
55 CPU1: cpu@1 {
56 device_type = "cpu";
57 compatible = "arm,armv8";
Channagoud Kadabi75c32072016-08-05 22:19:26 -070058 reg = <0x0 0x100>;
Channagoud Kadabi6d4bb832016-06-30 23:40:05 -070059 enable-method = "spin-table";
60 cache-size = <0x8000>;
61 cpu-release-addr = <0x0 0x90000000>;
62 next-level-cache = <&L2_1>;
63 L2_1: l2-cache {
64 compatible = "arm,arch-cache";
65 cache-size = <0x20000>;
66 cache-level = <2>;
67 next-level-cache = <&L3_0>;
68 };
69 };
70
71 CPU2: cpu@2 {
72 device_type = "cpu";
73 compatible = "arm,armv8";
Channagoud Kadabi75c32072016-08-05 22:19:26 -070074 reg = <0x0 0x200>;
Channagoud Kadabi6d4bb832016-06-30 23:40:05 -070075 enable-method = "spin-table";
76 cache-size = <0x8000>;
77 cpu-release-addr = <0x0 0x90000000>;
78 next-level-cache = <&L2_2>;
79 L2_2: l2-cache {
80 compatible = "arm,arch-cache";
81 cache-size = <0x20000>;
82 cache-level = <2>;
83 next-level-cache = <&L3_0>;
84 };
85 };
86
87 CPU3: cpu@3 {
88 device_type = "cpu";
89 compatible = "arm,armv8";
Channagoud Kadabi75c32072016-08-05 22:19:26 -070090 reg = <0x0 0x300>;
Channagoud Kadabi6d4bb832016-06-30 23:40:05 -070091 enable-method = "spin-table";
92 cache-size = <0x8000>;
93 cpu-release-addr = <0x0 0x90000000>;
94 next-level-cache = <&L2_3>;
95 L2_3: l2-cache {
96 compatible = "arm,arch-cache";
97 cache-size = <0x20000>;
98 cache-level = <2>;
99 next-level-cache = <&L3_0>;
100 };
101 };
102
103 CPU4: cpu@100 {
104 device_type = "cpu";
105 compatible = "arm,armv8";
Channagoud Kadabi75c32072016-08-05 22:19:26 -0700106 reg = <0x0 0x400>;
Channagoud Kadabi6d4bb832016-06-30 23:40:05 -0700107 enable-method = "spin-table";
108 cache-size = <0x20000>;
109 cpu-release-addr = <0x0 0x90000000>;
110 next-level-cache = <&L2_4>;
111 L2_4: l2-cache {
112 compatible = "arm,arch-cache";
113 cache-size = <0x40000>;
114 cache-level = <2>;
115 next-level-cache = <&L3_0>;
116 };
117 };
118
119 CPU5: cpu@101 {
120 device_type = "cpu";
121 compatible = "arm,armv8";
Channagoud Kadabi75c32072016-08-05 22:19:26 -0700122 reg = <0x0 0x500>;
Channagoud Kadabi6d4bb832016-06-30 23:40:05 -0700123 enable-method = "spin-table";
124 cache-size = <0x20000>;
125 cpu-release-addr = <0x0 0x90000000>;
126 next-level-cache = <&L2_5>;
127 L2_5: l2-cache {
128 compatible = "arm,arch-cache";
129 cache-size = <0x40000>;
130 cache-level = <2>;
131 next-level-cache = <&L3_0>;
132 };
133 };
134
135 CPU6: cpu@102 {
136 device_type = "cpu";
137 compatible = "arm,armv8";
Channagoud Kadabi75c32072016-08-05 22:19:26 -0700138 reg = <0x0 0x600>;
Channagoud Kadabi6d4bb832016-06-30 23:40:05 -0700139 enable-method = "spin-table";
140 cache-size = <0x20000>;
141 cpu-release-addr = <0x0 0x90000000>;
142 next-level-cache = <&L2_6>;
143 L2_6: l2-cache {
144 compatible = "arm,arch-cache";
145 cache-size = <0x40000>;
146 cache-level = <2>;
147 next-level-cache = <&L3_0>;
148 };
149 };
150
151 CPU7: cpu@103 {
152 device_type = "cpu";
153 compatible = "arm,armv8";
Channagoud Kadabi75c32072016-08-05 22:19:26 -0700154 reg = <0x0 0x700>;
Channagoud Kadabi6d4bb832016-06-30 23:40:05 -0700155 enable-method = "spin-table";
156 cache-size = <0x20000>;
157 cpu-release-addr = <0x0 0x90000000>;
158 next-level-cache = <&L2_7>;
159 L2_7: l2-cache {
160 compatible = "arm,arch-cache";
161 cache-size = <0x40000>;
162 cache-level = <2>;
163 next-level-cache = <&L3_0>;
164 };
165 };
166
167 cpu-map {
168 cluster0 {
169 core0 {
170 cpu = <&CPU0>;
171 };
172
173 core1 {
174 cpu = <&CPU1>;
175 };
176
177 core2 {
178 cpu = <&CPU2>;
179 };
180
181 core3 {
182 cpu = <&CPU3>;
183 };
184 };
185
186 cluster1 {
187 core0 {
188 cpu = <&CPU4>;
189 };
190
191 core1 {
192 cpu = <&CPU5>;
193 };
194
195 core2 {
196 cpu = <&CPU6>;
197 };
198
199 core3 {
200 cpu = <&CPU7>;
201 };
202 };
203 };
204 };
205
206 soc: soc { };
Patrick Dalyff211c82016-07-19 20:26:40 -0700207
208 reserved-memory {
209 #address-cells = <2>;
210 #size-cells = <2>;
211 ranges;
212
213 removed_regions: removed_regions@85800000 {
214 no-map;
215 reg = <0 0x85800000 0 0x3700000>;
216 };
217
Patrick Daly69c4d1d2016-10-19 16:03:09 -0700218 pil_camera_mem: camera_region@8ab00000 {
Patrick Dalyff211c82016-07-19 20:26:40 -0700219 compatible = "removed-dma-pool";
220 no-map;
Patrick Daly69c4d1d2016-10-19 16:03:09 -0700221 reg = <0 0x8ab00000 0 0x500000>;
Patrick Dalyff211c82016-07-19 20:26:40 -0700222 };
223
Patrick Daly69c4d1d2016-10-19 16:03:09 -0700224 pil_modem_mem: modem_region@8b000000 {
Patrick Dalyff211c82016-07-19 20:26:40 -0700225 compatible = "removed-dma-pool";
226 no-map;
Patrick Daly69c4d1d2016-10-19 16:03:09 -0700227 reg = <0 0x8b000000 0 0x6e00000>;
Patrick Dalyff211c82016-07-19 20:26:40 -0700228 };
229
Patrick Daly69c4d1d2016-10-19 16:03:09 -0700230 pil_video_mem: pil_video_region@91e00000 {
Patrick Dalyff211c82016-07-19 20:26:40 -0700231 compatible = "removed-dma-pool";
232 no-map;
Patrick Daly69c4d1d2016-10-19 16:03:09 -0700233 reg = <0 0x91e00000 0 0x500000>;
Patrick Dalyff211c82016-07-19 20:26:40 -0700234 };
235
Patrick Daly69c4d1d2016-10-19 16:03:09 -0700236 pil_cdsp_mem: cdsp_regions@92300000 {
Patrick Dalyff211c82016-07-19 20:26:40 -0700237 compatible = "removed-dma-pool";
238 no-map;
Patrick Daly69c4d1d2016-10-19 16:03:09 -0700239 reg = <0 0x92300000 0 0x800000>;
Patrick Dalyff211c82016-07-19 20:26:40 -0700240 };
241
Patrick Daly69c4d1d2016-10-19 16:03:09 -0700242 pil_adsp_mem: pil_adsp_region@92b00000 {
Patrick Dalyff211c82016-07-19 20:26:40 -0700243 compatible = "removed-dma-pool";
244 no-map;
Patrick Daly69c4d1d2016-10-19 16:03:09 -0700245 reg = <0 0x92b00000 0 0x1a00000>;
Patrick Dalyff211c82016-07-19 20:26:40 -0700246 };
247
Patrick Daly69c4d1d2016-10-19 16:03:09 -0700248 pil_slpi_mem: pil_slpi_region@94500000 {
Patrick Dalyff211c82016-07-19 20:26:40 -0700249 compatible = "removed-dma-pool";
250 no-map;
Patrick Daly69c4d1d2016-10-19 16:03:09 -0700251 reg = <0 0x94500000 0 0xf00000>;
Patrick Dalyff211c82016-07-19 20:26:40 -0700252 };
253
Patrick Daly69c4d1d2016-10-19 16:03:09 -0700254 pil_spss_mem: spss_region@95400000 {
Patrick Dalyff211c82016-07-19 20:26:40 -0700255 compatible = "removed-dma-pool";
256 no-map;
Patrick Daly69c4d1d2016-10-19 16:03:09 -0700257 reg = <0 0x95400000 0 0x700000>;
Patrick Dalyff211c82016-07-19 20:26:40 -0700258 };
259
260 adsp_mem: adsp_region {
261 compatible = "shared-dma-pool";
262 alloc-ranges = <0 0x00000000 0 0xffffffff>;
263 reusable;
264 alignment = <0 0x400000>;
265 size = <0 0x800000>;
266 };
267
268 qseecom_mem: qseecom_region {
269 compatible = "shared-dma-pool";
270 alloc-ranges = <0 0x00000000 0 0xffffffff>;
271 reusable;
272 alignment = <0 0x400000>;
273 size = <0 0x1400000>;
274 };
275
276 sp_mem: sp_region { /* SPSS-HLOS ION shared mem */
277 compatible = "shared-dma-pool";
278 alloc-ranges = <0 0x00000000 0 0xffffffff>; /* 32-bit */
279 reusable;
280 alignment = <0 0x400000>;
281 size = <0 0x800000>;
282 };
283
284 secure_display_memory: secure_display_region {
285 compatible = "shared-dma-pool";
286 alloc-ranges = <0 0x00000000 0 0xffffffff>;
287 reusable;
288 alignment = <0 0x400000>;
289 size = <0 0x5c00000>;
290 };
291
292 /* global autoconfigured region for contiguous allocations */
293 linux,cma {
294 compatible = "shared-dma-pool";
295 alloc-ranges = <0 0x00000000 0 0xffffffff>;
296 reusable;
297 alignment = <0 0x400000>;
298 size = <0 0x2000000>;
299 linux,cma-default;
300 };
301 };
Channagoud Kadabi6d4bb832016-06-30 23:40:05 -0700302};
303
Deepak Katragadda7b16dba2016-08-05 18:06:30 -0700304#include "msm-gdsc-skunk.dtsi"
305
Channagoud Kadabi6d4bb832016-06-30 23:40:05 -0700306&soc {
307 #address-cells = <1>;
308 #size-cells = <1>;
309 ranges = <0 0 0 0xffffffff>;
310 compatible = "simple-bus";
311
312 intc: interrupt-controller@17a00000 {
313 compatible = "arm,gic-v3";
314 #interrupt-cells = <3>;
315 interrupt-controller;
316 #redistributor-regions = <1>;
317 redistributor-stride = <0x0 0x20000>;
318 reg = <0x17a00000 0x10000>, /* GICD */
Kyle Yanc59b3552016-09-29 16:25:03 -0700319 <0x17a60000 0x100000>; /* GICR * 8 */
Channagoud Kadabi6d4bb832016-06-30 23:40:05 -0700320 interrupts = <1 9 4>;
321 };
322
323 timer {
324 compatible = "arm,armv8-timer";
325 interrupts = <1 1 0xf08>,
326 <1 2 0xf08>,
327 <1 3 0xf08>,
328 <1 0 0xf08>;
329 clock-frequency = <19200000>;
330 };
331
332 timer@0x17C90000{
333 #address-cells = <1>;
334 #size-cells = <1>;
335 ranges;
336 compatible = "arm,armv7-timer-mem";
337 reg = <0x17C90000 0x1000>;
338 clock-frequency = <19200000>;
339
340 frame@0x17CA0000 {
341 frame-number = <0>;
342 interrupts = <0 8 0x4>,
343 <0 7 0x4>;
344 reg = <0x17CA0000 0x1000>,
345 <0x17CB0000 0x1000>;
346 };
347
348 frame@17cc0000 {
349 frame-number = <1>;
350 interrupts = <0 9 0x4>;
351 reg = <0x17cc0000 0x1000>;
352 status = "disabled";
353 };
354
355 frame@17cd0000 {
356 frame-number = <2>;
357 interrupts = <0 10 0x4>;
358 reg = <0x17cd0000 0x1000>;
359 status = "disabled";
360 };
361
362 frame@17ce0000 {
363 frame-number = <3>;
364 interrupts = <0 11 0x4>;
365 reg = <0x17ce0000 0x1000>;
366 status = "disabled";
367 };
368
369 frame@17cf0000 {
370 frame-number = <4>;
371 interrupts = <0 12 0x4>;
372 reg = <0x17cf0000 0x1000>;
373 status = "disabled";
374 };
375
376 frame@17d00000 {
377 frame-number = <5>;
378 interrupts = <0 36 0x4>;
379 reg = <0x17d00000 0x1000>;
380 status = "disabled";
381 };
382
383 frame@17d10000 {
384 frame-number = <6>;
385 interrupts = <0 37 0x4>;
386 reg = <0x17d10000 0x1000>;
387 status = "disabled";
388 };
389 };
Deepak Katragaddacfb593f2016-07-15 12:30:37 -0700390
Deepak Katragaddaf8b9cc62016-11-02 15:17:15 -0700391 clock_gcc: qcom,gcc@100000 {
392 compatible = "qcom,gcc-msmskunk";
393 reg = <0x100000 0x1f0000>;
394 reg-names = "cc_base";
David Collins3a457942016-12-09 16:59:51 -0800395 vdd_cx-supply = <&pm8998_s9_level>;
396 vdd_cx_ao-supply = <&pm8998_s9_level_ao>;
Deepak Katragaddacfb593f2016-07-15 12:30:37 -0700397 #clock-cells = <1>;
Deepak Katragaddafbdb3252016-08-12 14:19:01 -0700398 #reset-cells = <1>;
Deepak Katragaddacfb593f2016-07-15 12:30:37 -0700399 };
400
Deepak Katragaddab09ab882016-11-09 17:47:29 -0800401 clock_videocc: qcom,videocc@ab00000 {
402 compatible = "qcom,video_cc-msmskunk";
403 reg = <0xab00000 0x10000>;
404 reg-names = "cc_base";
David Collins3a457942016-12-09 16:59:51 -0800405 vdd_cx-supply = <&pm8998_s9_level>;
Deepak Katragaddacfb593f2016-07-15 12:30:37 -0700406 #clock-cells = <1>;
Deepak Katragaddafbdb3252016-08-12 14:19:01 -0700407 #reset-cells = <1>;
Deepak Katragaddacfb593f2016-07-15 12:30:37 -0700408 };
409
410 clock_camcc: qcom,camcc {
411 compatible = "qcom,dummycc";
412 clock-output-names = "camcc_clocks";
413 #clock-cells = <1>;
Deepak Katragaddafbdb3252016-08-12 14:19:01 -0700414 #reset-cells = <1>;
Deepak Katragaddacfb593f2016-07-15 12:30:37 -0700415 };
416
417 clock_dispcc: qcom,dispcc {
418 compatible = "qcom,dummycc";
419 clock-output-names = "dispcc_clocks";
420 #clock-cells = <1>;
Deepak Katragaddafbdb3252016-08-12 14:19:01 -0700421 #reset-cells = <1>;
Deepak Katragaddacfb593f2016-07-15 12:30:37 -0700422 };
423
424 clock_gpucc: qcom,gpucc {
425 compatible = "qcom,dummycc";
426 clock-output-names = "gpucc_clocks";
427 #clock-cells = <1>;
Deepak Katragaddafbdb3252016-08-12 14:19:01 -0700428 #reset-cells = <1>;
Deepak Katragaddacfb593f2016-07-15 12:30:37 -0700429 };
Subhash Jadavani877ec812016-08-04 13:23:24 -0700430
431 ufsphy_mem: ufsphy@1d87000 {
432 reg = <0x1d87000 0xda8>; /* PHY regs */
433 reg-names = "phy_mem";
434 #phy-cells = <0>;
435
436 /* TODO: add "ref_clk_src" */
437 clock-names = "ref_clk",
438 "ref_aux_clk";
439 clocks = <&clock_gcc GCC_UFS_MEM_CLKREF_CLK>,
440 <&clock_gcc GCC_UFS_PHY_PHY_AUX_CLK>;
441
442 status = "disabled";
443 };
444
445 ufs_mem: ufshc@1d84000 {
446 compatible = "qcom,ufshc";
447 reg = <0x1d84000 0x2500>;
448 interrupts = <0 265 0>;
449 phys = <&ufsphy_mem>;
450 phy-names = "ufsphy";
451
Subhash Jadavani588f2092016-09-08 17:58:31 -0700452 lanes-per-direction = <2>;
453
Subhash Jadavani877ec812016-08-04 13:23:24 -0700454 /* TODO: add "ref_clk" */
455 clock-names =
456 "core_clk",
457 "bus_aggr_clk",
458 "iface_clk",
459 "core_clk_unipro",
460 "core_clk_ice",
461 "tx_lane0_sync_clk",
462 "rx_lane0_sync_clk",
463 "rx_lane1_sync_clk";
464 clocks =
465 <&clock_gcc GCC_UFS_PHY_AXI_CLK>,
466 <&clock_gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
467 <&clock_gcc GCC_UFS_PHY_AHB_CLK>,
468 <&clock_gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
469 <&clock_gcc GCC_UFS_PHY_ICE_CORE_CLK>,
470 <&clock_gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
471 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
472 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
473 freq-table-hz =
474 <50000000 200000000>,
475 <0 0>,
476 <0 0>,
477 <37500000 150000000>,
478 <75000000 300000000>,
479 <0 0>,
480 <0 0>,
481 <0 0>;
482
483 qcom,msm-bus,name = "ufs_mem";
Subhash Jadavani588f2092016-09-08 17:58:31 -0700484 qcom,msm-bus,num-cases = <22>;
Subhash Jadavani877ec812016-08-04 13:23:24 -0700485 qcom,msm-bus,num-paths = <2>;
486 qcom,msm-bus,vectors-KBps =
487 <95 512 0 0>, <1 650 0 0>, /* No vote */
488 <95 512 922 0>, <1 650 1000 0>, /* PWM G1 */
489 <95 512 1844 0>, <1 650 1000 0>, /* PWM G2 */
490 <95 512 3688 0>, <1 650 1000 0>, /* PWM G3 */
491 <95 512 7376 0>, <1 650 1000 0>, /* PWM G4 */
Subhash Jadavani588f2092016-09-08 17:58:31 -0700492 <95 512 1844 0>, <1 650 1000 0>, /* PWM G1 L2 */
493 <95 512 3688 0>, <1 650 1000 0>, /* PWM G2 L2 */
494 <95 512 7376 0>, <1 650 1000 0>, /* PWM G3 L2 */
495 <95 512 14752 0>, <1 650 1000 0>, /* PWM G4 L2 */
Subhash Jadavani877ec812016-08-04 13:23:24 -0700496 <95 512 127796 0>, <1 650 1000 0>, /* HS G1 RA */
497 <95 512 255591 0>, <1 650 1000 0>, /* HS G2 RA */
498 <95 512 511181 0>, <1 650 1000 0>, /* HS G3 RA */
Subhash Jadavani588f2092016-09-08 17:58:31 -0700499 <95 512 255591 0>, <1 650 1000 0>, /* HS G1 RA L2 */
500 <95 512 511181 0>, <1 650 1000 0>, /* HS G2 RA L2 */
501 <95 512 1022362 0>, <1 650 1000 0>, /* HS G3 RA L2 */
Subhash Jadavani877ec812016-08-04 13:23:24 -0700502 <95 512 149422 0>, <1 650 1000 0>, /* HS G1 RB */
503 <95 512 298189 0>, <1 650 1000 0>, /* HS G2 RB */
504 <95 512 596378 0>, <1 650 1000 0>, /* HS G3 RB */
Subhash Jadavani588f2092016-09-08 17:58:31 -0700505 <95 512 298189 0>, <1 650 1000 0>, /* HS G1 RB L2 */
506 <95 512 596378 0>, <1 650 1000 0>, /* HS G2 RB L2 */
507 <95 512 1192756 0>, <1 650 1000 0>, /* HS G3 RB L2 */
Subhash Jadavani877ec812016-08-04 13:23:24 -0700508 <95 512 4096000 0>, <1 650 1000 0>; /* Max. bandwidth */
509 qcom,bus-vector-names = "MIN",
510 "PWM_G1_L1", "PWM_G2_L1", "PWM_G3_L1", "PWM_G4_L1",
Subhash Jadavani588f2092016-09-08 17:58:31 -0700511 "PWM_G1_L2", "PWM_G2_L2", "PWM_G3_L2", "PWM_G4_L2",
Subhash Jadavani877ec812016-08-04 13:23:24 -0700512 "HS_RA_G1_L1", "HS_RA_G2_L1", "HS_RA_G3_L1",
Subhash Jadavani588f2092016-09-08 17:58:31 -0700513 "HS_RA_G1_L2", "HS_RA_G2_L2", "HS_RA_G3_L2",
Subhash Jadavani877ec812016-08-04 13:23:24 -0700514 "HS_RB_G1_L1", "HS_RB_G2_L1", "HS_RB_G3_L1",
Subhash Jadavani588f2092016-09-08 17:58:31 -0700515 "HS_RB_G1_L2", "HS_RB_G2_L2", "HS_RB_G3_L2",
Subhash Jadavani877ec812016-08-04 13:23:24 -0700516 "MAX";
517
518 status = "disabled";
519 };
Satyajit Desai17da0592016-08-08 18:38:32 -0700520
Kyle Yan384b13c2016-10-18 11:11:37 -0700521 pil_modem: qcom,mss@4080000 {
522 compatible = "qcom,pil-q6v55-mss";
523 reg = <0x4080000 0x100>,
524 <0x1f63000 0x008>,
525 <0x1f65000 0x008>,
526 <0x1f64000 0x008>,
527 <0x4180000 0x020>,
528 <0x00179000 0x004>;
529 reg-names = "qdsp6_base", "halt_q6", "halt_modem",
530 "halt_nc", "rmb_base", "restart_reg";
531
532 clocks = <&clock_gcc RPMH_CXO_CLK>,
533 <&clock_gcc GCC_MSS_CFG_AHB_CLK>,
534 <&clock_gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
535 <&clock_gcc GCC_BOOT_ROM_AHB_CLK>,
536 <&clock_gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
537 <&clock_gcc GCC_MSS_SNOC_AXI_CLK>,
538 <&clock_gcc GCC_MSS_MFAB_AXIS_CLK>;
539 clock-names = "xo", "iface_clk", "bus_clk",
540 "mem_clk", "gpll0_mss_clk", "snoc_axi_clk",
541 "mnoc_axi_clk";
542 qcom,proxy-clock-names = "xo";
543 qcom,active-clock-names = "iface_clk", "bus_clk", "mem_clk",
544 "gpll0_mss_clk", "snoc_axi_clk",
545 "mnoc_axi_clk";
546
547 interrupts = <0 266 1>;
David Collins3a457942016-12-09 16:59:51 -0800548 vdd_cx-supply = <&pm8998_s9_level>;
Kyle Yan384b13c2016-10-18 11:11:37 -0700549 vdd_cx-voltage = <RPMH_REGULATOR_LEVEL_MAX>;
David Collins3a457942016-12-09 16:59:51 -0800550 vdd_mx-supply = <&pm8998_s6_level>;
Kyle Yan384b13c2016-10-18 11:11:37 -0700551 vdd_mx-uV = <RPMH_REGULATOR_LEVEL_MAX>;
552 qcom,firmware-name = "modem";
553 qcom,pil-self-auth;
554 qcom,sysmon-id = <0>;
555 qcom,ssctl-instance-id = <0x12>;
556 qcom,override-acc;
557 qcom,qdsp6v65-1-0;
558 status = "ok";
559 memory-region = <&pil_modem_mem>;
560 qcom,mem-protect-id = <0xF>;
561
562 /* GPIO inputs from mss */
563 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
564 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>;
565 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>;
566 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_1_in 3 0>;
567 qcom,gpio-shutdown-ack = <&smp2pgpio_ssr_smp2p_1_in 7 0>;
568
569 /* GPIO output to mss */
570 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
571 };
572
Kyle Yand119cf82016-10-19 14:49:04 -0700573 qcom,lpass@17300000 {
574 compatible = "qcom,pil-tz-generic";
575 reg = <0x17300000 0x00100>;
576 interrupts = <0 162 1>;
577
David Collins3a457942016-12-09 16:59:51 -0800578 vdd_cx-supply = <&pm8998_s9_level>;
Kyle Yand119cf82016-10-19 14:49:04 -0700579 qcom,proxy-reg-names = "vdd_cx";
580 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_MAX 100000>;
581
582 clocks = <&clock_gcc RPMH_CXO_CLK>;
583 clock-names = "xo";
584 qcom,proxy-clock-names = "xo";
585
586 qcom,pas-id = <1>;
587 qcom,proxy-timeout-ms = <10000>;
588 qcom,smem-id = <423>;
589 qcom,sysmon-id = <1>;
590 status = "ok";
591 qcom,ssctl-instance-id = <0x14>;
592 qcom,firmware-name = "adsp";
593 memory-region = <&pil_adsp_mem>;
594
595 /* GPIO inputs from lpass */
596 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
597 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
598 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>;
599 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_2_in 3 0>;
600
601 /* GPIO output to lpass */
602 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;
603 };
604
Kyle Yanb693da32016-10-20 14:01:09 -0700605 qcom,ssc@5c00000 {
606 compatible = "qcom,pil-tz-generic";
607 reg = <0x5c00000 0x4000>;
608 interrupts = <0 494 1>;
609
David Collins3a457942016-12-09 16:59:51 -0800610 vdd_cx-supply = <&pm8998_l27_level>;
611 vdd_px-supply = <&pm8998_lvs2>;
Kyle Yanb693da32016-10-20 14:01:09 -0700612 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_MAX 0>;
613 qcom,proxy-reg-names = "vdd_cx", "vdd_px";
614 qcom,keep-proxy-regs-on;
615
616 clocks = <&clock_gcc RPMH_CXO_CLK>;
617 clock-names = "xo";
618 qcom,proxy-clock-names = "xo";
619
620 qcom,pas-id = <12>;
621 qcom,proxy-timeout-ms = <10000>;
622 qcom,smem-id = <424>;
623 qcom,sysmon-id = <3>;
624 qcom,ssctl-instance-id = <0x16>;
625 qcom,firmware-name = "slpi";
626 status = "ok";
627 memory-region = <&pil_slpi_mem>;
628
629 /* GPIO inputs from ssc */
630 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_3_in 0 0>;
631 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_3_in 2 0>;
632 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_3_in 1 0>;
633 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_3_in 3 0>;
634
635 /* GPIO output to ssc */
636 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_3_out 0 0>;
637 };
638
Satya Durga Srinivasu Prabhalafbddbe72016-09-12 11:40:11 -0700639 eud: qcom,msm-eud@88e0000 {
640 compatible = "qcom,msm-eud";
641 interrupt-names = "eud_irq";
642 interrupts = <GIC_SPI 492 IRQ_TYPE_LEVEL_HIGH>;
Kyle Yan3801a1f2016-09-27 18:29:55 -0700643 reg = <0x88e0000 0x2000>;
Satya Durga Srinivasu Prabhalafbddbe72016-09-12 11:40:11 -0700644 reg-names = "eud_base";
645 status = "ok";
646 };
647
Kyle Yan79653352016-10-20 15:40:45 -0700648 qcom,spss@1880000 {
649 compatible = "qcom,pil-tz-generic";
650 reg = <0x188101c 0x4>,
651 <0x1881024 0x4>,
652 <0x1881028 0x4>,
653 <0x188103c 0x4>,
654 <0x1882014 0x4>;
655 reg-names = "sp2soc_irq_status", "sp2soc_irq_clr",
656 "sp2soc_irq_mask", "rmb_err", "rmb_err_spare2";
657 interrupts = <0 352 1>;
658
David Collins3a457942016-12-09 16:59:51 -0800659 vdd_cx-supply = <&pm8998_s9_level>;
Kyle Yan79653352016-10-20 15:40:45 -0700660 qcom,proxy-reg-names = "vdd_cx";
661 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_MAX 100000>;
David Collins3a457942016-12-09 16:59:51 -0800662 vdd_mx-supply = <&pm8998_s6_level>;
Kyle Yan79653352016-10-20 15:40:45 -0700663 vdd_mx-uV = <RPMH_REGULATOR_LEVEL_MAX 100000>;
664
665 clocks = <&clock_gcc RPMH_CXO_CLK>;
666 clock-names = "xo";
667 qcom,proxy-clock-names = "xo";
668 qcom,pil-generic-irq-handler;
669 status = "ok";
670
671 qcom,pas-id = <14>;
672 qcom,proxy-timeout-ms = <10000>;
673 qcom,firmware-name = "spss";
674 memory-region = <&pil_spss_mem>;
675 qcom,spss-scsr-bits = <24 25>;
676 };
677
Satyajit Desai17da0592016-08-08 18:38:32 -0700678 wdog: qcom,wdt@17980000{
679 compatible = "qcom,msm-watchdog";
680 reg = <0x17980000 0x1000>;
681 reg-names = "wdt-base";
682 interrupts = <0 3 0>, <0 4 0>;
683 qcom,bark-time = <11000>;
684 qcom,pet-time = <10000>;
685 qcom,ipi-ping;
686 qcom,wakeup-enable;
687 };
Satyajit Desai5e2b88a2016-08-10 17:08:08 -0700688
Kyle Yan02e95f72016-10-18 14:38:41 -0700689 qcom,turing@8300000 {
690 compatible = "qcom,pil-tz-generic";
691 reg = <0x8300000 0x100000>;
692 interrupts = <0 578 1>;
693
David Collins3a457942016-12-09 16:59:51 -0800694 vdd_cx-supply = <&pm8998_s9_level>;
Kyle Yan02e95f72016-10-18 14:38:41 -0700695 qcom,proxy-reg-names = "vdd_cx";
696 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_MAX 100000>;
697
698 clocks = <&clock_gcc RPMH_CXO_CLK>;
699 clock-names = "xo";
700 qcom,proxy-clock-names = "xo";
701
702 qcom,pas-id = <18>;
703 qcom,proxy-timeout-ms = <10000>;
704 qcom,smem-id = <423>;
705 qcom,sysmon-id = <7>;
706 qcom,ssctl-instance-id = <0x17>;
707 qcom,firmware-name = "cdsp";
708 memory-region = <&pil_cdsp_mem>;
709
710 /* GPIO inputs from turing */
711 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_5_in 0 0>;
712 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_5_in 2 0>;
713 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_5_in 1 0>;
714 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_5_in 3 0>;
715
716 /* GPIO output to turing*/
717 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_5_out 0 0>;
718 status = "ok";
719 };
720
Satyajit Desai5e2b88a2016-08-10 17:08:08 -0700721 qcom,msm-imem@146bf000 {
722 compatible = "qcom,msm-imem";
723 reg = <0x146bf000 0x1000>;
724 ranges = <0x0 0x146bf000 0x1000>;
725 #address-cells = <1>;
726 #size-cells = <1>;
727
728 mem_dump_table@10 {
729 compatible = "qcom,msm-imem-mem_dump_table";
730 reg = <0x10 8>;
731 };
Kyle Yan3d71bbe2016-11-01 16:02:26 -0700732
733 pil@94c {
734 compatible = "qcom,msm-imem-pil";
735 reg = <0x94c 200>;
736 };
Satyajit Desai5e2b88a2016-08-10 17:08:08 -0700737 };
Kyle Yanddc44242016-06-20 14:42:14 -0700738
Kyle Yan74747da2016-09-14 16:24:30 -0700739 qcom,venus@aae0000 {
740 compatible = "qcom,pil-tz-generic";
741 reg = <0xaae0000 0x4000>;
742
743 vdd-supply = <&venus_gdsc>;
744 qcom,proxy-reg-names = "vdd";
745
746 clocks = <&clock_videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
747 <&clock_videocc VIDEO_CC_VENUS_AHB_CLK>,
748 <&clock_videocc VIDEO_CC_VENUS_CTL_AXI_CLK>;
749 clock-names = "core_clk", "iface_clk", "bus_clk";
750 qcom,proxy-clock-names = "core_clk", "iface_clk", "bus_clk";
751
752 qcom,pas-id = <9>;
753 qcom,msm-bus,name = "pil-venus";
754 qcom,msm-bus,num-cases = <2>;
755 qcom,msm-bus,num-paths = <1>;
756 qcom,msm-bus,vectors-KBps =
757 <63 512 0 0>,
758 <63 512 0 304000>;
759 qcom,proxy-timeout-ms = <100>;
760 qcom,firmware-name = "venus";
761 memory-region = <&pil_video_mem>;
762 status = "ok";
763 };
764
Kyle Yanddc44242016-06-20 14:42:14 -0700765 kryo3xx-erp {
766 compatible = "arm,arm64-kryo3xx-cpu-erp";
767 interrupts = <1 6 4>,
768 <1 7 4>,
769 <0 34 4>,
770 <0 35 4>;
771
772 interrupt-names = "l1-l2-faultirq",
773 "l1-l2-errirq",
774 "l3-scu-errirq",
775 "l3-scu-faultirq";
776 };
Channagoud Kadabiddeeb782016-06-23 18:56:25 -0700777
778 qcom,llcc@1300000 {
Channagoud Kadabi8751c892016-10-14 13:40:19 -0700779 compatible = "qcom,llcc-core", "syscon", "simple-mfd";
Channagoud Kadabiddeeb782016-06-23 18:56:25 -0700780 reg = <0x1300000 0x50000>;
781 reg-names = "llcc_base";
Channagoud Kadabiddeeb782016-06-23 18:56:25 -0700782
783 llcc: qcom,msmskunk-llcc {
784 compatible = "qcom,msmskunk-llcc";
785 #cache-cells = <1>;
786 max-slices = <32>;
787 };
788
789 qcom,llcc-erp {
790 compatible = "qcom,llcc-erp";
Channagoud Kadabic26a8912016-11-21 13:57:20 -0800791 interrupt-names = "ecc_irq";
792 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
Channagoud Kadabiddeeb782016-06-23 18:56:25 -0700793 };
794
795 qcom,llcc-amon {
796 compatible = "qcom,llcc-amon";
797 };
798 };
Chris Lewecef30b2016-08-22 13:52:49 -0700799
800 qcom,ipc-spinlock@1f40000 {
801 compatible = "qcom,ipc-spinlock-sfpb";
802 reg = <0x1f40000 0x8000>;
803 qcom,num-locks = <8>;
804 };
Chris Lew05f9fb72016-08-22 13:55:10 -0700805
806 qcom,smem@86000000 {
807 compatible = "qcom,smem";
808 reg = <0x86000000 0x200000>,
809 <0x17911008 0x4>,
810 <0x778000 0x7000>,
811 <0x1fd4000 0x8>;
812 reg-names = "smem", "irq-reg-base", "aux-mem1",
813 "smem_targ_info_reg";
814 qcom,mpu-enabled;
815 };
Chris Lew031aed02016-08-22 13:58:59 -0700816
817 qcom,glink-mailbox-xprt-spss@1885008 {
818 compatible = "qcom,glink-mailbox-xprt";
819 reg = <0x1885008 0x8>,
820 <0x1885010 0x4>,
821 <0x188501c 0x4>,
822 <0x1886008 0x4>;
823 reg-names = "mbox-loc-addr", "mbox-loc-size", "irq-reg-base",
824 "irq-rx-reset";
825 qcom,irq-mask = <0x1>;
826 interrupts = <0 348 4>;
827 label = "spss";
828 qcom,tx-ring-size = <0x400>;
829 qcom,rx-ring-size = <0x400>;
830 };
Lina Iyer9f782ba2016-10-11 15:13:50 -0600831
832 apps_rsc: mailbox@179e0000 {
833 compatible = "qcom,tcs-drv";
834 reg = <0x179e0000 0x100>, <0x179e0d00 0x3000>;
835 interrupts = <0 5 0>;
836 #mbox-cells = <1>;
837 qcom,drv-id = <2>;
838 qcom,tcs-config = <SLEEP_TCS 3>,
839 <WAKE_TCS 3>,
840 <ACTIVE_TCS 2>,
841 <CONTROL_TCS 1>;
842 };
Lina Iyer4522ca42016-10-18 16:57:19 -0600843
844 disp_rsc: mailbox@af20000 {
845 status = "disabled";
846 compatible = "qcom,tcs-drv";
847 reg = <0xaf20000 0x100>, <0xaf21c00 0x3000>;
848 interrupts = <0 129 0>;
849 #mbox-cells = <1>;
850 qcom,drv-id = <0>;
851 qcom,tcs-config = <SLEEP_TCS 1>,
852 <WAKE_TCS 1>,
853 <ACTIVE_TCS 0>,
854 <CONTROL_TCS 1>;
855 };
Lina Iyerac0d4ed2016-10-20 13:48:31 -0600856
857 system_pm {
858 compatible = "qcom,system-pm";
859 mboxes = <&apps_rsc 0>;
860 };
Karthikeyan Ramasubramanian47260462016-09-19 14:15:45 -0600861
862 qcom,glink-smem-native-xprt-modem@86000000 {
863 compatible = "qcom,glink-smem-native-xprt";
864 reg = <0x86000000 0x200000>,
865 <0x1799000c 0x4>;
866 reg-names = "smem", "irq-reg-base";
867 qcom,irq-mask = <0x1000>;
868 interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
869 label = "mpss";
870 };
871
872 qcom,glink-smem-native-xprt-adsp@86000000 {
873 compatible = "qcom,glink-smem-native-xprt";
874 reg = <0x86000000 0x200000>,
875 <0x1799000c 0x4>;
876 reg-names = "smem", "irq-reg-base";
877 qcom,irq-mask = <0x100>;
878 interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
879 label = "lpass";
880 };
881
882 qcom,glink-smem-native-xprt-dsps@86000000 {
883 compatible = "qcom,glink-smem-native-xprt";
884 reg = <0x86000000 0x200000>,
885 <0x1799000c 0x4>;
886 reg-names = "smem", "irq-reg-base";
887 qcom,irq-mask = <0x1000000>;
888 interrupts = <GIC_SPI 170 IRQ_TYPE_EDGE_RISING>;
889 label = "dsps";
890 };
891
892 qcom,glink-smem-native-xprt-cdsp@86000000 {
893 compatible = "qcom,glink-smem-native-xprt";
894 reg = <0x86000000 0x200000>,
895 <0x1799000c 0x4>;
896 reg-names = "smem", "irq-reg-base";
897 qcom,irq-mask = <0x10>;
898 interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>;
899 label = "cdsp";
900 };
Karthikeyan Ramasubramaniana0e3ff52016-09-19 14:31:36 -0600901
902 glink_mpss: qcom,glink-ssr-modem {
903 compatible = "qcom,glink_ssr";
904 label = "modem";
905 qcom,edge = "mpss";
906 qcom,notify-edges = <&glink_lpass>, <&glink_dsps>,
907 <&glink_cdsp>, <&glink_spss>;
908 qcom,xprt = "smem";
909 };
910
911 glink_lpass: qcom,glink-ssr-adsp {
912 compatible = "qcom,glink_ssr";
913 label = "adsp";
914 qcom,edge = "lpass";
915 qcom,notify-edges = <&glink_mpss>, <&glink_dsps>, <&glink_cdsp>;
916 qcom,xprt = "smem";
917 };
918
919 glink_dsps: qcom,glink-ssr-dsps {
920 compatible = "qcom,glink_ssr";
921 label = "slpi";
922 qcom,edge = "dsps";
923 qcom,notify-edges = <&glink_mpss>, <&glink_lpass>,
924 <&glink_cdsp>;
925 qcom,xprt = "smem";
926 };
927
928 glink_cdsp: qcom,glink-ssr-cdsp {
929 compatible = "qcom,glink_ssr";
930 label = "cdsp";
931 qcom,edge = "cdsp";
932 qcom,notify-edges = <&glink_mpss>, <&glink_lpass>,
933 <&glink_dsps>;
934 qcom,xprt = "smem";
935 };
936
937 glink_spss: qcom,glink-ssr-spss {
938 compatible = "qcom,glink_ssr";
939 label = "spss";
940 qcom,edge = "spss";
941 qcom,notify-edges = <&glink_mpss>;
942 qcom,xprt = "mailbox";
943 };
Karthikeyan Ramasubramanian8f0c1002016-09-19 15:44:53 -0600944
945 qcom,ipc_router {
946 compatible = "qcom,ipc_router";
947 qcom,node-id = <1>;
948 };
949
950 qcom,ipc_router_modem_xprt {
951 compatible = "qcom,ipc_router_glink_xprt";
952 qcom,ch-name = "IPCRTR";
953 qcom,xprt-remote = "mpss";
954 qcom,glink-xprt = "smem";
955 qcom,xprt-linkid = <1>;
956 qcom,xprt-version = <1>;
957 qcom,fragmented-data;
958 };
959
960 qcom,ipc_router_q6_xprt {
961 compatible = "qcom,ipc_router_glink_xprt";
962 qcom,ch-name = "IPCRTR";
963 qcom,xprt-remote = "lpass";
964 qcom,glink-xprt = "smem";
965 qcom,xprt-linkid = <1>;
966 qcom,xprt-version = <1>;
967 qcom,fragmented-data;
968 };
969
970 qcom,ipc_router_dsps_xprt {
971 compatible = "qcom,ipc_router_glink_xprt";
972 qcom,ch-name = "IPCRTR";
973 qcom,xprt-remote = "dsps";
974 qcom,glink-xprt = "smem";
975 qcom,xprt-linkid = <1>;
976 qcom,xprt-version = <1>;
977 qcom,fragmented-data;
978 };
979
980 qcom,ipc_router_cdsp_xprt {
981 compatible = "qcom,ipc_router_glink_xprt";
982 qcom,ch-name = "IPCRTR";
983 qcom,xprt-remote = "cdsp";
984 qcom,glink-xprt = "smem";
985 qcom,xprt-linkid = <1>;
986 qcom,xprt-version = <1>;
987 qcom,fragmented-data;
988 };
Karthikeyan Ramasubramanian608a2522016-09-19 15:50:38 -0600989
990 qcom,glink_pkt {
991 compatible = "qcom,glinkpkt";
992
993 qcom,glinkpkt-at-mdm0 {
994 qcom,glinkpkt-transport = "smem";
995 qcom,glinkpkt-edge = "mpss";
996 qcom,glinkpkt-ch-name = "DS";
997 qcom,glinkpkt-dev-name = "at_mdm0";
998 };
999
1000 qcom,glinkpkt-loopback_cntl {
1001 qcom,glinkpkt-transport = "lloop";
1002 qcom,glinkpkt-edge = "local";
1003 qcom,glinkpkt-ch-name = "LOCAL_LOOPBACK_CLNT";
1004 qcom,glinkpkt-dev-name = "glink_pkt_loopback_ctrl";
1005 };
1006
1007 qcom,glinkpkt-loopback_data {
1008 qcom,glinkpkt-transport = "lloop";
1009 qcom,glinkpkt-edge = "local";
1010 qcom,glinkpkt-ch-name = "glink_pkt_lloop_CLNT";
1011 qcom,glinkpkt-dev-name = "glink_pkt_loopback";
1012 };
1013
1014 qcom,glinkpkt-apr-apps2 {
1015 qcom,glinkpkt-transport = "smem";
1016 qcom,glinkpkt-edge = "adsp";
1017 qcom,glinkpkt-ch-name = "apr_apps2";
1018 qcom,glinkpkt-dev-name = "apr_apps2";
1019 };
1020
1021 qcom,glinkpkt-data40-cntl {
1022 qcom,glinkpkt-transport = "smem";
1023 qcom,glinkpkt-edge = "mpss";
1024 qcom,glinkpkt-ch-name = "DATA40_CNTL";
1025 qcom,glinkpkt-dev-name = "smdcntl8";
1026 };
1027
1028 qcom,glinkpkt-data1 {
1029 qcom,glinkpkt-transport = "smem";
1030 qcom,glinkpkt-edge = "mpss";
1031 qcom,glinkpkt-ch-name = "DATA1";
1032 qcom,glinkpkt-dev-name = "smd7";
1033 };
1034
1035 qcom,glinkpkt-data4 {
1036 qcom,glinkpkt-transport = "smem";
1037 qcom,glinkpkt-edge = "mpss";
1038 qcom,glinkpkt-ch-name = "DATA4";
1039 qcom,glinkpkt-dev-name = "smd8";
1040 };
1041
1042 qcom,glinkpkt-data11 {
1043 qcom,glinkpkt-transport = "smem";
1044 qcom,glinkpkt-edge = "mpss";
1045 qcom,glinkpkt-ch-name = "DATA11";
1046 qcom,glinkpkt-dev-name = "smd11";
1047 };
1048 };
Amir Levyca8989f2016-11-30 15:31:36 +02001049
1050 qcom,msm_gsi {
1051 compatible = "qcom,msm_gsi";
1052 };
1053
Amir Levy9654f172016-11-30 15:33:23 +02001054 qcom,rmnet-ipa {
1055 compatible = "qcom,rmnet-ipa3";
1056 qcom,rmnet-ipa-ssr;
1057 qcom,ipa-loaduC;
1058 qcom,ipa-advertise-sg-support;
1059 };
1060
Amir Levyca8989f2016-11-30 15:31:36 +02001061 ipa_hw: qcom,ipa@01e00000 {
1062 compatible = "qcom,ipa";
1063 reg = <0x1e00000 0x34000>,
1064 <0x1e04000 0x2c000>;
1065 reg-names = "ipa-base", "gsi-base";
1066 interrupts =
1067 <0 311 0>,
1068 <0 432 0>;
1069 interrupt-names = "ipa-irq", "gsi-irq";
1070 qcom,ipa-hw-ver = <13>; /* IPA core version = IPAv3.5.1 */
1071 qcom,ipa-hw-mode = <1>;
1072 qcom,ee = <0>;
1073 qcom,use-gsi;
1074 qcom,use-ipa-tethering-bridge;
1075 qcom,modem-cfg-emb-pipe-flt;
1076 qcom,ipa-wdi2;
1077 qcom,use-64-bit-dma-mask;
1078 clock-names = "core_clk";
1079 clocks = <&clock_gcc 0xfa685cda>;
1080 qcom,msm-bus,name = "ipa";
1081 qcom,msm-bus,num-cases = <4>;
1082 qcom,msm-bus,num-paths = <3>;
1083 qcom,msm-bus,vectors-KBps =
1084 /* No vote */
1085 <90 512 0 0>,
1086 <90 585 0 0>,
1087 <1 676 0 0>,
1088 /* SVS */
1089 <90 512 80000 640000>,
1090 <90 585 80000 640000>,
1091 <1 676 80000 80000>,
1092 /* NOMINAL */
1093 <90 512 206000 960000>,
1094 <90 585 206000 960000>,
1095 <1 676 206000 160000>,
1096 /* TURBO */
1097 <90 512 206000 3600000>,
1098 <90 585 206000 3600000>,
1099 <1 676 206000 300000>;
1100 qcom,bus-vector-names = "MIN", "SVS", "NOMINAL", "TURBO";
1101
1102 /* IPA RAM mmap */
1103 qcom,ipa-ram-mmap = <
1104 0x280 /* ofst_start; */
1105 0x0 /* nat_ofst; */
1106 0x0 /* nat_size; */
1107 0x288 /* v4_flt_hash_ofst; */
1108 0x78 /* v4_flt_hash_size; */
1109 0x4000 /* v4_flt_hash_size_ddr; */
1110 0x308 /* v4_flt_nhash_ofst; */
1111 0x78 /* v4_flt_nhash_size; */
1112 0x4000 /* v4_flt_nhash_size_ddr; */
1113 0x388 /* v6_flt_hash_ofst; */
1114 0x78 /* v6_flt_hash_size; */
1115 0x4000 /* v6_flt_hash_size_ddr; */
1116 0x408 /* v6_flt_nhash_ofst; */
1117 0x78 /* v6_flt_nhash_size; */
1118 0x4000 /* v6_flt_nhash_size_ddr; */
1119 0xf /* v4_rt_num_index; */
1120 0x0 /* v4_modem_rt_index_lo; */
1121 0x7 /* v4_modem_rt_index_hi; */
1122 0x8 /* v4_apps_rt_index_lo; */
1123 0xe /* v4_apps_rt_index_hi; */
1124 0x488 /* v4_rt_hash_ofst; */
1125 0x78 /* v4_rt_hash_size; */
1126 0x4000 /* v4_rt_hash_size_ddr; */
1127 0x508 /* v4_rt_nhash_ofst; */
1128 0x78 /* v4_rt_nhash_size; */
1129 0x4000 /* v4_rt_nhash_size_ddr; */
1130 0xf /* v6_rt_num_index; */
1131 0x0 /* v6_modem_rt_index_lo; */
1132 0x7 /* v6_modem_rt_index_hi; */
1133 0x8 /* v6_apps_rt_index_lo; */
1134 0xe /* v6_apps_rt_index_hi; */
1135 0x588 /* v6_rt_hash_ofst; */
1136 0x78 /* v6_rt_hash_size; */
1137 0x4000 /* v6_rt_hash_size_ddr; */
1138 0x608 /* v6_rt_nhash_ofst; */
1139 0x78 /* v6_rt_nhash_size; */
1140 0x4000 /* v6_rt_nhash_size_ddr; */
1141 0x688 /* modem_hdr_ofst; */
1142 0x140 /* modem_hdr_size; */
1143 0x7c8 /* apps_hdr_ofst; */
1144 0x0 /* apps_hdr_size; */
1145 0x800 /* apps_hdr_size_ddr; */
1146 0x7d0 /* modem_hdr_proc_ctx_ofst; */
1147 0x200 /* modem_hdr_proc_ctx_size; */
1148 0x9d0 /* apps_hdr_proc_ctx_ofst; */
1149 0x200 /* apps_hdr_proc_ctx_size; */
1150 0x0 /* apps_hdr_proc_ctx_size_ddr; */
1151 0x0 /* modem_comp_decomp_ofst; diff */
1152 0x0 /* modem_comp_decomp_size; diff */
1153 0xbd8 /* modem_ofst; */
1154 0x1424 /* modem_size; */
1155 0x1ffc /* apps_v4_flt_hash_ofst; */
1156 0x0 /* apps_v4_flt_hash_size; */
1157 0x1ffc /* apps_v4_flt_nhash_ofst; */
1158 0x0 /* apps_v4_flt_nhash_size; */
1159 0x1ffc /* apps_v6_flt_hash_ofst; */
1160 0x0 /* apps_v6_flt_hash_size; */
1161 0x1ffc /* apps_v6_flt_nhash_ofst; */
1162 0x0 /* apps_v6_flt_nhash_size; */
1163 0x80 /* uc_info_ofst; */
1164 0x200 /* uc_info_size; */
1165 0x2000 /* end_ofst; */
1166 0x1ffc /* apps_v4_rt_hash_ofst; */
1167 0x0 /* apps_v4_rt_hash_size; */
1168 0x1ffc /* apps_v4_rt_nhash_ofst; */
1169 0x0 /* apps_v4_rt_nhash_size; */
1170 0x1ffc /* apps_v6_rt_hash_ofst; */
1171 0x0 /* apps_v6_rt_hash_size; */
1172 0x1ffc /* apps_v6_rt_nhash_ofst; */
1173 0x0 /* apps_v6_rt_nhash_size; */
1174 >;
1175 };
Channagoud Kadabi39d26f22016-10-27 18:41:04 -07001176
1177 qcom,chd_sliver {
1178 compatible = "qcom,core-hang-detect";
1179 label = "silver";
1180 qcom,threshold-arr = <0x17e00058 0x17e10058
1181 0x17e20058 0x17e30058>;
1182 qcom,config-arr = <0x17e00060 0x17e10060
1183 0x17e20060 0x17e30060>;
1184 };
1185
1186 qcom,chd_gold {
1187 compatible = "qcom,core-hang-detect";
1188 label = "gold";
1189 qcom,threshold-arr = <0x17e40058 0x17e50058
1190 0x17e60058 0x17e70058>;
1191 qcom,config-arr = <0x17e40060 0x17e50060
1192 0x17e60060 0x17e70060>;
1193 };
1194
1195 qcom,ghd {
1196 compatible = "qcom,gladiator-hang-detect";
1197 qcom,threshold-arr = <0x1799041c 0x17990420>;
1198 qcom,config-reg = <0x17990434>;
1199 };
Mahesh Sivasubramanianf0dddb62016-10-19 14:17:44 -06001200
1201 cmd_db: qcom,cmd-db@861e0000 {
1202 compatible = "qcom,cmd-db";
1203 reg = <0x861e0000 0x4000>;
1204 };
Channagoud Kadabi6d4bb832016-06-30 23:40:05 -07001205};
Deepak Katragadda7b16dba2016-08-05 18:06:30 -07001206
1207&pcie_0_gdsc {
1208 status = "ok";
1209};
1210
1211&pcie_1_gdsc {
1212 status = "ok";
1213};
1214
1215&ufs_card_gdsc {
1216 status = "ok";
1217};
1218
1219&ufs_phy_gdsc {
1220 status = "ok";
1221};
1222
1223&usb30_prim_gdsc {
1224 status = "ok";
1225};
1226
1227&usb30_sec_gdsc {
1228 status = "ok";
1229};
1230
1231&hlos1_vote_aggre_noc_mmu_audio_tbu_gdsc {
1232 status = "ok";
1233};
1234
1235&hlos1_vote_aggre_noc_mmu_pcie_tbu_gdsc {
1236 status = "ok";
1237};
1238
1239&hlos1_vote_aggre_noc_mmu_tbu1_gdsc {
1240 status = "ok";
1241};
1242
1243&hlos1_vote_aggre_noc_mmu_tbu2_gdsc {
1244 status = "ok";
1245};
1246
1247&hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc {
1248 status = "ok";
1249};
1250
1251&hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc {
1252 status = "ok";
1253};
1254
1255&hlos1_vote_mmnoc_mmu_tbu_sf_gdsc {
1256 status = "ok";
1257};
1258
1259&bps_gdsc {
1260 status = "ok";
1261};
1262
1263&ife_0_gdsc {
1264 status = "ok";
1265};
1266
1267&ife_1_gdsc {
1268 status = "ok";
1269};
1270
1271&ipe_0_gdsc {
1272 status = "ok";
1273};
1274
1275&ipe_1_gdsc {
1276 status = "ok";
1277};
1278
1279&titan_top_gdsc {
1280 status = "ok";
1281};
1282
1283&mdss_core_gdsc {
1284 status = "ok";
1285};
1286
1287&gpu_cx_gdsc {
1288 status = "ok";
1289};
1290
Deepak Katragadda8d77fbb2016-10-17 13:04:17 -07001291&gpu_gx_gdsc {
1292 parent-supply = <&pm8005_s1_level>;
1293 status = "ok";
1294};
1295
Deepak Katragadda7b16dba2016-08-05 18:06:30 -07001296&vcodec0_gdsc {
1297 status = "ok";
1298};
1299
1300&vcodec1_gdsc {
1301 status = "ok";
1302};
1303
1304&venus_gdsc {
1305 status = "ok";
1306};
David Collins5ab42b92016-07-07 17:38:51 -07001307
1308#include "msmskunk-regulator.dtsi"
Satyajit Desai84bde122016-09-13 14:36:11 -07001309#include "msmskunk-coresight.dtsi"
Patrick Daly7faf13f2016-10-04 14:48:40 -07001310#include "msm-arm-smmu-skunk.dtsi"
Patrick Dalye8290432016-10-14 22:26:14 -07001311#include "msmskunk-ion.dtsi"
Karthikeyan Ramasubramanian2ebcc5b2016-09-19 15:39:51 -06001312#include "msmskunk-smp2p.dtsi"