Debian Codegraph @

scripts/dtc/include-prefixes/arm64/qcom/x1-dell-thena.dtsi

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