Lines Matching +full:3 +full:- +full:ch1 +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/gpio/gpio.h>
10 #include <dt-bindings/input/gpio-keys.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
14 #include "sc8180x-pmics.dtsi"
18 compatible = "qcom,sc8180x-primus", "qcom,sc8180x";
26 compatible = "pwm-backlight";
28 enable-gpios = <&pmc8180c_gpios 8 GPIO_ACTIVE_HIGH>;
30 pinctrl-names = "default";
31 pinctrl-0 = <&bl_pwm_default>;
35 stdout-path = "serial0:115200n8";
38 gpio-keys {
39 compatible = "gpio-keys";
41 pinctrl-names = "default";
42 pinctrl-0 = <&hall_int_active_state>;
44 lid-switch {
46 linux,input-type = <EV_SW>;
48 wakeup-source;
49 wakeup-event-action = <EV_ACT_DEASSERTED>;
53 pmic-glink {
54 compatible = "qcom,sc8180x-pmic-glink", "qcom,pmic-glink";
56 #address-cells = <1>;
57 #size-cells = <0>;
60 compatible = "usb-c-connector";
62 power-role = "dual";
63 data-role = "dual";
66 #address-cells = <1>;
67 #size-cells = <0>;
73 remote-endpoint = <&usb_prim_role_switch>;
81 remote-endpoint = <&usb_prim_qmpphy_out>;
89 remote-endpoint = <&usbprim_sbu_mux>;
96 compatible = "usb-c-connector";
98 power-role = "dual";
99 data-role = "dual";
102 #address-cells = <1>;
103 #size-cells = <0>;
108 remote-endpoint = <&usb_sec_role_switch>;
116 remote-endpoint = <&usb_sec_qmpphy_out>;
124 remote-endpoint = <&usbsec_sbu_mux>;
131 reserved-memory {
132 rmtfs_mem: rmtfs-region@85500000 {
133 compatible = "qcom,rmtfs-mem";
135 no-map;
137 qcom,client-id = <1>;
141 wlan_mem: wlan-region@8bc00000 {
143 no-map;
146 adsp_mem: adsp-region@96e00000 {
148 no-map;
151 mpss_mem: mpss-region@8d800000 {
153 no-map;
156 gpu_mem: gpu-region@98a00000 {
158 no-map;
161 reserved-region@9a500000 {
163 no-map;
167 vreg_nvme_0p9: nvme-0p9-regulator {
168 compatible = "regulator-fixed";
169 regulator-name = "vreg_nvme_0p9";
171 regulator-min-microvolt = <900000>;
172 regulator-max-microvolt = <900000>;
174 regulator-always-on;
177 vreg_nvme_3p3: nvme-3p3-regulator {
178 compatible = "regulator-fixed";
179 regulator-name = "vreg_nvme_3p3";
181 regulator-min-microvolt = <3300000>;
182 regulator-max-microvolt = <3300000>;
185 enable-active-high;
187 regulator-always-on;
190 vdd_kb_tp_3v3: vdd-kb-tp-3v3-regulator {
191 compatible = "regulator-fixed";
192 regulator-name = "vdd_kb_tp_3v3";
193 regulator-min-microvolt = <3300000>;
194 regulator-max-microvolt = <3300000>;
197 enable-active-high;
199 regulator-always-on;
201 pinctrl-names = "default";
202 pinctrl-0 = <&kb_tp_3v3_en_active_state>;
205 vph_pwr: vph-pwr-regulator {
206 compatible = "regulator-fixed";
207 regulator-name = "vph_pwr";
208 regulator-min-microvolt = <3700000>;
209 regulator-max-microvolt = <3700000>;
212 vreg_s4a_1p8: pm8150-s4 {
213 compatible = "regulator-fixed";
214 regulator-name = "vreg_s4a_1p8";
216 regulator-min-microvolt = <1800000>;
217 regulator-max-microvolt = <1800000>;
219 regulator-always-on;
220 regulator-boot-on;
222 vin-supply = <&vph_pwr>;
225 usbprim-sbu-mux {
226 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
228 enable-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
229 select-gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>;
231 pinctrl-names = "default";
232 pinctrl-0 = <&usbprim_sbu_default>;
234 mode-switch;
235 orientation-switch;
239 remote-endpoint = <&pmic_glink_con0_sbu>;
244 usbsec-sbu-mux {
245 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
247 enable-gpios = <&tlmm 188 GPIO_ACTIVE_LOW>;
248 select-gpios = <&tlmm 187 GPIO_ACTIVE_HIGH>;
250 pinctrl-names = "default";
251 pinctrl-0 = <&usbsec_sbu_default>;
253 mode-switch;
254 orientation-switch;
258 remote-endpoint = <&pmic_glink_con1_sbu>;
265 regulators-0 {
266 compatible = "qcom,pmc8180-rpmh-regulators";
267 qcom,pmic-id = "a";
269 vdd-s5-supply = <&vph_pwr>;
270 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p0>;
273 regulator-min-microvolt = <2040000>;
274 regulator-max-microvolt = <2100000>;
278 regulator-min-microvolt = <1800000>;
279 regulator-max-microvolt = <1800000>;
280 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
284 regulator-min-microvolt = <1296000>;
285 regulator-max-microvolt = <1304000>;
286 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
290 regulator-min-microvolt = <1800000>;
291 regulator-max-microvolt = <1800000>;
292 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
296 regulators-1 {
297 compatible = "qcom,pmc8180c-rpmh-regulators";
298 qcom,pmic-id = "c";
300 vdd-s6-supply = <&vph_pwr>;
301 vdd-s8-supply = <&vph_pwr>;
302 vdd-l2-l3-supply = <&vreg_s6c_1p35>;
303 vdd-bob-supply = <&vph_pwr>;
306 regulator-min-microvolt = <1350000>;
307 regulator-max-microvolt = <1372000>;
308 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
312 regulator-min-microvolt = <1800000>;
313 regulator-max-microvolt = <1800000>;
314 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
315 regulator-always-on;
319 regulator-min-microvolt = <1200000>;
320 regulator-max-microvolt = <1200000>;
321 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
325 regulator-min-microvolt = <3008000>;
326 regulator-max-microvolt = <3008000>;
327 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
331 regulator-min-microvolt = <3000000>;
332 regulator-max-microvolt = <3312000>;
333 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
337 regulator-min-microvolt = <3296000>;
338 regulator-max-microvolt = <3304000>;
339 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
343 regulator-min-microvolt = <3296000>;
344 regulator-max-microvolt = <3350000>;
345 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
349 regulators-2 {
350 compatible = "qcom,pmc8180-rpmh-regulators";
351 qcom,pmic-id = "e";
353 vdd-s4-supply = <&vph_pwr>;
354 vdd-s5-supply = <&vph_pwr>;
355 vdd-l2-l10-supply = <&vreg_bob>;
356 vdd-l3-l4-l5-l18-supply = <&vreg_s4e_0p98>;
357 vdd-l7-l12-l14-l15-supply = <&vreg_s5e_2p05>;
358 vdd-l13-l16-l17-supply = <&vreg_bob>;
361 regulator-min-microvolt = <992000>;
362 regulator-max-microvolt = <992000>;
363 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
367 regulator-min-microvolt = <2040000>;
368 regulator-max-microvolt = <2040000>;
369 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
373 regulator-min-microvolt = <752000>;
374 regulator-max-microvolt = <752000>;
375 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
379 regulator-min-microvolt = <880000>;
380 regulator-max-microvolt = <880000>;
381 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
385 regulator-min-microvolt = <1800000>;
386 regulator-max-microvolt = <1800000>;
387 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
391 regulator-min-microvolt = <2904000>;
392 regulator-max-microvolt = <2904000>;
393 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
397 regulator-min-microvolt = <1800000>;
398 regulator-max-microvolt = <1800000>;
399 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
403 regulator-min-microvolt = <3072000>;
404 regulator-max-microvolt = <3072000>;
405 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
413 zap-shader {
414 memory-region = <&gpu_mem>;
415 firmware-name = "qcom/sc8180x/qcdxkmsuc8180.mbn";
420 clock-frequency = <100000>;
422 pinctrl-names = "default";
423 pinctrl-0 = <&ts_i2c_active_state>;
428 compatible = "hid-over-i2c";
430 hid-descr-addr = <0x1>;
432 vdd-supply = <&vreg_l4c_3p3>;
433 vddl-supply = <&vreg_l12e>;
435 post-power-on-delay-ms = <20>;
437 interrupts-extended = <&tlmm 122 IRQ_TYPE_LEVEL_LOW>;
439 pinctrl-names = "default";
440 pinctrl-0 = <&ts_active_state>;
445 clock-frequency = <100000>;
447 pinctrl-names = "default";
448 pinctrl-0 = <&aux_i2c_active_state>;
453 compatible = "hid-over-i2c";
455 hid-descr-addr = <0x1>;
457 interrupts-extended = <&tlmm 24 IRQ_TYPE_LEVEL_LOW>;
459 pinctrl-names = "default";
460 pinctrl-0 = <&tp_int_active_state>;
462 vdd-supply = <&vdd_kb_tp_3v3>;
465 keyboard@3a {
466 compatible = "hid-over-i2c";
468 hid-descr-addr = <0x1>;
469 interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_LOW>;
471 pinctrl-names = "default";
472 pinctrl-0 = <&kb_int_active_state>;
474 vdd-supply = <&vdd_kb_tp_3v3>;
487 data-lanes = <0 1>;
488 remote-endpoint = <&usb_prim_qmpphy_dp_in>;
496 data-lanes = <0 1>;
497 remote-endpoint = <&usb_sec_qmpphy_dp_in>;
501 data-lanes = <0 1 2 3>;
503 pinctrl-names = "default";
504 pinctrl-0 = <&edp_hpd_active>;
508 aux-bus {
510 compatible = "edp-panel";
516 remote-endpoint = <&mdss_edp_out>;
526 remote-endpoint = <&auo_b133han05_in>;
533 perst-gpio = <&tlmm 175 GPIO_ACTIVE_LOW>;
534 wake-gpio = <&tlmm 177 GPIO_ACTIVE_HIGH>;
535 pinctrl-names = "default";
536 pinctrl-0 = <&pcie2_default_state>;
542 vdda-phy-supply = <&vreg_l5e_0p88>;
543 vdda-pll-supply = <&vreg_l3c_1p2>;
565 memory-region = <&adsp_mem>;
566 firmware-name = "qcom/sc8180x/qcadsp8180.mbn";
572 memory-region = <&mpss_mem>;
573 firmware-name = "qcom/sc8180x/qcmpss8180.mbn";
579 compatible = "qcom,geni-debug-uart";
584 pinctrl-names = "default";
585 pinctrl-0 = <&uart13_state>;
590 compatible = "qcom,wcn3998-bt";
592 vddio-supply = <&vreg_s4a_1p8>;
593 vddxo-supply = <&vreg_l7a_1p8>;
594 vddrf-supply = <&vreg_l9a_1p3>;
595 vddch0-supply = <&vreg_l11c_3p3>;
596 max-speed = <3200000>;
601 reset-gpios = <&tlmm 190 GPIO_ACTIVE_LOW>;
603 vcc-supply = <&vreg_l10e_2p9>;
604 vcc-max-microamp = <155000>;
606 vccq2-supply = <&vreg_l7e_1p8>;
607 vccq2-max-microamp = <425000>;
613 vdda-phy-supply = <&vreg_l5e_0p88>;
614 vdda-pll-supply = <&vreg_l3c_1p2>;
620 vdda-pll-supply = <&vreg_l5e_0p88>;
621 vdda18-supply = <&vreg_l12a_1p8>;
622 vdda33-supply = <&vreg_l16e_3p0>;
628 vdda-phy-supply = <&vreg_l3c_1p2>;
629 vdda-pll-supply = <&vreg_l5e_0p88>;
631 orientation-switch;
645 remote-endpoint = <&mdss_dp0_out>;
649 remote-endpoint = <&pmic_glink_con0_ss>;
653 remote-endpoint = <&pmic_glink_con0_hs>;
657 vdda-pll-supply = <&vreg_l5e_0p88>;
658 vdda18-supply = <&vreg_l12a_1p8>;
659 vdda33-supply = <&vreg_l16e_3p0>;
665 vdda-phy-supply = <&vreg_l3c_1p2>;
666 vdda-pll-supply = <&vreg_l5e_0p88>;
668 orientation-switch;
674 remote-endpoint = <&mdss_dp1_out>;
678 remote-endpoint = <&pmic_glink_con1_ss>;
682 remote-endpoint = <&pmic_glink_con1_hs>;
694 memory-region = <&wlan_mem>;
696 vdd-0.8-cx-mx-supply = <&vreg_l1e_0p75>;
697 vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
698 vdd-1.3-rfa-supply = <&vreg_l9a_1p3>;
699 vdd-3.3-ch0-supply = <&vreg_l11c_3p3>;
700 vdd-3.3-ch1-supply = <&vreg_l10c_3p3>;
706 clock-frequency = <38400000>;
712 bl_pwm_default: bl-pwm-default-state {
713 en-pins {
718 pwm-pins {
726 gpio-reserved-ranges = <0 4>, <47 4>, <126 4>;
728 aux_i2c_active_state: aux-i2c-active-state {
732 bias-disable;
733 drive-strength = <16>;
736 edp_hpd_active: epd-hpd-active-state {
741 hall_int_active_state: hall-int-active-state {
745 bias-disable;
748 kb_int_active_state: kb-int-active-state {
749 int-n-pins {
753 bias-pull-up;
756 kp-disable-pins {
760 output-high;
764 kb_tp_3v3_en_active_state: kb-tp-3v3-en-active-state {
768 bias-disable;
771 pcie2_default_state: pcie2-default-state {
772 clkreq-pins {
775 bias-pull-up;
778 reset-n-pins {
782 drive-strength = <2>;
783 output-low;
784 bias-pull-down;
787 wake-n-pins {
791 drive-strength = <2>;
792 bias-pull-up;
796 usbprim_sbu_default: usbprim-sbu-state {
797 oe-n-pins {
800 bias-disable;
801 drive-strength = <16>;
802 output-high;
805 sel-pins {
808 bias-disable;
809 drive-strength = <16>;
813 usbsec_sbu_default: usbsec-sbu-state {
814 oe-n-pins {
817 bias-disable;
818 drive-strength = <16>;
819 output-high;
822 sel-pins {
825 bias-disable;
826 drive-strength = <16>;
830 tp_int_active_state: tp-int-active-state {
831 tp-int-pins {
835 bias-disable;
838 tp-close-n-pins {
842 bias-disable;
846 ts_active_state: ts-active-state {
847 int-n-pins {
851 bias-disable;
854 reset-n-pins {
858 output-high;
862 ts_i2c_active_state: ts-i2c-active-state {
867 bias-disable;
868 drive-strength = <2>;
871 uart13_state: uart13-state {
872 cts-pins {
875 bias-pull-down;
878 rts-tx-pins {
881 drive-strength = <2>;
882 bias-disable;
885 rx-pins {
888 bias-pull-up;