1 /* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
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.
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.
14 * As a general rule, only version-specific property overrides should be placed
15 * inside this file. Common device definitions should be placed inside the
19 #include "msm8998.dtsi"
20 #include "msm8998-v2-camera.dtsi"
23 model = "Qualcomm Technologies, Inc. MSM8998 v2";
24 qcom,msm-id = <292 0x20000>;
28 compatible = "qcom,cpu-clock-osm-msm8998-v2";
29 reg = <0x179c0000 0x4000>,
37 reg-names = "osm", "pwrcl_pll", "perfcl_pll",
38 "apcs_common", "pwrcl_acd", "perfcl_acd",
39 "perfcl_efuse", "debug";
41 qcom,acdtd-val = <0x00009611 0x00009611>;
42 qcom,acdcr-val = <0x002b5ffd 0x002b5ffd>;
43 qcom,acdsscr-val = <0x00000501 0x00000501>;
44 qcom,acdextint0-val = <0x2cf9ae8 0x2cf9ae8>;
45 qcom,acdextint1-val = <0x2cf9afe 0x2cf9afe>;
46 qcom,acdautoxfer-val = <0x00000015 0x00000015>;
47 qcom,pwrcl-apcs-mem-acc-threshold-voltage = <852000>;
48 qcom,perfcl-apcs-mem-acc-threshold-voltage = <852000>;
49 qcom,apm-threshold-voltage = <800000>;
51 /delete-property/ qcom,llm-sw-overr;
52 qcom,pwrcl-speedbin0-v0 =
53 < 300000000 0x0004000f 0x01200020 0x1 1 >,
54 < 364800000 0x05040013 0x01200020 0x1 2 >,
55 < 441600000 0x05040017 0x02200020 0x1 3 >,
56 < 518400000 0x0504001b 0x02200020 0x1 4 >,
57 < 595200000 0x0504001f 0x02200020 0x1 5 >,
58 < 672000000 0x05040023 0x03200020 0x1 6 >,
59 < 748800000 0x05040027 0x03200020 0x1 7 >,
60 < 825600000 0x0404002b 0x03220022 0x1 8 >,
61 < 883200000 0x0404002e 0x04250025 0x1 9 >,
62 < 960000000 0x04040032 0x04280028 0x1 10 >,
63 < 1036800000 0x04040036 0x042b002b 0x1 11 >,
64 < 1094400000 0x04040039 0x052e002e 0x2 12 >,
65 < 1171200000 0x0404003d 0x05310031 0x2 13 >,
66 < 1248000000 0x04040041 0x05340034 0x2 14 >,
67 < 1324800000 0x04040045 0x06370037 0x2 15 >,
68 < 1401600000 0x04040049 0x063a003a 0x2 16 >,
69 < 1478400000 0x0404004d 0x073e003e 0x2 17 >,
70 < 1555200000 0x04040051 0x07410041 0x2 18 >,
71 < 1670400000 0x04040057 0x08460046 0x2 19 >,
72 < 1747200000 0x0404005b 0x08490049 0x2 20 >,
73 < 1824000000 0x0404005f 0x084c004c 0x3 21 >,
74 < 1900800000 0x04040063 0x094f004f 0x3 22 >;
76 qcom,perfcl-speedbin0-v0 =
77 < 300000000 0x0004000f 0x01200020 0x1 1 >,
78 < 345600000 0x05040012 0x01200020 0x1 2 >,
79 < 422400000 0x05040016 0x02200020 0x1 3 >,
80 < 499200000 0x0504001a 0x02200020 0x1 4 >,
81 < 576000000 0x0504001e 0x02200020 0x1 5 >,
82 < 652800000 0x05040022 0x03200020 0x1 6 >,
83 < 729600000 0x05040026 0x03200020 0x1 7 >,
84 < 806400000 0x0504002a 0x03220022 0x1 8 >,
85 < 902400000 0x0404002f 0x04260026 0x1 9 >,
86 < 979200000 0x04040033 0x04290029 0x1 10 >,
87 < 1056000000 0x04040037 0x052c002c 0x1 11 >,
88 < 1132800000 0x0404003b 0x052f002f 0x1 12 >,
89 < 1190400000 0x0404003e 0x05320032 0x2 13 >,
90 < 1267200000 0x04040042 0x06350035 0x2 14 >,
91 < 1344000000 0x04040046 0x06380038 0x2 15 >,
92 < 1420800000 0x0404004a 0x063b003b 0x2 16 >,
93 < 1497600000 0x0404004e 0x073e003e 0x2 17 >,
94 < 1574400000 0x04040052 0x07420042 0x2 18 >,
95 < 1651200000 0x04040056 0x07450045 0x2 19 >,
96 < 1728000000 0x0404005a 0x08480048 0x2 20 >,
97 < 1804800000 0x0404005e 0x084b004b 0x2 21 >,
98 < 1881600000 0x04040062 0x094e004e 0x2 22 >,
99 < 1958400000 0x04040066 0x09520052 0x2 23 >,
100 < 2035200000 0x0404006a 0x09550055 0x3 24 >,
101 < 2112000000 0x0404006e 0x0a580058 0x3 25 >,
102 < 2208000000 0x04040073 0x0a5c005c 0x3 26 >,
103 < 2265600000 0x04010076 0x0a5e005e 0x3 26 >,
104 < 2265600000 0x04040076 0x0a5e005e 0x3 27 >,
105 < 2342400000 0x0401007a 0x0a620062 0x3 27 >,
106 < 2342400000 0x0404007a 0x0a620062 0x3 28 >,
107 < 2419200000 0x0401007e 0x0a650065 0x3 28 >,
108 < 2419200000 0x0404007e 0x0a650065 0x3 29 >,
109 < 2496000000 0x04010082 0x0a680068 0x3 29 >,
110 < 2457600000 0x04040080 0x0a660066 0x3 30 >,
111 < 2553600000 0x04010085 0x0a6a006a 0x3 30 >,
112 < 2476800000 0x04040081 0x0a670067 0x3 31 >,
113 < 2572800000 0x04010086 0x0a6b006b 0x3 31 >,
114 < 2496000000 0x04040082 0x0a680068 0x3 32 >,
115 < 2592000000 0x04010087 0x0a6c006c 0x3 32 >;
117 qcom,perfcl-speedbin1-v0 =
118 < 300000000 0x0004000f 0x01200020 0x1 1 >,
119 < 345600000 0x05040012 0x01200020 0x1 2 >,
120 < 422400000 0x05040016 0x02200020 0x1 3 >,
121 < 499200000 0x0504001a 0x02200020 0x1 4 >,
122 < 576000000 0x0504001e 0x02200020 0x1 5 >,
123 < 652800000 0x05040022 0x03200020 0x1 6 >,
124 < 729600000 0x05040026 0x03200020 0x1 7 >,
125 < 806400000 0x0504002a 0x03220022 0x1 8 >,
126 < 902400000 0x0404002f 0x04260026 0x1 9 >,
127 < 979200000 0x04040033 0x04290029 0x1 10 >,
128 < 1056000000 0x04040037 0x052c002c 0x1 11 >,
129 < 1132800000 0x0404003b 0x052f002f 0x1 12 >,
130 < 1190400000 0x0404003e 0x05320032 0x2 13 >,
131 < 1267200000 0x04040042 0x06350035 0x2 14 >,
132 < 1344000000 0x04040046 0x06380038 0x2 15 >,
133 < 1420800000 0x0404004a 0x063b003b 0x2 16 >,
134 < 1497600000 0x0404004e 0x073e003e 0x2 17 >,
135 < 1574400000 0x04040052 0x07420042 0x2 18 >,
136 < 1651200000 0x04040056 0x07450045 0x2 19 >,
137 < 1728000000 0x0404005a 0x08480048 0x2 20 >,
138 < 1804800000 0x0404005e 0x084b004b 0x2 21 >,
139 < 1881600000 0x04040062 0x094e004e 0x2 22 >,
140 < 1958400000 0x04040066 0x09520052 0x2 23 >,
141 < 2035200000 0x0404006a 0x09550055 0x3 24 >,
142 < 2112000000 0x0404006e 0x0a580058 0x3 25 >,
143 < 2208000000 0x04040073 0x0a5c005c 0x3 26 >,
144 < 2304000000 0x04010078 0x0a600060 0x3 26 >;
146 qcom,perfcl-speedbin2-v0 =
147 < 300000000 0x0004000f 0x01200020 0x1 1 >,
148 < 345600000 0x05040012 0x01200020 0x1 2 >,
149 < 422400000 0x05040016 0x02200020 0x1 3 >,
150 < 499200000 0x0504001a 0x02200020 0x1 4 >,
151 < 576000000 0x0504001e 0x02200020 0x1 5 >,
152 < 652800000 0x05040022 0x03200020 0x1 6 >,
153 < 729600000 0x05040026 0x03200020 0x1 7 >,
154 < 806400000 0x0504002a 0x03220022 0x1 8 >,
155 < 902400000 0x0404002f 0x04260026 0x1 9 >,
156 < 979200000 0x04040033 0x04290029 0x1 10 >,
157 < 1056000000 0x04040037 0x052c002c 0x1 11 >,
158 < 1132800000 0x0404003b 0x052f002f 0x1 12 >,
159 < 1190400000 0x0404003e 0x05320032 0x2 13 >,
160 < 1267200000 0x04040042 0x06350035 0x2 14 >,
161 < 1344000000 0x04040046 0x06380038 0x2 15 >,
162 < 1420800000 0x0404004a 0x063b003b 0x2 16 >,
163 < 1497600000 0x0404004e 0x073e003e 0x2 17 >,
164 < 1574400000 0x04040052 0x07420042 0x2 18 >,
165 < 1651200000 0x04040056 0x07450045 0x2 19 >,
166 < 1728000000 0x0404005a 0x08480048 0x2 20 >,
167 < 1804800000 0x0404005e 0x084b004b 0x2 21 >,
168 < 1881600000 0x04040062 0x094e004e 0x2 22 >,
169 < 1958400000 0x04040066 0x09520052 0x2 23 >,
170 < 2035200000 0x0404006a 0x09550055 0x3 24 >,
171 < 2112000000 0x0404006e 0x0a580058 0x3 25 >,
172 < 2208000000 0x04040073 0x0a5c005c 0x3 26 >,
173 < 2265600000 0x04010076 0x0a5e005e 0x3 26 >,
174 < 2265600000 0x04040076 0x0a5e005e 0x3 27 >,
175 < 2342400000 0x0401007a 0x0a620062 0x3 27 >,
176 < 2323200000 0x04040079 0x0a610061 0x3 28 >,
177 < 2419200000 0x0401007e 0x0a650065 0x3 28 >,
178 < 2342400000 0x0404007a 0x0a620062 0x3 29 >,
179 < 2438400000 0x0401007f 0x0a660066 0x3 29 >,
180 < 2361600000 0x0404007b 0x0a620062 0x3 30 >,
181 < 2457600000 0x04010080 0x0a660066 0x3 30 >;
183 qcom,perfcl-speedbin3-v0 =
184 < 300000000 0x0004000f 0x01200020 0x1 1 >,
185 < 345600000 0x05040012 0x01200020 0x1 2 >,
186 < 422400000 0x05040016 0x02200020 0x1 3 >,
187 < 499200000 0x0504001a 0x02200020 0x1 4 >,
188 < 576000000 0x0504001e 0x02200020 0x1 5 >,
189 < 652800000 0x05040022 0x03200020 0x1 6 >,
190 < 729600000 0x05040026 0x03200020 0x1 7 >,
191 < 806400000 0x0504002a 0x03220022 0x1 8 >,
192 < 902400000 0x0404002f 0x04260026 0x1 9 >,
193 < 979200000 0x04040033 0x04290029 0x1 10 >,
194 < 1056000000 0x04040037 0x052c002c 0x1 11 >,
195 < 1132800000 0x0404003b 0x052f002f 0x1 12 >,
196 < 1190400000 0x0404003e 0x05320032 0x2 13 >,
197 < 1267200000 0x04040042 0x06350035 0x2 14 >,
198 < 1344000000 0x04040046 0x06380038 0x2 15 >,
199 < 1420800000 0x0404004a 0x063b003b 0x2 16 >,
200 < 1497600000 0x0404004e 0x073e003e 0x2 17 >,
201 < 1574400000 0x04040052 0x07420042 0x2 18 >,
202 < 1651200000 0x04040056 0x07450045 0x2 19 >,
203 < 1728000000 0x0404005a 0x08480048 0x2 20 >,
204 < 1804800000 0x0404005e 0x084b004b 0x2 21 >,
205 < 1881600000 0x04040062 0x094e004e 0x2 22 >,
206 < 1958400000 0x04040066 0x09520052 0x2 23 >,
207 < 2035200000 0x0404006a 0x09550055 0x3 24 >,
208 < 2112000000 0x0404006e 0x0a580058 0x3 25 >,
209 < 2208000000 0x04040073 0x0a5c005c 0x3 26 >,
210 < 2265600000 0x04010076 0x0a5e005e 0x3 26 >,
211 < 2265600000 0x04040076 0x0a5e005e 0x3 27 >,
212 < 2342400000 0x0401007a 0x0a620062 0x3 27 >,
213 < 2323200000 0x04040079 0x0a610061 0x3 28 >,
214 < 2419200000 0x0401007e 0x0a650065 0x3 28 >,
215 < 2342400000 0x0404007a 0x0a620062 0x3 29 >,
216 < 2438400000 0x0401007f 0x0a660066 0x3 29 >,
217 < 2361600000 0x0404007b 0x0a620062 0x3 30 >,
218 < 2457600000 0x04010080 0x0a660066 0x3 30 >;
222 qcom,cpufreq-table-0 =
246 qcom,cpufreq-table-4 =
286 compatible = "qcom,bimc-bwmon4";
287 qcom,hw-timer-hz = <19200000>;
302 qcom,core-dev-table =
312 qcom,core-dev-table =
321 compatible = "qcom,gcc-8998-v2";
325 compatible = "qcom,mmsscc-8998-v2";
329 compatible = "qcom,gpucc-8998-v2";
333 compatible = "qcom,gfxcc-8998-v2";
334 qcom,gfxfreq-speedbin0 =
336 < 180000000 1 RPM_SMD_REGULATOR_LEVEL_SVS >,
337 < 257000000 2 RPM_SMD_REGULATOR_LEVEL_SVS >,
338 < 342000000 3 RPM_SMD_REGULATOR_LEVEL_SVS >,
339 < 414000000 4 RPM_SMD_REGULATOR_LEVEL_SVS >,
340 < 515000000 5 RPM_SMD_REGULATOR_LEVEL_NOM >,
341 < 596000000 6 RPM_SMD_REGULATOR_LEVEL_NOM >,
342 < 670000000 7 RPM_SMD_REGULATOR_LEVEL_TURBO >,
343 < 710000000 8 RPM_SMD_REGULATOR_LEVEL_TURBO >;
344 qcom,gfxfreq-mx-speedbin0 =
346 < 180000000 RPM_SMD_REGULATOR_LEVEL_SVS >,
347 < 257000000 RPM_SMD_REGULATOR_LEVEL_SVS >,
348 < 342000000 RPM_SMD_REGULATOR_LEVEL_SVS >,
349 < 414000000 RPM_SMD_REGULATOR_LEVEL_SVS >,
350 < 515000000 RPM_SMD_REGULATOR_LEVEL_NOM >,
351 < 596000000 RPM_SMD_REGULATOR_LEVEL_NOM >,
352 < 670000000 RPM_SMD_REGULATOR_LEVEL_TURBO >,
353 < 710000000 RPM_SMD_REGULATOR_LEVEL_TURBO >;
357 qcom,vbif-settings = <0x00d0 0x00002020>;
358 qcom,max-bandwidth-low-kbps = <9400000>;
359 qcom,max-bandwidth-high-kbps = <9400000>;
360 qcom,max-bandwidth-per-pipe-kbps = <4700000>;
364 regulator-min-microvolt = <568000>;
365 regulator-max-microvolt = <1056000>;
369 regulator-min-microvolt = <568000>;
370 regulator-max-microvolt = <1136000>;
374 qcom,phy-sequence = <0x804 0x01 0x00
452 compatible = "qcom,cprh-msm8998-v2-kbss-regulator";
453 qcom,cpr-corner-switch-delay-time = <1042>;
454 qcom,cpr-aging-ref-voltage = <1056000>;
455 qcom,apm-threshold-voltage = <800000>;
456 qcom,apm-hysteresis-voltage = <0>;
457 qcom,mem-acc-threshold-voltage = <852000>;
458 qcom,mem-acc-crossover-voltage = <852000>;
462 regulator-max-microvolt = <23>;
464 qcom,cpr-fuse-combos = <32>;
465 qcom,cpr-speed-bins = <4>;
466 qcom,cpr-speed-bin-corners = <22 22 22 22>;
467 qcom,cpr-corners = <22>;
469 qcom,cpr-corner-fmax-map = <8 11 18 22>;
471 qcom,cpr-voltage-ceiling =
472 <828000 828000 828000 828000 828000
473 828000 828000 828000 828000 828000
474 828000 900000 900000 900000 900000
475 900000 900000 900000 952000 952000
478 qcom,cpr-voltage-floor =
479 <568000 568000 568000 568000 568000
480 568000 568000 568000 568000 568000
481 568000 632000 632000 632000 632000
482 632000 632000 632000 712000 712000
485 qcom,cpr-floor-to-ceiling-max-range =
486 <32000 32000 32000 32000
487 32000 32000 32000 32000
488 32000 32000 32000 32000
489 32000 32000 32000 32000
490 32000 32000 40000 40000
493 qcom,corner-frequencies =
494 <300000000 364800000 441600000
495 518400000 595200000 672000000
496 748800000 825600000 883200000
497 960000000 1036800000 1094400000
498 1171200000 1248000000 1324800000
499 1401600000 1478400000 1555200000
500 1670400000 1747200000 1824000000
503 qcom,cpr-ro-scaling-factor =
504 <2595 2794 2577 2762 2471 2674 2199
505 2553 3189 3255 3192 2962 3054 2982
507 <2595 2794 2577 2762 2471 2674 2199
508 2553 3189 3255 3192 2962 3054 2982
510 <2391 2550 2483 2638 2382 2564 2259
511 2555 2766 3041 2988 2935 2873 2688
513 <2066 2153 2300 2434 2220 2386 2288
514 2465 2028 2511 2487 2734 2554 2117
517 qcom,cpr-open-loop-voltage-fuse-adjustment =
519 <40000 24000 12000 30000>,
520 <40000 24000 12000 30000>,
521 <40000 24000 12000 30000>,
522 <40000 24000 12000 30000>,
523 <40000 24000 12000 30000>,
524 <40000 24000 12000 30000>,
525 <40000 24000 12000 30000>,
526 <40000 24000 12000 30000>,
528 <40000 24000 12000 30000>,
529 <40000 24000 12000 30000>,
530 <40000 24000 12000 30000>,
531 <40000 24000 12000 30000>,
532 <40000 24000 12000 30000>,
533 <40000 24000 12000 30000>,
534 <40000 24000 12000 30000>,
535 <40000 24000 12000 30000>,
537 <40000 24000 12000 30000>,
538 <40000 24000 12000 30000>,
539 <40000 24000 12000 30000>,
540 <40000 24000 12000 30000>,
541 <40000 24000 12000 30000>,
542 <40000 24000 12000 30000>,
543 <40000 24000 12000 30000>,
544 <40000 24000 12000 30000>,
546 <40000 24000 12000 30000>,
547 <40000 24000 12000 30000>,
548 <40000 24000 12000 30000>,
549 <40000 24000 12000 30000>,
550 <40000 24000 12000 30000>,
551 <40000 24000 12000 30000>,
552 <40000 24000 12000 30000>,
553 <40000 24000 12000 30000>;
555 qcom,cpr-closed-loop-voltage-fuse-adjustment =
557 <20000 26000 12000 30000>,
558 <20000 26000 12000 30000>,
559 <20000 26000 12000 30000>,
560 <20000 26000 12000 30000>,
561 <20000 26000 12000 30000>,
562 <20000 26000 12000 30000>,
563 <20000 26000 12000 30000>,
564 <20000 26000 12000 30000>,
566 <20000 26000 12000 30000>,
567 <20000 26000 12000 30000>,
568 <20000 26000 12000 30000>,
569 <20000 26000 12000 30000>,
570 <20000 26000 12000 30000>,
571 <20000 26000 12000 30000>,
572 <20000 26000 12000 30000>,
573 <20000 26000 12000 30000>,
575 <20000 26000 12000 30000>,
576 <20000 26000 12000 30000>,
577 <20000 26000 12000 30000>,
578 <20000 26000 12000 30000>,
579 <20000 26000 12000 30000>,
580 <20000 26000 12000 30000>,
581 <20000 26000 12000 30000>,
582 <20000 26000 12000 30000>,
584 <20000 26000 12000 30000>,
585 <20000 26000 12000 30000>,
586 <20000 26000 12000 30000>,
587 <20000 26000 12000 30000>,
588 <20000 26000 12000 30000>,
589 <20000 26000 12000 30000>,
590 <20000 26000 12000 30000>,
591 <20000 26000 12000 30000>;
593 qcom,cpr-open-loop-voltage-adjustment =
597 0 (-12000) (-12000) (-12000) (-12000)
598 (-12000) (-16000) (-16000) (-20000) (-24000)
603 0 (-12000) (-12000) (-12000) (-12000)
604 (-12000) (-16000) (-16000) (-20000) (-24000)
609 0 (-12000) (-12000) (-12000) (-12000)
610 (-12000) (-16000) (-16000) (-20000) (-24000)
615 0 (-12000) (-12000) (-12000) (-12000)
616 (-12000) (-16000) (-16000) (-20000) (-24000)
619 qcom,cpr-closed-loop-voltage-adjustment =
623 0 (-10000) (-11000) (-12000) (-13000)
624 (-14000) (-14000) (-15000) (-21000) (-24000)
629 0 (-10000) (-11000) (-12000) (-13000)
630 (-14000) (-14000) (-15000) (-21000) (-24000)
635 0 (-10000) (-11000) (-12000) (-13000)
636 (-14000) (-14000) (-15000) (-21000) (-24000)
641 0 (-10000) (-11000) (-12000) (-13000)
642 (-14000) (-14000) (-15000) (-21000) (-24000)
645 qcom,allow-voltage-interpolation;
646 qcom,allow-quotient-interpolation;
647 qcom,cpr-scaled-open-loop-voltage-as-ceiling;
649 qcom,cpr-aging-ref-corner = <22>;
650 qcom,cpr-aging-ro-scaling-factor = <1620>;
651 qcom,allow-aging-voltage-adjustment = <0>;
655 compatible = "qcom,cprh-msm8998-v2-kbss-regulator";
656 qcom,cpr-corner-switch-delay-time = <1042>;
657 qcom,cpr-aging-ref-voltage = <1136000>;
658 qcom,apm-threshold-voltage = <800000>;
659 qcom,apm-hysteresis-voltage = <0>;
660 qcom,mem-acc-threshold-voltage = <852000>;
661 qcom,mem-acc-crossover-voltage = <852000>;
665 regulator-max-microvolt = <34>;
667 qcom,cpr-fuse-combos = <32>;
668 qcom,cpr-speed-bins = <4>;
669 qcom,cpr-speed-bin-corners = <32 26 30 31>;
672 <32 32 32 32 32 32 32 32>,
674 <26 26 26 26 26 26 26 26>,
676 <30 30 30 30 30 30 30 30>,
678 <31 31 31 31 31 31 31 31>;
680 qcom,cpr-corner-fmax-map =
690 qcom,cpr-voltage-ceiling =
692 <828000 828000 828000 828000 828000
693 828000 828000 828000 828000 828000
694 828000 828000 900000 900000 900000
695 900000 900000 900000 900000 900000
696 952000 952000 952000 1136000 1136000
697 1136000 1136000 1136000 1136000 1136000
700 <828000 828000 828000 828000 828000
701 828000 828000 828000 828000 828000
702 828000 828000 900000 900000 900000
703 900000 900000 900000 900000 900000
704 952000 952000 952000 1136000 1136000
707 <828000 828000 828000 828000 828000
708 828000 828000 828000 828000 828000
709 828000 828000 900000 900000 900000
710 900000 900000 900000 900000 900000
711 952000 952000 952000 1136000 1136000
712 1136000 1136000 1136000 1136000 1136000>,
714 <828000 828000 828000 828000 828000
715 828000 828000 828000 828000 828000
716 828000 828000 900000 900000 900000
717 900000 900000 900000 900000 900000
718 952000 952000 952000 1136000 1136000
719 1136000 1136000 1136000 1136000 1136000
722 qcom,cpr-voltage-floor =
724 <568000 568000 568000 568000 568000
725 568000 568000 568000 568000 568000
726 568000 568000 632000 632000 632000
727 632000 632000 632000 632000 632000
728 712000 712000 712000 772000 772000
729 772000 772000 772000 772000 772000
732 <568000 568000 568000 568000 568000
733 568000 568000 568000 568000 568000
734 568000 568000 632000 632000 632000
735 632000 632000 632000 632000 632000
736 712000 712000 712000 772000 772000
739 <568000 568000 568000 568000 568000
740 568000 568000 568000 568000 568000
741 568000 568000 632000 632000 632000
742 632000 632000 632000 632000 632000
743 712000 712000 712000 772000 772000
744 772000 772000 772000 772000 772000>,
746 <568000 568000 568000 568000 568000
747 568000 568000 568000 568000 568000
748 568000 568000 632000 632000 632000
749 632000 632000 632000 632000 632000
750 712000 712000 712000 772000 772000
751 772000 772000 772000 772000 772000
754 qcom,cpr-floor-to-ceiling-max-range =
756 <32000 32000 32000 32000
757 32000 32000 32000 32000
758 32000 32000 32000 32000
759 32000 32000 32000 32000
760 32000 32000 32000 32000
761 40000 40000 40000 40000
762 40000 40000 40000 40000
763 40000 40000 40000 40000>,
765 <32000 32000 32000 32000
766 32000 32000 32000 32000
767 32000 32000 32000 32000
768 32000 32000 32000 32000
769 32000 32000 32000 32000
770 40000 40000 40000 40000
773 <32000 32000 32000 32000
774 32000 32000 32000 32000
775 32000 32000 32000 32000
776 32000 32000 32000 32000
777 32000 32000 32000 32000
778 40000 40000 40000 40000
779 40000 40000 40000 40000
782 <32000 32000 32000 32000
783 32000 32000 32000 32000
784 32000 32000 32000 32000
785 32000 32000 32000 32000
786 32000 32000 32000 32000
787 40000 40000 40000 40000
788 40000 40000 40000 40000
791 qcom,corner-frequencies =
793 <300000000 345600000 422400000
794 499200000 576000000 652800000
795 729600000 806400000 902400000
796 979200000 1056000000 1132800000
797 1190400000 1267200000 1344000000
798 1420800000 1497600000 1574400000
799 1651200000 1728000000 1804800000
800 1881600000 1958400000 2035200000
801 2112000000 2208000000 2265600000
802 2342400000 2419200000 2457600000
803 2476800000 2496000000>,
805 <300000000 345600000 422400000
806 499200000 576000000 652800000
807 729600000 806400000 902400000
808 979200000 1056000000 1132800000
809 1190400000 1267200000 1344000000
810 1420800000 1497600000 1574400000
811 1651200000 1728000000 1804800000
812 1881600000 1958400000 2035200000
813 2112000000 2208000000>,
815 <300000000 345600000 422400000
816 499200000 576000000 652800000
817 729600000 806400000 902400000
818 979200000 1056000000 1132800000
819 1190400000 1267200000 1344000000
820 1420800000 1497600000 1574400000
821 1651200000 1728000000 1804800000
822 1881600000 1958400000 2035200000
823 2112000000 2208000000 2265600000
824 2323200000 2342400000 2361600000>,
826 <300000000 345600000 422400000
827 499200000 576000000 652800000
828 729600000 806400000 902400000
829 979200000 1056000000 1132800000
830 1190400000 1267200000 1344000000
831 1420800000 1497600000 1574400000
832 1651200000 1728000000 1804800000
833 1881600000 1958400000 2035200000
834 2112000000 2208000000 2265600000
835 2323200000 2342400000 2361600000
838 qcom,cpr-ro-scaling-factor =
839 <2857 3057 2828 2952 2699 2798 2446
840 2631 2629 2578 2244 3344 3289 3137
842 <2857 3057 2828 2952 2699 2798 2446
843 2631 2629 2578 2244 3344 3289 3137
845 <2603 2755 2676 2777 2573 2685 2465
846 2610 2312 2423 2243 3104 3022 3036
848 <1901 2016 2096 2228 2034 2161 2077
849 2188 1565 1870 1925 2235 2205 2413
852 qcom,cpr-open-loop-voltage-fuse-adjustment =
854 < 8000 0 12000 52000>,
855 < 8000 0 12000 52000>,
856 < 8000 0 12000 52000>,
857 < 8000 0 12000 52000>,
858 < 8000 0 12000 52000>,
859 < 8000 0 12000 52000>,
860 < 8000 0 12000 52000>,
861 < 8000 0 12000 52000>,
863 < 8000 0 12000 52000>,
864 < 8000 0 12000 52000>,
865 < 8000 0 12000 52000>,
866 < 8000 0 12000 52000>,
867 < 8000 0 12000 52000>,
868 < 8000 0 12000 52000>,
869 < 8000 0 12000 52000>,
870 < 8000 0 12000 52000>,
872 < 8000 0 12000 52000>,
873 < 8000 0 12000 52000>,
874 < 8000 0 12000 52000>,
875 < 8000 0 12000 52000>,
876 < 8000 0 12000 52000>,
877 < 8000 0 12000 52000>,
878 < 8000 0 12000 52000>,
879 < 8000 0 12000 52000>,
881 < 8000 0 12000 52000>,
882 < 8000 0 12000 52000>,
883 < 8000 0 12000 52000>,
884 < 8000 0 12000 52000>,
885 < 8000 0 12000 52000>,
886 < 8000 0 12000 52000>,
887 < 8000 0 12000 52000>,
888 < 8000 0 12000 52000>;
890 qcom,cpr-closed-loop-voltage-fuse-adjustment =
928 qcom,cpr-open-loop-voltage-adjustment =
932 0 (-8000) (-12000) (-12000) (-12000)
933 (-12000) (-12000) (-12000) (-16000) (-16000)
934 (-20000) (-16000) (-16000) (-16000) (-12000)
935 (-28000) (-28000) (-28000) (-28000) (-28000)
940 0 (-8000) (-12000) (-12000) (-12000)
941 (-12000) (-12000) (-12000) (-16000) (-16000)
942 (-20000) (-16000) (-16000) (-16000) (-16000)
947 0 (-8000) (-12000) (-12000) (-12000)
948 (-12000) (-12000) (-12000) (-16000) (-16000)
949 (-20000) (-16000) (-16000) (-16000) (-12000)
950 (-28000) (-28000) (-28000) (-28000) (-28000)>,
954 0 (-8000) (-12000) (-12000) (-12000)
955 (-12000) (-12000) (-12000) (-16000) (-16000)
956 (-20000) (-16000) (-16000) (-16000) (-12000)
957 (-28000) (-28000) (-28000) (-28000) (-28000)
960 qcom,cpr-closed-loop-voltage-adjustment =
964 0 (-10000) (-10000) (-11000) (-12000)
965 (-12000) (-13000) (-14000) (-14000) (-15000)
966 (-16000) (-16000) (-17000) (-15000) (-13000)
967 (-26000) (-26000) (-27000) (-27000) (-28000)
972 0 (-10000) (-10000) (-11000) (-12000)
973 (-12000) (-13000) (-14000) (-14000) (-15000)
974 (-16000) (-16000) (-17000) (-16000) (-15000)
979 0 (-10000) (-10000) (-11000) (-12000)
980 (-12000) (-13000) (-14000) (-14000) (-15000)
981 (-16000) (-16000) (-17000) (-15000) (-14000)
982 (-27000) (-27000) (-28000) (-28000) (-28000)>,
986 0 (-10000) (-10000) (-11000) (-12000)
987 (-12000) (-13000) (-14000) (-14000) (-15000)
988 (-16000) (-16000) (-17000) (-15000) (-14000)
989 (-26000) (-27000) (-27000) (-28000) (-28000)
992 qcom,allow-voltage-interpolation;
993 qcom,allow-quotient-interpolation;
994 qcom,cpr-scaled-open-loop-voltage-as-ceiling;
996 qcom,cpr-aging-ref-corner = <32 26 30 31>;
997 qcom,cpr-aging-ro-scaling-factor = <1700>;
998 qcom,allow-aging-voltage-adjustment = <0>;
1002 regulator-min-microvolt = <516000>;
1003 regulator-max-microvolt = <1088000>;
1007 compatible = "qcom,cpr4-msm8998-v2-mmss-regulator";
1008 qcom,cpr-aging-ref-voltage = <1088000>;
1012 regulator-min-microvolt = <1>;
1013 regulator-max-microvolt = <8>;
1015 qcom,cpr-fuse-corners = <4>;
1016 qcom,cpr-fuse-combos = <8>;
1017 qcom,cpr-corners = <8>;
1019 qcom,cpr-corner-fmax-map = <1 3 5 8>;
1021 qcom,cpr-voltage-ceiling =
1022 <716000 716000 772000 880000 908000 948000 1016000 1088000>,
1023 <724000 724000 772000 832000 916000 968000 1024000 1088000>,
1024 <724000 724000 772000 832000 916000 968000 1024000 1088000>,
1025 <724000 724000 772000 832000 916000 968000 1024000 1088000>,
1026 <724000 724000 772000 832000 916000 968000 1024000 1088000>,
1027 <724000 724000 772000 832000 916000 968000 1024000 1088000>,
1028 <724000 724000 772000 832000 916000 968000 1024000 1088000>,
1029 <724000 724000 772000 832000 916000 968000 1024000 1088000>;
1031 qcom,cpr-voltage-floor =
1032 <516000 516000 532000 584000 632000 672000 712000 756000>;
1034 qcom,mem-acc-voltage = <1 1 1 2 2 2 2 2>;
1036 qcom,corner-frequencies =
1037 <180000000 257000000 342000000 414000000
1038 515000000 596000000 670000000 710000000>;
1040 qcom,cpr-target-quotients =
1041 < 0 0 0 0 331 357 0 0
1043 < 0 0 0 0 467 500 0 0
1045 < 0 0 0 0 628 665 0 0
1047 < 0 0 0 0 762 805 0 0
1049 < 0 0 0 0 964 1013 0 0
1050 0 0 1143 0 1138 1055 0 0>,
1052 0 0 1306 0 1289 1168 0 0>,
1054 0 0 1468 0 1429 1256 0 0>,
1056 0 0 1627 0 1578 1353 0 0>;
1058 qcom,cpr-ro-scaling-factor =
1059 < 0 0 0 0 2377 2571 0 0
1060 0 0 2168 0 2209 1849 1997 0>,
1061 < 0 0 0 0 2377 2571 0 0
1062 0 0 2168 0 2209 1849 1997 0>,
1063 < 0 0 0 0 2377 2571 0 0
1064 0 0 2168 0 2209 1849 1997 0>,
1065 < 0 0 0 0 2377 2571 0 0
1066 0 0 2168 0 2209 1849 1997 0>,
1067 < 0 0 0 0 2377 2571 0 0
1068 0 0 2168 0 2209 1849 1997 0>,
1069 < 0 0 0 0 2377 2571 0 0
1070 0 0 2168 0 2209 1849 1997 0>,
1071 < 0 0 0 0 2377 2571 0 0
1072 0 0 2168 0 2209 1849 1997 0>,
1073 < 0 0 0 0 2377 2571 0 0
1074 0 0 2168 0 2209 1849 1997 0>;
1076 qcom,cpr-open-loop-voltage-fuse-adjustment =
1086 qcom,cpr-closed-loop-voltage-adjustment =
1087 < 90000 38000 28000 8000
1089 < 90000 38000 28000 8000
1091 < 90000 38000 28000 8000
1093 < 90000 38000 28000 8000
1095 < 90000 38000 28000 8000
1097 < 90000 38000 28000 8000
1099 < 90000 38000 28000 8000
1101 < 90000 38000 28000 8000
1104 qcom,cpr-floor-to-ceiling-max-range =
1105 <40000 40000 40000 40000 40000 40000 50000 50000>;
1107 qcom,cpr-fused-closed-loop-voltage-adjustment-map =
1110 qcom,allow-voltage-interpolation;
1111 qcom,cpr-scaled-open-loop-voltage-as-ceiling;
1113 qcom,cpr-aging-max-voltage-adjustment = <15000>;
1114 qcom,cpr-aging-ref-corner = <8>;
1115 qcom,cpr-aging-ro-scaling-factor = <1620>;
1116 qcom,allow-aging-voltage-adjustment = <0>;
1120 reg = <0x0c012000 0x2a8>,
1123 reg-names = "qusb_phy_base",
1124 "tcsr_clamp_dig_n_1p8",
1126 qcom,efuse-bit-pos = <16>;
1127 qcom,efuse-num-bits = <4>;
1128 qcom,qusb-phy-init-seq =
1129 /* <value reg_offset> */
1130 <0x13 0x04 /* analog_controls_two */
1131 0x7c 0x18c /* pll_clock_inverter */
1132 0x80 0x2c /* pll_cmode */
1133 0x0a 0x184 /* pll_lock_delay */
1134 0xa5 0x23c /* tune1 */
1135 0x09 0x240 /* tune2 */
1136 0x19 0xb4>; /* digital_timers_two */
1140 qcom,load-freq-tbl =
1142 <1105920 533000000 0x55555555>, /* 4kx2304@30 */ /*TURBO*/
1143 <1036800 444000000 0x55555555>, /* 720p@240, 1080p@120,1440p@60,
1144 * UHD@30 */ /*NOMINAL*/
1145 < 829440 355200000 0x55555555>, /* UHD/4096x2160@30 SVSL1 */
1146 < 489600 269330000 0x55555555>, /* 1080p@60, 720p@120 SVS */
1147 < 345600 200000000 0x55555555>, /* 2560x1440@24, 1080p@30 */
1151 <2211840 533000000 0xffffffff>, /* 4kx2304@60, 1080p@240 */
1153 <1728000 444000000 0xffffffff>, /* 2560x1440@120 */
1155 <1675472 355200000 0xffffffff>, /* 4kx2304@44 */ /*SVSL1*/
1156 <1105920 269330000 0xffffffff>, /* UHD/4k2304@30, 1080p@120 */
1158 < 829440 200000000 0xffffffff>; /* 720p@120, 1080p@60 */
1162 <200000000 1560000>,/* imem @ svs2 freq 75 Mhz */
1163 <269330000 3570000>,/* imem @ svs freq 171 Mhz */
1164 <355200000 3570000>,/* imem @ svs freq 171 Mhz */
1165 <444000000 6750000>,/* imem @ nom freq 323 Mhz */
1166 <533000000 8490000>;/* imem @ turbo freq 406 Mhz */
1168 qcom,dcvs-tbl = /* minLoad LoadLow LoadHigh CodecCheck */
1170 /* Load > Nominal, Nominal <-> Turbo Eg.3840x2160@60 */
1171 <1728000 1728000 2211840 0x3f00000c>,
1173 /* Load > Nominal, Nominal <-> Turbo Eg. 4kx2304@30 */
1174 <1036800 1036800 1105920 0x04000004>,
1175 /* Load > SVSL1, SVSL1<-> Nominal Eg. 3840x2160@30 */
1176 < 829440 829440 1036800 0x04000004>,
1177 /* Load > SVS , SVS <-> SVSL1 Eg. 4kx2304@24 */
1178 < 489600 489600 829440 0x04000004>;
1180 qcom,dcvs-limit = /* Min Frame size, Min MBs/sec */
1181 <32400 30>, /* Encoder 3840x2160@30 */
1182 <32400 60>; /* Decoder 3840x2160@60 */
1188 qcom,spm@178120000 {
1189 qcom,saw2-avs-limit = <0x4700470>;
1193 qcom,spm@179120000 {
1194 qcom,saw2-avs-limit = <0x4200420>;
1200 /* Updated chip ID */
1201 qcom,chipid = <0x05040001>;
1202 qcom,initial-pwrlevel = <6>;
1204 qcom,gpu-pwrlevels {
1205 #address-cells = <1>;
1208 compatible = "qcom,gpu-pwrlevels";
1210 qcom,gpu-pwrlevel@0 {
1212 qcom,gpu-freq = <710000000>;
1213 qcom,bus-freq = <12>;
1214 qcom,bus-min = <12>;
1215 qcom,bus-max = <12>;
1218 qcom,gpu-pwrlevel@1 {
1220 qcom,gpu-freq = <670000000>;
1221 qcom,bus-freq = <12>;
1222 qcom,bus-min = <11>;
1223 qcom,bus-max = <12>;
1226 qcom,gpu-pwrlevel@2 {
1228 qcom,gpu-freq = <596000000>;
1229 qcom,bus-freq = <11>;
1231 qcom,bus-max = <12>;
1234 qcom,gpu-pwrlevel@3 {
1236 qcom,gpu-freq = <515000000>;
1237 qcom,bus-freq = <11>;
1239 qcom,bus-max = <12>;
1242 qcom,gpu-pwrlevel@4 {
1244 qcom,gpu-freq = <414000000>;
1245 qcom,bus-freq = <9>;
1247 qcom,bus-max = <11>;
1250 qcom,gpu-pwrlevel@5 {
1252 qcom,gpu-freq = <342000000>;
1253 qcom,bus-freq = <8>;
1258 qcom,gpu-pwrlevel@6 {
1260 qcom,gpu-freq = <257000000>;
1261 qcom,bus-freq = <5>;
1266 qcom,gpu-pwrlevel@7 {
1268 qcom,gpu-freq = <27000000>;
1269 qcom,bus-freq = <0>;
1277 qcom,spss-test-firmware-name = "spss2t"; /* 8 chars max */
1278 qcom,spss-prod-firmware-name = "spss2p"; /* 8 chars max */
1279 qcom,spss-hybr-firmware-name = "spss2h"; /* 8 chars max */
1290 "tx_lane0_sync_clk",
1291 "rx_lane0_sync_clk",
1292 "rx_lane1_sync_clk";
1294 <&clock_gcc clk_gcc_ufs_axi_hw_ctl_clk>,
1295 <&clock_gcc clk_gcc_aggre1_ufs_axi_clk>,
1296 <&clock_gcc clk_gcc_ufs_ahb_clk>,
1297 <&clock_gcc clk_gcc_ufs_unipro_core_hw_ctl_clk>,
1298 <&clock_gcc clk_gcc_ufs_ice_core_hw_ctl_clk>,
1299 <&clock_gcc clk_ln_bb_clk1>,
1300 <&clock_gcc clk_gcc_ufs_tx_symbol_0_clk>,
1301 <&clock_gcc clk_gcc_ufs_rx_symbol_0_clk>,
1302 <&clock_gcc clk_gcc_ufs_rx_symbol_1_clk>;
1304 <50000000 200000000>,
1307 <37500000 150000000>,
1308 <75000000 300000000>,
1314 lanes-per-direction = <2>;
1318 qcom,firmware-name = "slpi_v2";