Lines Matching +full:vdda +full:- +full:phy +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 = "lenovo,flex-5g", "qcom,sc8180x";
26 compatible = "pwm-backlight";
28 enable-gpios = <&pmc8180c_gpios 8 GPIO_ACTIVE_HIGH>;
30 pinctrl-0 = <&bl_pwm_default>;
31 pinctrl-names = "default";
34 gpio-keys {
35 compatible = "gpio-keys";
37 pinctrl-0 = <&hall_int_active_state>;
38 pinctrl-names = "default";
40 lid-switch {
42 linux,input-type = <EV_SW>;
44 wakeup-source;
45 wakeup-event-action = <EV_ACT_DEASSERTED>;
49 pmic-glink {
50 compatible = "qcom,sc8180x-pmic-glink", "qcom,pmic-glink";
52 #address-cells = <1>;
53 #size-cells = <0>;
54 orientation-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>,
58 compatible = "usb-c-connector";
60 power-role = "dual";
61 data-role = "dual";
64 #address-cells = <1>;
65 #size-cells = <0>;
71 remote-endpoint = <&usb_prim_dwc3_hs>;
79 remote-endpoint = <&usb_prim_qmpphy_out>;
87 remote-endpoint = <&usbprim_sbu_mux>;
94 compatible = "usb-c-connector";
96 power-role = "dual";
97 data-role = "dual";
100 #address-cells = <1>;
101 #size-cells = <0>;
106 remote-endpoint = <&usb_sec_dwc3_hs>;
114 remote-endpoint = <&usb_sec_qmpphy_out>;
122 remote-endpoint = <&usbsec_sbu_mux>;
129 reserved-memory {
130 rmtfs_mem: rmtfs-region@85500000 {
131 compatible = "qcom,rmtfs-mem";
133 no-map;
135 qcom,client-id = <1>;
139 wlan_mem: wlan-region@8bc00000 {
141 no-map;
144 mpss_mem: mpss-region@8d800000 {
146 no-map;
149 adsp_mem: adsp-region@90800000 {
151 no-map;
154 gpu_mem: gpu-region@98715000 {
156 no-map;
159 cdsp_mem: cdsp-region@98900000 {
161 no-map;
165 vph_pwr: vph-pwr-regulator {
166 compatible = "regulator-fixed";
167 regulator-name = "vph_pwr";
168 regulator-min-microvolt = <3700000>;
169 regulator-max-microvolt = <3700000>;
172 vreg_s4a_1p8: pm8150-s4-regulator {
173 compatible = "regulator-fixed";
174 regulator-name = "vreg_s4a_1p8";
176 regulator-min-microvolt = <1800000>;
177 regulator-max-microvolt = <1800000>;
179 regulator-always-on;
180 regulator-boot-on;
182 vin-supply = <&vph_pwr>;
185 usbprim-sbu-mux {
186 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
188 enable-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
189 select-gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>;
191 pinctrl-names = "default";
192 pinctrl-0 = <&usbprim_sbu_default>;
194 mode-switch;
195 orientation-switch;
199 remote-endpoint = <&pmic_glink_con0_sbu>;
204 usbsec-sbu-mux {
205 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
207 enable-gpios = <&tlmm 188 GPIO_ACTIVE_LOW>;
208 select-gpios = <&tlmm 187 GPIO_ACTIVE_HIGH>;
210 pinctrl-names = "default";
211 pinctrl-0 = <&usbsec_sbu_default>;
213 mode-switch;
214 orientation-switch;
218 remote-endpoint = <&pmic_glink_con1_sbu>;
225 regulators-0 {
226 compatible = "qcom,pmc8180-rpmh-regulators";
227 qcom,pmic-id = "a";
229 vdd-s5-supply = <&vph_pwr>;
230 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p0>;
233 regulator-min-microvolt = <2040000>;
234 regulator-max-microvolt = <2100000>;
238 regulator-min-microvolt = <1800000>;
239 regulator-max-microvolt = <1800000>;
240 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
244 regulator-min-microvolt = <1296000>;
245 regulator-max-microvolt = <1304000>;
246 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
250 regulator-min-microvolt = <1800000>;
251 regulator-max-microvolt = <1800000>;
252 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
256 regulators-1 {
257 compatible = "qcom,pmc8180c-rpmh-regulators";
258 qcom,pmic-id = "c";
260 vdd-s6-supply = <&vph_pwr>;
261 vdd-l2-l3-supply = <&vreg_s6c_1p35>;
262 vdd-bob-supply = <&vph_pwr>;
265 regulator-min-microvolt = <1350000>;
266 regulator-max-microvolt = <1372000>;
267 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
271 regulator-min-microvolt = <1200000>;
272 regulator-max-microvolt = <1200000>;
273 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
277 regulator-min-microvolt = <3000000>;
278 regulator-max-microvolt = <3312000>;
279 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
283 regulator-min-microvolt = <3296000>;
284 regulator-max-microvolt = <3304000>;
285 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
289 regulator-min-microvolt = <3296000>;
290 regulator-max-microvolt = <3350000>;
291 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
295 regulators-2 {
296 compatible = "qcom,pmc8180-rpmh-regulators";
297 qcom,pmic-id = "e";
299 vdd-s4-supply = <&vph_pwr>;
300 vdd-s5-supply = <&vph_pwr>;
301 vdd-l2-l10-supply = <&vreg_bob>;
302 vdd-l3-l4-l5-l18-supply = <&vreg_s4e_0p98>;
303 vdd-l7-l12-l14-l15-supply = <&vreg_s5e_2p05>;
304 vdd-l13-l16-l17-supply = <&vreg_bob>;
307 regulator-min-microvolt = <992000>;
308 regulator-max-microvolt = <992000>;
309 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
313 regulator-min-microvolt = <2040000>;
314 regulator-max-microvolt = <2040000>;
315 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
319 regulator-min-microvolt = <752000>;
320 regulator-max-microvolt = <752000>;
321 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
325 regulator-min-microvolt = <880000>;
326 regulator-max-microvolt = <880000>;
327 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
331 regulator-min-microvolt = <1800000>;
332 regulator-max-microvolt = <1800000>;
333 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
334 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
336 regulator-allow-set-load;
340 regulator-min-microvolt = <2904000>;
341 regulator-max-microvolt = <2904000>;
342 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
343 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
345 regulator-allow-set-load;
349 regulator-min-microvolt = <3072000>;
350 regulator-max-microvolt = <3072000>;
351 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
359 zap-shader {
360 memory-region = <&gpu_mem>;
361 firmware-name = "qcom/sc8180x/LENOVO/82AK/qcdxkmsuc8180.mbn";
366 clock-frequency = <100000>;
368 pinctrl-0 = <&i2c1_active>;
369 pinctrl-names = "default";
374 compatible = "hid-over-i2c";
376 hid-descr-addr = <0x1>;
378 interrupts-extended = <&tlmm 122 IRQ_TYPE_LEVEL_LOW>;
380 pinctrl-0 = <&ts_int_default>;
381 pinctrl-names = "default";
386 clock-frequency = <1000000>;
388 pinctrl-0 = <&i2c7_active>;
389 pinctrl-names = "default";
394 compatible = "hid-over-i2c";
396 hid-descr-addr = <0x20>;
398 interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_LOW>;
400 pinctrl-0 = <&kb_int_default>;
401 pinctrl-names = "default";
405 compatible = "hid-over-i2c";
407 hid-descr-addr = <0x20>;
409 interrupts-extended = <&tlmm 24 IRQ_TYPE_LEVEL_LOW>;
411 pinctrl-0 = <&tp_int_default>;
412 pinctrl-names = "default";
425 data-lanes = <0 1>;
426 remote-endpoint = <&usb_prim_qmpphy_dp_in>;
434 data-lanes = <0 1>;
435 remote-endpoint = <&usb_sec_qmpphy_dp_in>;
439 data-lanes = <0 1 2 3>;
441 pinctrl-0 = <&edp_hpd_active>;
442 pinctrl-names = "default";
446 aux-bus {
448 compatible = "edp-panel";
449 no-hpd;
455 remote-endpoint = <&mdss_edp_out>;
465 remote-endpoint = <&auo_b140han06_in>;
472 perst-gpios = <&tlmm 178 GPIO_ACTIVE_LOW>;
473 wake-gpios = <&tlmm 180 GPIO_ACTIVE_HIGH>;
474 pinctrl-0 = <&pcie3_default_state>;
475 pinctrl-names = "default";
481 vdda-phy-supply = <&vreg_l5e_0p88>;
482 vdda-pll-supply = <&vreg_l3c_1p2>;
508 memory-region = <&adsp_mem>;
509 firmware-name = "qcom/sc8180x/LENOVO/82AK/qcadsp8180.mbn";
515 memory-region = <&cdsp_mem>;
516 firmware-name = "qcom/sc8180x/LENOVO/82AK/qccdsp8180.mbn";
522 memory-region = <&mpss_mem>;
523 firmware-name = "qcom/sc8180x/LENOVO/82AK/qcmpss8180_nm.mbn";
529 pinctrl-0 = <&uart13_state>;
530 pinctrl-names = "default";
535 compatible = "qcom,wcn3998-bt";
537 vddio-supply = <&vreg_s4a_1p8>;
538 vddxo-supply = <&vreg_l7a_1p8>;
539 vddrf-supply = <&vreg_l9a_1p3>;
540 vddch0-supply = <&vreg_l11c_3p3>;
541 max-speed = <3200000>;
546 reset-gpios = <&tlmm 190 GPIO_ACTIVE_LOW>;
548 vcc-supply = <&vreg_l10e_2p9>;
549 vcc-max-microamp = <155000>;
551 vccq2-supply = <&vreg_l7e_1p8>;
552 vccq2-max-microamp = <425000>;
558 vdda-phy-supply = <&vreg_l5e_0p88>;
559 vdda-pll-supply = <&vreg_l3c_1p2>;
569 vdda-pll-supply = <&vreg_l5e_0p88>;
570 vdda18-supply = <&vreg_l12a_1p8>;
571 vdda33-supply = <&vreg_l16e_3p0>;
577 vdda-pll-supply = <&vreg_l5e_0p88>;
578 vdda18-supply = <&vreg_l12a_1p8>;
579 vdda33-supply = <&vreg_l16e_3p0>;
585 vdda-phy-supply = <&vreg_l3c_1p2>;
586 vdda-pll-supply = <&vreg_l5e_0p88>;
592 vdda-phy-supply = <&vreg_l3c_1p2>;
593 vdda-pll-supply = <&vreg_l5e_0p88>;
599 vdda-pll-supply = <&vreg_l5e_0p88>;
600 vdda18-supply = <&vreg_l12a_1p8>;
601 vdda33-supply = <&vreg_l16e_3p0>;
607 vdda-phy-supply = <&vreg_l3c_1p2>;
608 vdda-pll-supply = <&vreg_l5e_0p88>;
610 orientation-switch;
624 remote-endpoint = <&pmic_glink_con0_hs>;
628 remote-endpoint = <&mdss_dp0_out>;
632 remote-endpoint = <&pmic_glink_con0_ss>;
636 remote-endpoint = <&pmic_glink_con1_hs>;
640 vdda-pll-supply = <&vreg_l5e_0p88>;
641 vdda18-supply = <&vreg_l12a_1p8>;
642 vdda33-supply = <&vreg_l16e_3p0>;
648 vdda-phy-supply = <&vreg_l3c_1p2>;
649 vdda-pll-supply = <&vreg_l5e_0p88>;
651 orientation-switch;
657 remote-endpoint = <&mdss_dp1_out>;
661 remote-endpoint = <&pmic_glink_con1_ss>;
673 memory-region = <&wlan_mem>;
675 vdd-0.8-cx-mx-supply = <&vreg_l1e_0p75>;
676 vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
677 vdd-1.3-rfa-supply = <&vreg_l9a_1p3>;
678 vdd-3.3-ch0-supply = <&vreg_l11c_3p3>;
679 vdd-3.3-ch1-supply = <&vreg_l10c_3p3>;
685 clock-frequency = <38400000>;
691 bl_pwm_default: bl-pwm-default-state {
692 en-pins {
697 pwm-pins {
705 gpio-reserved-ranges = <0 4>, <47 4>, <126 4>;
707 edp_hpd_active: epd-hpd-active-state {
712 hall_int_active_state: hall-int-active-state {
716 bias-disable;
719 i2c1_active: i2c1-active-state {
723 bias-pull-up = <1>;
724 drive-strength = <2>;
727 i2c7_active: i2c7-active-state {
731 bias-pull-up;
732 drive-strength = <2>;
735 kb_int_default: kb-int-default-state {
739 bias-pull-up;
740 drive-strength = <2>;
743 pcie3_default_state: pcie3-default-state {
744 clkreq-pins {
747 bias-pull-up;
750 reset-n-pins {
754 drive-strength = <2>;
755 output-low;
756 bias-pull-down;
759 wake-n-pins {
763 drive-strength = <2>;
764 bias-pull-up;
768 tp_int_default: tp-int-default-state {
772 bias-pull-up;
773 drive-strength = <2>;
776 ts_int_default: ts-int-default-state {
780 bias-pull-up;
781 drive-strength = <2>;
784 usbprim_sbu_default: usbprim-sbu-state {
785 oe-n-pins {
788 bias-disable;
789 drive-strength = <16>;
790 output-high;
793 sel-pins {
796 bias-disable;
797 drive-strength = <16>;
801 usbsec_sbu_default: usbsec-sbu-state {
802 oe-n-pins {
805 bias-disable;
806 drive-strength = <16>;
807 output-high;
810 sel-pins {
813 bias-disable;
814 drive-strength = <16>;
818 uart13_state: uart13-state {
819 cts-pins {
822 bias-pull-down;
825 rts-tx-pins {
828 drive-strength = <2>;
829 bias-disable;
832 rx-pins {
835 bias-pull-up;