Lines Matching +full:vdda +full:- +full:supply
1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2020-2023, Linaro Limited
7 /dts-v1/;
9 #include <dt-bindings/firmware/qcom,scm.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/gpio-keys.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
15 #include "sc8180x-pmics.dtsi"
19 compatible = "qcom,sc8180x-primus", "qcom,sc8180x";
27 compatible = "pwm-backlight";
29 enable-gpios = <&pmc8180c_gpios 8 GPIO_ACTIVE_HIGH>;
31 pinctrl-names = "default";
32 pinctrl-0 = <&bl_pwm_default>;
36 stdout-path = "serial0:115200n8";
39 gpio-keys {
40 compatible = "gpio-keys";
42 pinctrl-names = "default";
43 pinctrl-0 = <&hall_int_active_state>;
45 lid-switch {
47 linux,input-type = <EV_SW>;
49 wakeup-source;
50 wakeup-event-action = <EV_ACT_DEASSERTED>;
54 pmic-glink {
55 compatible = "qcom,sc8180x-pmic-glink", "qcom,pmic-glink";
57 #address-cells = <1>;
58 #size-cells = <0>;
61 compatible = "usb-c-connector";
63 power-role = "dual";
64 data-role = "dual";
67 #address-cells = <1>;
68 #size-cells = <0>;
74 remote-endpoint = <&usb_prim_dwc3_hs>;
82 remote-endpoint = <&usb_prim_qmpphy_out>;
90 remote-endpoint = <&usbprim_sbu_mux>;
97 compatible = "usb-c-connector";
99 power-role = "dual";
100 data-role = "dual";
103 #address-cells = <1>;
104 #size-cells = <0>;
109 remote-endpoint = <&usb_sec_dwc3_hs>;
117 remote-endpoint = <&usb_sec_qmpphy_out>;
125 remote-endpoint = <&usbsec_sbu_mux>;
132 reserved-memory {
133 rmtfs_mem: rmtfs-region@85500000 {
134 compatible = "qcom,rmtfs-mem";
136 no-map;
138 qcom,client-id = <1>;
142 wlan_mem: wlan-region@8bc00000 {
144 no-map;
147 adsp_mem: adsp-region@96e00000 {
149 no-map;
152 mpss_mem: mpss-region@8d800000 {
154 no-map;
157 gpu_mem: gpu-region@98a00000 {
159 no-map;
162 reserved-region@9a500000 {
164 no-map;
168 vreg_nvme_0p9: nvme-0p9-regulator {
169 compatible = "regulator-fixed";
170 regulator-name = "vreg_nvme_0p9";
172 regulator-min-microvolt = <900000>;
173 regulator-max-microvolt = <900000>;
175 regulator-always-on;
178 vreg_nvme_3p3: nvme-3p3-regulator {
179 compatible = "regulator-fixed";
180 regulator-name = "vreg_nvme_3p3";
182 regulator-min-microvolt = <3300000>;
183 regulator-max-microvolt = <3300000>;
186 enable-active-high;
188 regulator-always-on;
191 vdd_kb_tp_3v3: vdd-kb-tp-3v3-regulator {
192 compatible = "regulator-fixed";
193 regulator-name = "vdd_kb_tp_3v3";
194 regulator-min-microvolt = <3300000>;
195 regulator-max-microvolt = <3300000>;
198 enable-active-high;
200 regulator-always-on;
202 pinctrl-names = "default";
203 pinctrl-0 = <&kb_tp_3v3_en_active_state>;
206 vph_pwr: vph-pwr-regulator {
207 compatible = "regulator-fixed";
208 regulator-name = "vph_pwr";
209 regulator-min-microvolt = <3700000>;
210 regulator-max-microvolt = <3700000>;
213 vreg_s4a_1p8: pm8150-s4 {
214 compatible = "regulator-fixed";
215 regulator-name = "vreg_s4a_1p8";
217 regulator-min-microvolt = <1800000>;
218 regulator-max-microvolt = <1800000>;
220 regulator-always-on;
221 regulator-boot-on;
223 vin-supply = <&vph_pwr>;
226 vreg_usb2_host_en: regulator-usb2-host-en {
227 compatible = "regulator-fixed";
228 regulator-name = "usb2_host_en";
230 regulator-min-microvolt = <5000000>;
231 regulator-max-microvolt = <5000000>;
234 enable-active-high;
236 regulator-always-on;
239 vreg_usb3_host_en: regulator-usb3-host-en {
240 compatible = "regulator-fixed";
241 regulator-name = "usb3_host_en";
243 regulator-min-microvolt = <5000000>;
244 regulator-max-microvolt = <5000000>;
247 enable-active-high;
249 regulator-always-on;
252 usbprim-sbu-mux {
253 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
255 enable-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
256 select-gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>;
258 pinctrl-names = "default";
259 pinctrl-0 = <&usbprim_sbu_default>;
261 mode-switch;
262 orientation-switch;
266 remote-endpoint = <&pmic_glink_con0_sbu>;
271 usbsec-sbu-mux {
272 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
274 enable-gpios = <&tlmm 188 GPIO_ACTIVE_LOW>;
275 select-gpios = <&tlmm 187 GPIO_ACTIVE_HIGH>;
277 pinctrl-names = "default";
278 pinctrl-0 = <&usbsec_sbu_default>;
280 mode-switch;
281 orientation-switch;
285 remote-endpoint = <&pmic_glink_con1_sbu>;
292 regulators-0 {
293 compatible = "qcom,pmc8180-rpmh-regulators";
294 qcom,pmic-id = "a";
296 vdd-s5-supply = <&vph_pwr>;
297 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p0>;
300 regulator-min-microvolt = <2040000>;
301 regulator-max-microvolt = <2100000>;
305 regulator-min-microvolt = <1800000>;
306 regulator-max-microvolt = <1800000>;
307 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
311 regulator-min-microvolt = <1296000>;
312 regulator-max-microvolt = <1304000>;
313 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
317 regulator-min-microvolt = <1800000>;
318 regulator-max-microvolt = <1800000>;
319 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
323 regulators-1 {
324 compatible = "qcom,pmc8180c-rpmh-regulators";
325 qcom,pmic-id = "c";
327 vdd-s6-supply = <&vph_pwr>;
328 vdd-s8-supply = <&vph_pwr>;
329 vdd-l2-l3-supply = <&vreg_s6c_1p35>;
330 vdd-bob-supply = <&vph_pwr>;
333 regulator-min-microvolt = <1350000>;
334 regulator-max-microvolt = <1372000>;
335 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
339 regulator-min-microvolt = <1800000>;
340 regulator-max-microvolt = <1800000>;
341 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
342 regulator-always-on;
346 regulator-min-microvolt = <1200000>;
347 regulator-max-microvolt = <1200000>;
348 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
352 regulator-min-microvolt = <3008000>;
353 regulator-max-microvolt = <3008000>;
354 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
358 regulator-min-microvolt = <3000000>;
359 regulator-max-microvolt = <3312000>;
360 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
364 regulator-min-microvolt = <3296000>;
365 regulator-max-microvolt = <3304000>;
366 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
370 regulator-min-microvolt = <3296000>;
371 regulator-max-microvolt = <3350000>;
372 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
376 regulators-2 {
377 compatible = "qcom,pmc8180-rpmh-regulators";
378 qcom,pmic-id = "e";
380 vdd-s4-supply = <&vph_pwr>;
381 vdd-s5-supply = <&vph_pwr>;
382 vdd-l2-l10-supply = <&vreg_bob>;
383 vdd-l3-l4-l5-l18-supply = <&vreg_s4e_0p98>;
384 vdd-l7-l12-l14-l15-supply = <&vreg_s5e_2p05>;
385 vdd-l13-l16-l17-supply = <&vreg_bob>;
388 regulator-min-microvolt = <992000>;
389 regulator-max-microvolt = <992000>;
390 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
394 regulator-min-microvolt = <2040000>;
395 regulator-max-microvolt = <2040000>;
396 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
400 regulator-min-microvolt = <752000>;
401 regulator-max-microvolt = <752000>;
402 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
406 regulator-min-microvolt = <880000>;
407 regulator-max-microvolt = <880000>;
408 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
412 regulator-min-microvolt = <1800000>;
413 regulator-max-microvolt = <1800000>;
414 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
415 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
417 regulator-allow-set-load;
421 regulator-min-microvolt = <2904000>;
422 regulator-max-microvolt = <2904000>;
423 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
424 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
426 regulator-allow-set-load;
430 regulator-min-microvolt = <1800000>;
431 regulator-max-microvolt = <1800000>;
432 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
436 regulator-min-microvolt = <3072000>;
437 regulator-max-microvolt = <3072000>;
438 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
446 zap-shader {
447 memory-region = <&gpu_mem>;
448 firmware-name = "qcom/sc8180x/qcdxkmsuc8180.mbn";
453 clock-frequency = <100000>;
455 pinctrl-names = "default";
456 pinctrl-0 = <&ts_i2c_active_state>;
461 compatible = "hid-over-i2c";
463 hid-descr-addr = <0x1>;
465 vdd-supply = <&vreg_l4c_3p3>;
466 vddl-supply = <&vreg_l12e>;
468 post-power-on-delay-ms = <20>;
470 interrupts-extended = <&tlmm 122 IRQ_TYPE_LEVEL_LOW>;
472 pinctrl-names = "default";
473 pinctrl-0 = <&ts_active_state>;
478 clock-frequency = <100000>;
480 pinctrl-names = "default";
481 pinctrl-0 = <&aux_i2c_active_state>;
486 compatible = "hid-over-i2c";
488 hid-descr-addr = <0x1>;
490 interrupts-extended = <&tlmm 24 IRQ_TYPE_LEVEL_LOW>;
492 pinctrl-names = "default";
493 pinctrl-0 = <&tp_int_active_state>;
495 vdd-supply = <&vdd_kb_tp_3v3>;
499 compatible = "hid-over-i2c";
501 hid-descr-addr = <0x1>;
502 interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_LOW>;
504 pinctrl-names = "default";
505 pinctrl-0 = <&kb_int_active_state>;
507 vdd-supply = <&vdd_kb_tp_3v3>;
520 data-lanes = <0 1>;
521 remote-endpoint = <&usb_prim_qmpphy_dp_in>;
529 data-lanes = <0 1>;
530 remote-endpoint = <&usb_sec_qmpphy_dp_in>;
534 data-lanes = <0 1 2 3>;
536 pinctrl-names = "default";
537 pinctrl-0 = <&edp_hpd_active>;
541 aux-bus {
543 compatible = "edp-panel";
549 remote-endpoint = <&mdss_edp_out>;
559 remote-endpoint = <&auo_b133han05_in>;
566 perst-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>;
567 wake-gpios = <&tlmm 177 GPIO_ACTIVE_HIGH>;
568 pinctrl-names = "default";
569 pinctrl-0 = <&pcie2_default_state>;
575 vdda-phy-supply = <&vreg_l5e_0p88>;
576 vdda-pll-supply = <&vreg_l3c_1p2>;
602 memory-region = <&adsp_mem>;
603 firmware-name = "qcom/sc8180x/qcadsp8180.mbn";
609 memory-region = <&mpss_mem>;
610 firmware-name = "qcom/sc8180x/qcmpss8180.mbn";
616 compatible = "qcom,geni-debug-uart";
621 pinctrl-names = "default";
622 pinctrl-0 = <&uart13_state>;
627 compatible = "qcom,wcn3998-bt";
629 vddio-supply = <&vreg_s4a_1p8>;
630 vddxo-supply = <&vreg_l7a_1p8>;
631 vddrf-supply = <&vreg_l9a_1p3>;
632 vddch0-supply = <&vreg_l11c_3p3>;
633 max-speed = <3200000>;
638 reset-gpios = <&tlmm 190 GPIO_ACTIVE_LOW>;
640 vcc-supply = <&vreg_l10e_2p9>;
641 vcc-max-microamp = <155000>;
643 vccq2-supply = <&vreg_l7e_1p8>;
644 vccq2-max-microamp = <425000>;
650 vdda-phy-supply = <&vreg_l5e_0p88>;
651 vdda-pll-supply = <&vreg_l3c_1p2>;
661 vdda-pll-supply = <&vreg_l5e_0p88>;
662 vdda18-supply = <&vreg_l12a_1p8>;
663 vdda33-supply = <&vreg_l16e_3p0>;
669 vdda-pll-supply = <&vreg_l5e_0p88>;
670 vdda18-supply = <&vreg_l12a_1p8>;
671 vdda33-supply = <&vreg_l16e_3p0>;
677 vdda-phy-supply = <&vreg_l3c_1p2>;
678 vdda-pll-supply = <&vreg_l5e_0p88>;
684 vdda-phy-supply = <&vreg_l3c_1p2>;
685 vdda-pll-supply = <&vreg_l5e_0p88>;
691 vdda-pll-supply = <&vreg_l5e_0p88>;
692 vdda18-supply = <&vreg_l12a_1p8>;
693 vdda33-supply = <&vreg_l16e_3p0>;
699 vdda-phy-supply = <&vreg_l3c_1p2>;
700 vdda-pll-supply = <&vreg_l5e_0p88>;
702 orientation-switch;
716 remote-endpoint = <&pmic_glink_con0_hs>;
720 remote-endpoint = <&mdss_dp0_out>;
724 remote-endpoint = <&pmic_glink_con0_ss>;
728 vdda-pll-supply = <&vreg_l5e_0p88>;
729 vdda18-supply = <&vreg_l12a_1p8>;
730 vdda33-supply = <&vreg_l16e_3p0>;
736 vdda-phy-supply = <&vreg_l3c_1p2>;
737 vdda-pll-supply = <&vreg_l5e_0p88>;
739 orientation-switch;
745 remote-endpoint = <&mdss_dp1_out>;
749 remote-endpoint = <&pmic_glink_con1_ss>;
761 remote-endpoint = <&pmic_glink_con1_hs>;
765 memory-region = <&wlan_mem>;
767 vdd-0.8-cx-mx-supply = <&vreg_l1e_0p75>;
768 vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
769 vdd-1.3-rfa-supply = <&vreg_l9a_1p3>;
770 vdd-3.3-ch0-supply = <&vreg_l11c_3p3>;
771 vdd-3.3-ch1-supply = <&vreg_l10c_3p3>;
777 clock-frequency = <38400000>;
783 bl_pwm_default: bl-pwm-default-state {
784 en-pins {
789 pwm-pins {
797 gpio-reserved-ranges = <0 4>, <47 4>, <126 4>;
799 aux_i2c_active_state: aux-i2c-active-state {
803 bias-disable;
804 drive-strength = <16>;
807 edp_hpd_active: epd-hpd-active-state {
812 hall_int_active_state: hall-int-active-state {
816 bias-disable;
819 kb_int_active_state: kb-int-active-state {
820 int-n-pins {
824 bias-pull-up;
827 kp-disable-pins {
831 output-high;
835 kb_tp_3v3_en_active_state: kb-tp-3v3-en-active-state {
839 bias-disable;
842 pcie2_default_state: pcie2-default-state {
843 clkreq-pins {
846 bias-pull-up;
849 reset-n-pins {
853 drive-strength = <2>;
854 output-low;
855 bias-pull-down;
858 wake-n-pins {
862 drive-strength = <2>;
863 bias-pull-up;
867 usbprim_sbu_default: usbprim-sbu-state {
868 oe-n-pins {
871 bias-disable;
872 drive-strength = <16>;
873 output-high;
876 sel-pins {
879 bias-disable;
880 drive-strength = <16>;
884 usbsec_sbu_default: usbsec-sbu-state {
885 oe-n-pins {
888 bias-disable;
889 drive-strength = <16>;
890 output-high;
893 sel-pins {
896 bias-disable;
897 drive-strength = <16>;
901 tp_int_active_state: tp-int-active-state {
902 tp-int-pins {
906 bias-disable;
909 tp-close-n-pins {
913 bias-disable;
917 ts_active_state: ts-active-state {
918 int-n-pins {
922 bias-disable;
925 reset-n-pins {
929 output-high;
933 ts_i2c_active_state: ts-i2c-active-state {
938 bias-disable;
939 drive-strength = <2>;
942 uart13_state: uart13-state {
943 cts-pins {
946 bias-pull-down;
949 rts-tx-pins {
952 drive-strength = <2>;
953 bias-disable;
956 rx-pins {
959 bias-pull-up;