Lines Matching +full:x1e80100 +full:- +full:mdss

1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
10 #include "x1e80100.dtsi"
11 #include "x1e80100-pmics.dtsi"
24 compatible = "pwm-backlight";
26 enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>;
27 /* TODO: power-supply? */
29 pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>;
30 pinctrl-names = "default";
34 compatible = "gpio-leds";
36 pinctrl-names = "default";
37 pinctrl-0 = <&cam_indicator_en>;
39 led-camera-indicator {
40 label = "white:camera-indicator";
44 linux,default-trigger = "none";
45 default-state = "off";
47 panic-indicator;
51 pmic-glink {
52 compatible = "qcom,x1e80100-pmic-glink",
53 "qcom,sm8550-pmic-glink",
54 "qcom,pmic-glink";
55 #address-cells = <1>;
56 #size-cells = <0>;
57 orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>,
60 /* Left-side rear port */
62 compatible = "usb-c-connector";
64 power-role = "dual";
65 data-role = "dual";
68 #address-cells = <1>;
69 #size-cells = <0>;
75 remote-endpoint = <&usb_1_ss0_dwc3_hs>;
83 remote-endpoint = <&usb_1_ss0_qmpphy_out>;
89 /* Left-side front port */
91 compatible = "usb-c-connector";
93 power-role = "dual";
94 data-role = "dual";
97 #address-cells = <1>;
98 #size-cells = <0>;
104 remote-endpoint = <&usb_1_ss1_dwc3_hs>;
112 remote-endpoint = <&usb_1_ss1_qmpphy_out>;
119 reserved-memory {
121 compatible = "shared-dma-pool";
124 linux,cma-default;
128 vph_pwr: vph-pwr-regulator {
129 compatible = "regulator-fixed";
131 regulator-name = "vph_pwr";
132 regulator-min-microvolt = <3700000>;
133 regulator-max-microvolt = <3700000>;
135 regulator-always-on;
136 regulator-boot-on;
139 vreg_edp_3p3: regulator-edp-3p3 {
140 compatible = "regulator-fixed";
142 regulator-name = "VREG_EDP_3P3";
143 regulator-min-microvolt = <3300000>;
144 regulator-max-microvolt = <3300000>;
147 enable-active-high;
149 pinctrl-0 = <&edp_reg_en>;
150 pinctrl-names = "default";
152 regulator-boot-on;
155 vreg_nvme: regulator-nvme {
156 compatible = "regulator-fixed";
158 regulator-name = "VREG_NVME_3P3";
159 regulator-min-microvolt = <3300000>;
160 regulator-max-microvolt = <3300000>;
163 enable-active-high;
165 pinctrl-0 = <&nvme_reg_en>;
166 pinctrl-names = "default";
168 regulator-boot-on;
173 regulators-0 {
174 compatible = "qcom,pm8550-rpmh-regulators";
175 qcom,pmic-id = "b";
177 vdd-bob1-supply = <&vph_pwr>;
178 vdd-bob2-supply = <&vph_pwr>;
179 vdd-l1-l4-l10-supply = <&vreg_s4c>;
180 vdd-l2-l13-l14-supply = <&vreg_bob1>;
181 vdd-l5-l16-supply = <&vreg_bob1>;
182 vdd-l6-l7-supply = <&vreg_bob2>;
183 vdd-l8-l9-supply = <&vreg_bob1>;
184 vdd-l12-supply = <&vreg_s5j>;
185 vdd-l15-supply = <&vreg_s4c>;
186 vdd-l17-supply = <&vreg_bob2>;
189 regulator-name = "vreg_bob1";
190 regulator-min-microvolt = <3008000>;
191 regulator-max-microvolt = <3960000>;
192 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
196 regulator-name = "vreg_bob2";
197 regulator-min-microvolt = <2504000>;
198 regulator-max-microvolt = <3008000>;
199 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
203 regulator-name = "vreg_l1b";
204 regulator-min-microvolt = <1800000>;
205 regulator-max-microvolt = <1800000>;
206 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
210 regulator-name = "vreg_l2b";
211 regulator-min-microvolt = <3072000>;
212 regulator-max-microvolt = <3072000>;
213 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
217 regulator-name = "vreg_l4b";
218 regulator-min-microvolt = <1800000>;
219 regulator-max-microvolt = <1800000>;
220 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
224 regulator-name = "vreg_l5b";
225 regulator-min-microvolt = <3000000>;
226 regulator-max-microvolt = <3000000>;
227 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
231 regulator-name = "vreg_l6b";
232 regulator-min-microvolt = <1800000>;
233 regulator-max-microvolt = <2960000>;
234 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
238 regulator-name = "vreg_l7b";
239 regulator-min-microvolt = <2800000>;
240 regulator-max-microvolt = <2800000>;
241 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
245 regulator-name = "vreg_l8b";
246 regulator-min-microvolt = <3072000>;
247 regulator-max-microvolt = <3072000>;
248 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
252 regulator-name = "vreg_l9b";
253 regulator-min-microvolt = <2960000>;
254 regulator-max-microvolt = <2960000>;
255 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
259 regulator-name = "vreg_l10b";
260 regulator-min-microvolt = <1800000>;
261 regulator-max-microvolt = <1800000>;
262 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
266 regulator-name = "vreg_l12b";
267 regulator-min-microvolt = <1200000>;
268 regulator-max-microvolt = <1200000>;
269 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
273 regulator-name = "vreg_l13b";
274 regulator-min-microvolt = <3072000>;
275 regulator-max-microvolt = <3072000>;
276 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
280 regulator-name = "vreg_l14b";
281 regulator-min-microvolt = <3072000>;
282 regulator-max-microvolt = <3072000>;
283 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
287 regulator-name = "vreg_l15b";
288 regulator-min-microvolt = <1800000>;
289 regulator-max-microvolt = <1800000>;
290 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
294 regulator-name = "vreg_l16b";
295 regulator-min-microvolt = <2912000>;
296 regulator-max-microvolt = <2912000>;
297 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
301 regulator-name = "vreg_l17b";
302 regulator-min-microvolt = <2504000>;
303 regulator-max-microvolt = <2504000>;
304 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
308 regulators-1 {
309 compatible = "qcom,pm8550ve-rpmh-regulators";
310 qcom,pmic-id = "c";
312 vdd-l1-supply = <&vreg_s5j>;
313 vdd-l2-supply = <&vreg_s1f>;
314 vdd-l3-supply = <&vreg_s1f>;
315 vdd-s4-supply = <&vph_pwr>;
318 regulator-name = "vreg_s4c";
319 regulator-min-microvolt = <1856000>;
320 regulator-max-microvolt = <2000000>;
321 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
325 regulator-name = "vreg_l1c";
326 regulator-min-microvolt = <1200000>;
327 regulator-max-microvolt = <1200000>;
328 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
332 regulator-name = "vreg_l2c";
333 regulator-min-microvolt = <880000>;
334 regulator-max-microvolt = <920000>;
335 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
339 regulator-name = "vreg_l3c";
340 regulator-min-microvolt = <912000>;
341 regulator-max-microvolt = <920000>;
342 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
346 regulators-2 {
347 compatible = "qcom,pmc8380-rpmh-regulators";
348 qcom,pmic-id = "d";
350 vdd-l1-supply = <&vreg_s1f>;
351 vdd-l2-supply = <&vreg_s1f>;
352 vdd-l3-supply = <&vreg_s4c>;
353 vdd-s1-supply = <&vph_pwr>;
356 regulator-name = "vreg_l1d";
357 regulator-min-microvolt = <880000>;
358 regulator-max-microvolt = <920000>;
359 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
363 regulator-name = "vreg_l2d";
364 regulator-min-microvolt = <912000>;
365 regulator-max-microvolt = <920000>;
366 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
370 regulator-name = "vreg_l3d";
371 regulator-min-microvolt = <1800000>;
372 regulator-max-microvolt = <1800000>;
373 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
377 regulators-3 {
378 compatible = "qcom,pmc8380-rpmh-regulators";
379 qcom,pmic-id = "e";
381 vdd-l2-supply = <&vreg_s1f>;
382 vdd-l3-supply = <&vreg_s5j>;
385 regulator-name = "vreg_l2e";
386 regulator-min-microvolt = <880000>;
387 regulator-max-microvolt = <920000>;
388 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
392 regulator-name = "vreg_l3e";
393 regulator-min-microvolt = <1200000>;
394 regulator-max-microvolt = <1200000>;
395 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
399 regulators-4 {
400 compatible = "qcom,pmc8380-rpmh-regulators";
401 qcom,pmic-id = "f";
403 vdd-l1-supply = <&vreg_s5j>;
404 vdd-l2-supply = <&vreg_s5j>;
405 vdd-l3-supply = <&vreg_s5j>;
406 vdd-s1-supply = <&vph_pwr>;
409 regulator-name = "vreg_s1f";
410 regulator-min-microvolt = <700000>;
411 regulator-max-microvolt = <1100000>;
412 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
416 regulator-name = "vreg_l1f";
417 regulator-min-microvolt = <1024000>;
418 regulator-max-microvolt = <1024000>;
419 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
423 regulator-name = "vreg_l2f";
424 regulator-min-microvolt = <1024000>;
425 regulator-max-microvolt = <1024000>;
426 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
430 regulator-name = "vreg_l3f";
431 regulator-min-microvolt = <1024000>;
432 regulator-max-microvolt = <1024000>;
433 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
437 regulators-6 {
438 compatible = "qcom,pm8550ve-rpmh-regulators";
439 qcom,pmic-id = "i";
441 vdd-l1-supply = <&vreg_s4c>;
442 vdd-l2-supply = <&vreg_s5j>;
443 vdd-l3-supply = <&vreg_s1f>;
444 vdd-s1-supply = <&vph_pwr>;
445 vdd-s2-supply = <&vph_pwr>;
448 regulator-name = "vreg_s1i";
449 regulator-min-microvolt = <900000>;
450 regulator-max-microvolt = <920000>;
451 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
455 regulator-name = "vreg_s2i";
456 regulator-min-microvolt = <1000000>;
457 regulator-max-microvolt = <1100000>;
458 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
462 regulator-name = "vreg_l1i";
463 regulator-min-microvolt = <1800000>;
464 regulator-max-microvolt = <1800000>;
465 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
469 regulator-name = "vreg_l2i";
470 regulator-min-microvolt = <1200000>;
471 regulator-max-microvolt = <1200000>;
472 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
476 regulator-name = "vreg_l3i";
477 regulator-min-microvolt = <880000>;
478 regulator-max-microvolt = <920000>;
479 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
483 regulators-7 {
484 compatible = "qcom,pm8550ve-rpmh-regulators";
485 qcom,pmic-id = "j";
487 vdd-l1-supply = <&vreg_s1f>;
488 vdd-l2-supply = <&vreg_s5j>;
489 vdd-l3-supply = <&vreg_s1f>;
490 vdd-s5-supply = <&vph_pwr>;
493 regulator-name = "vreg_s5j";
494 regulator-min-microvolt = <1256000>;
495 regulator-max-microvolt = <1304000>;
496 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
500 regulator-name = "vreg_l1j";
501 regulator-min-microvolt = <912000>;
502 regulator-max-microvolt = <920000>;
503 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
507 regulator-name = "vreg_l2j";
508 regulator-min-microvolt = <1256000>;
509 regulator-max-microvolt = <1256000>;
510 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
514 regulator-name = "vreg_l3j";
515 regulator-min-microvolt = <880000>;
516 regulator-max-microvolt = <920000>;
517 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
525 zap-shader {
526 memory-region = <&gpu_microcode_mem>;
527 firmware-name = "qcom/x1e80100/microsoft/qcdxkmsuc8380.mbn";
532 clock-frequency = <100000>;
540 clock-frequency = <400000>;
548 clock-frequency = <400000>;
556 clock-frequency = <400000>;
564 clock-frequency = <400000>;
572 &mdss {
577 compatible = "qcom,x1e80100-dp";
578 /delete-property/ #sound-dai-cells;
582 aux-bus {
584 compatible = "edp-panel";
587 power-supply = <&vreg_edp_3p3>;
591 remote-endpoint = <&mdss_dp3_out>;
602 data-lanes = <0 1 2 3>;
603 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
605 remote-endpoint = <&edp_panel_in>;
612 vdda-phy-supply = <&vreg_l3j>;
613 vdda-pll-supply = <&vreg_l2j>;
623 vdda-phy-supply = <&vreg_l3i>;
624 vdda-pll-supply = <&vreg_l3e>;
630 perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
631 wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>;
633 vddpe-3v3-supply = <&vreg_nvme>;
635 pinctrl-0 = <&pcie6a_default>;
636 pinctrl-names = "default";
642 vdda-phy-supply = <&vreg_l1d>;
643 vdda-pll-supply = <&vreg_l2j>;
649 edp_bl_en: edp-bl-en-state {
652 power-source = <1>; /* 1.8V */
653 input-disable;
654 output-enable;
663 edp_bl_pwm: edp-bl-pwm-state {
682 firmware-name = "qcom/x1e80100/microsoft/Romulus/qcadsp8380.mbn",
683 "qcom/x1e80100/microsoft/Romulus/adsp_dtb.mbn";
689 firmware-name = "qcom/x1e80100/microsoft/Romulus/qccdsp8380.mbn",
690 "qcom/x1e80100/microsoft/Romulus/cdsp_dtb.mbn";
696 vdd18-supply = <&vreg_l3d>;
697 vdd3-supply = <&vreg_l2b>;
701 vdd18-supply = <&vreg_l3d>;
702 vdd3-supply = <&vreg_l14b>;
706 gpio-reserved-ranges = <44 4>, /* SPI (TPM) */
709 nvme_reg_en: nvme-reg-en-state {
712 drive-strength = <2>;
713 bias-disable;
716 edp_reg_en: edp-reg-en-state {
719 drive-strength = <16>;
720 bias-disable;
723 ssam_state: ssam-state-state {
726 bias-disable;
729 pcie6a_default: pcie6a-default-state {
730 perst-n-pins {
733 drive-strength = <2>;
734 bias-disable;
737 clkreq-n-pins {
740 drive-strength = <2>;
741 bias-pull-up;
744 wake-n-pins {
747 drive-strength = <2>;
748 bias-pull-up;
752 cam_indicator_en: cam-indicator-en-state {
755 drive-strength = <2>;
756 bias-disable;
763 embedded-controller {
764 compatible = "microsoft,surface-sam";
766 interrupts-extended = <&tlmm 91 IRQ_TYPE_EDGE_RISING>;
768 current-speed = <4000000>;
770 pinctrl-0 = <&ssam_state>;
771 pinctrl-names = "default";
776 vdd-supply = <&vreg_l3j>;
777 vdda12-supply = <&vreg_l2j>;
785 vdda-phy-supply = <&vreg_l3e>;
786 vdda-pll-supply = <&vreg_l1j>;
800 remote-endpoint = <&pmic_glink_ss0_hs_in>;
804 remote-endpoint = <&pmic_glink_ss0_ss_in>;
808 vdd-supply = <&vreg_l3j>;
809 vdda12-supply = <&vreg_l2j>;
817 vdda-phy-supply = <&vreg_l3e>;
818 vdda-pll-supply = <&vreg_l2d>;
832 remote-endpoint = <&pmic_glink_ss1_hs_in>;
836 remote-endpoint = <&pmic_glink_ss1_ss_in>;