Lines Matching +full:vdd +full:- +full:b +full:- +full:supply
1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/gpio-keys.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
13 #include "x1e80100-pmics.dtsi"
26 compatible = "pwm-backlight";
28 enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>;
29 /* TODO: power-supply? */
31 pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>;
32 pinctrl-names = "default";
35 gpio-keys {
36 compatible = "gpio-keys";
38 pinctrl-0 = <&hall_int_n_default>;
39 pinctrl-names = "default";
41 switch-lid {
43 linux,input-type = <EV_SW>;
45 wakeup-source;
46 wakeup-event-action = <EV_ACT_DEASSERTED>;
51 compatible = "gpio-leds";
53 pinctrl-names = "default";
54 pinctrl-0 = <&cam_indicator_en>;
56 led-camera-indicator {
57 label = "white:camera-indicator";
61 linux,default-trigger = "none";
62 default-state = "off";
64 panic-indicator;
68 pmic-glink {
69 compatible = "qcom,x1e80100-pmic-glink",
70 "qcom,sm8550-pmic-glink",
71 "qcom,pmic-glink";
72 #address-cells = <1>;
73 #size-cells = <0>;
74 orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>,
77 /* Left-side rear port */
79 compatible = "usb-c-connector";
81 power-role = "dual";
82 data-role = "dual";
85 #address-cells = <1>;
86 #size-cells = <0>;
92 remote-endpoint = <&usb_1_ss0_dwc3_hs>;
100 remote-endpoint = <&usb_1_ss0_qmpphy_out>;
106 /* Left-side front port */
108 compatible = "usb-c-connector";
110 power-role = "dual";
111 data-role = "dual";
114 #address-cells = <1>;
115 #size-cells = <0>;
121 remote-endpoint = <&usb_1_ss1_dwc3_hs>;
129 remote-endpoint = <&usb_1_ss1_qmpphy_out>;
136 reserved-memory {
138 compatible = "shared-dma-pool";
141 linux,cma-default;
145 vreg_edp_3p3: regulator-edp-3p3 {
146 compatible = "regulator-fixed";
148 regulator-name = "VREG_EDP_3P3";
149 regulator-min-microvolt = <3300000>;
150 regulator-max-microvolt = <3300000>;
153 enable-active-high;
155 pinctrl-0 = <&edp_reg_en>;
156 pinctrl-names = "default";
158 regulator-boot-on;
161 vreg_nvme: regulator-nvme {
162 compatible = "regulator-fixed";
164 regulator-name = "VREG_NVME_3P3";
165 regulator-min-microvolt = <3300000>;
166 regulator-max-microvolt = <3300000>;
169 enable-active-high;
171 pinctrl-0 = <&nvme_reg_en>;
172 pinctrl-names = "default";
174 regulator-boot-on;
177 vph_pwr: regulator-vph-pwr {
178 compatible = "regulator-fixed";
180 regulator-name = "vph_pwr";
181 regulator-min-microvolt = <3700000>;
182 regulator-max-microvolt = <3700000>;
184 regulator-always-on;
185 regulator-boot-on;
190 regulators-0 {
191 compatible = "qcom,pm8550-rpmh-regulators";
192 qcom,pmic-id = "b";
194 vdd-bob1-supply = <&vph_pwr>;
195 vdd-bob2-supply = <&vph_pwr>;
196 vdd-l1-l4-l10-supply = <&vreg_s4c>;
197 vdd-l2-l13-l14-supply = <&vreg_bob1>;
198 vdd-l5-l16-supply = <&vreg_bob1>;
199 vdd-l6-l7-supply = <&vreg_bob2>;
200 vdd-l8-l9-supply = <&vreg_bob1>;
201 vdd-l12-supply = <&vreg_s5j>;
202 vdd-l15-supply = <&vreg_s4c>;
203 vdd-l17-supply = <&vreg_bob2>;
206 regulator-name = "vreg_bob1";
207 regulator-min-microvolt = <3008000>;
208 regulator-max-microvolt = <3960000>;
209 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
213 regulator-name = "vreg_bob2";
214 regulator-min-microvolt = <2504000>;
215 regulator-max-microvolt = <3008000>;
216 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
220 regulator-name = "vreg_l1b";
221 regulator-min-microvolt = <1800000>;
222 regulator-max-microvolt = <1800000>;
223 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
227 regulator-name = "vreg_l2b";
228 regulator-min-microvolt = <3072000>;
229 regulator-max-microvolt = <3072000>;
230 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
234 regulator-name = "vreg_l4b";
235 regulator-min-microvolt = <1800000>;
236 regulator-max-microvolt = <1800000>;
237 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
241 regulator-name = "vreg_l5b";
242 regulator-min-microvolt = <3000000>;
243 regulator-max-microvolt = <3000000>;
244 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
248 regulator-name = "vreg_l6b";
249 regulator-min-microvolt = <1800000>;
250 regulator-max-microvolt = <2960000>;
251 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
255 regulator-name = "vreg_l7b";
256 regulator-min-microvolt = <2800000>;
257 regulator-max-microvolt = <2800000>;
258 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
262 regulator-name = "vreg_l8b";
263 regulator-min-microvolt = <3072000>;
264 regulator-max-microvolt = <3072000>;
265 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
269 regulator-name = "vreg_l9b";
270 regulator-min-microvolt = <2960000>;
271 regulator-max-microvolt = <2960000>;
272 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
276 regulator-name = "vreg_l10b";
277 regulator-min-microvolt = <1800000>;
278 regulator-max-microvolt = <1800000>;
279 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
283 regulator-name = "vreg_l12b";
284 regulator-min-microvolt = <1200000>;
285 regulator-max-microvolt = <1200000>;
286 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
290 regulator-name = "vreg_l13b";
291 regulator-min-microvolt = <3072000>;
292 regulator-max-microvolt = <3072000>;
293 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
297 regulator-name = "vreg_l14b";
298 regulator-min-microvolt = <3072000>;
299 regulator-max-microvolt = <3072000>;
300 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
304 regulator-name = "vreg_l15b";
305 regulator-min-microvolt = <1800000>;
306 regulator-max-microvolt = <1800000>;
307 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
311 regulator-name = "vreg_l16b";
312 regulator-min-microvolt = <2912000>;
313 regulator-max-microvolt = <2912000>;
314 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
318 regulator-name = "vreg_l17b";
319 regulator-min-microvolt = <2504000>;
320 regulator-max-microvolt = <2504000>;
321 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
325 regulators-1 {
326 compatible = "qcom,pm8550ve-rpmh-regulators";
327 qcom,pmic-id = "c";
329 vdd-l1-supply = <&vreg_s5j>;
330 vdd-l2-supply = <&vreg_s1f>;
331 vdd-l3-supply = <&vreg_s1f>;
332 vdd-s4-supply = <&vph_pwr>;
335 regulator-name = "vreg_s4c";
336 regulator-min-microvolt = <1856000>;
337 regulator-max-microvolt = <2000000>;
338 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
342 regulator-name = "vreg_l1c";
343 regulator-min-microvolt = <1200000>;
344 regulator-max-microvolt = <1200000>;
345 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
349 regulator-name = "vreg_l2c";
350 regulator-min-microvolt = <880000>;
351 regulator-max-microvolt = <920000>;
352 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
356 regulator-name = "vreg_l3c";
357 regulator-min-microvolt = <912000>;
358 regulator-max-microvolt = <920000>;
359 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
363 regulators-2 {
364 compatible = "qcom,pmc8380-rpmh-regulators";
365 qcom,pmic-id = "d";
367 vdd-l1-supply = <&vreg_s1f>;
368 vdd-l2-supply = <&vreg_s1f>;
369 vdd-l3-supply = <&vreg_s4c>;
370 vdd-s1-supply = <&vph_pwr>;
373 regulator-name = "vreg_l1d";
374 regulator-min-microvolt = <880000>;
375 regulator-max-microvolt = <920000>;
376 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
380 regulator-name = "vreg_l2d";
381 regulator-min-microvolt = <912000>;
382 regulator-max-microvolt = <920000>;
383 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
387 regulator-name = "vreg_l3d";
388 regulator-min-microvolt = <1800000>;
389 regulator-max-microvolt = <1800000>;
390 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
394 regulators-3 {
395 compatible = "qcom,pmc8380-rpmh-regulators";
396 qcom,pmic-id = "e";
398 vdd-l2-supply = <&vreg_s1f>;
399 vdd-l3-supply = <&vreg_s5j>;
402 regulator-name = "vreg_l2e";
403 regulator-min-microvolt = <880000>;
404 regulator-max-microvolt = <920000>;
405 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
409 regulator-name = "vreg_l3e";
410 regulator-min-microvolt = <1200000>;
411 regulator-max-microvolt = <1200000>;
412 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
416 regulators-4 {
417 compatible = "qcom,pmc8380-rpmh-regulators";
418 qcom,pmic-id = "f";
420 vdd-l1-supply = <&vreg_s5j>;
421 vdd-l2-supply = <&vreg_s5j>;
422 vdd-l3-supply = <&vreg_s5j>;
423 vdd-s1-supply = <&vph_pwr>;
426 regulator-name = "vreg_s1f";
427 regulator-min-microvolt = <700000>;
428 regulator-max-microvolt = <1100000>;
429 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
433 regulator-name = "vreg_l1f";
434 regulator-min-microvolt = <1024000>;
435 regulator-max-microvolt = <1024000>;
436 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
440 regulator-name = "vreg_l2f";
441 regulator-min-microvolt = <1024000>;
442 regulator-max-microvolt = <1024000>;
443 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
447 regulator-name = "vreg_l3f";
448 regulator-min-microvolt = <1024000>;
449 regulator-max-microvolt = <1024000>;
450 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
454 regulators-6 {
455 compatible = "qcom,pm8550ve-rpmh-regulators";
456 qcom,pmic-id = "i";
458 vdd-l1-supply = <&vreg_s4c>;
459 vdd-l2-supply = <&vreg_s5j>;
460 vdd-l3-supply = <&vreg_s1f>;
461 vdd-s1-supply = <&vph_pwr>;
462 vdd-s2-supply = <&vph_pwr>;
465 regulator-name = "vreg_s1i";
466 regulator-min-microvolt = <900000>;
467 regulator-max-microvolt = <920000>;
468 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
472 regulator-name = "vreg_s2i";
473 regulator-min-microvolt = <1000000>;
474 regulator-max-microvolt = <1100000>;
475 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
479 regulator-name = "vreg_l1i";
480 regulator-min-microvolt = <1800000>;
481 regulator-max-microvolt = <1800000>;
482 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
486 regulator-name = "vreg_l2i";
487 regulator-min-microvolt = <1200000>;
488 regulator-max-microvolt = <1200000>;
489 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
493 regulator-name = "vreg_l3i";
494 regulator-min-microvolt = <880000>;
495 regulator-max-microvolt = <920000>;
496 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
500 regulators-7 {
501 compatible = "qcom,pm8550ve-rpmh-regulators";
502 qcom,pmic-id = "j";
504 vdd-l1-supply = <&vreg_s1f>;
505 vdd-l2-supply = <&vreg_s5j>;
506 vdd-l3-supply = <&vreg_s1f>;
507 vdd-s5-supply = <&vph_pwr>;
510 regulator-name = "vreg_s5j";
511 regulator-min-microvolt = <1256000>;
512 regulator-max-microvolt = <1304000>;
513 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
517 regulator-name = "vreg_l1j";
518 regulator-min-microvolt = <912000>;
519 regulator-max-microvolt = <920000>;
520 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
524 regulator-name = "vreg_l2j";
525 regulator-min-microvolt = <1256000>;
526 regulator-max-microvolt = <1256000>;
527 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
531 regulator-name = "vreg_l3j";
532 regulator-min-microvolt = <880000>;
533 regulator-max-microvolt = <920000>;
534 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
542 zap-shader {
543 memory-region = <&gpu_microcode_mem>;
544 firmware-name = "qcom/x1e80100/microsoft/qcdxkmsuc8380.mbn";
549 clock-frequency = <100000>;
557 clock-frequency = <400000>;
565 clock-frequency = <400000>;
573 clock-frequency = <400000>;
581 reset-gpios = <&tlmm 7 GPIO_ACTIVE_LOW>;
583 vdd3v3-supply = <&vreg_l13b>;
584 vdd1v8-supply = <&vreg_l4b>;
586 #phy-cells = <0>;
591 clock-frequency = <400000>;
603 compatible = "qcom,x1e80100-dp";
604 /delete-property/ #sound-dai-cells;
608 aux-bus {
610 compatible = "edp-panel";
613 power-supply = <&vreg_edp_3p3>;
617 remote-endpoint = <&mdss_dp3_out>;
628 data-lanes = <0 1 2 3>;
629 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
631 remote-endpoint = <&edp_panel_in>;
638 vdda-phy-supply = <&vreg_l3j>;
639 vdda-pll-supply = <&vreg_l2j>;
649 vdda-phy-supply = <&vreg_l3i>;
650 vdda-pll-supply = <&vreg_l3e>;
656 perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
657 wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>;
659 vddpe-3v3-supply = <&vreg_nvme>;
661 pinctrl-0 = <&pcie6a_default>;
662 pinctrl-names = "default";
668 vdda-phy-supply = <&vreg_l1d>;
669 vdda-pll-supply = <&vreg_l2j>;
675 edp_bl_en: edp-bl-en-state {
678 power-source = <1>; /* 1.8V */
679 input-disable;
680 output-enable;
689 edp_bl_pwm: edp-bl-pwm-state {
708 firmware-name = "qcom/x1e80100/microsoft/Romulus/qcadsp8380.mbn",
715 firmware-name = "qcom/x1e80100/microsoft/Romulus/qccdsp8380.mbn",
722 vdd18-supply = <&vreg_l3d>;
723 vdd3-supply = <&vreg_l2b>;
727 vdd18-supply = <&vreg_l3d>;
728 vdd3-supply = <&vreg_l14b>;
736 vdd18-supply = <&vreg_l3d>;
737 vdd3-supply = <&vreg_l8b>;
741 gpio-reserved-ranges = <44 4>, /* SPI (TPM) */
744 hall_int_n_default: hall-int-n-state {
747 bias-disable;
750 nvme_reg_en: nvme-reg-en-state {
753 drive-strength = <2>;
754 bias-disable;
757 edp_reg_en: edp-reg-en-state {
760 drive-strength = <16>;
761 bias-disable;
764 ssam_state: ssam-state-state {
767 bias-disable;
770 pcie6a_default: pcie6a-default-state {
771 perst-n-pins {
774 drive-strength = <2>;
775 bias-disable;
778 clkreq-n-pins {
781 drive-strength = <2>;
782 bias-pull-up;
785 wake-n-pins {
788 drive-strength = <2>;
789 bias-pull-up;
793 cam_indicator_en: cam-indicator-en-state {
796 drive-strength = <2>;
797 bias-disable;
804 embedded-controller {
805 compatible = "microsoft,surface-sam";
807 interrupts-extended = <&tlmm 91 IRQ_TYPE_EDGE_RISING>;
809 current-speed = <4000000>;
811 pinctrl-0 = <&ssam_state>;
812 pinctrl-names = "default";
817 vdd-supply = <&vreg_l3j>;
818 vdda12-supply = <&vreg_l2j>;
826 vdda-phy-supply = <&vreg_l3e>;
827 vdda-pll-supply = <&vreg_l1j>;
841 remote-endpoint = <&pmic_glink_ss0_hs_in>;
845 remote-endpoint = <&pmic_glink_ss0_ss_in>;
849 vdd-supply = <&vreg_l3j>;
850 vdda12-supply = <&vreg_l2j>;
858 vdda-phy-supply = <&vreg_l3e>;
859 vdda-pll-supply = <&vreg_l2d>;
873 remote-endpoint = <&pmic_glink_ss1_hs_in>;
877 remote-endpoint = <&pmic_glink_ss1_ss_in>;
880 /* MP0 goes to the Surface Connector, MP1 goes to the USB-A port */
886 vdd-supply = <&vreg_l2e>;
887 vdda12-supply = <&vreg_l2j>;
895 vdd-supply = <&vreg_l2e>;
896 vdda12-supply = <&vreg_l2j>;
904 vdda-phy-supply = <&vreg_l3e>;
905 vdda-pll-supply = <&vreg_l3c>;
911 vdda-phy-supply = <&vreg_l3e>;
912 vdda-pll-supply = <&vreg_l3c>;