blob: e50103d422ede8c12c6f678dfcd6f81dbd5a31f5 [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
391 clock_gcc: qcom,gcc {
392 compatible = "qcom,dummycc";
393 clock-output-names = "gcc_clocks";
394 #clock-cells = <1>;
Deepak Katragaddafbdb3252016-08-12 14:19:01 -0700395 #reset-cells = <1>;
Deepak Katragaddacfb593f2016-07-15 12:30:37 -0700396 };
397
398 clock_videocc: qcom,videocc {
399 compatible = "qcom,dummycc";
400 clock-output-names = "videocc_clocks";
401 #clock-cells = <1>;
Deepak Katragaddafbdb3252016-08-12 14:19:01 -0700402 #reset-cells = <1>;
Deepak Katragaddacfb593f2016-07-15 12:30:37 -0700403 };
404
405 clock_camcc: qcom,camcc {
406 compatible = "qcom,dummycc";
407 clock-output-names = "camcc_clocks";
408 #clock-cells = <1>;
Deepak Katragaddafbdb3252016-08-12 14:19:01 -0700409 #reset-cells = <1>;
Deepak Katragaddacfb593f2016-07-15 12:30:37 -0700410 };
411
412 clock_dispcc: qcom,dispcc {
413 compatible = "qcom,dummycc";
414 clock-output-names = "dispcc_clocks";
415 #clock-cells = <1>;
Deepak Katragaddafbdb3252016-08-12 14:19:01 -0700416 #reset-cells = <1>;
Deepak Katragaddacfb593f2016-07-15 12:30:37 -0700417 };
418
419 clock_gpucc: qcom,gpucc {
420 compatible = "qcom,dummycc";
421 clock-output-names = "gpucc_clocks";
422 #clock-cells = <1>;
Deepak Katragaddafbdb3252016-08-12 14:19:01 -0700423 #reset-cells = <1>;
Deepak Katragaddacfb593f2016-07-15 12:30:37 -0700424 };
Subhash Jadavani877ec812016-08-04 13:23:24 -0700425
426 ufsphy_mem: ufsphy@1d87000 {
427 reg = <0x1d87000 0xda8>; /* PHY regs */
428 reg-names = "phy_mem";
429 #phy-cells = <0>;
430
431 /* TODO: add "ref_clk_src" */
432 clock-names = "ref_clk",
433 "ref_aux_clk";
434 clocks = <&clock_gcc GCC_UFS_MEM_CLKREF_CLK>,
435 <&clock_gcc GCC_UFS_PHY_PHY_AUX_CLK>;
436
437 status = "disabled";
438 };
439
440 ufs_mem: ufshc@1d84000 {
441 compatible = "qcom,ufshc";
442 reg = <0x1d84000 0x2500>;
443 interrupts = <0 265 0>;
444 phys = <&ufsphy_mem>;
445 phy-names = "ufsphy";
446
Subhash Jadavani588f2092016-09-08 17:58:31 -0700447 lanes-per-direction = <2>;
448
Subhash Jadavani877ec812016-08-04 13:23:24 -0700449 /* TODO: add "ref_clk" */
450 clock-names =
451 "core_clk",
452 "bus_aggr_clk",
453 "iface_clk",
454 "core_clk_unipro",
455 "core_clk_ice",
456 "tx_lane0_sync_clk",
457 "rx_lane0_sync_clk",
458 "rx_lane1_sync_clk";
459 clocks =
460 <&clock_gcc GCC_UFS_PHY_AXI_CLK>,
461 <&clock_gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
462 <&clock_gcc GCC_UFS_PHY_AHB_CLK>,
463 <&clock_gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
464 <&clock_gcc GCC_UFS_PHY_ICE_CORE_CLK>,
465 <&clock_gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
466 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
467 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
468 freq-table-hz =
469 <50000000 200000000>,
470 <0 0>,
471 <0 0>,
472 <37500000 150000000>,
473 <75000000 300000000>,
474 <0 0>,
475 <0 0>,
476 <0 0>;
477
478 qcom,msm-bus,name = "ufs_mem";
Subhash Jadavani588f2092016-09-08 17:58:31 -0700479 qcom,msm-bus,num-cases = <22>;
Subhash Jadavani877ec812016-08-04 13:23:24 -0700480 qcom,msm-bus,num-paths = <2>;
481 qcom,msm-bus,vectors-KBps =
482 <95 512 0 0>, <1 650 0 0>, /* No vote */
483 <95 512 922 0>, <1 650 1000 0>, /* PWM G1 */
484 <95 512 1844 0>, <1 650 1000 0>, /* PWM G2 */
485 <95 512 3688 0>, <1 650 1000 0>, /* PWM G3 */
486 <95 512 7376 0>, <1 650 1000 0>, /* PWM G4 */
Subhash Jadavani588f2092016-09-08 17:58:31 -0700487 <95 512 1844 0>, <1 650 1000 0>, /* PWM G1 L2 */
488 <95 512 3688 0>, <1 650 1000 0>, /* PWM G2 L2 */
489 <95 512 7376 0>, <1 650 1000 0>, /* PWM G3 L2 */
490 <95 512 14752 0>, <1 650 1000 0>, /* PWM G4 L2 */
Subhash Jadavani877ec812016-08-04 13:23:24 -0700491 <95 512 127796 0>, <1 650 1000 0>, /* HS G1 RA */
492 <95 512 255591 0>, <1 650 1000 0>, /* HS G2 RA */
493 <95 512 511181 0>, <1 650 1000 0>, /* HS G3 RA */
Subhash Jadavani588f2092016-09-08 17:58:31 -0700494 <95 512 255591 0>, <1 650 1000 0>, /* HS G1 RA L2 */
495 <95 512 511181 0>, <1 650 1000 0>, /* HS G2 RA L2 */
496 <95 512 1022362 0>, <1 650 1000 0>, /* HS G3 RA L2 */
Subhash Jadavani877ec812016-08-04 13:23:24 -0700497 <95 512 149422 0>, <1 650 1000 0>, /* HS G1 RB */
498 <95 512 298189 0>, <1 650 1000 0>, /* HS G2 RB */
499 <95 512 596378 0>, <1 650 1000 0>, /* HS G3 RB */
Subhash Jadavani588f2092016-09-08 17:58:31 -0700500 <95 512 298189 0>, <1 650 1000 0>, /* HS G1 RB L2 */
501 <95 512 596378 0>, <1 650 1000 0>, /* HS G2 RB L2 */
502 <95 512 1192756 0>, <1 650 1000 0>, /* HS G3 RB L2 */
Subhash Jadavani877ec812016-08-04 13:23:24 -0700503 <95 512 4096000 0>, <1 650 1000 0>; /* Max. bandwidth */
504 qcom,bus-vector-names = "MIN",
505 "PWM_G1_L1", "PWM_G2_L1", "PWM_G3_L1", "PWM_G4_L1",
Subhash Jadavani588f2092016-09-08 17:58:31 -0700506 "PWM_G1_L2", "PWM_G2_L2", "PWM_G3_L2", "PWM_G4_L2",
Subhash Jadavani877ec812016-08-04 13:23:24 -0700507 "HS_RA_G1_L1", "HS_RA_G2_L1", "HS_RA_G3_L1",
Subhash Jadavani588f2092016-09-08 17:58:31 -0700508 "HS_RA_G1_L2", "HS_RA_G2_L2", "HS_RA_G3_L2",
Subhash Jadavani877ec812016-08-04 13:23:24 -0700509 "HS_RB_G1_L1", "HS_RB_G2_L1", "HS_RB_G3_L1",
Subhash Jadavani588f2092016-09-08 17:58:31 -0700510 "HS_RB_G1_L2", "HS_RB_G2_L2", "HS_RB_G3_L2",
Subhash Jadavani877ec812016-08-04 13:23:24 -0700511 "MAX";
512
513 status = "disabled";
514 };
Satyajit Desai17da0592016-08-08 18:38:32 -0700515
Kyle Yan384b13c2016-10-18 11:11:37 -0700516 pil_modem: qcom,mss@4080000 {
517 compatible = "qcom,pil-q6v55-mss";
518 reg = <0x4080000 0x100>,
519 <0x1f63000 0x008>,
520 <0x1f65000 0x008>,
521 <0x1f64000 0x008>,
522 <0x4180000 0x020>,
523 <0x00179000 0x004>;
524 reg-names = "qdsp6_base", "halt_q6", "halt_modem",
525 "halt_nc", "rmb_base", "restart_reg";
526
527 clocks = <&clock_gcc RPMH_CXO_CLK>,
528 <&clock_gcc GCC_MSS_CFG_AHB_CLK>,
529 <&clock_gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>,
530 <&clock_gcc GCC_BOOT_ROM_AHB_CLK>,
531 <&clock_gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
532 <&clock_gcc GCC_MSS_SNOC_AXI_CLK>,
533 <&clock_gcc GCC_MSS_MFAB_AXIS_CLK>;
534 clock-names = "xo", "iface_clk", "bus_clk",
535 "mem_clk", "gpll0_mss_clk", "snoc_axi_clk",
536 "mnoc_axi_clk";
537 qcom,proxy-clock-names = "xo";
538 qcom,active-clock-names = "iface_clk", "bus_clk", "mem_clk",
539 "gpll0_mss_clk", "snoc_axi_clk",
540 "mnoc_axi_clk";
541
542 interrupts = <0 266 1>;
543 vdd_cx-supply = <&pmcobalt_s9_level>;
544 vdd_cx-voltage = <RPMH_REGULATOR_LEVEL_MAX>;
545 vdd_mx-supply = <&pmcobalt_s6_level>;
546 vdd_mx-uV = <RPMH_REGULATOR_LEVEL_MAX>;
547 qcom,firmware-name = "modem";
548 qcom,pil-self-auth;
549 qcom,sysmon-id = <0>;
550 qcom,ssctl-instance-id = <0x12>;
551 qcom,override-acc;
552 qcom,qdsp6v65-1-0;
553 status = "ok";
554 memory-region = <&pil_modem_mem>;
555 qcom,mem-protect-id = <0xF>;
556
557 /* GPIO inputs from mss */
558 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
559 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>;
560 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>;
561 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_1_in 3 0>;
562 qcom,gpio-shutdown-ack = <&smp2pgpio_ssr_smp2p_1_in 7 0>;
563
564 /* GPIO output to mss */
565 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
566 };
567
Kyle Yand119cf82016-10-19 14:49:04 -0700568 qcom,lpass@17300000 {
569 compatible = "qcom,pil-tz-generic";
570 reg = <0x17300000 0x00100>;
571 interrupts = <0 162 1>;
572
573 vdd_cx-supply = <&pmcobalt_s9_level>;
574 qcom,proxy-reg-names = "vdd_cx";
575 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_MAX 100000>;
576
577 clocks = <&clock_gcc RPMH_CXO_CLK>;
578 clock-names = "xo";
579 qcom,proxy-clock-names = "xo";
580
581 qcom,pas-id = <1>;
582 qcom,proxy-timeout-ms = <10000>;
583 qcom,smem-id = <423>;
584 qcom,sysmon-id = <1>;
585 status = "ok";
586 qcom,ssctl-instance-id = <0x14>;
587 qcom,firmware-name = "adsp";
588 memory-region = <&pil_adsp_mem>;
589
590 /* GPIO inputs from lpass */
591 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
592 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
593 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>;
594 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_2_in 3 0>;
595
596 /* GPIO output to lpass */
597 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;
598 };
599
Kyle Yanb693da32016-10-20 14:01:09 -0700600 qcom,ssc@5c00000 {
601 compatible = "qcom,pil-tz-generic";
602 reg = <0x5c00000 0x4000>;
603 interrupts = <0 494 1>;
604
605 vdd_cx-supply = <&pmcobalt_l27_level>;
606 vdd_px-supply = <&pmcobalt_lvs2>;
607 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_MAX 0>;
608 qcom,proxy-reg-names = "vdd_cx", "vdd_px";
609 qcom,keep-proxy-regs-on;
610
611 clocks = <&clock_gcc RPMH_CXO_CLK>;
612 clock-names = "xo";
613 qcom,proxy-clock-names = "xo";
614
615 qcom,pas-id = <12>;
616 qcom,proxy-timeout-ms = <10000>;
617 qcom,smem-id = <424>;
618 qcom,sysmon-id = <3>;
619 qcom,ssctl-instance-id = <0x16>;
620 qcom,firmware-name = "slpi";
621 status = "ok";
622 memory-region = <&pil_slpi_mem>;
623
624 /* GPIO inputs from ssc */
625 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_3_in 0 0>;
626 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_3_in 2 0>;
627 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_3_in 1 0>;
628 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_3_in 3 0>;
629
630 /* GPIO output to ssc */
631 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_3_out 0 0>;
632 };
633
Satya Durga Srinivasu Prabhalafbddbe72016-09-12 11:40:11 -0700634 eud: qcom,msm-eud@88e0000 {
635 compatible = "qcom,msm-eud";
636 interrupt-names = "eud_irq";
637 interrupts = <GIC_SPI 492 IRQ_TYPE_LEVEL_HIGH>;
Kyle Yan3801a1f2016-09-27 18:29:55 -0700638 reg = <0x88e0000 0x2000>;
Satya Durga Srinivasu Prabhalafbddbe72016-09-12 11:40:11 -0700639 reg-names = "eud_base";
640 status = "ok";
641 };
642
Kyle Yan79653352016-10-20 15:40:45 -0700643 qcom,spss@1880000 {
644 compatible = "qcom,pil-tz-generic";
645 reg = <0x188101c 0x4>,
646 <0x1881024 0x4>,
647 <0x1881028 0x4>,
648 <0x188103c 0x4>,
649 <0x1882014 0x4>;
650 reg-names = "sp2soc_irq_status", "sp2soc_irq_clr",
651 "sp2soc_irq_mask", "rmb_err", "rmb_err_spare2";
652 interrupts = <0 352 1>;
653
654 vdd_cx-supply = <&pmcobalt_s9_level>;
655 qcom,proxy-reg-names = "vdd_cx";
656 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_MAX 100000>;
657 vdd_mx-supply = <&pmcobalt_s6_level>;
658 vdd_mx-uV = <RPMH_REGULATOR_LEVEL_MAX 100000>;
659
660 clocks = <&clock_gcc RPMH_CXO_CLK>;
661 clock-names = "xo";
662 qcom,proxy-clock-names = "xo";
663 qcom,pil-generic-irq-handler;
664 status = "ok";
665
666 qcom,pas-id = <14>;
667 qcom,proxy-timeout-ms = <10000>;
668 qcom,firmware-name = "spss";
669 memory-region = <&pil_spss_mem>;
670 qcom,spss-scsr-bits = <24 25>;
671 };
672
Satyajit Desai17da0592016-08-08 18:38:32 -0700673 wdog: qcom,wdt@17980000{
674 compatible = "qcom,msm-watchdog";
675 reg = <0x17980000 0x1000>;
676 reg-names = "wdt-base";
677 interrupts = <0 3 0>, <0 4 0>;
678 qcom,bark-time = <11000>;
679 qcom,pet-time = <10000>;
680 qcom,ipi-ping;
681 qcom,wakeup-enable;
682 };
Satyajit Desai5e2b88a2016-08-10 17:08:08 -0700683
Kyle Yan02e95f72016-10-18 14:38:41 -0700684 qcom,turing@8300000 {
685 compatible = "qcom,pil-tz-generic";
686 reg = <0x8300000 0x100000>;
687 interrupts = <0 578 1>;
688
689 vdd_cx-supply = <&pmcobalt_s9_level>;
690 qcom,proxy-reg-names = "vdd_cx";
691 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_MAX 100000>;
692
693 clocks = <&clock_gcc RPMH_CXO_CLK>;
694 clock-names = "xo";
695 qcom,proxy-clock-names = "xo";
696
697 qcom,pas-id = <18>;
698 qcom,proxy-timeout-ms = <10000>;
699 qcom,smem-id = <423>;
700 qcom,sysmon-id = <7>;
701 qcom,ssctl-instance-id = <0x17>;
702 qcom,firmware-name = "cdsp";
703 memory-region = <&pil_cdsp_mem>;
704
705 /* GPIO inputs from turing */
706 qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_5_in 0 0>;
707 qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_5_in 2 0>;
708 qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_5_in 1 0>;
709 qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_5_in 3 0>;
710
711 /* GPIO output to turing*/
712 qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_5_out 0 0>;
713 status = "ok";
714 };
715
Satyajit Desai5e2b88a2016-08-10 17:08:08 -0700716 qcom,msm-imem@146bf000 {
717 compatible = "qcom,msm-imem";
718 reg = <0x146bf000 0x1000>;
719 ranges = <0x0 0x146bf000 0x1000>;
720 #address-cells = <1>;
721 #size-cells = <1>;
722
723 mem_dump_table@10 {
724 compatible = "qcom,msm-imem-mem_dump_table";
725 reg = <0x10 8>;
726 };
Kyle Yan3d71bbe2016-11-01 16:02:26 -0700727
728 pil@94c {
729 compatible = "qcom,msm-imem-pil";
730 reg = <0x94c 200>;
731 };
Satyajit Desai5e2b88a2016-08-10 17:08:08 -0700732 };
Kyle Yanddc44242016-06-20 14:42:14 -0700733
734 kryo3xx-erp {
735 compatible = "arm,arm64-kryo3xx-cpu-erp";
736 interrupts = <1 6 4>,
737 <1 7 4>,
738 <0 34 4>,
739 <0 35 4>;
740
741 interrupt-names = "l1-l2-faultirq",
742 "l1-l2-errirq",
743 "l3-scu-errirq",
744 "l3-scu-faultirq";
745 };
Channagoud Kadabiddeeb782016-06-23 18:56:25 -0700746
747 qcom,llcc@1300000 {
Channagoud Kadabi8751c892016-10-14 13:40:19 -0700748 compatible = "qcom,llcc-core", "syscon", "simple-mfd";
Channagoud Kadabiddeeb782016-06-23 18:56:25 -0700749 reg = <0x1300000 0x50000>;
750 reg-names = "llcc_base";
Channagoud Kadabiddeeb782016-06-23 18:56:25 -0700751
752 llcc: qcom,msmskunk-llcc {
753 compatible = "qcom,msmskunk-llcc";
754 #cache-cells = <1>;
755 max-slices = <32>;
756 };
757
758 qcom,llcc-erp {
759 compatible = "qcom,llcc-erp";
Channagoud Kadabic26a8912016-11-21 13:57:20 -0800760 interrupt-names = "ecc_irq";
761 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
Channagoud Kadabiddeeb782016-06-23 18:56:25 -0700762 };
763
764 qcom,llcc-amon {
765 compatible = "qcom,llcc-amon";
766 };
767 };
Chris Lewecef30b2016-08-22 13:52:49 -0700768
769 qcom,ipc-spinlock@1f40000 {
770 compatible = "qcom,ipc-spinlock-sfpb";
771 reg = <0x1f40000 0x8000>;
772 qcom,num-locks = <8>;
773 };
Chris Lew05f9fb72016-08-22 13:55:10 -0700774
775 qcom,smem@86000000 {
776 compatible = "qcom,smem";
777 reg = <0x86000000 0x200000>,
778 <0x17911008 0x4>,
779 <0x778000 0x7000>,
780 <0x1fd4000 0x8>;
781 reg-names = "smem", "irq-reg-base", "aux-mem1",
782 "smem_targ_info_reg";
783 qcom,mpu-enabled;
784 };
Chris Lew031aed02016-08-22 13:58:59 -0700785
786 qcom,glink-mailbox-xprt-spss@1885008 {
787 compatible = "qcom,glink-mailbox-xprt";
788 reg = <0x1885008 0x8>,
789 <0x1885010 0x4>,
790 <0x188501c 0x4>,
791 <0x1886008 0x4>;
792 reg-names = "mbox-loc-addr", "mbox-loc-size", "irq-reg-base",
793 "irq-rx-reset";
794 qcom,irq-mask = <0x1>;
795 interrupts = <0 348 4>;
796 label = "spss";
797 qcom,tx-ring-size = <0x400>;
798 qcom,rx-ring-size = <0x400>;
799 };
Lina Iyer9f782ba2016-10-11 15:13:50 -0600800
801 apps_rsc: mailbox@179e0000 {
802 compatible = "qcom,tcs-drv";
803 reg = <0x179e0000 0x100>, <0x179e0d00 0x3000>;
804 interrupts = <0 5 0>;
805 #mbox-cells = <1>;
806 qcom,drv-id = <2>;
807 qcom,tcs-config = <SLEEP_TCS 3>,
808 <WAKE_TCS 3>,
809 <ACTIVE_TCS 2>,
810 <CONTROL_TCS 1>;
811 };
Lina Iyer4522ca42016-10-18 16:57:19 -0600812
813 disp_rsc: mailbox@af20000 {
814 status = "disabled";
815 compatible = "qcom,tcs-drv";
816 reg = <0xaf20000 0x100>, <0xaf21c00 0x3000>;
817 interrupts = <0 129 0>;
818 #mbox-cells = <1>;
819 qcom,drv-id = <0>;
820 qcom,tcs-config = <SLEEP_TCS 1>,
821 <WAKE_TCS 1>,
822 <ACTIVE_TCS 0>,
823 <CONTROL_TCS 1>;
824 };
Lina Iyerac0d4ed2016-10-20 13:48:31 -0600825
826 system_pm {
827 compatible = "qcom,system-pm";
828 mboxes = <&apps_rsc 0>;
829 };
Karthikeyan Ramasubramanian47260462016-09-19 14:15:45 -0600830
831 qcom,glink-smem-native-xprt-modem@86000000 {
832 compatible = "qcom,glink-smem-native-xprt";
833 reg = <0x86000000 0x200000>,
834 <0x1799000c 0x4>;
835 reg-names = "smem", "irq-reg-base";
836 qcom,irq-mask = <0x1000>;
837 interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
838 label = "mpss";
839 };
840
841 qcom,glink-smem-native-xprt-adsp@86000000 {
842 compatible = "qcom,glink-smem-native-xprt";
843 reg = <0x86000000 0x200000>,
844 <0x1799000c 0x4>;
845 reg-names = "smem", "irq-reg-base";
846 qcom,irq-mask = <0x100>;
847 interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
848 label = "lpass";
849 };
850
851 qcom,glink-smem-native-xprt-dsps@86000000 {
852 compatible = "qcom,glink-smem-native-xprt";
853 reg = <0x86000000 0x200000>,
854 <0x1799000c 0x4>;
855 reg-names = "smem", "irq-reg-base";
856 qcom,irq-mask = <0x1000000>;
857 interrupts = <GIC_SPI 170 IRQ_TYPE_EDGE_RISING>;
858 label = "dsps";
859 };
860
861 qcom,glink-smem-native-xprt-cdsp@86000000 {
862 compatible = "qcom,glink-smem-native-xprt";
863 reg = <0x86000000 0x200000>,
864 <0x1799000c 0x4>;
865 reg-names = "smem", "irq-reg-base";
866 qcom,irq-mask = <0x10>;
867 interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>;
868 label = "cdsp";
869 };
Karthikeyan Ramasubramaniana0e3ff52016-09-19 14:31:36 -0600870
871 glink_mpss: qcom,glink-ssr-modem {
872 compatible = "qcom,glink_ssr";
873 label = "modem";
874 qcom,edge = "mpss";
875 qcom,notify-edges = <&glink_lpass>, <&glink_dsps>,
876 <&glink_cdsp>, <&glink_spss>;
877 qcom,xprt = "smem";
878 };
879
880 glink_lpass: qcom,glink-ssr-adsp {
881 compatible = "qcom,glink_ssr";
882 label = "adsp";
883 qcom,edge = "lpass";
884 qcom,notify-edges = <&glink_mpss>, <&glink_dsps>, <&glink_cdsp>;
885 qcom,xprt = "smem";
886 };
887
888 glink_dsps: qcom,glink-ssr-dsps {
889 compatible = "qcom,glink_ssr";
890 label = "slpi";
891 qcom,edge = "dsps";
892 qcom,notify-edges = <&glink_mpss>, <&glink_lpass>,
893 <&glink_cdsp>;
894 qcom,xprt = "smem";
895 };
896
897 glink_cdsp: qcom,glink-ssr-cdsp {
898 compatible = "qcom,glink_ssr";
899 label = "cdsp";
900 qcom,edge = "cdsp";
901 qcom,notify-edges = <&glink_mpss>, <&glink_lpass>,
902 <&glink_dsps>;
903 qcom,xprt = "smem";
904 };
905
906 glink_spss: qcom,glink-ssr-spss {
907 compatible = "qcom,glink_ssr";
908 label = "spss";
909 qcom,edge = "spss";
910 qcom,notify-edges = <&glink_mpss>;
911 qcom,xprt = "mailbox";
912 };
Karthikeyan Ramasubramanian8f0c1002016-09-19 15:44:53 -0600913
914 qcom,ipc_router {
915 compatible = "qcom,ipc_router";
916 qcom,node-id = <1>;
917 };
918
919 qcom,ipc_router_modem_xprt {
920 compatible = "qcom,ipc_router_glink_xprt";
921 qcom,ch-name = "IPCRTR";
922 qcom,xprt-remote = "mpss";
923 qcom,glink-xprt = "smem";
924 qcom,xprt-linkid = <1>;
925 qcom,xprt-version = <1>;
926 qcom,fragmented-data;
927 };
928
929 qcom,ipc_router_q6_xprt {
930 compatible = "qcom,ipc_router_glink_xprt";
931 qcom,ch-name = "IPCRTR";
932 qcom,xprt-remote = "lpass";
933 qcom,glink-xprt = "smem";
934 qcom,xprt-linkid = <1>;
935 qcom,xprt-version = <1>;
936 qcom,fragmented-data;
937 };
938
939 qcom,ipc_router_dsps_xprt {
940 compatible = "qcom,ipc_router_glink_xprt";
941 qcom,ch-name = "IPCRTR";
942 qcom,xprt-remote = "dsps";
943 qcom,glink-xprt = "smem";
944 qcom,xprt-linkid = <1>;
945 qcom,xprt-version = <1>;
946 qcom,fragmented-data;
947 };
948
949 qcom,ipc_router_cdsp_xprt {
950 compatible = "qcom,ipc_router_glink_xprt";
951 qcom,ch-name = "IPCRTR";
952 qcom,xprt-remote = "cdsp";
953 qcom,glink-xprt = "smem";
954 qcom,xprt-linkid = <1>;
955 qcom,xprt-version = <1>;
956 qcom,fragmented-data;
957 };
Karthikeyan Ramasubramanian608a2522016-09-19 15:50:38 -0600958
959 qcom,glink_pkt {
960 compatible = "qcom,glinkpkt";
961
962 qcom,glinkpkt-at-mdm0 {
963 qcom,glinkpkt-transport = "smem";
964 qcom,glinkpkt-edge = "mpss";
965 qcom,glinkpkt-ch-name = "DS";
966 qcom,glinkpkt-dev-name = "at_mdm0";
967 };
968
969 qcom,glinkpkt-loopback_cntl {
970 qcom,glinkpkt-transport = "lloop";
971 qcom,glinkpkt-edge = "local";
972 qcom,glinkpkt-ch-name = "LOCAL_LOOPBACK_CLNT";
973 qcom,glinkpkt-dev-name = "glink_pkt_loopback_ctrl";
974 };
975
976 qcom,glinkpkt-loopback_data {
977 qcom,glinkpkt-transport = "lloop";
978 qcom,glinkpkt-edge = "local";
979 qcom,glinkpkt-ch-name = "glink_pkt_lloop_CLNT";
980 qcom,glinkpkt-dev-name = "glink_pkt_loopback";
981 };
982
983 qcom,glinkpkt-apr-apps2 {
984 qcom,glinkpkt-transport = "smem";
985 qcom,glinkpkt-edge = "adsp";
986 qcom,glinkpkt-ch-name = "apr_apps2";
987 qcom,glinkpkt-dev-name = "apr_apps2";
988 };
989
990 qcom,glinkpkt-data40-cntl {
991 qcom,glinkpkt-transport = "smem";
992 qcom,glinkpkt-edge = "mpss";
993 qcom,glinkpkt-ch-name = "DATA40_CNTL";
994 qcom,glinkpkt-dev-name = "smdcntl8";
995 };
996
997 qcom,glinkpkt-data1 {
998 qcom,glinkpkt-transport = "smem";
999 qcom,glinkpkt-edge = "mpss";
1000 qcom,glinkpkt-ch-name = "DATA1";
1001 qcom,glinkpkt-dev-name = "smd7";
1002 };
1003
1004 qcom,glinkpkt-data4 {
1005 qcom,glinkpkt-transport = "smem";
1006 qcom,glinkpkt-edge = "mpss";
1007 qcom,glinkpkt-ch-name = "DATA4";
1008 qcom,glinkpkt-dev-name = "smd8";
1009 };
1010
1011 qcom,glinkpkt-data11 {
1012 qcom,glinkpkt-transport = "smem";
1013 qcom,glinkpkt-edge = "mpss";
1014 qcom,glinkpkt-ch-name = "DATA11";
1015 qcom,glinkpkt-dev-name = "smd11";
1016 };
1017 };
Amir Levyca8989f2016-11-30 15:31:36 +02001018
1019 qcom,msm_gsi {
1020 compatible = "qcom,msm_gsi";
1021 };
1022
Amir Levy9654f172016-11-30 15:33:23 +02001023 qcom,rmnet-ipa {
1024 compatible = "qcom,rmnet-ipa3";
1025 qcom,rmnet-ipa-ssr;
1026 qcom,ipa-loaduC;
1027 qcom,ipa-advertise-sg-support;
1028 };
1029
Amir Levyca8989f2016-11-30 15:31:36 +02001030 ipa_hw: qcom,ipa@01e00000 {
1031 compatible = "qcom,ipa";
1032 reg = <0x1e00000 0x34000>,
1033 <0x1e04000 0x2c000>;
1034 reg-names = "ipa-base", "gsi-base";
1035 interrupts =
1036 <0 311 0>,
1037 <0 432 0>;
1038 interrupt-names = "ipa-irq", "gsi-irq";
1039 qcom,ipa-hw-ver = <13>; /* IPA core version = IPAv3.5.1 */
1040 qcom,ipa-hw-mode = <1>;
1041 qcom,ee = <0>;
1042 qcom,use-gsi;
1043 qcom,use-ipa-tethering-bridge;
1044 qcom,modem-cfg-emb-pipe-flt;
1045 qcom,ipa-wdi2;
1046 qcom,use-64-bit-dma-mask;
1047 clock-names = "core_clk";
1048 clocks = <&clock_gcc 0xfa685cda>;
1049 qcom,msm-bus,name = "ipa";
1050 qcom,msm-bus,num-cases = <4>;
1051 qcom,msm-bus,num-paths = <3>;
1052 qcom,msm-bus,vectors-KBps =
1053 /* No vote */
1054 <90 512 0 0>,
1055 <90 585 0 0>,
1056 <1 676 0 0>,
1057 /* SVS */
1058 <90 512 80000 640000>,
1059 <90 585 80000 640000>,
1060 <1 676 80000 80000>,
1061 /* NOMINAL */
1062 <90 512 206000 960000>,
1063 <90 585 206000 960000>,
1064 <1 676 206000 160000>,
1065 /* TURBO */
1066 <90 512 206000 3600000>,
1067 <90 585 206000 3600000>,
1068 <1 676 206000 300000>;
1069 qcom,bus-vector-names = "MIN", "SVS", "NOMINAL", "TURBO";
1070
1071 /* IPA RAM mmap */
1072 qcom,ipa-ram-mmap = <
1073 0x280 /* ofst_start; */
1074 0x0 /* nat_ofst; */
1075 0x0 /* nat_size; */
1076 0x288 /* v4_flt_hash_ofst; */
1077 0x78 /* v4_flt_hash_size; */
1078 0x4000 /* v4_flt_hash_size_ddr; */
1079 0x308 /* v4_flt_nhash_ofst; */
1080 0x78 /* v4_flt_nhash_size; */
1081 0x4000 /* v4_flt_nhash_size_ddr; */
1082 0x388 /* v6_flt_hash_ofst; */
1083 0x78 /* v6_flt_hash_size; */
1084 0x4000 /* v6_flt_hash_size_ddr; */
1085 0x408 /* v6_flt_nhash_ofst; */
1086 0x78 /* v6_flt_nhash_size; */
1087 0x4000 /* v6_flt_nhash_size_ddr; */
1088 0xf /* v4_rt_num_index; */
1089 0x0 /* v4_modem_rt_index_lo; */
1090 0x7 /* v4_modem_rt_index_hi; */
1091 0x8 /* v4_apps_rt_index_lo; */
1092 0xe /* v4_apps_rt_index_hi; */
1093 0x488 /* v4_rt_hash_ofst; */
1094 0x78 /* v4_rt_hash_size; */
1095 0x4000 /* v4_rt_hash_size_ddr; */
1096 0x508 /* v4_rt_nhash_ofst; */
1097 0x78 /* v4_rt_nhash_size; */
1098 0x4000 /* v4_rt_nhash_size_ddr; */
1099 0xf /* v6_rt_num_index; */
1100 0x0 /* v6_modem_rt_index_lo; */
1101 0x7 /* v6_modem_rt_index_hi; */
1102 0x8 /* v6_apps_rt_index_lo; */
1103 0xe /* v6_apps_rt_index_hi; */
1104 0x588 /* v6_rt_hash_ofst; */
1105 0x78 /* v6_rt_hash_size; */
1106 0x4000 /* v6_rt_hash_size_ddr; */
1107 0x608 /* v6_rt_nhash_ofst; */
1108 0x78 /* v6_rt_nhash_size; */
1109 0x4000 /* v6_rt_nhash_size_ddr; */
1110 0x688 /* modem_hdr_ofst; */
1111 0x140 /* modem_hdr_size; */
1112 0x7c8 /* apps_hdr_ofst; */
1113 0x0 /* apps_hdr_size; */
1114 0x800 /* apps_hdr_size_ddr; */
1115 0x7d0 /* modem_hdr_proc_ctx_ofst; */
1116 0x200 /* modem_hdr_proc_ctx_size; */
1117 0x9d0 /* apps_hdr_proc_ctx_ofst; */
1118 0x200 /* apps_hdr_proc_ctx_size; */
1119 0x0 /* apps_hdr_proc_ctx_size_ddr; */
1120 0x0 /* modem_comp_decomp_ofst; diff */
1121 0x0 /* modem_comp_decomp_size; diff */
1122 0xbd8 /* modem_ofst; */
1123 0x1424 /* modem_size; */
1124 0x1ffc /* apps_v4_flt_hash_ofst; */
1125 0x0 /* apps_v4_flt_hash_size; */
1126 0x1ffc /* apps_v4_flt_nhash_ofst; */
1127 0x0 /* apps_v4_flt_nhash_size; */
1128 0x1ffc /* apps_v6_flt_hash_ofst; */
1129 0x0 /* apps_v6_flt_hash_size; */
1130 0x1ffc /* apps_v6_flt_nhash_ofst; */
1131 0x0 /* apps_v6_flt_nhash_size; */
1132 0x80 /* uc_info_ofst; */
1133 0x200 /* uc_info_size; */
1134 0x2000 /* end_ofst; */
1135 0x1ffc /* apps_v4_rt_hash_ofst; */
1136 0x0 /* apps_v4_rt_hash_size; */
1137 0x1ffc /* apps_v4_rt_nhash_ofst; */
1138 0x0 /* apps_v4_rt_nhash_size; */
1139 0x1ffc /* apps_v6_rt_hash_ofst; */
1140 0x0 /* apps_v6_rt_hash_size; */
1141 0x1ffc /* apps_v6_rt_nhash_ofst; */
1142 0x0 /* apps_v6_rt_nhash_size; */
1143 >;
1144 };
Channagoud Kadabi6d4bb832016-06-30 23:40:05 -07001145};
Deepak Katragadda7b16dba2016-08-05 18:06:30 -07001146
1147&pcie_0_gdsc {
1148 status = "ok";
1149};
1150
1151&pcie_1_gdsc {
1152 status = "ok";
1153};
1154
1155&ufs_card_gdsc {
1156 status = "ok";
1157};
1158
1159&ufs_phy_gdsc {
1160 status = "ok";
1161};
1162
1163&usb30_prim_gdsc {
1164 status = "ok";
1165};
1166
1167&usb30_sec_gdsc {
1168 status = "ok";
1169};
1170
1171&hlos1_vote_aggre_noc_mmu_audio_tbu_gdsc {
1172 status = "ok";
1173};
1174
1175&hlos1_vote_aggre_noc_mmu_pcie_tbu_gdsc {
1176 status = "ok";
1177};
1178
1179&hlos1_vote_aggre_noc_mmu_tbu1_gdsc {
1180 status = "ok";
1181};
1182
1183&hlos1_vote_aggre_noc_mmu_tbu2_gdsc {
1184 status = "ok";
1185};
1186
1187&hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc {
1188 status = "ok";
1189};
1190
1191&hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc {
1192 status = "ok";
1193};
1194
1195&hlos1_vote_mmnoc_mmu_tbu_sf_gdsc {
1196 status = "ok";
1197};
1198
1199&bps_gdsc {
1200 status = "ok";
1201};
1202
1203&ife_0_gdsc {
1204 status = "ok";
1205};
1206
1207&ife_1_gdsc {
1208 status = "ok";
1209};
1210
1211&ipe_0_gdsc {
1212 status = "ok";
1213};
1214
1215&ipe_1_gdsc {
1216 status = "ok";
1217};
1218
1219&titan_top_gdsc {
1220 status = "ok";
1221};
1222
1223&mdss_core_gdsc {
1224 status = "ok";
1225};
1226
1227&gpu_cx_gdsc {
1228 status = "ok";
1229};
1230
Deepak Katragadda8d77fbb2016-10-17 13:04:17 -07001231&gpu_gx_gdsc {
1232 parent-supply = <&pm8005_s1_level>;
1233 status = "ok";
1234};
1235
Deepak Katragadda7b16dba2016-08-05 18:06:30 -07001236&vcodec0_gdsc {
1237 status = "ok";
1238};
1239
1240&vcodec1_gdsc {
1241 status = "ok";
1242};
1243
1244&venus_gdsc {
1245 status = "ok";
1246};
David Collins5ab42b92016-07-07 17:38:51 -07001247
1248#include "msmskunk-regulator.dtsi"
Satyajit Desai84bde122016-09-13 14:36:11 -07001249#include "msmskunk-coresight.dtsi"
Patrick Daly7faf13f2016-10-04 14:48:40 -07001250#include "msm-arm-smmu-skunk.dtsi"
Patrick Dalye8290432016-10-14 22:26:14 -07001251#include "msmskunk-ion.dtsi"
Karthikeyan Ramasubramanian2ebcc5b2016-09-19 15:39:51 -06001252#include "msmskunk-smp2p.dtsi"