blob: 360d113e6039c89b60c6e43903d34e4392dba98e [file] [log] [blame]
Channagoud Kadabi459f0112017-03-20 12:42:15 -07001/* Copyright (c) 2017, 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 "sdm845.dtsi"
Soundrapandian Jeyaprakash3cc03bb2017-08-09 15:16:41 -070014#include "sdm845-v2-camera.dtsi"
Channagoud Kadabi459f0112017-03-20 12:42:15 -070015
16/ {
17 model = "Qualcomm Technologies, Inc. SDM845 V2";
18 qcom,msm-id = <321 0x20000>;
19};
David Collins36050182017-04-26 11:41:22 -070020
Subhash Jadavani0842b272017-07-19 17:05:13 -070021&sdhc_2 {
Subhash Jadavani3497a962017-07-31 13:57:47 -070022 /delete-property/ qcom,sdr104-wa;
Subhash Jadavani0842b272017-07-19 17:05:13 -070023};
24
Archana Sathyakumareb78ba42017-10-13 14:42:51 -060025/delete-node/ &pdc;
26
Lina Iyerc1e83dc2017-09-27 21:52:38 +000027&tlmm {
28 compatible = "qcom,sdm845-pinctrl-v2";
29};
30
David Collinsf5764762017-07-20 16:42:42 -070031&soc {
Vicky Wallaceddf4fad2017-08-03 20:15:55 -070032 gpu_gx_domain_addr: syscon@0x5091508 {
33 compatible = "syscon";
34 reg = <0x5091508 0x4>;
35 };
36
37 gpu_gx_sw_reset: syscon@0x5091008 {
38 compatible = "syscon";
39 reg = <0x5091008 0x4>;
40 };
Archana Sathyakumareb78ba42017-10-13 14:42:51 -060041
42 pdc: interrupt-controller@0xb220000{
43 compatible = "qcom,pdc-sdm845-v2";
44 reg = <0xb220000 0x400>;
45 #interrupt-cells = <3>;
46 interrupt-parent = <&intc>;
47 interrupt-controller;
48 };
49
David Collinsf5764762017-07-20 16:42:42 -070050};
51
Kyle Yanf248e352017-09-14 11:15:58 -070052&pil_modem {
53 qcom,mss_pdc_offset = <9>;
54};
55
David Collinsf5764762017-07-20 16:42:42 -070056&clock_cpucc {
Deepak Katragaddaa442baa2017-07-11 12:27:06 -070057 compatible = "qcom,clk-cpu-osm-v2";
David Collinsf5764762017-07-20 16:42:42 -070058};
59
Tony Truong80258d62017-08-16 11:41:33 -070060&pcie1 {
61 qcom,phy-sequence = <0x1804 0x03 0x0
62 0x00dc 0x27 0x0
63 0x0014 0x01 0x0
64 0x0020 0x31 0x0
65 0x0024 0x01 0x0
66 0x0028 0xde 0x0
67 0x002c 0x07 0x0
68 0x0034 0x4c 0x0
69 0x0038 0x06 0x0
70 0x0054 0x18 0x0
71 0x0058 0xb0 0x0
72 0x006c 0x8c 0x0
73 0x0070 0x20 0x0
74 0x0078 0x14 0x0
75 0x007c 0x34 0x0
76 0x00b4 0x06 0x0
77 0x00b8 0x06 0x0
78 0x00c0 0x16 0x0
79 0x00c4 0x16 0x0
80 0x00cc 0x36 0x0
81 0x00d0 0x36 0x0
82 0x00f0 0x05 0x0
83 0x00f8 0x42 0x0
84 0x0100 0x82 0x0
85 0x0108 0x68 0x0
86 0x011c 0x55 0x0
87 0x0120 0x55 0x0
88 0x0124 0x03 0x0
89 0x0128 0xab 0x0
90 0x012c 0xaa 0x0
91 0x0130 0x02 0x0
92 0x0150 0x3f 0x0
93 0x0158 0x3f 0x0
94 0x0178 0x10 0x0
95 0x01cc 0x04 0x0
96 0x01d0 0x30 0x0
97 0x01e0 0x04 0x0
98 0x01e8 0x73 0x0
99 0x01f0 0x1c 0x0
100 0x01fc 0x15 0x0
101 0x021c 0x04 0x0
102 0x0224 0x01 0x0
103 0x0228 0x22 0x0
104 0x022c 0x00 0x0
105 0x0098 0x05 0x0
106 0x080c 0x00 0x0
107 0x0818 0x0d 0x0
108 0x0860 0x01 0x0
109 0x0864 0x3a 0x0
110 0x087c 0x2f 0x0
111 0x08c0 0x09 0x0
112 0x08c4 0x09 0x0
113 0x08c8 0x1a 0x0
114 0x08d0 0x01 0x0
115 0x08d4 0x07 0x0
116 0x08d8 0x31 0x0
117 0x08dc 0x31 0x0
118 0x08e0 0x03 0x0
119 0x08fc 0x02 0x0
120 0x0900 0x01 0x0
121 0x0908 0x12 0x0
122 0x0914 0x25 0x0
123 0x0918 0x00 0x0
124 0x091c 0x05 0x0
125 0x0920 0x01 0x0
126 0x0924 0x26 0x0
127 0x0928 0x12 0x0
128 0x0930 0x04 0x0
129 0x0934 0x04 0x0
130 0x0938 0x09 0x0
131 0x0954 0x15 0x0
132 0x0960 0x32 0x0
133 0x0968 0x7f 0x0
134 0x096c 0x07 0x0
135 0x0978 0x04 0x0
136 0x0980 0x70 0x0
137 0x0984 0x8b 0x0
138 0x0988 0x08 0x0
139 0x098c 0x09 0x0
140 0x0990 0x03 0x0
141 0x0994 0x04 0x0
142 0x0998 0x02 0x0
143 0x099c 0x0c 0x0
144 0x09a4 0x02 0x0
145 0x09c0 0x5c 0x0
146 0x09c4 0x3e 0x0
147 0x09c8 0x3f 0x0
148 0x0a30 0x01 0x0
149 0x0a34 0xa0 0x0
150 0x0a38 0x08 0x0
151 0x0aa4 0x01 0x0
152 0x0aac 0xc3 0x0
153 0x0ab0 0x00 0x0
154 0x0ab8 0x8c 0x0
155 0x0ac0 0x7f 0x0
156 0x0ac4 0x2a 0x0
157 0x0810 0x0c 0x0
158 0x0814 0x00 0x0
159 0x0acc 0x04 0x0
160 0x093c 0x20 0x0
161 0x100c 0x00 0x0
162 0x1018 0x0d 0x0
163 0x1060 0x01 0x0
164 0x1064 0x3a 0x0
165 0x107c 0x2f 0x0
166 0x10c0 0x09 0x0
167 0x10c4 0x09 0x0
168 0x10c8 0x1a 0x0
169 0x10d0 0x01 0x0
170 0x10d4 0x07 0x0
171 0x10d8 0x31 0x0
172 0x10dc 0x31 0x0
173 0x10e0 0x03 0x0
174 0x10fc 0x02 0x0
175 0x1100 0x01 0x0
176 0x1108 0x12 0x0
177 0x1114 0x25 0x0
178 0x1118 0x00 0x0
179 0x111c 0x05 0x0
180 0x1120 0x01 0x0
181 0x1124 0x26 0x0
182 0x1128 0x12 0x0
183 0x1130 0x04 0x0
184 0x1134 0x04 0x0
185 0x1138 0x09 0x0
186 0x1154 0x15 0x0
187 0x1160 0x32 0x0
188 0x1168 0x7f 0x0
189 0x116c 0x07 0x0
190 0x1178 0x04 0x0
191 0x1180 0x70 0x0
192 0x1184 0x8b 0x0
193 0x1188 0x08 0x0
194 0x118c 0x09 0x0
195 0x1190 0x03 0x0
196 0x1194 0x04 0x0
197 0x1198 0x02 0x0
198 0x119c 0x0c 0x0
199 0x11a4 0x02 0x0
200 0x11c0 0x5c 0x0
201 0x11c4 0x3e 0x0
202 0x11c8 0x3f 0x0
203 0x1230 0x01 0x0
204 0x1234 0xa0 0x0
205 0x1238 0x08 0x0
206 0x12a4 0x01 0x0
207 0x12ac 0xc3 0x0
208 0x12b0 0x00 0x0
209 0x12b8 0x8c 0x0
210 0x12c0 0x7f 0x0
211 0x12c4 0x2a 0x0
212 0x1010 0x0c 0x0
213 0x1014 0x0f 0x0
214 0x12cc 0x04 0x0
215 0x113c 0x20 0x0
216 0x195c 0x3f 0x0
217 0x1974 0x50 0x0
218 0x196c 0x9f 0x0
219 0x182c 0x19 0x0
220 0x1840 0x07 0x0
221 0x1854 0x17 0x0
222 0x1868 0x09 0x0
223 0x1800 0x00 0x0
224 0x0aa8 0x01 0x0
225 0x12a8 0x01 0x0
226 0x1808 0x01 0x0>;
227};
228
Jonathan Avila29bc1972017-08-24 16:49:18 -0700229&devfreq_l3lat_0 {
230 qcom,core-dev-table =
231 < 300000 300000000 >,
232 < 480000 403200000 >,
233 < 652800 480000000 >,
234 < 748800 576000000 >,
235 < 902400 652800000 >,
236 < 979200 748800000 >,
237 < 1132800 844800000 >,
238 < 1228800 940800000 >,
239 < 1324800 1036800000 >,
240 < 1420800 1132800000 >,
241 < 1516800 1209600000 >,
242 < 1612800 1401600000 >,
243 < 1689600 1497600000 >,
244 < 1766400 1593600000 >;
245};
246
247&devfreq_l3lat_4 {
248 qcom,core-dev-table =
249 < 300000 300000000 >,
250 < 825600 576000000 >,
251 < 1132800 748800000 >,
252 < 1363200 940800000 >,
253 < 1689600 1209600000 >,
254 < 1996800 1401600000 >,
255 < 2400000 1593600000 >;
256};
257
Stephen Boydcbe46a02017-08-02 13:59:31 -0700258&bwmon {
259 qcom,count-unit = <0x10000>;
260};
261
Stephen Boyd31aac5f2017-09-01 09:16:06 -0700262&cpubw {
263 qcom,bw-tbl =
264 < MHZ_TO_MBPS(150, 16) >, /* 2288 MB/s */
265 < MHZ_TO_MBPS(300, 16) >, /* 4577 MB/s */
266 < MHZ_TO_MBPS(426, 16) >, /* 6500 MB/s */
267 < MHZ_TO_MBPS(533, 16) >, /* 8132 MB/s */
268 < MHZ_TO_MBPS(600, 16) >, /* 9155 MB/s */
269 < MHZ_TO_MBPS(806, 16) >, /* 12298 MB/s */
270 < MHZ_TO_MBPS(933, 16) >; /* 14236 MB/s */
271};
272
273&devfreq_cpufreq {
274 mincpubw-cpufreq {
275 cpu-to-dev-map-4 =
276 < 1881600 MHZ_TO_MBPS(200, 4) >,
Jonathan Avila018bf522017-10-19 14:57:32 -0700277 < 2400000 MHZ_TO_MBPS(1017, 4) >;
Stephen Boyd31aac5f2017-09-01 09:16:06 -0700278 };
279};
280
Deepak Katragaddada47ee92017-06-07 14:15:09 -0700281&clock_gcc {
Deepak Katragadda3f120bb2017-08-09 14:49:49 -0700282 compatible = "qcom,gcc-sdm845-v2", "syscon";
Deepak Katragaddada47ee92017-06-07 14:15:09 -0700283};
284
285&clock_camcc {
Deepak Katragadda3f120bb2017-08-09 14:49:49 -0700286 compatible = "qcom,cam_cc-sdm845-v2", "syscon";
Jigarkumar Zala9e214912017-09-14 16:40:03 -0700287 qcom,cam_cc_csi3phytimer_clk_src-opp-handle = <&cam_csiphy3>;
Deepak Katragaddada47ee92017-06-07 14:15:09 -0700288};
289
290&clock_dispcc {
Deepak Katragadda3f120bb2017-08-09 14:49:49 -0700291 compatible = "qcom,dispcc-sdm845-v2", "syscon";
Deepak Katragaddada47ee92017-06-07 14:15:09 -0700292};
293
Vicky Wallace1762ab32017-07-12 19:00:04 -0700294&clock_gpucc {
Deepak Katragadda3f120bb2017-08-09 14:49:49 -0700295 compatible = "qcom,gpucc-sdm845-v2", "syscon";
Vicky Wallace1762ab32017-07-12 19:00:04 -0700296};
297
298&clock_gfx {
299 compatible = "qcom,gfxcc-sdm845-v2";
300};
301
Deepak Katragaddada47ee92017-06-07 14:15:09 -0700302&clock_videocc {
Deepak Katragadda3f120bb2017-08-09 14:49:49 -0700303 compatible = "qcom,video_cc-sdm845-v2", "syscon";
Deepak Katragaddada47ee92017-06-07 14:15:09 -0700304};
Praneeth Paladugu55381212017-07-05 15:02:44 -0700305
306&msm_vidc {
307 qcom,allowed-clock-rates = <100000000 200000000 330000000
308 404000000 444000000 533000000>;
309};
Reut Zysman861fd6c2017-07-30 15:39:13 +0300310
David Collins113cc2772017-06-27 17:26:54 -0700311&refgen {
312 status = "ok";
313};
314
Reut Zysman861fd6c2017-07-30 15:39:13 +0300315&spss_utils {
316 qcom,spss-dev-firmware-name = "spss2d"; /* 8 chars max */
317 qcom,spss-test-firmware-name = "spss2t"; /* 8 chars max */
318 qcom,spss-prod-firmware-name = "spss2p"; /* 8 chars max */
319};
Narendra Muppalla4efd3442017-07-24 17:36:15 -0700320
321&mdss_mdp {
322 clock-max-rate = <0 0 0 0 430000000 19200000 0>;
Narendra Muppalla86a46a02017-08-17 11:14:37 -0700323 qcom,sde-min-core-ib-kbps = <4800000>;
Ingrid Gallardobdc72432017-10-16 14:44:47 -0700324 qcom,sde-max-bw-low-kbps = <9600000>;
325 qcom,sde-max-bw-high-kbps = <9600000>;
Narendra Muppalla4efd3442017-07-24 17:36:15 -0700326};
Joonwoo Parkf3f7dac2017-08-17 16:02:29 -0700327
Ingrid Gallardoe38166e2017-09-06 17:01:00 -0700328&mdss_dsi0 {
329 qcom,core-supply-entries {
330 #address-cells = <1>;
331 #size-cells = <0>;
332
333 qcom,core-supply-entry@0 {
334 reg = <0>;
335 qcom,supply-name = "refgen";
336 qcom,supply-min-voltage = <0>;
337 qcom,supply-max-voltage = <0>;
338 qcom,supply-enable-load = <0>;
339 qcom,supply-disable-load = <0>;
340 };
341 };
342};
343
344&mdss_dsi1 {
345 qcom,core-supply-entries {
346 #address-cells = <1>;
347 #size-cells = <0>;
348
349 qcom,core-supply-entry@0 {
350 reg = <0>;
351 qcom,supply-name = "refgen";
352 qcom,supply-min-voltage = <0>;
353 qcom,supply-max-voltage = <0>;
354 qcom,supply-enable-load = <0>;
355 qcom,supply-disable-load = <0>;
356 };
357 };
358};
359
360&sde_dp {
361 qcom,core-supply-entries {
362 #address-cells = <1>;
363 #size-cells = <0>;
364
365 qcom,core-supply-entry@0 {
366 reg = <0>;
367 qcom,supply-name = "refgen";
368 qcom,supply-min-voltage = <0>;
369 qcom,supply-max-voltage = <0>;
370 qcom,supply-enable-load = <0>;
371 qcom,supply-disable-load = <0>;
372 };
373 };
374};
375
Joonwoo Parkf3f7dac2017-08-17 16:02:29 -0700376&energy_costs {
377 CPU_COST_0: core-cost0 {
378 busy-cost-data = <
Puja Gupta346e399c2017-09-06 14:32:42 -0700379 300000 12
Joonwoo Parkf3f7dac2017-08-17 16:02:29 -0700380 403200 17
381 480000 21
Puja Gupta346e399c2017-09-06 14:32:42 -0700382 576000 27
Joonwoo Parkf3f7dac2017-08-17 16:02:29 -0700383 652800 31
384 748800 37
385 825600 42
386 902400 47
387 979200 52
388 1056000 57
389 1132800 62
Puja Gupta346e399c2017-09-06 14:32:42 -0700390 1228800 70
Joonwoo Parkf3f7dac2017-08-17 16:02:29 -0700391 1324800 78
392 1420800 89
393 1516800 103
394 1612800 122
Puja Gupta346e399c2017-09-06 14:32:42 -0700395 1689600 141
396 1766400 160
Joonwoo Parkf3f7dac2017-08-17 16:02:29 -0700397 >;
398 idle-cost-data = <
399 22 18 14 12
400 >;
401 };
402 CPU_COST_1: core-cost1 {
403 busy-cost-data = <
Puja Gupta346e399c2017-09-06 14:32:42 -0700404 300000 189
405 403200 523
406 480000 763
407 576000 1052
408 652800 1273
409 748800 1536
410 825600 1736
411 902400 1926
412 979200 2108
413 1056000 2284
414 1132800 2456
415 1209600 2628
416 1286400 2804
417 1363200 2992
418 1459200 3255
419 1536000 3499
420 1612800 3786
421 1689600 4128
422 1766400 4535
423 1843200 5019
424 1920000 5583
425 1996800 6226
Joonwoo Parkf3f7dac2017-08-17 16:02:29 -0700426 2092800 7120
Puja Gupta346e399c2017-09-06 14:32:42 -0700427 2169600 7876
428 2246400 8628
429 2323200 9344
Joonwoo Parkf3f7dac2017-08-17 16:02:29 -0700430 2400000 10030
Puja Gupta346e399c2017-09-06 14:32:42 -0700431 2476800 10806
432 2553600 12045
433 2649600 15686
434 2745600 25586
Vikram Mulukutlaa47c2bd2017-10-25 18:26:46 -0700435 2764800 30000
436 2784000 35000
437 2803200 40000
Joonwoo Parkf3f7dac2017-08-17 16:02:29 -0700438 >;
439 idle-cost-data = <
440 100 80 60 40
441 >;
442 };
443 CLUSTER_COST_0: cluster-cost0 {
444 busy-cost-data = <
445 300000 3
446 403200 4
447 480000 4
448 576000 4
449 652800 5
450 748800 5
451 825600 6
452 902400 7
453 979200 7
454 1056000 8
455 1132800 9
456 1228800 9
457 1324800 10
458 1420800 11
459 1516800 12
460 1612800 13
461 1689600 15
462 1766400 17
463 >;
464 idle-cost-data = <
465 4 3 2 1
466 >;
467 };
468 CLUSTER_COST_1: cluster-cost1 {
469 busy-cost-data = <
470 300000 24
471 403200 24
472 480000 25
473 576000 25
474 652800 26
475 748800 27
476 825600 28
477 902400 29
478 979200 30
479 1056000 32
480 1132800 34
481 1209600 37
482 1286400 40
483 1363200 45
484 1459200 50
485 1536000 57
486 1612800 64
487 1689600 74
488 1766400 84
489 1843200 96
490 1920000 106
491 1996800 113
492 2092800 120
493 2169600 125
494 2246400 127
495 2323200 130
496 2400000 135
497 2476800 140
498 2553600 145
Puja Gupta346e399c2017-09-06 14:32:42 -0700499 2649600 150
500 2745600 155
Vikram Mulukutlaa47c2bd2017-10-25 18:26:46 -0700501 2764800 160
502 2784000 165
503 2803200 170
Joonwoo Parkf3f7dac2017-08-17 16:02:29 -0700504 >;
505 idle-cost-data = <
506 4 3 2 1
507 >;
508 };
509};
Vicky Wallaceddf4fad2017-08-03 20:15:55 -0700510
511&gpu_gx_gdsc {
512 domain-addr = <&gpu_gx_domain_addr>;
513 sw-reset = <&gpu_gx_sw_reset>;
514 qcom,reset-aon-logic;
515};
Lokesh Batra835f0162017-08-01 11:55:53 -0700516
517/* GPU overrides */
518&msm_gpu {
519 /* Updated chip ID */
520 qcom,chipid = <0x06030001>;
Lynus Vaze6565532017-09-14 10:25:34 +0530521 qcom,initial-pwrlevel = <6>;
Lokesh Batra835f0162017-08-01 11:55:53 -0700522
523 qcom,gpu-pwrlevels {
524 #address-cells = <1>;
525 #size-cells = <0>;
526
527 compatible = "qcom,gpu-pwrlevels";
528
529 qcom,gpu-pwrlevel@0 {
530 reg = <0>;
Lynus Vaze6565532017-09-14 10:25:34 +0530531 qcom,gpu-freq = <710000000>;
532 qcom,bus-freq = <12>;
533 qcom,bus-min = <12>;
534 qcom,bus-max = <12>;
535 };
536
537 qcom,gpu-pwrlevel@1 {
538 reg = <1>;
Lokesh Batra835f0162017-08-01 11:55:53 -0700539 qcom,gpu-freq = <675000000>;
540 qcom,bus-freq = <12>;
541 qcom,bus-min = <10>;
542 qcom,bus-max = <12>;
543 };
544
Lynus Vaze6565532017-09-14 10:25:34 +0530545 qcom,gpu-pwrlevel@2 {
546 reg = <2>;
Lokesh Batra835f0162017-08-01 11:55:53 -0700547 qcom,gpu-freq = <596000000>;
548 qcom,bus-freq = <10>;
549 qcom,bus-min = <9>;
Lynus Vaze6565532017-09-14 10:25:34 +0530550 qcom,bus-max = <12>;
Lokesh Batra835f0162017-08-01 11:55:53 -0700551 };
552
Lynus Vaze6565532017-09-14 10:25:34 +0530553 qcom,gpu-pwrlevel@3 {
554 reg = <3>;
Lokesh Batra835f0162017-08-01 11:55:53 -0700555 qcom,gpu-freq = <520000000>;
556 qcom,bus-freq = <9>;
557 qcom,bus-min = <8>;
558 qcom,bus-max = <10>;
559 };
560
Lynus Vaze6565532017-09-14 10:25:34 +0530561 qcom,gpu-pwrlevel@4 {
562 reg = <4>;
Lokesh Batra835f0162017-08-01 11:55:53 -0700563 qcom,gpu-freq = <414000000>;
564 qcom,bus-freq = <8>;
565 qcom,bus-min = <7>;
566 qcom,bus-max = <9>;
567 };
568
Lynus Vaze6565532017-09-14 10:25:34 +0530569 qcom,gpu-pwrlevel@5 {
570 reg = <5>;
Lokesh Batra835f0162017-08-01 11:55:53 -0700571 qcom,gpu-freq = <342000000>;
572 qcom,bus-freq = <6>;
573 qcom,bus-min = <5>;
574 qcom,bus-max = <7>;
575 };
576
Lynus Vaze6565532017-09-14 10:25:34 +0530577 qcom,gpu-pwrlevel@6 {
578 reg = <6>;
Lokesh Batra835f0162017-08-01 11:55:53 -0700579 qcom,gpu-freq = <257000000>;
580 qcom,bus-freq = <4>;
581 qcom,bus-min = <3>;
582 qcom,bus-max = <5>;
583 };
584
Lynus Vaze6565532017-09-14 10:25:34 +0530585 qcom,gpu-pwrlevel@7 {
586 reg = <7>;
Lokesh Batra835f0162017-08-01 11:55:53 -0700587 qcom,gpu-freq = <0>;
588 qcom,bus-freq = <0>;
589 qcom,bus-min = <0>;
590 qcom,bus-max = <0>;
591 };
592 };
593};
594
595&gmu {
596 qcom,gmu-pwrlevels {
597 #address-cells = <1>;
598 #size-cells = <0>;
599
600 compatible = "qcom,gmu-pwrlevels";
601
Kyle Piefer33bec862017-08-14 16:26:53 -0700602 /* GMU power levels must go from lowest to highest */
Lokesh Batra835f0162017-08-01 11:55:53 -0700603 qcom,gmu-pwrlevel@0 {
604 reg = <0>;
Kyle Piefer33bec862017-08-14 16:26:53 -0700605 qcom,gmu-freq = <0>;
Lokesh Batra835f0162017-08-01 11:55:53 -0700606 };
607
608 qcom,gmu-pwrlevel@1 {
609 reg = <1>;
610 qcom,gmu-freq = <200000000>;
611 };
612
613 qcom,gmu-pwrlevel@2 {
614 reg = <2>;
Kyle Piefer33bec862017-08-14 16:26:53 -0700615 qcom,gmu-freq = <500000000>;
Lokesh Batra835f0162017-08-01 11:55:53 -0700616 };
617 };
618};
Mayank Ranaf1137ef2017-09-26 09:30:26 -0700619
620&qusb_phy0 {
621 qcom,qusb-phy-init-seq =
622 /* <value reg_offset> */
623 <0x23 0x210 /* PWR_CTRL1 */
624 0x03 0x04 /* PLL_ANALOG_CONTROLS_TWO */
625 0x7c 0x18c /* PLL_CLOCK_INVERTERS */
626 0x80 0x2c /* PLL_CMODE */
627 0x0a 0x184 /* PLL_LOCK_DELAY */
628 0x19 0xb4 /* PLL_DIGITAL_TIMERS_TWO */
629 0x40 0x194 /* PLL_BIAS_CONTROL_1 */
630 0x20 0x198 /* PLL_BIAS_CONTROL_2 */
631 0x21 0x214 /* PWR_CTRL2 */
Mayank Rana43343b82017-10-03 15:26:53 -0700632 0x07 0x220 /* IMP_CTRL1 */
Mayank Ranaf1137ef2017-09-26 09:30:26 -0700633 0x58 0x224 /* IMP_CTRL2 */
634 0x45 0x240 /* TUNE1 */
635 0x29 0x244 /* TUNE2 */
636 0xca 0x248 /* TUNE3 */
637 0x04 0x24c /* TUNE4 */
638 0x03 0x250 /* TUNE5 */
639 0x00 0x23c /* CHG_CTRL2 */
640 0x22 0x210>; /* PWR_CTRL1 */
641};