Lines Matching +full:initial +full:- +full:mode

1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
20 compatible = "qcom,sm8550-mtp", "qcom,sm8550";
21 chassis-type = "handset";
27 wcd938x: audio-codec {
28 compatible = "qcom,wcd9385-codec";
30 pinctrl-names = "default";
31 pinctrl-0 = <&wcd_default>;
33 qcom,micbias1-microvolt = <1800000>;
34 qcom,micbias2-microvolt = <1800000>;
35 qcom,micbias3-microvolt = <1800000>;
36 qcom,micbias4-microvolt = <1800000>;
37 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
38 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
39 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
40 qcom,rx-device = <&wcd_rx>;
41 qcom,tx-device = <&wcd_tx>;
43 reset-gpios = <&tlmm 108 GPIO_ACTIVE_LOW>;
45 vdd-buck-supply = <&vreg_l15b_1p8>;
46 vdd-rxtx-supply = <&vreg_l15b_1p8>;
47 vdd-io-supply = <&vreg_l15b_1p8>;
48 vdd-mic-bias-supply = <&vreg_bob1>;
50 #sound-dai-cells = <1>;
54 stdout-path = "serial0:115200n8";
57 pmic-glink {
58 compatible = "qcom,sm8550-pmic-glink", "qcom,pmic-glink";
59 #address-cells = <1>;
60 #size-cells = <0>;
63 compatible = "usb-c-connector";
65 power-role = "dual";
66 data-role = "dual";
69 #address-cells = <1>;
70 #size-cells = <0>;
76 remote-endpoint = <&usb_1_dwc3_hs>;
84 remote-endpoint = <&usb_dp_qmpphy_out>;
92 remote-endpoint = <&fsa4480_sbu_mux>;
100 compatible = "qcom,sm8550-sndcard", "qcom,sm8450-sndcard";
101 model = "SM8550-MTP";
102 audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT",
115 wcd-playback-dai-link {
116 link-name = "WCD Playback";
119 sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>;
123 sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>;
127 sound-dai = <&q6apm>;
131 wcd-capture-dai-link {
132 link-name = "WCD Capture";
135 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
139 sound-dai = <&wcd938x 1>, <&swr2 0>, <&lpass_txmacro 0>;
143 sound-dai = <&q6apm>;
147 wsa-dai-link {
148 link-name = "WSA Playback";
151 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
155 sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&lpass_wsamacro 0>;
159 sound-dai = <&q6apm>;
163 va-dai-link {
164 link-name = "VA Capture";
167 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
171 sound-dai = <&lpass_vamacro 0>;
175 sound-dai = <&q6apm>;
180 vph_pwr: vph-pwr-regulator {
181 compatible = "regulator-fixed";
182 regulator-name = "vph_pwr";
183 regulator-min-microvolt = <3700000>;
184 regulator-max-microvolt = <3700000>;
186 regulator-always-on;
187 regulator-boot-on;
192 regulators-0 {
193 compatible = "qcom,pm8550-rpmh-regulators";
194 qcom,pmic-id = "b";
196 vdd-bob1-supply = <&vph_pwr>;
197 vdd-bob2-supply = <&vph_pwr>;
198 vdd-l1-l4-l10-supply = <&vreg_s6g_1p8>;
199 vdd-l2-l13-l14-supply = <&vreg_bob1>;
200 vdd-l3-supply = <&vreg_s4g_1p3>;
201 vdd-l5-l16-supply = <&vreg_bob1>;
202 vdd-l6-l7-supply = <&vreg_bob1>;
203 vdd-l8-l9-supply = <&vreg_bob1>;
204 vdd-l11-supply = <&vreg_s4g_1p3>;
205 vdd-l12-supply = <&vreg_s6g_1p8>;
206 vdd-l15-supply = <&vreg_s6g_1p8>;
207 vdd-l17-supply = <&vreg_bob2>;
210 regulator-name = "vreg_bob1";
211 regulator-min-microvolt = <3296000>;
212 regulator-max-microvolt = <3960000>;
213 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
217 regulator-name = "vreg_bob2";
218 regulator-min-microvolt = <2720000>;
219 regulator-max-microvolt = <3960000>;
220 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
224 regulator-name = "vreg_l1b_1p8";
225 regulator-min-microvolt = <1800000>;
226 regulator-max-microvolt = <1800000>;
227 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
231 regulator-name = "vreg_l2b_3p0";
232 regulator-min-microvolt = <3008000>;
233 regulator-max-microvolt = <3008000>;
234 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
238 regulator-name = "vreg_l5b_3p1";
239 regulator-min-microvolt = <3104000>;
240 regulator-max-microvolt = <3104000>;
241 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
245 regulator-name = "vreg_l6b_1p8";
246 regulator-min-microvolt = <1800000>;
247 regulator-max-microvolt = <3008000>;
248 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
252 regulator-name = "vreg_l7b_1p8";
253 regulator-min-microvolt = <1800000>;
254 regulator-max-microvolt = <3008000>;
255 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
259 regulator-name = "vreg_l8b_1p8";
260 regulator-min-microvolt = <1800000>;
261 regulator-max-microvolt = <3008000>;
262 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
266 regulator-name = "vreg_l9b_2p9";
267 regulator-min-microvolt = <2960000>;
268 regulator-max-microvolt = <3008000>;
269 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
273 regulator-name = "vreg_l11b_1p2";
274 regulator-min-microvolt = <1200000>;
275 regulator-max-microvolt = <1504000>;
276 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
280 regulator-name = "vreg_l12b_1p8";
281 regulator-min-microvolt = <1800000>;
282 regulator-max-microvolt = <1800000>;
283 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
287 regulator-name = "vreg_l13b_3p0";
288 regulator-min-microvolt = <3000000>;
289 regulator-max-microvolt = <3000000>;
290 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
294 regulator-name = "vreg_l14b_3p2";
295 regulator-min-microvolt = <3200000>;
296 regulator-max-microvolt = <3200000>;
297 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
301 regulator-name = "vreg_l15b_1p8";
302 regulator-min-microvolt = <1800000>;
303 regulator-max-microvolt = <1800000>;
304 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
308 regulator-name = "vreg_l16b_2p8";
309 regulator-min-microvolt = <2800000>;
310 regulator-max-microvolt = <2800000>;
311 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
315 regulator-name = "vreg_l17b_2p5";
316 regulator-min-microvolt = <2504000>;
317 regulator-max-microvolt = <2504000>;
318 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
322 regulators-1 {
323 compatible = "qcom,pm8550vs-rpmh-regulators";
324 qcom,pmic-id = "c";
326 vdd-l3-supply = <&vreg_s4e_0p9>;
329 regulator-name = "vreg_l3c_0p9";
330 regulator-min-microvolt = <880000>;
331 regulator-max-microvolt = <912000>;
332 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
336 regulators-2 {
337 compatible = "qcom,pm8550vs-rpmh-regulators";
338 qcom,pmic-id = "d";
340 vdd-l1-supply = <&vreg_s4e_0p9>;
343 regulator-name = "vreg_l1d_0p88";
344 regulator-min-microvolt = <880000>;
345 regulator-max-microvolt = <920000>;
346 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
350 regulators-3 {
351 compatible = "qcom,pm8550vs-rpmh-regulators";
352 qcom,pmic-id = "e";
354 vdd-l1-supply = <&vreg_s4e_0p9>;
355 vdd-l2-supply = <&vreg_s4e_0p9>;
356 vdd-l3-supply = <&vreg_s4g_1p3>;
357 vdd-s4-supply = <&vph_pwr>;
358 vdd-s5-supply = <&vph_pwr>;
361 regulator-name = "vreg_s4e_0p9";
362 regulator-min-microvolt = <904000>;
363 regulator-max-microvolt = <984000>;
364 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
368 regulator-name = "vreg_s5e_1p1";
369 regulator-min-microvolt = <1080000>;
370 regulator-max-microvolt = <1120000>;
371 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
375 regulator-name = "vreg_l1e_0p88";
376 regulator-min-microvolt = <880000>;
377 regulator-max-microvolt = <880000>;
378 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
382 regulator-name = "vreg_l2e_0p9";
383 regulator-min-microvolt = <904000>;
384 regulator-max-microvolt = <970000>;
385 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
389 regulator-name = "vreg_l3e_1p2";
390 regulator-min-microvolt = <1200000>;
391 regulator-max-microvolt = <1200000>;
392 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
396 regulators-4 {
397 compatible = "qcom,pm8550ve-rpmh-regulators";
398 qcom,pmic-id = "f";
400 vdd-l1-supply = <&vreg_s4e_0p9>;
401 vdd-l2-supply = <&vreg_s4e_0p9>;
402 vdd-l3-supply = <&vreg_s4e_0p9>;
403 vdd-s4-supply = <&vph_pwr>;
406 regulator-name = "vreg_s4f_0p5";
407 regulator-min-microvolt = <500000>;
408 regulator-max-microvolt = <700000>;
409 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
413 regulator-name = "vreg_l1f_0p9";
414 regulator-min-microvolt = <912000>;
415 regulator-max-microvolt = <912000>;
416 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
420 regulator-name = "vreg_l2f_0p88";
421 regulator-min-microvolt = <880000>;
422 regulator-max-microvolt = <912000>;
423 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
427 regulator-name = "vreg_l3f_0p91";
428 regulator-min-microvolt = <880000>;
429 regulator-max-microvolt = <912000>;
430 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
434 regulators-5 {
435 compatible = "qcom,pm8550vs-rpmh-regulators";
436 qcom,pmic-id = "g";
438 vdd-l1-supply = <&vreg_s4g_1p3>;
439 vdd-l2-supply = <&vreg_s4g_1p3>;
440 vdd-l3-supply = <&vreg_s4g_1p3>;
441 vdd-s1-supply = <&vph_pwr>;
442 vdd-s2-supply = <&vph_pwr>;
443 vdd-s3-supply = <&vph_pwr>;
444 vdd-s4-supply = <&vph_pwr>;
445 vdd-s5-supply = <&vph_pwr>;
446 vdd-s6-supply = <&vph_pwr>;
449 regulator-name = "vreg_s1g_1p2";
450 regulator-min-microvolt = <1200000>;
451 regulator-max-microvolt = <1300000>;
452 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
456 regulator-name = "vreg_s2g_0p8";
457 regulator-min-microvolt = <800000>;
458 regulator-max-microvolt = <1000000>;
459 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
463 regulator-name = "vreg_s3g_0p7";
464 regulator-min-microvolt = <300000>;
465 regulator-max-microvolt = <1004000>;
466 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
470 regulator-name = "vreg_s4g_1p3";
471 regulator-min-microvolt = <1200000>;
472 regulator-max-microvolt = <1352000>;
473 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
477 regulator-name = "vreg_s5g_0p8";
478 regulator-min-microvolt = <500000>;
479 regulator-max-microvolt = <1004000>;
480 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
484 regulator-name = "vreg_s6g_1p8";
485 regulator-min-microvolt = <1800000>;
486 regulator-max-microvolt = <2000000>;
487 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
491 regulator-name = "vreg_l1g_1p2";
492 regulator-min-microvolt = <1200000>;
493 regulator-max-microvolt = <1200000>;
494 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
498 regulator-name = "vreg_l2g_1p2";
499 regulator-min-microvolt = <1200000>;
500 regulator-max-microvolt = <1200000>;
501 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
505 regulator-name = "vreg_l3g_1p2";
506 regulator-min-microvolt = <1200000>;
507 regulator-max-microvolt = <1200000>;
508 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
520 typec-mux@42 {
524 vcc-supply = <&vreg_bob1>;
526 mode-switch;
527 orientation-switch;
531 remote-endpoint = <&pmic_glink_sbu>;
538 spkr_1_sd_n_active: spkr-1-sd-n-active-state {
541 drive-strength = <16>;
542 bias-disable;
543 output-low;
546 spkr_2_sd_n_active: spkr-2-sd-n-active-state {
549 drive-strength = <16>;
550 bias-disable;
551 output-low;
560 vdda-supply = <&vreg_l3e_1p2>;
567 pinctrl-names = "default", "sleep";
568 pinctrl-0 = <&sde_dsi_active>, <&sde_te_active>;
569 pinctrl-1 = <&sde_dsi_suspend>, <&sde_te_suspend>;
571 vddio-supply = <&vreg_l12b_1p8>;
572 vci-supply = <&vreg_l13b_3p0>;
573 vdd-supply = <&vreg_l11b_1p2>;
575 reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>;
579 remote-endpoint = <&mdss_dsi0_out>;
586 remote-endpoint = <&panel0_in>;
587 data-lanes = <0 1 2 3>;
591 vdds-supply = <&vreg_l1e_0p88>;
600 data-lanes = <0 1>;
601 remote-endpoint = <&usb_dp_qmpphy_dp_in>;
605 clock-frequency = <1000>;
609 wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
610 perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
612 pinctrl-names = "default";
613 pinctrl-0 = <&pcie0_default_state>;
619 vdda-phy-supply = <&vreg_l1e_0p88>;
620 vdda-pll-supply = <&vreg_l3e_1p2>;
626 wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>;
627 perst-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>;
629 pinctrl-names = "default";
630 pinctrl-0 = <&pcie1_default_state>;
636 vdda-phy-supply = <&vreg_l3c_0p91>;
637 vdda-pll-supply = <&vreg_l3e_1p2>;
638 vdda-qref-supply = <&vreg_l1e_0p88>;
644 sdc2_card_det_n: sdc2-card-det-state {
647 input-enable;
648 output-disable;
649 bias-pull-up;
650 power-source = <1>; /* 1.8 V */
655 vdd18-supply = <&vreg_l15b_1p8>;
656 vdd3-supply = <&vreg_l5b_3p1>;
664 firmware-name = "qcom/sm8550/adsp.mbn",
670 firmware-name = "qcom/sm8550/cdsp.mbn",
676 firmware-name = "qcom/sm8550/modem.mbn",
682 cd-gpios = <&pm8550_gpios 12 GPIO_ACTIVE_LOW>;
683 pinctrl-names = "default", "sleep";
684 pinctrl-0 = <&sdc2_default &sdc2_card_det_n>;
685 pinctrl-1 = <&sdc2_sleep &sdc2_card_det_n>;
686 vmmc-supply = <&vreg_l9b_2p9>;
687 vqmmc-supply = <&vreg_l8b_1p8>;
688 bus-width = <4>;
689 no-sdio;
690 no-mmc;
695 clock-frequency = <32000>;
705 pinctrl-names = "default";
706 pinctrl-0 = <&spkr_1_sd_n_active>;
707 powerdown-gpios = <&lpass_tlmm 17 GPIO_ACTIVE_LOW>;
708 #sound-dai-cells = <0>;
709 sound-name-prefix = "SpkrLeft";
710 vdd-1p8-supply = <&vreg_l15b_1p8>;
711 vdd-io-supply = <&vreg_l3g_1p2>;
718 pinctrl-names = "default";
719 pinctrl-0 = <&spkr_2_sd_n_active>;
720 powerdown-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>;
721 #sound-dai-cells = <0>;
722 sound-name-prefix = "SpkrRight";
723 vdd-1p8-supply = <&vreg_l15b_1p8>;
724 vdd-io-supply = <&vreg_l3g_1p2>;
735 qcom,rx-port-mapping = <1 2 3 4 5>;
746 qcom,tx-port-mapping = <2 2 3 4>;
751 gpio-reserved-ranges = <32 8>;
753 sde_dsi_active: sde-dsi-active-state {
756 drive-strength = <8>;
757 bias-disable;
760 sde_dsi_suspend: sde-dsi-suspend-state {
763 drive-strength = <2>;
764 bias-pull-down;
767 sde_te_active: sde-te-active-state {
770 drive-strength = <2>;
771 bias-pull-down;
774 sde_te_suspend: sde-te-suspend-state {
777 drive-strength = <2>;
778 bias-pull-down;
781 wcd_default: wcd-reset-n-active-state {
784 drive-strength = <16>;
785 bias-disable;
786 output-low;
795 reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>;
796 vcc-supply = <&vreg_l17b_2p5>;
797 vcc-max-microamp = <1300000>;
798 vccq-supply = <&vreg_l1g_1p2>;
799 vccq-max-microamp = <1200000>;
800 vccq2-supply = <&vreg_l3g_1p2>;
801 vccq2-max-microamp = <100>;
807 vdda-phy-supply = <&vreg_l1d_0p88>;
808 vdda-pll-supply = <&vreg_l3e_1p2>;
819 usb-role-switch;
823 remote-endpoint = <&pmic_glink_hs_in>;
827 remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>;
831 vdd-supply = <&vreg_l1e_0p88>;
832 vdda12-supply = <&vreg_l3e_1p2>;
840 vdda-phy-supply = <&vreg_l3e_1p2>;
841 vdda-pll-supply = <&vreg_l3f_0p91>;
843 orientation-switch;
849 remote-endpoint = <&mdss_dp0_out>;
853 remote-endpoint = <&pmic_glink_ss_in>;
857 remote-endpoint = <&usb_1_dwc3_ss>;
861 clock-frequency = <76800000>;