Debian Codegraph @

scripts/dtc/include-prefixes/arm64/qcom/x1e80100-lenovo-yoga-slim7x.dts

raw
1 // SPDX-License-Identifier: BSD-3-Clause
2 /*
3 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
4 */
5
6 /dts-v1/;
7
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/gpio-keys.h>
10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
11
12 #include "hamoa.dtsi"
13 #include "hamoa-pmics.dtsi"
14
15 / {
16 model = "Lenovo Yoga Slim 7x";
17 compatible = "lenovo,yoga-slim7x", "qcom,x1e80100";
18
19 aliases {
20 serial0 = &uart21;
21 serial1 = &uart14;
22 };
23
24 chosen {
25 stdout-path = "serial0:115200n8";
26 };
27
28 gpio-keys {
29 compatible = "gpio-keys";
30
31 pinctrl-0 = <&hall_int_n_default>;
32 pinctrl-names = "default";
33
34 switch-lid {
35 gpios = <&tlmm 92 GPIO_ACTIVE_LOW>;
36 linux,input-type = <EV_SW>;
37 linux,code = <SW_LID>;
38 wakeup-source;
39 wakeup-event-action = <EV_ACT_DEASSERTED>;
40 };
41 };
42
43 pmic-glink {
44 compatible = "qcom,x1e80100-pmic-glink",
45 "qcom,sm8550-pmic-glink",
46 "qcom,pmic-glink";
47 #address-cells = <1>;
48 #size-cells = <0>;
49 orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>,
50 <&tlmm 123 GPIO_ACTIVE_HIGH>,
51 <&tlmm 125 GPIO_ACTIVE_HIGH>;
52
53 /* Left-side rear port */
54 connector@0 {
55 compatible = "usb-c-connector";
56 reg = <0>;
57 power-role = "dual";
58 data-role = "dual";
59
60 ports {
61 #address-cells = <1>;
62 #size-cells = <0>;
63
64 port@0 {
65 reg = <0>;
66
67 pmic_glink_ss0_hs_in: endpoint {
68 remote-endpoint = <&usb_1_ss0_dwc3_hs>;
69 };
70 };
71
72 port@1 {
73 reg = <1>;
74
75 pmic_glink_ss0_ss_in: endpoint {
76 remote-endpoint = <&retimer_ss0_ss_out>;
77 };
78 };
79
80 port@2 {
81 reg = <2>;
82
83 pmic_glink_ss0_con_sbu_in: endpoint {
84 remote-endpoint = <&retimer_ss0_con_sbu_out>;
85 };
86 };
87 };
88 };
89
90 /* Left-side front port */
91 connector@1 {
92 compatible = "usb-c-connector";
93 reg = <1>;
94 power-role = "dual";
95 data-role = "dual";
96
97 ports {
98 #address-cells = <1>;
99 #size-cells = <0>;
100
101 port@0 {
102 reg = <0>;
103
104 pmic_glink_ss1_hs_in: endpoint {
105 remote-endpoint = <&usb_1_ss1_dwc3_hs>;
106 };
107 };
108
109 port@1 {
110 reg = <1>;
111
112 pmic_glink_ss1_ss_in: endpoint {
113 remote-endpoint = <&retimer_ss1_ss_out>;
114 };
115 };
116
117 port@2 {
118 reg = <2>;
119
120 pmic_glink_ss1_con_sbu_in: endpoint {
121 remote-endpoint = <&retimer_ss1_con_sbu_out>;
122 };
123 };
124 };
125 };
126
127 /* Right-side port */
128 connector@2 {
129 compatible = "usb-c-connector";
130 reg = <2>;
131 power-role = "dual";
132 data-role = "dual";
133
134 ports {
135 #address-cells = <1>;
136 #size-cells = <0>;
137
138 port@0 {
139 reg = <0>;
140
141 pmic_glink_ss2_hs_in: endpoint {
142 remote-endpoint = <&usb_1_ss2_dwc3_hs>;
143 };
144 };
145
146 port@1 {
147 reg = <1>;
148
149 pmic_glink_ss2_ss_in: endpoint {
150 remote-endpoint = <&retimer_ss2_ss_out>;
151 };
152 };
153
154 port@2 {
155 reg = <2>;
156
157 pmic_glink_ss2_con_sbu_in: endpoint {
158 remote-endpoint = <&retimer_ss2_con_sbu_out>;
159 };
160 };
161 };
162 };
163 };
164
165 reserved-memory {
166 linux,cma {
167 compatible = "shared-dma-pool";
168 size = <0x0 0x8000000>;
169 reusable;
170 linux,cma-default;
171 };
172 };
173
174 sound {
175 compatible = "qcom,x1e80100-sndcard";
176 model = "X1E80100-LENOVO-Yoga-Slim7x";
177 audio-routing = "WooferLeft IN", "WSA WSA_SPK1 OUT",
178 "TweeterLeft IN", "WSA WSA_SPK2 OUT",
179 "WooferRight IN", "WSA2 WSA_SPK2 OUT",
180 "TweeterRight IN", "WSA2 WSA_SPK2 OUT",
181 "VA DMIC0", "vdd-micb",
182 "VA DMIC1", "vdd-micb",
183 "VA DMIC2", "vdd-micb",
184 "VA DMIC3", "vdd-micb";
185
186 wsa-dai-link {
187 link-name = "WSA Playback";
188
189 cpu {
190 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
191 };
192
193 codec {
194 sound-dai = <&left_woofer>, <&left_tweeter>,
195 <&swr0 0>, <&lpass_wsamacro 0>,
196 <&right_woofer>, <&right_tweeter>,
197 <&swr3 0>, <&lpass_wsa2macro 0>;
198 };
199
200 platform {
201 sound-dai = <&q6apm>;
202 };
203 };
204
205 va-dai-link {
206 link-name = "VA Capture";
207
208 cpu {
209 sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
210 };
211
212 codec {
213 sound-dai = <&lpass_vamacro 0>;
214 };
215
216 platform {
217 sound-dai = <&q6apm>;
218 };
219 };
220 };
221
222 vreg_edp_3p3: regulator-edp-3p3 {
223 compatible = "regulator-fixed";
224
225 regulator-name = "VREG_EDP_3P3";
226 regulator-min-microvolt = <3300000>;
227 regulator-max-microvolt = <3300000>;
228
229 gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>;
230 enable-active-high;
231
232 pinctrl-0 = <&edp_reg_en>;
233 pinctrl-names = "default";
234
235 regulator-boot-on;
236 };
237
238 vreg_nvme: regulator-nvme {
239 compatible = "regulator-fixed";
240
241 regulator-name = "VREG_NVME_3P3";
242 regulator-min-microvolt = <3300000>;
243 regulator-max-microvolt = <3300000>;
244
245 gpio = <&tlmm 18 GPIO_ACTIVE_HIGH>;
246 enable-active-high;
247
248 pinctrl-0 = <&nvme_reg_en>;
249 pinctrl-names = "default";
250
251 regulator-boot-on;
252 };
253
254 vreg_rtmr0_1p15: regulator-rtmr0-1p15 {
255 compatible = "regulator-fixed";
256
257 regulator-name = "VREG_RTMR0_1P15";
258 regulator-min-microvolt = <1150000>;
259 regulator-max-microvolt = <1150000>;
260
261 gpio = <&pmc8380_5_gpios 8 GPIO_ACTIVE_HIGH>;
262 enable-active-high;
263
264 pinctrl-0 = <&usb0_pwr_1p15_reg_en>;
265 pinctrl-names = "default";
266
267 regulator-boot-on;
268 };
269
270 vreg_rtmr0_1p8: regulator-rtmr0-1p8 {
271 compatible = "regulator-fixed";
272
273 regulator-name = "VREG_RTMR0_1P8";
274 regulator-min-microvolt = <1800000>;
275 regulator-max-microvolt = <1800000>;
276
277 gpio = <&pm8550ve_9_gpios 8 GPIO_ACTIVE_HIGH>;
278 enable-active-high;
279
280 pinctrl-0 = <&usb0_1p8_reg_en>;
281 pinctrl-names = "default";
282
283 regulator-boot-on;
284 };
285
286 vreg_rtmr0_3p3: regulator-rtmr0-3p3 {
287 compatible = "regulator-fixed";
288
289 regulator-name = "VREG_RTMR0_3P3";
290 regulator-min-microvolt = <3300000>;
291 regulator-max-microvolt = <3300000>;
292
293 gpio = <&pm8550_gpios 11 GPIO_ACTIVE_HIGH>;
294 enable-active-high;
295
296 pinctrl-0 = <&usb0_3p3_reg_en>;
297 pinctrl-names = "default";
298
299 regulator-boot-on;
300 };
301
302 vreg_rtmr1_1p15: regulator-rtmr1-1p15 {
303 compatible = "regulator-fixed";
304
305 regulator-name = "VREG_RTMR1_1P15";
306 regulator-min-microvolt = <1150000>;
307 regulator-max-microvolt = <1150000>;
308
309 gpio = <&tlmm 188 GPIO_ACTIVE_HIGH>;
310 enable-active-high;
311
312 pinctrl-0 = <&usb1_pwr_1p15_reg_en>;
313 pinctrl-names = "default";
314
315 regulator-boot-on;
316 };
317
318 vreg_rtmr1_1p8: regulator-rtmr1-1p8 {
319 compatible = "regulator-fixed";
320
321 regulator-name = "VREG_RTMR1_1P8";
322 regulator-min-microvolt = <1800000>;
323 regulator-max-microvolt = <1800000>;
324
325 gpio = <&tlmm 175 GPIO_ACTIVE_HIGH>;
326 enable-active-high;
327
328 pinctrl-0 = <&usb1_pwr_1p8_reg_en>;
329 pinctrl-names = "default";
330
331 regulator-boot-on;
332 };
333
334 vreg_rtmr1_3p3: regulator-rtmr1-3p3 {
335 compatible = "regulator-fixed";
336
337 regulator-name = "VREG_RTMR1_3P3";
338 regulator-min-microvolt = <3300000>;
339 regulator-max-microvolt = <3300000>;
340
341 gpio = <&tlmm 186 GPIO_ACTIVE_HIGH>;
342 enable-active-high;
343
344 pinctrl-0 = <&usb1_pwr_3p3_reg_en>;
345 pinctrl-names = "default";
346
347 regulator-boot-on;
348 };
349
350 vreg_rtmr2_1p15: regulator-rtmr2-1p15 {
351 compatible = "regulator-fixed";
352
353 regulator-name = "VREG_RTMR2_1P15";
354 regulator-min-microvolt = <1150000>;
355 regulator-max-microvolt = <1150000>;
356
357 gpio = <&tlmm 189 GPIO_ACTIVE_HIGH>;
358 enable-active-high;
359
360 pinctrl-0 = <&usb2_pwr_1p15_reg_en>;
361 pinctrl-names = "default";
362
363 regulator-boot-on;
364 };
365
366 vreg_rtmr2_1p8: regulator-rtmr2-1p8 {
367 compatible = "regulator-fixed";
368
369 regulator-name = "VREG_RTMR2_1P8";
370 regulator-min-microvolt = <1800000>;
371 regulator-max-microvolt = <1800000>;
372
373 gpio = <&tlmm 126 GPIO_ACTIVE_HIGH>;
374 enable-active-high;
375
376 pinctrl-0 = <&usb2_pwr_1p8_reg_en>;
377 pinctrl-names = "default";
378
379 regulator-boot-on;
380 };
381
382 vreg_rtmr2_3p3: regulator-rtmr2-3p3 {
383 compatible = "regulator-fixed";
384
385 regulator-name = "VREG_RTMR2_3P3";
386 regulator-min-microvolt = <3300000>;
387 regulator-max-microvolt = <3300000>;
388
389 gpio = <&tlmm 187 GPIO_ACTIVE_HIGH>;
390 enable-active-high;
391
392 pinctrl-0 = <&usb2_pwr_3p3_reg_en>;
393 pinctrl-names = "default";
394
395 regulator-boot-on;
396 };
397
398 vph_pwr: regulator-vph-pwr {
399 compatible = "regulator-fixed";
400
401 regulator-name = "vph_pwr";
402 regulator-min-microvolt = <3700000>;
403 regulator-max-microvolt = <3700000>;
404
405 regulator-always-on;
406 regulator-boot-on;
407 };
408
409 vreg_wcn_3p3: regulator-wcn-3p3 {
410 compatible = "regulator-fixed";
411
412 regulator-name = "VREG_WCN_3P3";
413 regulator-min-microvolt = <3300000>;
414 regulator-max-microvolt = <3300000>;
415
416 gpio = <&tlmm 214 GPIO_ACTIVE_HIGH>;
417 enable-active-high;
418
419 pinctrl-0 = <&wcn_sw_en>;
420 pinctrl-names = "default";
421
422 regulator-boot-on;
423 };
424
425 /*
426 * TODO: These two regulators are actually part of the removable M.2
427 * card and not the CRD mainboard. Need to describe this differently.
428 * Functionally it works correctly, because all we need to do is to
429 * turn on the actual 3.3V supply above.
430 */
431 vreg_wcn_0p95: regulator-wcn-0p95 {
432 compatible = "regulator-fixed";
433
434 regulator-name = "VREG_WCN_0P95";
435 regulator-min-microvolt = <950000>;
436 regulator-max-microvolt = <950000>;
437
438 vin-supply = <&vreg_wcn_3p3>;
439 };
440
441 vreg_wcn_1p9: regulator-wcn-1p9 {
442 compatible = "regulator-fixed";
443
444 regulator-name = "VREG_WCN_1P9";
445 regulator-min-microvolt = <1900000>;
446 regulator-max-microvolt = <1900000>;
447
448 vin-supply = <&vreg_wcn_3p3>;
449 };
450
451 wcn7850-pmu {
452 compatible = "qcom,wcn7850-pmu";
453
454 vdd-supply = <&vreg_wcn_0p95>;
455 vddio-supply = <&vreg_l15b_1p8>;
456 vddaon-supply = <&vreg_wcn_0p95>;
457 vdddig-supply = <&vreg_wcn_0p95>;
458 vddrfa1p2-supply = <&vreg_wcn_1p9>;
459 vddrfa1p8-supply = <&vreg_wcn_1p9>;
460
461 wlan-enable-gpios = <&tlmm 117 GPIO_ACTIVE_HIGH>;
462 bt-enable-gpios = <&tlmm 116 GPIO_ACTIVE_HIGH>;
463
464 pinctrl-0 = <&wcn_wlan_bt_en>;
465 pinctrl-names = "default";
466
467 regulators {
468 vreg_pmu_rfa_cmn: ldo0 {
469 regulator-name = "vreg_pmu_rfa_cmn";
470 };
471
472 vreg_pmu_aon_0p59: ldo1 {
473 regulator-name = "vreg_pmu_aon_0p59";
474 };
475
476 vreg_pmu_wlcx_0p8: ldo2 {
477 regulator-name = "vreg_pmu_wlcx_0p8";
478 };
479
480 vreg_pmu_wlmx_0p85: ldo3 {
481 regulator-name = "vreg_pmu_wlmx_0p85";
482 };
483
484 vreg_pmu_btcmx_0p85: ldo4 {
485 regulator-name = "vreg_pmu_btcmx_0p85";
486 };
487
488 vreg_pmu_rfa_0p8: ldo5 {
489 regulator-name = "vreg_pmu_rfa_0p8";
490 };
491
492 vreg_pmu_rfa_1p2: ldo6 {
493 regulator-name = "vreg_pmu_rfa_1p2";
494 };
495
496 vreg_pmu_rfa_1p8: ldo7 {
497 regulator-name = "vreg_pmu_rfa_1p8";
498 };
499
500 vreg_pmu_pcie_0p9: ldo8 {
501 regulator-name = "vreg_pmu_pcie_0p9";
502 };
503
504 vreg_pmu_pcie_1p8: ldo9 {
505 regulator-name = "vreg_pmu_pcie_1p8";
506 };
507 };
508 };
509 };
510
511 &apps_rsc {
512 regulators-0 {
513 compatible = "qcom,pm8550-rpmh-regulators";
514 qcom,pmic-id = "b";
515
516 vdd-bob1-supply = <&vph_pwr>;
517 vdd-bob2-supply = <&vph_pwr>;
518 vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>;
519 vdd-l2-l13-l14-supply = <&vreg_bob1>;
520 vdd-l5-l16-supply = <&vreg_bob1>;
521 vdd-l6-l7-supply = <&vreg_bob2>;
522 vdd-l8-l9-supply = <&vreg_bob1>;
523 vdd-l12-supply = <&vreg_s5j_1p2>;
524 vdd-l15-supply = <&vreg_s4c_1p8>;
525 vdd-l17-supply = <&vreg_bob2>;
526
527 vreg_bob1: bob1 {
528 regulator-name = "vreg_bob1";
529 regulator-min-microvolt = <3008000>;
530 regulator-max-microvolt = <3960000>;
531 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
532 };
533
534 vreg_bob2: bob2 {
535 regulator-name = "vreg_bob2";
536 regulator-min-microvolt = <2504000>;
537 regulator-max-microvolt = <3008000>;
538 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
539 };
540
541 vreg_l1b_1p8: ldo1 {
542 regulator-name = "vreg_l1b_1p8";
543 regulator-min-microvolt = <1800000>;
544 regulator-max-microvolt = <1800000>;
545 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
546 };
547
548 vreg_l2b_3p0: ldo2 {
549 regulator-name = "vreg_l2b_3p0";
550 regulator-min-microvolt = <3072000>;
551 regulator-max-microvolt = <3100000>;
552 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
553 };
554
555 vreg_l8b_3p0: ldo8 {
556 regulator-name = "vreg_l8b_3p0";
557 regulator-min-microvolt = <3072000>;
558 regulator-max-microvolt = <3072000>;
559 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
560 };
561
562 vreg_l12b_1p2: ldo12 {
563 regulator-name = "vreg_l12b_1p2";
564 regulator-min-microvolt = <1200000>;
565 regulator-max-microvolt = <1200000>;
566 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
567 regulator-always-on;
568 };
569
570 vreg_l14b_3p0: ldo14 {
571 regulator-name = "vreg_l14b_3p0";
572 regulator-min-microvolt = <3072000>;
573 regulator-max-microvolt = <3072000>;
574 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
575 };
576
577 vreg_l15b_1p8: ldo15 {
578 regulator-name = "vreg_l15b_1p8";
579 regulator-min-microvolt = <1800000>;
580 regulator-max-microvolt = <1800000>;
581 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
582 regulator-always-on;
583 };
584 };
585
586 regulators-1 {
587 compatible = "qcom,pm8550ve-rpmh-regulators";
588 qcom,pmic-id = "c";
589
590 vdd-l1-supply = <&vreg_s5j_1p2>;
591 vdd-l2-supply = <&vreg_s1f_0p7>;
592 vdd-l3-supply = <&vreg_s1f_0p7>;
593 vdd-s4-supply = <&vph_pwr>;
594
595 vreg_s4c_1p8: smps4 {
596 regulator-name = "vreg_s4c_1p8";
597 regulator-min-microvolt = <1856000>;
598 regulator-max-microvolt = <2000000>;
599 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
600 };
601
602 vreg_l1c_1p2: ldo1 {
603 regulator-name = "vreg_l1c_1p2";
604 regulator-min-microvolt = <1200000>;
605 regulator-max-microvolt = <1200000>;
606 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
607 };
608
609 vreg_l2c_0p8: ldo2 {
610 regulator-name = "vreg_l2c_0p8";
611 regulator-min-microvolt = <880000>;
612 regulator-max-microvolt = <920000>;
613 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
614 };
615
616 vreg_l3c_0p8: ldo3 {
617 regulator-name = "vreg_l3c_0p8";
618 regulator-min-microvolt = <880000>;
619 regulator-max-microvolt = <920000>;
620 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
621 };
622 };
623
624 regulators-2 {
625 compatible = "qcom,pmc8380-rpmh-regulators";
626 qcom,pmic-id = "d";
627
628 vdd-l1-supply = <&vreg_s1f_0p7>;
629 vdd-l2-supply = <&vreg_s1f_0p7>;
630 vdd-l3-supply = <&vreg_s4c_1p8>;
631 vdd-s1-supply = <&vph_pwr>;
632
633 vreg_l1d_0p8: ldo1 {
634 regulator-name = "vreg_l1d_0p8";
635 regulator-min-microvolt = <880000>;
636 regulator-max-microvolt = <920000>;
637 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
638 };
639
640 vreg_l2d_0p9: ldo2 {
641 regulator-name = "vreg_l2d_0p9";
642 regulator-min-microvolt = <912000>;
643 regulator-max-microvolt = <920000>;
644 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
645 };
646
647 vreg_l3d_1p8: ldo3 {
648 regulator-name = "vreg_l3d_1p8";
649 regulator-min-microvolt = <1800000>;
650 regulator-max-microvolt = <1800000>;
651 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
652 };
653 };
654
655 regulators-3 {
656 compatible = "qcom,pmc8380-rpmh-regulators";
657 qcom,pmic-id = "e";
658
659 vdd-l2-supply = <&vreg_s1f_0p7>;
660 vdd-l3-supply = <&vreg_s5j_1p2>;
661
662 vreg_l2e_0p8: ldo2 {
663 regulator-name = "vreg_l2e_0p8";
664 regulator-min-microvolt = <880000>;
665 regulator-max-microvolt = <920000>;
666 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
667 };
668
669 vreg_l3e_1p2: ldo3 {
670 regulator-name = "vreg_l3e_1p2";
671 regulator-min-microvolt = <1200000>;
672 regulator-max-microvolt = <1200000>;
673 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
674 };
675 };
676
677 regulators-4 {
678 compatible = "qcom,pmc8380-rpmh-regulators";
679 qcom,pmic-id = "f";
680
681 vdd-l1-supply = <&vreg_s5j_1p2>;
682 vdd-l2-supply = <&vreg_s5j_1p2>;
683 vdd-l3-supply = <&vreg_s5j_1p2>;
684 vdd-s1-supply = <&vph_pwr>;
685
686 vreg_s1f_0p7: smps1 {
687 regulator-name = "vreg_s1f_0p7";
688 regulator-min-microvolt = <700000>;
689 regulator-max-microvolt = <1100000>;
690 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
691 };
692
693 vreg_l1f_1p0: ldo1 {
694 regulator-name = "vreg_l1f_1p0";
695 regulator-min-microvolt = <1024000>;
696 regulator-max-microvolt = <1024000>;
697 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
698 };
699
700 vreg_l2f_1p0: ldo2 {
701 regulator-name = "vreg_l2f_1p0";
702 regulator-min-microvolt = <1024000>;
703 regulator-max-microvolt = <1024000>;
704 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
705 };
706
707 vreg_l3f_1p0: ldo3 {
708 regulator-name = "vreg_l3f_1p0";
709 regulator-min-microvolt = <1024000>;
710 regulator-max-microvolt = <1024000>;
711 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
712 };
713 };
714
715 regulators-6 {
716 compatible = "qcom,pm8550ve-rpmh-regulators";
717 qcom,pmic-id = "i";
718
719 vdd-l1-supply = <&vreg_s4c_1p8>;
720 vdd-l2-supply = <&vreg_s5j_1p2>;
721 vdd-l3-supply = <&vreg_s1f_0p7>;
722 vdd-s1-supply = <&vph_pwr>;
723 vdd-s2-supply = <&vph_pwr>;
724
725 vreg_s1i_0p9: smps1 {
726 regulator-name = "vreg_s1i_0p9";
727 regulator-min-microvolt = <900000>;
728 regulator-max-microvolt = <920000>;
729 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
730 };
731
732 vreg_s2i_1p0: smps2 {
733 regulator-name = "vreg_s2i_1p0";
734 regulator-min-microvolt = <1000000>;
735 regulator-max-microvolt = <1100000>;
736 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
737 };
738
739 vreg_l1i_1p8: ldo1 {
740 regulator-name = "vreg_l1i_1p8";
741 regulator-min-microvolt = <1800000>;
742 regulator-max-microvolt = <1800000>;
743 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
744 };
745
746 vreg_l2i_1p2: ldo2 {
747 regulator-name = "vreg_l2i_1p2";
748 regulator-min-microvolt = <1200000>;
749 regulator-max-microvolt = <1200000>;
750 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
751 };
752
753 vreg_l3i_0p8: ldo3 {
754 regulator-name = "vreg_l3i_0p8";
755 regulator-min-microvolt = <880000>;
756 regulator-max-microvolt = <920000>;
757 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
758 };
759 };
760
761 regulators-7 {
762 compatible = "qcom,pm8550ve-rpmh-regulators";
763 qcom,pmic-id = "j";
764
765 vdd-l1-supply = <&vreg_s1f_0p7>;
766 vdd-l2-supply = <&vreg_s5j_1p2>;
767 vdd-l3-supply = <&vreg_s1f_0p7>;
768 vdd-s5-supply = <&vph_pwr>;
769
770 vreg_s5j_1p2: smps5 {
771 regulator-name = "vreg_s5j_1p2";
772 regulator-min-microvolt = <1256000>;
773 regulator-max-microvolt = <1304000>;
774 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
775 };
776
777 vreg_l1j_0p8: ldo1 {
778 regulator-name = "vreg_l1j_0p8";
779 regulator-min-microvolt = <880000>;
780 regulator-max-microvolt = <920000>;
781 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
782 };
783
784 vreg_l2j_1p2: ldo2 {
785 regulator-name = "vreg_l2j_1p2";
786 regulator-min-microvolt = <1256000>;
787 regulator-max-microvolt = <1256000>;
788 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
789 };
790
791 vreg_l3j_0p8: ldo3 {
792 regulator-name = "vreg_l3j_0p8";
793 regulator-min-microvolt = <880000>;
794 regulator-max-microvolt = <920000>;
795 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
796 };
797 };
798 };
799
800 &gpu {
801 status = "okay";
802 };
803
804 &gpu_zap_shader {
805 firmware-name = "qcom/x1e80100/LENOVO/83ED/qcdxkmsuc8380.mbn";
806 };
807
808 &i2c0 {
809 clock-frequency = <400000>;
810
811 status = "okay";
812
813 touchpad@2c {
814 compatible = "hid-over-i2c";
815 reg = <0x2c>;
816
817 hid-descr-addr = <0x20>;
818 interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
819
820 pinctrl-0 = <&tpad_default>;
821 pinctrl-names = "default";
822
823 wakeup-source;
824 };
825
826 keyboard@3a {
827 compatible = "hid-over-i2c";
828 reg = <0x3a>;
829
830 hid-descr-addr = <0x1>;
831 interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>;
832
833 pinctrl-0 = <&kybd_default>;
834 pinctrl-names = "default";
835
836 wakeup-source;
837 };
838 };
839
840 &i2c1 {
841 clock-frequency = <400000>;
842
843 status = "okay";
844
845 typec-mux@8 {
846 compatible = "parade,ps8830";
847 reg = <0x08>;
848
849 clocks = <&rpmhcc RPMH_RF_CLK5>;
850
851 vdd-supply = <&vreg_rtmr2_1p15>;
852 vdd33-supply = <&vreg_rtmr2_3p3>;
853 vdd33-cap-supply = <&vreg_rtmr2_3p3>;
854 vddar-supply = <&vreg_rtmr2_1p15>;
855 vddat-supply = <&vreg_rtmr2_1p15>;
856 vddio-supply = <&vreg_rtmr2_1p8>;
857
858 reset-gpios = <&tlmm 185 GPIO_ACTIVE_LOW>;
859
860 pinctrl-0 = <&rtmr2_default>;
861 pinctrl-names = "default";
862
863 orientation-switch;
864 retimer-switch;
865
866 ports {
867 #address-cells = <1>;
868 #size-cells = <0>;
869
870 port@0 {
871 reg = <0>;
872
873 retimer_ss2_ss_out: endpoint {
874 remote-endpoint = <&pmic_glink_ss2_ss_in>;
875 };
876 };
877
878 port@1 {
879 reg = <1>;
880
881 retimer_ss2_ss_in: endpoint {
882 remote-endpoint = <&usb_1_ss2_qmpphy_out>;
883 };
884 };
885
886 port@2 {
887 reg = <2>;
888
889 retimer_ss2_con_sbu_out: endpoint {
890 remote-endpoint = <&pmic_glink_ss2_con_sbu_in>;
891 };
892 };
893 };
894 };
895 };
896
897 &i2c3 {
898 clock-frequency = <400000>;
899
900 status = "okay";
901
902 typec-mux@8 {
903 compatible = "parade,ps8830";
904 reg = <0x08>;
905
906 clocks = <&rpmhcc RPMH_RF_CLK3>;
907
908 vdd-supply = <&vreg_rtmr0_1p15>;
909 vdd33-supply = <&vreg_rtmr0_3p3>;
910 vdd33-cap-supply = <&vreg_rtmr0_3p3>;
911 vddar-supply = <&vreg_rtmr0_1p15>;
912 vddat-supply = <&vreg_rtmr0_1p15>;
913 vddio-supply = <&vreg_rtmr0_1p8>;
914
915 reset-gpios = <&pm8550_gpios 10 GPIO_ACTIVE_LOW>;
916
917 pinctrl-0 = <&rtmr0_default>;
918 pinctrl-names = "default";
919
920 retimer-switch;
921 orientation-switch;
922
923 ports {
924 #address-cells = <1>;
925 #size-cells = <0>;
926
927 port@0 {
928 reg = <0>;
929
930 retimer_ss0_ss_out: endpoint {
931 remote-endpoint = <&pmic_glink_ss0_ss_in>;
932 };
933 };
934
935 port@1 {
936 reg = <1>;
937
938 retimer_ss0_ss_in: endpoint {
939 remote-endpoint = <&usb_1_ss0_qmpphy_out>;
940 };
941 };
942
943 port@2 {
944 reg = <2>;
945
946 retimer_ss0_con_sbu_out: endpoint {
947 remote-endpoint = <&pmic_glink_ss0_con_sbu_in>;
948 };
949 };
950 };
951 };
952 };
953
954 &i2c7 {
955 clock-frequency = <400000>;
956
957 status = "okay";
958
959 typec-mux@8 {
960 compatible = "parade,ps8830";
961 reg = <0x8>;
962
963 clocks = <&rpmhcc RPMH_RF_CLK4>;
964
965 vdd-supply = <&vreg_rtmr1_1p15>;
966 vdd33-supply = <&vreg_rtmr1_3p3>;
967 vdd33-cap-supply = <&vreg_rtmr1_3p3>;
968 vddar-supply = <&vreg_rtmr1_1p15>;
969 vddat-supply = <&vreg_rtmr1_1p15>;
970 vddio-supply = <&vreg_rtmr1_1p8>;
971
972 reset-gpios = <&tlmm 176 GPIO_ACTIVE_LOW>;
973
974 pinctrl-0 = <&rtmr1_default>;
975 pinctrl-names = "default";
976
977 retimer-switch;
978 orientation-switch;
979
980 ports {
981 #address-cells = <1>;
982 #size-cells = <0>;
983
984 port@0 {
985 reg = <0>;
986
987 retimer_ss1_ss_out: endpoint {
988 remote-endpoint = <&pmic_glink_ss1_ss_in>;
989 };
990 };
991
992 port@1 {
993 reg = <1>;
994
995 retimer_ss1_ss_in: endpoint {
996 remote-endpoint = <&usb_1_ss1_qmpphy_out>;
997 };
998 };
999
1000 port@2 {
1001 reg = <2>;
1002
1003 retimer_ss1_con_sbu_out: endpoint {
1004 remote-endpoint = <&pmic_glink_ss1_con_sbu_in>;
1005 };
1006 };
1007
1008 };
1009 };
1010 };
1011
1012 &i2c8 {
1013 clock-frequency = <400000>;
1014
1015 status = "okay";
1016
1017 touchscreen@14 {
1018 compatible = "hid-over-i2c";
1019 reg = <0x14>;
1020
1021 hid-descr-addr = <0x1>;
1022 interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>;
1023
1024 pinctrl-0 = <&ts0_default>;
1025 pinctrl-names = "default";
1026 };
1027 };
1028
1029 &iris {
1030 firmware-name = "qcom/x1e80100/LENOVO/83ED/qcvss8380.mbn";
1031 status = "okay";
1032 };
1033
1034 &lpass_tlmm {
1035 spkr_01_sd_n_active: spkr-01-sd-n-active-state {
1036 pins = "gpio12";
1037 function = "gpio";
1038 drive-strength = <16>;
1039 bias-disable;
1040 output-low;
1041 };
1042
1043 spkr_23_sd_n_active: spkr-23-sd-n-active-state {
1044 pins = "gpio13";
1045 function = "gpio";
1046 drive-strength = <16>;
1047 bias-disable;
1048 output-low;
1049 };
1050 };
1051
1052 &lpass_vamacro {
1053 pinctrl-0 = <&dmic01_default>, <&dmic23_default>;
1054 pinctrl-names = "default";
1055
1056 vdd-micb-supply = <&vreg_l1b_1p8>;
1057 qcom,dmic-sample-rate = <4800000>;
1058 };
1059
1060 &mdss {
1061 status = "okay";
1062 };
1063
1064 &mdss_dp0 {
1065 status = "okay";
1066 };
1067
1068 &mdss_dp0_out {
1069 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
1070 };
1071
1072 &mdss_dp1 {
1073 status = "okay";
1074 };
1075
1076 &mdss_dp1_out {
1077 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
1078 };
1079
1080 &mdss_dp2 {
1081 status = "okay";
1082 };
1083
1084 &mdss_dp2_out {
1085 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
1086 };
1087
1088 &mdss_dp3 {
1089 /delete-property/ #sound-dai-cells;
1090
1091 pinctrl-0 = <&edp0_hpd_default>;
1092 pinctrl-names = "default";
1093
1094 status = "okay";
1095
1096 aux-bus {
1097 panel {
1098 compatible = "samsung,atna45dc02", "samsung,atna33xc20";
1099 enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>;
1100 power-supply = <&vreg_edp_3p3>;
1101
1102 pinctrl-0 = <&edp_bl_en>;
1103 pinctrl-names = "default";
1104
1105 port {
1106 edp_panel_in: endpoint {
1107 remote-endpoint = <&mdss_dp3_out>;
1108 };
1109 };
1110 };
1111 };
1112 };
1113
1114 &mdss_dp3_out {
1115 data-lanes = <0 1 2 3>;
1116 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
1117
1118 remote-endpoint = <&edp_panel_in>;
1119 };
1120
1121 &mdss_dp3_phy {
1122 vdda-phy-supply = <&vreg_l3j_0p8>;
1123 vdda-pll-supply = <&vreg_l2j_1p2>;
1124
1125 status = "okay";
1126 };
1127
1128 &pcie4 {
1129 pinctrl-0 = <&pcie4_default>;
1130 pinctrl-names = "default";
1131
1132 status = "okay";
1133 };
1134
1135 &pcie4_phy {
1136 vdda-phy-supply = <&vreg_l3i_0p8>;
1137 vdda-pll-supply = <&vreg_l3e_1p2>;
1138
1139 status = "okay";
1140 };
1141
1142 &pcie4_port0 {
1143 reset-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
1144 wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
1145
1146 wifi@0 {
1147 compatible = "pci17cb,1107";
1148 reg = <0x10000 0x0 0x0 0x0 0x0>;
1149
1150 vddaon-supply = <&vreg_pmu_aon_0p59>;
1151 vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
1152 vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
1153 vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
1154 vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
1155 vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
1156 vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
1157 vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
1158 vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
1159 };
1160 };
1161
1162 &pcie6a {
1163 vddpe-3v3-supply = <&vreg_nvme>;
1164
1165 pinctrl-0 = <&pcie6a_default>;
1166 pinctrl-names = "default";
1167
1168 status = "okay";
1169 };
1170
1171 &pcie6a_phy {
1172 vdda-phy-supply = <&vreg_l1d_0p8>;
1173 vdda-pll-supply = <&vreg_l2j_1p2>;
1174
1175 status = "okay";
1176 };
1177
1178 &pcie6a_port0 {
1179 reset-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
1180 wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>;
1181 };
1182
1183 &pm8550_gpios {
1184 rtmr0_default: rtmr0-reset-n-active-state {
1185 pins = "gpio10";
1186 function = "normal";
1187 power-source = <1>; /* 1.8V */
1188 bias-disable;
1189 input-disable;
1190 output-enable;
1191 };
1192
1193 usb0_3p3_reg_en: usb0-3p3-reg-en-state {
1194 pins = "gpio11";
1195 function = "normal";
1196 power-source = <1>; /* 1.8V */
1197 bias-disable;
1198 input-disable;
1199 output-enable;
1200 };
1201 };
1202
1203 &pm8550ve_9_gpios {
1204 usb0_1p8_reg_en: usb0-1p8-reg-en-state {
1205 pins = "gpio8";
1206 function = "normal";
1207 power-source = <1>; /* 1.8V */
1208 bias-disable;
1209 input-disable;
1210 output-enable;
1211 };
1212 };
1213
1214 &pmc8380_3_gpios {
1215 edp_bl_en: edp-bl-en-state {
1216 pins = "gpio4";
1217 function = "normal";
1218 power-source = <0>;
1219 input-disable;
1220 output-enable;
1221 };
1222 };
1223
1224 &pmc8380_5_gpios {
1225 usb0_pwr_1p15_reg_en: usb0-pwr-1p15-reg-en-state {
1226 pins = "gpio8";
1227 function = "normal";
1228 power-source = <1>; /* 1.8V */
1229 bias-disable;
1230 input-disable;
1231 output-enable;
1232 };
1233 };
1234
1235 &qupv3_0 {
1236 status = "okay";
1237 };
1238
1239 &qupv3_1 {
1240 status = "okay";
1241 };
1242
1243 &qupv3_2 {
1244 status = "okay";
1245 };
1246
1247 &remoteproc_adsp {
1248 firmware-name = "qcom/x1e80100/LENOVO/83ED/qcadsp8380.mbn",
1249 "qcom/x1e80100/LENOVO/83ED/adsp_dtbs.elf";
1250 status = "okay";
1251 };
1252
1253 &remoteproc_cdsp {
1254 firmware-name = "qcom/x1e80100/LENOVO/83ED/qccdsp8380.mbn",
1255 "qcom/x1e80100/LENOVO/83ED/cdsp_dtbs.elf";
1256
1257 status = "okay";
1258 };
1259
1260 &smb2360_0 {
1261 status = "okay";
1262 };
1263
1264 &smb2360_0_eusb2_repeater {
1265 vdd18-supply = <&vreg_l3d_1p8>;
1266 vdd3-supply = <&vreg_l2b_3p0>;
1267 };
1268
1269 &smb2360_1 {
1270 status = "okay";
1271 };
1272
1273 &smb2360_1_eusb2_repeater {
1274 vdd18-supply = <&vreg_l3d_1p8>;
1275 vdd3-supply = <&vreg_l14b_3p0>;
1276 };
1277
1278 &smb2360_2 {
1279 status = "okay";
1280 };
1281
1282 &smb2360_2_eusb2_repeater {
1283 vdd18-supply = <&vreg_l3d_1p8>;
1284 vdd3-supply = <&vreg_l8b_3p0>;
1285 };
1286
1287 &swr0 {
1288 status = "okay";
1289
1290 pinctrl-0 = <&wsa_swr_active>, <&spkr_01_sd_n_active>;
1291 pinctrl-names = "default";
1292
1293 /* WSA8845, Left Woofer */
1294 left_woofer: speaker@0,0 {
1295 compatible = "sdw20217020400";
1296 reg = <0 0>;
1297 reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>;
1298 #sound-dai-cells = <0>;
1299 sound-name-prefix = "WooferLeft";
1300 vdd-1p8-supply = <&vreg_l15b_1p8>;
1301 vdd-io-supply = <&vreg_l12b_1p2>;
1302 qcom,port-mapping = <1 2 3 7 10 13>;
1303 };
1304
1305 /* WSA8845, Left Tweeter */
1306 left_tweeter: speaker@0,1 {
1307 compatible = "sdw20217020400";
1308 reg = <0 1>;
1309 reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>;
1310 #sound-dai-cells = <0>;
1311 sound-name-prefix = "TweeterLeft";
1312 vdd-1p8-supply = <&vreg_l15b_1p8>;
1313 vdd-io-supply = <&vreg_l12b_1p2>;
1314 qcom,port-mapping = <4 5 6 7 11 13>;
1315 };
1316 };
1317
1318
1319 &swr3 {
1320 status = "okay";
1321
1322 pinctrl-0 = <&wsa2_swr_active>, <&spkr_23_sd_n_active>;
1323 pinctrl-names = "default";
1324
1325 /* WSA8845, Right Woofer */
1326 right_woofer: speaker@0,0 {
1327 compatible = "sdw20217020400";
1328 reg = <0 0>;
1329 reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>;
1330 #sound-dai-cells = <0>;
1331 sound-name-prefix = "WooferRight";
1332 vdd-1p8-supply = <&vreg_l15b_1p8>;
1333 vdd-io-supply = <&vreg_l12b_1p2>;
1334 qcom,port-mapping = <1 2 3 7 10 13>;
1335 };
1336
1337 /* WSA8845, Right Tweeter */
1338 right_tweeter: speaker@0,1 {
1339 compatible = "sdw20217020400";
1340 reg = <0 1>;
1341 reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>;
1342 #sound-dai-cells = <0>;
1343 sound-name-prefix = "TweeterRight";
1344 vdd-1p8-supply = <&vreg_l15b_1p8>;
1345 vdd-io-supply = <&vreg_l12b_1p2>;
1346 qcom,port-mapping = <4 5 6 7 11 13>;
1347 };
1348 };
1349
1350 &tlmm {
1351 gpio-reserved-ranges = <34 2>, /* Unused */
1352 <44 4>, /* SPI (TPM) */
1353 <238 1>; /* UFS Reset */
1354
1355 edp_reg_en: edp-reg-en-state {
1356 pins = "gpio70";
1357 function = "gpio";
1358 drive-strength = <16>;
1359 bias-disable;
1360 };
1361
1362 hall_int_n_default: hall-int-n-state {
1363 lid-n-pins {
1364 pins = "gpio92";
1365 function = "gpio";
1366 bias-disable;
1367 };
1368
1369 /*
1370 * Pins 71 and 92 seem to be bridged together (pin 71 and 92 show the same
1371 * events). By default, pin 71 is set as output-high, which blocks any
1372 * event on pin 92. Output-disable on pin 71 is necessary to get events on
1373 * pin 92.
1374 * The purpose of pin 71 is not yet known; lid-pull is a supposition.
1375 */
1376 lid-pull-n-pins {
1377 pins = "gpio71";
1378 function = "gpio";
1379 bias-pull-up;
1380 output-disable;
1381 };
1382 };
1383
1384 kybd_default: kybd-default-state {
1385 pins = "gpio67";
1386 function = "gpio";
1387 bias-disable;
1388 };
1389
1390 nvme_reg_en: nvme-reg-en-state {
1391 pins = "gpio18";
1392 function = "gpio";
1393 drive-strength = <2>;
1394 bias-disable;
1395 };
1396
1397 pcie4_default: pcie4-default-state {
1398 clkreq-n-pins {
1399 pins = "gpio147";
1400 function = "pcie4_clk";
1401 drive-strength = <2>;
1402 bias-pull-up;
1403 };
1404
1405 perst-n-pins {
1406 pins = "gpio146";
1407 function = "gpio";
1408 drive-strength = <2>;
1409 bias-disable;
1410 };
1411
1412 wake-n-pins {
1413 pins = "gpio148";
1414 function = "gpio";
1415 drive-strength = <2>;
1416 bias-pull-up;
1417 };
1418 };
1419
1420 pcie6a_default: pcie6a-default-state {
1421 clkreq-n-pins {
1422 pins = "gpio153";
1423 function = "pcie6a_clk";
1424 drive-strength = <2>;
1425 bias-pull-up;
1426 };
1427
1428 perst-n-pins {
1429 pins = "gpio152";
1430 function = "gpio";
1431 drive-strength = <2>;
1432 bias-disable;
1433 };
1434
1435 wake-n-pins {
1436 pins = "gpio154";
1437 function = "gpio";
1438 drive-strength = <2>;
1439 bias-pull-up;
1440 };
1441 };
1442
1443 rtmr1_default: rtmr1-reset-n-active-state {
1444 pins = "gpio176";
1445 function = "gpio";
1446 drive-strength = <2>;
1447 bias-disable;
1448 };
1449
1450 rtmr2_default: rtmr2-reset-n-active-state {
1451 pins = "gpio185";
1452 function = "gpio";
1453 drive-strength = <2>;
1454 bias-disable;
1455 };
1456
1457 tpad_default: tpad-default-state {
1458 pins = "gpio3";
1459 function = "gpio";
1460 bias-disable;
1461 };
1462
1463 ts0_default: ts0-default-state {
1464 int-n-pins {
1465 pins = "gpio51";
1466 function = "gpio";
1467 bias-disable;
1468 };
1469
1470 reset-n-pins {
1471 pins = "gpio48";
1472 function = "gpio";
1473 output-high;
1474 drive-strength = <16>;
1475 };
1476 };
1477
1478 usb1_pwr_1p15_reg_en: usb1-pwr-1p15-reg-en-state {
1479 pins = "gpio188";
1480 function = "gpio";
1481 drive-strength = <2>;
1482 bias-disable;
1483 };
1484
1485 usb1_pwr_1p8_reg_en: usb1-pwr-1p8-reg-en-state {
1486 pins = "gpio175";
1487 function = "gpio";
1488 drive-strength = <2>;
1489 bias-disable;
1490 };
1491
1492 usb1_pwr_3p3_reg_en: usb1-pwr-3p3-reg-en-state {
1493 pins = "gpio186";
1494 function = "gpio";
1495 drive-strength = <2>;
1496 bias-disable;
1497 };
1498
1499 usb2_pwr_1p15_reg_en: usb2-pwr-1p15-reg-en-state {
1500 pins = "gpio189";
1501 function = "gpio";
1502 drive-strength = <2>;
1503 bias-disable;
1504 };
1505
1506 usb2_pwr_1p8_reg_en: usb2-pwr-1p8-reg-en-state {
1507 pins = "gpio126";
1508 function = "gpio";
1509 drive-strength = <2>;
1510 bias-disable;
1511 };
1512
1513 usb2_pwr_3p3_reg_en: usb2-pwr-3p3-reg-en-state {
1514 pins = "gpio187";
1515 function = "gpio";
1516 drive-strength = <2>;
1517 bias-disable;
1518 };
1519
1520 wcn_sw_en: wcn-sw-en-state {
1521 pins = "gpio214";
1522 function = "gpio";
1523 drive-strength = <2>;
1524 bias-disable;
1525 };
1526
1527 wcn_wlan_bt_en: wcn-wlan-bt-en-state {
1528 pins = "gpio116", "gpio117";
1529 function = "gpio";
1530 drive-strength = <2>;
1531 bias-disable;
1532 };
1533 };
1534
1535 &uart14 {
1536 status = "okay";
1537
1538 bluetooth {
1539 compatible = "qcom,wcn7850-bt";
1540 max-speed = <3200000>;
1541
1542 vddaon-supply = <&vreg_pmu_aon_0p59>;
1543 vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
1544 vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
1545 vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
1546 vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
1547 vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
1548 vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
1549 };
1550 };
1551
1552 &uart21 {
1553 compatible = "qcom,geni-debug-uart";
1554 status = "okay";
1555 };
1556
1557 &usb_1_ss0_hsphy {
1558 vdd-supply = <&vreg_l3j_0p8>;
1559 vdda12-supply = <&vreg_l2j_1p2>;
1560
1561 phys = <&smb2360_0_eusb2_repeater>;
1562
1563 status = "okay";
1564 };
1565
1566 &usb_1_ss0_qmpphy {
1567 vdda-phy-supply = <&vreg_l2j_1p2>;
1568 vdda-pll-supply = <&vreg_l1j_0p8>;
1569
1570 status = "okay";
1571 };
1572
1573 &usb_1_ss0 {
1574 status = "okay";
1575 };
1576
1577 &usb_1_ss0_dwc3 {
1578 dr_mode = "host";
1579 };
1580
1581 &usb_1_ss0_dwc3_hs {
1582 remote-endpoint = <&pmic_glink_ss0_hs_in>;
1583 };
1584
1585 &usb_1_ss0_qmpphy_out {
1586 remote-endpoint = <&retimer_ss0_ss_in>;
1587 };
1588
1589 &usb_1_ss1_hsphy {
1590 vdd-supply = <&vreg_l3j_0p8>;
1591 vdda12-supply = <&vreg_l2j_1p2>;
1592
1593 phys = <&smb2360_1_eusb2_repeater>;
1594
1595 status = "okay";
1596 };
1597
1598 &usb_1_ss1_qmpphy {
1599 vdda-phy-supply = <&vreg_l2j_1p2>;
1600 vdda-pll-supply = <&vreg_l2d_0p9>;
1601
1602 status = "okay";
1603 };
1604
1605 &usb_1_ss1 {
1606 status = "okay";
1607 };
1608
1609 &usb_1_ss1_dwc3 {
1610 dr_mode = "host";
1611 };
1612
1613 &usb_1_ss1_dwc3_hs {
1614 remote-endpoint = <&pmic_glink_ss1_hs_in>;
1615 };
1616
1617 &usb_1_ss1_qmpphy_out {
1618 remote-endpoint = <&retimer_ss1_ss_in>;
1619 };
1620
1621 &usb_1_ss2_hsphy {
1622 vdd-supply = <&vreg_l3j_0p8>;
1623 vdda12-supply = <&vreg_l2j_1p2>;
1624
1625 phys = <&smb2360_2_eusb2_repeater>;
1626
1627 status = "okay";
1628 };
1629
1630 &usb_1_ss2_qmpphy {
1631 vdda-phy-supply = <&vreg_l2j_1p2>;
1632 vdda-pll-supply = <&vreg_l2d_0p9>;
1633
1634 status = "okay";
1635 };
1636
1637 &usb_1_ss2 {
1638 status = "okay";
1639 };
1640
1641 &usb_1_ss2_dwc3 {
1642 dr_mode = "host";
1643 };
1644
1645 &usb_1_ss2_dwc3_hs {
1646 remote-endpoint = <&pmic_glink_ss2_hs_in>;
1647 };
1648
1649 &usb_1_ss2_qmpphy_out {
1650 remote-endpoint = <&retimer_ss2_ss_in>;
1651 };