arm64: dts: Revert "specify console via command line"
[linux/fpc-iii.git] / arch / arm64 / boot / dts / qcom / msm8998-mtp.dtsi
blob0e0b9bc12945f6166d4a05c4b9981ecac6b9cda2
1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2016, The Linux Foundation. All rights reserved. */
4 #include "msm8998.dtsi"
5 #include "pm8998.dtsi"
6 #include "pmi8998.dtsi"
7 #include "pm8005.dtsi"
9 / {
10         aliases {
11                 serial0 = &blsp2_uart1;
12                 serial1 = &blsp1_uart3;
13         };
15         chosen {
16                 stdout-path = "serial0:115200n8";
17         };
19         vph_pwr: vph-pwr-regulator {
20                 compatible = "regulator-fixed";
21                 regulator-name = "vph_pwr";
22                 regulator-always-on;
23                 regulator-boot-on;
24         };
27 &blsp1_uart3 {
28         status = "okay";
30         bluetooth {
31                 compatible = "qcom,wcn3990-bt";
33                 vddio-supply = <&vreg_s4a_1p8>;
34                 vddxo-supply = <&vreg_l7a_1p8>;
35                 vddrf-supply = <&vreg_l17a_1p3>;
36                 vddch0-supply = <&vreg_l25a_3p3>;
37                 max-speed = <3200000>;
38         };
41 &blsp2_uart1 {
42         status = "okay";
45 &etf {
46         status = "okay";
49 &etm1 {
50         status = "okay";
53 &etm2 {
54         status = "okay";
57 &etm3 {
58         status = "okay";
61 &etm4 {
62         status = "okay";
65 &etm5 {
66         status = "okay";
69 &etm6 {
70         status = "okay";
73 &etm7 {
74         status = "okay";
77 &etm8 {
78         status = "okay";
81 &etr {
82         status = "okay";
85 &funnel1 {
86         status = "okay";
89 &funnel2 {
90         status = "okay";
93 &funnel3 {
94         status = "okay";
97 &funnel4 {
98         status = "okay";
101 &funnel5 {
102         status = "okay";
105 &pm8005_lsid1 {
106         pm8005-regulators {
107                 compatible = "qcom,pm8005-regulators";
109                 vdd_s1-supply = <&vph_pwr>;
111                 pm8005_s1: s1 { /* VDD_GFX supply */
112                         regulator-min-microvolt = <524000>;
113                         regulator-max-microvolt = <1100000>;
114                         regulator-enable-ramp-delay = <500>;
116                         /* hack until we rig up the gpu consumer */
117                         regulator-always-on;
118                 };
119         };
122 &qusb2phy {
123         status = "okay";
125         vdda-pll-supply = <&vreg_l12a_1p8>;
126         vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
129 &replicator1 {
130         status = "okay";
133 &rpm_requests {
134         pm8998-regulators {
135                 compatible = "qcom,rpm-pm8998-regulators";
137                 vdd_s1-supply = <&vph_pwr>;
138                 vdd_s2-supply = <&vph_pwr>;
139                 vdd_s3-supply = <&vph_pwr>;
140                 vdd_s4-supply = <&vph_pwr>;
141                 vdd_s5-supply = <&vph_pwr>;
142                 vdd_s6-supply = <&vph_pwr>;
143                 vdd_s7-supply = <&vph_pwr>;
144                 vdd_s8-supply = <&vph_pwr>;
145                 vdd_s9-supply = <&vph_pwr>;
146                 vdd_s10-supply = <&vph_pwr>;
147                 vdd_s11-supply = <&vph_pwr>;
148                 vdd_s12-supply = <&vph_pwr>;
149                 vdd_s13-supply = <&vph_pwr>;
150                 vdd_l1_l27-supply = <&vreg_s7a_1p025>;
151                 vdd_l2_l8_l17-supply = <&vreg_s3a_1p35>;
152                 vdd_l3_l11-supply = <&vreg_s7a_1p025>;
153                 vdd_l4_l5-supply = <&vreg_s7a_1p025>;
154                 vdd_l6-supply = <&vreg_s5a_2p04>;
155                 vdd_l7_l12_l14_l15-supply = <&vreg_s5a_2p04>;
156                 vdd_l9-supply = <&vreg_bob>;
157                 vdd_l10_l23_l25-supply = <&vreg_bob>;
158                 vdd_l13_l19_l21-supply = <&vreg_bob>;
159                 vdd_l16_l28-supply = <&vreg_bob>;
160                 vdd_l18_l22-supply = <&vreg_bob>;
161                 vdd_l20_l24-supply = <&vreg_bob>;
162                 vdd_l26-supply = <&vreg_s3a_1p35>;
163                 vdd_lvs1_lvs2-supply = <&vreg_s4a_1p8>;
165                 vreg_s3a_1p35: s3 {
166                         regulator-min-microvolt = <1352000>;
167                         regulator-max-microvolt = <1352000>;
168                 };
169                 vreg_s4a_1p8: s4 {
170                         regulator-min-microvolt = <1800000>;
171                         regulator-max-microvolt = <1800000>;
172                         regulator-allow-set-load;
173                 };
174                 vreg_s5a_2p04: s5 {
175                         regulator-min-microvolt = <1904000>;
176                         regulator-max-microvolt = <2040000>;
177                 };
178                 vreg_s7a_1p025: s7 {
179                         regulator-min-microvolt = <900000>;
180                         regulator-max-microvolt = <1028000>;
181                 };
182                 vreg_l1a_0p875: l1 {
183                         regulator-min-microvolt = <880000>;
184                         regulator-max-microvolt = <880000>;
185                 };
186                 vreg_l2a_1p2: l2 {
187                         regulator-min-microvolt = <1200000>;
188                         regulator-max-microvolt = <1200000>;
189                 };
190                 vreg_l3a_1p0: l3 {
191                         regulator-min-microvolt = <1000000>;
192                         regulator-max-microvolt = <1000000>;
193                 };
194                 vreg_l5a_0p8: l5 {
195                         regulator-min-microvolt = <800000>;
196                         regulator-max-microvolt = <800000>;
197                 };
198                 vreg_l6a_1p8: l6 {
199                         regulator-min-microvolt = <1808000>;
200                         regulator-max-microvolt = <1808000>;
201                 };
202                 vreg_l7a_1p8: l7 {
203                         regulator-min-microvolt = <1800000>;
204                         regulator-max-microvolt = <1800000>;
205                 };
206                 vreg_l8a_1p2: l8 {
207                         regulator-min-microvolt = <1200000>;
208                         regulator-max-microvolt = <1200000>;
209                 };
210                 vreg_l9a_1p8: l9 {
211                         regulator-min-microvolt = <1808000>;
212                         regulator-max-microvolt = <2960000>;
213                 };
214                 vreg_l10a_1p8: l10 {
215                         regulator-min-microvolt = <1808000>;
216                         regulator-max-microvolt = <2960000>;
217                 };
218                 vreg_l11a_1p0: l11 {
219                         regulator-min-microvolt = <1000000>;
220                         regulator-max-microvolt = <1000000>;
221                 };
222                 vreg_l12a_1p8: l12 {
223                         regulator-min-microvolt = <1800000>;
224                         regulator-max-microvolt = <1800000>;
225                 };
226                 vreg_l13a_2p95: l13 {
227                         regulator-min-microvolt = <1808000>;
228                         regulator-max-microvolt = <2960000>;
229                 };
230                 vreg_l14a_1p88: l14 {
231                         regulator-min-microvolt = <1880000>;
232                         regulator-max-microvolt = <1880000>;
233                 };
234                 vreg_15a_1p8: l15 {
235                         regulator-min-microvolt = <1800000>;
236                         regulator-max-microvolt = <1800000>;
237                 };
238                 vreg_l16a_2p7: l16 {
239                         regulator-min-microvolt = <2704000>;
240                         regulator-max-microvolt = <2704000>;
241                 };
242                 vreg_l17a_1p3: l17 {
243                         regulator-min-microvolt = <1304000>;
244                         regulator-max-microvolt = <1304000>;
245                 };
246                 vreg_l18a_2p7: l18 {
247                         regulator-min-microvolt = <2704000>;
248                         regulator-max-microvolt = <2704000>;
249                 };
250                 vreg_l19a_3p0: l19 {
251                         regulator-min-microvolt = <3008000>;
252                         regulator-max-microvolt = <3008000>;
253                 };
254                 vreg_l20a_2p95: l20 {
255                         regulator-min-microvolt = <2960000>;
256                         regulator-max-microvolt = <2960000>;
257                         regulator-allow-set-load;
258                 };
259                 vreg_l21a_2p95: l21 {
260                         regulator-min-microvolt = <2960000>;
261                         regulator-max-microvolt = <2960000>;
262                         regulator-allow-set-load;
263                         regulator-system-load = <800000>;
264                 };
265                 vreg_l22a_2p85: l22 {
266                         regulator-min-microvolt = <2864000>;
267                         regulator-max-microvolt = <2864000>;
268                 };
269                 vreg_l23a_3p3: l23 {
270                         regulator-min-microvolt = <3312000>;
271                         regulator-max-microvolt = <3312000>;
272                 };
273                 vreg_l24a_3p075: l24 {
274                         regulator-min-microvolt = <3088000>;
275                         regulator-max-microvolt = <3088000>;
276                 };
277                 vreg_l25a_3p3: l25 {
278                         regulator-min-microvolt = <3104000>;
279                         regulator-max-microvolt = <3312000>;
280                 };
281                 vreg_l26a_1p2: l26 {
282                         regulator-min-microvolt = <1200000>;
283                         regulator-max-microvolt = <1200000>;
284                         regulator-allow-set-load;
285                 };
286                 vreg_l28_3p0: l28 {
287                         regulator-min-microvolt = <3008000>;
288                         regulator-max-microvolt = <3008000>;
289                 };
291                 vreg_lvs1a_1p8: lvs1 {
292                         regulator-min-microvolt = <1800000>;
293                         regulator-max-microvolt = <1800000>;
294                 };
296                 vreg_lvs2a_1p8: lvs2 {
297                         regulator-min-microvolt = <1800000>;
298                         regulator-max-microvolt = <1800000>;
299                 };
301         };
303         pmi8998-regulators {
304                 compatible = "qcom,rpm-pmi8998-regulators";
306                 vdd_bob-supply = <&vph_pwr>;
308                 vreg_bob: bob {
309                         regulator-min-microvolt = <3312000>;
310                         regulator-max-microvolt = <3600000>;
311                 };
312         };
315 &remoteproc_adsp {
316         status = "okay";
319 &remoteproc_slpi {
320         status = "okay";
323 &tlmm {
324         gpio-reserved-ranges = <0 4>, <81 4>;
327 &sdhc2 {
328         status = "okay";
329         cd-gpios = <&tlmm 95 GPIO_ACTIVE_LOW>;
331         vmmc-supply = <&vreg_l21a_2p95>;
332         vqmmc-supply = <&vreg_l13a_2p95>;
334         pinctrl-names = "default", "sleep";
335         pinctrl-0 = <&sdc2_clk_on  &sdc2_cmd_on  &sdc2_data_on  &sdc2_cd_on>;
336         pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
339 &stm {
340         status = "okay";
343 &ufshc {
344         vcc-supply = <&vreg_l20a_2p95>;
345         vccq-supply = <&vreg_l26a_1p2>;
346         vccq2-supply = <&vreg_s4a_1p8>;
347         vcc-max-microamp = <750000>;
348         vccq-max-microamp = <560000>;
349         vccq2-max-microamp = <750000>;
352 &ufsphy {
353         vdda-phy-supply = <&vreg_l1a_0p875>;
354         vdda-pll-supply = <&vreg_l2a_1p2>;
355         vddp-ref-clk-supply = <&vreg_l26a_1p2>;
356         vdda-phy-max-microamp = <51400>;
357         vdda-pll-max-microamp = <14600>;
358         vddp-ref-clk-max-microamp = <100>;
359         vddp-ref-clk-always-on;
362 &usb3 {
363         status = "okay";
366 &usb3_dwc3 {
367         dr_mode = "host"; /* Force to host until we have Type-C hooked up */
370 &usb3phy {
371         status = "okay";
373         vdda-phy-supply = <&vreg_l1a_0p875>;
374         vdda-pll-supply = <&vreg_l2a_1p2>;
377 &wifi {
378         status = "okay";
380         vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
381         vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
382         vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
383         vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
386 /* PINCTRL - board-specific pinctrl */
387 &blsp1_uart3_on {
388         rx {
389                 /delete-property/ bias-disable;
390                 /*
391                  * Configure a pull-up on 45 (RX). This is needed to
392                  * avoid garbage data when the TX pin of the Bluetooth
393                  * module is in tri-state (module powered off or not
394                  * driving the signal yet).
395                  */
396                 bias-pull-up;
397         };
399         cts {
400                 /delete-property/ bias-disable;
401                 /*
402                  * Configure a pull-down on 47 (CTS) to match the pull
403                  * of the Bluetooth module.
404                  */
405                 bias-pull-down;
406         };