Lines Matching +full:drive +full:- +full:strength
1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
13 #include "sc8280xp-pmics.dtsi"
17 compatible = "qcom,sc8280xp-crd", "qcom,sc8280xp";
26 compatible = "pwm-backlight";
28 enable-gpios = <&pmc8280_1_gpios 8 GPIO_ACTIVE_HIGH>;
29 power-supply = <&vreg_edp_bl>;
31 pinctrl-names = "default";
32 pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>;
36 stdout-path = "serial0:115200n8";
39 pmic-glink {
40 compatible = "qcom,sc8280xp-pmic-glink", "qcom,pmic-glink";
42 #address-cells = <1>;
43 #size-cells = <0>;
46 compatible = "usb-c-connector";
48 power-role = "dual";
49 data-role = "dual";
52 #address-cells = <1>;
53 #size-cells = <0>;
59 remote-endpoint = <&usb_0_dwc3_hs>;
67 remote-endpoint = <&usb_0_qmpphy_out>;
75 remote-endpoint = <&usb0_sbu_mux>;
82 compatible = "usb-c-connector";
84 power-role = "dual";
85 data-role = "dual";
88 #address-cells = <1>;
89 #size-cells = <0>;
94 remote-endpoint = <&usb_1_dwc3_hs>;
102 remote-endpoint = <&usb_1_qmpphy_out>;
110 remote-endpoint = <&usb1_sbu_mux>;
117 vreg_edp_3p3: regulator-edp-3p3 {
118 compatible = "regulator-fixed";
120 regulator-name = "VREG_EDP_3P3";
121 regulator-min-microvolt = <3300000>;
122 regulator-max-microvolt = <3300000>;
125 enable-active-high;
127 pinctrl-names = "default";
128 pinctrl-0 = <&edp_reg_en>;
130 regulator-boot-on;
133 vreg_edp_bl: regulator-edp-bl {
134 compatible = "regulator-fixed";
136 regulator-name = "VREG_EDP_BL";
137 regulator-min-microvolt = <3600000>;
138 regulator-max-microvolt = <3600000>;
141 enable-active-high;
143 pinctrl-names = "default";
144 pinctrl-0 = <&edp_bl_reg_en>;
146 regulator-boot-on;
149 vreg_nvme: regulator-nvme {
150 compatible = "regulator-fixed";
152 regulator-name = "VREG_NVME_3P3";
153 regulator-min-microvolt = <3300000>;
154 regulator-max-microvolt = <3300000>;
157 enable-active-high;
159 pinctrl-names = "default";
160 pinctrl-0 = <&nvme_reg_en>;
163 vreg_misc_3p3: regulator-misc-3p3 {
164 compatible = "regulator-fixed";
166 regulator-name = "VREG_MISC_3P3";
167 regulator-min-microvolt = <3300000>;
168 regulator-max-microvolt = <3300000>;
171 enable-active-high;
173 pinctrl-names = "default";
174 pinctrl-0 = <&misc_3p3_reg_en>;
176 regulator-boot-on;
177 regulator-always-on;
180 vreg_wlan: regulator-wlan {
181 compatible = "regulator-fixed";
183 regulator-name = "VPH_PWR_WLAN";
184 regulator-min-microvolt = <3900000>;
185 regulator-max-microvolt = <3900000>;
188 enable-active-high;
190 pinctrl-names = "default";
191 pinctrl-0 = <&hastings_reg_en>;
193 regulator-boot-on;
196 vreg_wwan: regulator-wwan {
197 compatible = "regulator-fixed";
199 regulator-name = "SDX_VPH_PWR";
200 regulator-min-microvolt = <3300000>;
201 regulator-max-microvolt = <3300000>;
204 enable-active-high;
206 pinctrl-names = "default";
207 pinctrl-0 = <&wwan_sw_en>;
209 regulator-boot-on;
212 reserved-memory {
213 gpu_mem: gpu-mem@8bf00000 {
215 no-map;
219 compatible = "shared-dma-pool";
222 linux,cma-default;
226 usb0-sbu-mux {
227 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
229 enable-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>;
230 select-gpios = <&tlmm 164 GPIO_ACTIVE_HIGH>;
232 pinctrl-names = "default";
233 pinctrl-0 = <&usb0_sbu_default>;
235 mode-switch;
236 orientation-switch;
240 remote-endpoint = <&pmic_glink_con0_sbu>;
245 usb1-sbu-mux {
246 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
248 enable-gpios = <&tlmm 48 GPIO_ACTIVE_LOW>;
249 select-gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
251 pinctrl-names = "default";
252 pinctrl-0 = <&usb1_sbu_default>;
254 mode-switch;
255 orientation-switch;
259 remote-endpoint = <&pmic_glink_con1_sbu>;
266 regulators-0 {
267 compatible = "qcom,pm8350-rpmh-regulators";
268 qcom,pmic-id = "b";
270 vdd-l3-l5-supply = <&vreg_s11b>;
273 regulator-name = "vreg_s11b";
274 regulator-min-microvolt = <1272000>;
275 regulator-max-microvolt = <1272000>;
276 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
280 regulator-name = "vreg_l3b";
281 regulator-min-microvolt = <1200000>;
282 regulator-max-microvolt = <1200000>;
283 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
284 regulator-boot-on;
288 regulator-name = "vreg_l4b";
289 regulator-min-microvolt = <912000>;
290 regulator-max-microvolt = <912000>;
291 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
295 regulator-name = "vreg_l6b";
296 regulator-min-microvolt = <880000>;
297 regulator-max-microvolt = <880000>;
298 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
299 regulator-boot-on;
303 regulators-1 {
304 compatible = "qcom,pm8350c-rpmh-regulators";
305 qcom,pmic-id = "c";
308 regulator-name = "vreg_l1c";
309 regulator-min-microvolt = <1800000>;
310 regulator-max-microvolt = <1800000>;
311 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
315 regulator-name = "vreg_l6c";
316 regulator-min-microvolt = <1800000>;
317 regulator-max-microvolt = <2960000>;
318 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
322 regulator-name = "vreg_l7c";
323 regulator-min-microvolt = <2504000>;
324 regulator-max-microvolt = <2504000>;
325 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
326 regulator-allow-set-load;
327 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
332 regulator-name = "vreg_l9c";
333 regulator-min-microvolt = <2960000>;
334 regulator-max-microvolt = <2960000>;
335 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
339 regulator-name = "vreg_l13c";
340 regulator-min-microvolt = <3072000>;
341 regulator-max-microvolt = <3072000>;
342 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
346 regulators-2 {
347 compatible = "qcom,pm8350-rpmh-regulators";
348 qcom,pmic-id = "d";
350 vdd-l1-l4-supply = <&vreg_s11b>;
353 regulator-name = "vreg_l3d";
354 regulator-min-microvolt = <1200000>;
355 regulator-max-microvolt = <1200000>;
356 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
357 regulator-allow-set-load;
358 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
363 regulator-name = "vreg_l4d";
364 regulator-min-microvolt = <1200000>;
365 regulator-max-microvolt = <1200000>;
366 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
370 regulator-name = "vreg_l6d";
371 regulator-min-microvolt = <880000>;
372 regulator-max-microvolt = <880000>;
373 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
377 regulator-name = "vreg_l7d";
378 regulator-min-microvolt = <3072000>;
379 regulator-max-microvolt = <3072000>;
380 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
384 regulator-name = "vreg_l9d";
385 regulator-min-microvolt = <912000>;
386 regulator-max-microvolt = <912000>;
387 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
399 zap-shader {
400 memory-region = <&gpu_mem>;
401 firmware-name = "qcom/sc8280xp/qcdxkmsuc8280.mbn";
414 data-lanes = <0 1>;
415 remote-endpoint = <&usb_0_qmpphy_dp_in>;
423 data-lanes = <0 1>;
424 remote-endpoint = <&usb_1_qmpphy_dp_in>;
428 compatible = "qcom,sc8280xp-edp";
429 /delete-property/ #sound-dai-cells;
431 data-lanes = <0 1 2 3>;
435 aux-bus {
437 compatible = "edp-panel";
438 power-supply = <&vreg_edp_3p3>;
444 remote-endpoint = <&mdss0_dp3_out>;
454 remote-endpoint = <&edp_panel_in>;
461 compatible = "qcom,sc8280xp-edp-phy";
463 vdda-phy-supply = <&vreg_l6b>;
464 vdda-pll-supply = <&vreg_l3b>;
470 clock-frequency = <400000>;
472 pinctrl-names = "default";
473 pinctrl-0 = <&i2c4_default>;
478 compatible = "hid-over-i2c";
481 hid-descr-addr = <0x1>;
482 interrupts-extended = <&tlmm 175 IRQ_TYPE_LEVEL_LOW>;
483 vdd-supply = <&vreg_misc_3p3>;
485 pinctrl-names = "default";
486 pinctrl-0 = <&ts0_default>;
491 clock-frequency = <400000>;
493 pinctrl-names = "default";
494 pinctrl-0 = <&i2c21_default>;
499 compatible = "hid-over-i2c";
502 hid-descr-addr = <0x1>;
503 interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>;
504 vdd-supply = <&vreg_misc_3p3>;
506 pinctrl-names = "default";
507 pinctrl-0 = <&tpad_default>;
509 wakeup-source;
513 compatible = "hid-over-i2c";
516 hid-descr-addr = <0x1>;
517 interrupts-extended = <&tlmm 104 IRQ_TYPE_LEVEL_LOW>;
518 vdd-supply = <&vreg_misc_3p3>;
520 pinctrl-names = "default";
521 pinctrl-0 = <&kybd_default>;
523 wakeup-source;
528 perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
529 wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
531 vddpe-3v3-supply = <&vreg_nvme>;
533 pinctrl-names = "default";
534 pinctrl-0 = <&pcie2a_default>;
540 vdda-phy-supply = <&vreg_l6d>;
541 vdda-pll-supply = <&vreg_l4d>;
547 perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
548 wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
550 vddpe-3v3-supply = <&vreg_wwan>;
552 pinctrl-names = "default";
553 pinctrl-0 = <&pcie3a_default>;
559 vdda-phy-supply = <&vreg_l6d>;
560 vdda-pll-supply = <&vreg_l4d>;
566 max-link-speed = <2>;
568 perst-gpios = <&tlmm 141 GPIO_ACTIVE_LOW>;
569 wake-gpios = <&tlmm 139 GPIO_ACTIVE_LOW>;
571 vddpe-3v3-supply = <&vreg_wlan>;
573 pinctrl-names = "default";
574 pinctrl-0 = <&pcie4_default>;
580 vdda-phy-supply = <&vreg_l6d>;
581 vdda-pll-supply = <&vreg_l4d>;
595 nvmem-cells = <&rtc_offset>;
596 nvmem-cell-names = "offset";
604 rtc_offset: rtc-offset@bc {
622 firmware-name = "qcom/sc8280xp/qcadsp8280.mbn";
628 firmware-name = "qcom/sc8280xp/qccdsp8280.mbn";
634 pinctrl-0 = <&sdc2_default_state>;
635 pinctrl-1 = <&sdc2_sleep_state>;
636 pinctrl-names = "default", "sleep";
638 vmmc-supply = <&vreg_l9c>;
639 vqmmc-supply = <&vreg_l6c>;
641 cd-gpios = <&tlmm 131 GPIO_ACTIVE_LOW>;
647 compatible = "qcom,geni-debug-uart";
653 reset-gpios = <&tlmm 228 GPIO_ACTIVE_LOW>;
655 vcc-supply = <&vreg_l7c>;
656 vcc-max-microamp = <800000>;
657 vccq-supply = <&vreg_l3d>;
658 vccq-max-microamp = <900000>;
664 vdda-phy-supply = <&vreg_l6b>;
665 vdda-pll-supply = <&vreg_l3b>;
679 remote-endpoint = <&pmic_glink_con0_hs>;
683 vdda-pll-supply = <&vreg_l9d>;
684 vdda18-supply = <&vreg_l1c>;
685 vdda33-supply = <&vreg_l7d>;
691 vdda-phy-supply = <&vreg_l9d>;
692 vdda-pll-supply = <&vreg_l4d>;
694 orientation-switch;
700 remote-endpoint = <&mdss0_dp0_out>;
704 remote-endpoint = <&pmic_glink_con0_ss>;
716 remote-endpoint = <&pmic_glink_con1_hs>;
720 vdda-pll-supply = <&vreg_l4b>;
721 vdda18-supply = <&vreg_l1c>;
722 vdda33-supply = <&vreg_l13c>;
728 vdda-phy-supply = <&vreg_l4b>;
729 vdda-pll-supply = <&vreg_l3b>;
731 orientation-switch;
737 remote-endpoint = <&mdss0_dp1_out>;
741 remote-endpoint = <&pmic_glink_con1_ss>;
745 clock-frequency = <38400000>;
748 /* PINCTRL - additions to nodes defined in sc8280xp.dtsi */
751 edp_bl_en: edp-bl-en-state {
756 edp_bl_reg_en: edp-bl-reg-en-state {
761 misc_3p3_reg_en: misc-3p3-reg-en-state {
768 wwan_sw_en: wwan-sw-en-state {
775 edp_bl_pwm: edp-bl-pwm-state {
782 hastings_reg_en: hastings-reg-en-state {
789 gpio-reserved-ranges = <74 6>, <83 4>, <125 2>, <128 2>, <154 7>;
791 edp_reg_en: edp-reg-en-state {
794 drive-strength = <16>;
795 bias-disable;
798 i2c4_default: i2c4-default-state {
801 drive-strength = <16>;
802 bias-disable;
805 i2c21_default: i2c21-default-state {
808 drive-strength = <16>;
809 bias-disable;
812 kybd_default: kybd-default-state {
813 disable-pins {
816 output-low;
819 int-n-pins {
822 bias-disable;
825 reset-pins {
828 bias-disable;
832 nvme_reg_en: nvme-reg-en-state {
835 drive-strength = <2>;
836 bias-disable;
839 pcie2a_default: pcie2a-default-state {
840 clkreq-n-pins {
843 drive-strength = <2>;
844 bias-pull-up;
847 perst-n-pins {
850 drive-strength = <2>;
851 bias-disable;
854 wake-n-pins {
857 drive-strength = <2>;
858 bias-pull-up;
862 pcie3a_default: pcie3a-default-state {
863 clkreq-n-pins {
866 drive-strength = <2>;
867 bias-pull-up;
870 perst-n-pins {
873 drive-strength = <2>;
874 bias-disable;
877 wake-n-pins {
880 drive-strength = <2>;
881 bias-pull-up;
885 pcie4_default: pcie4-default-state {
886 clkreq-n-pins {
889 drive-strength = <2>;
890 bias-pull-up;
893 perst-n-pins {
896 drive-strength = <2>;
897 bias-disable;
900 wake-n-pins {
903 drive-strength = <2>;
904 bias-pull-up;
908 sdc2_default_state: sdc2-default-state {
909 clk-pins {
911 drive-strength = <16>;
912 bias-disable;
915 cmd-pins {
917 drive-strength = <16>;
918 bias-pull-up;
921 data-pins {
923 drive-strength = <16>;
924 bias-pull-up;
927 card-detect-pins {
930 drive-strength = <2>;
931 bias-disable;
935 sdc2_sleep_state: sdc2-sleep-state {
936 clk-pins {
938 drive-strength = <2>;
939 bias-disable;
942 cmd-pins {
944 drive-strength = <2>;
945 bias-pull-up;
948 data-pins {
950 drive-strength = <2>;
951 bias-pull-up;
954 card-detect-pins {
957 drive-strength = <2>;
958 bias-disable;
962 tpad_default: tpad-default-state {
963 int-n-pins {
966 bias-disable;
970 ts0_default: ts0-default-state {
971 int-n-pins {
974 bias-disable;
977 reset-n-pins {
980 bias-disable;
984 usb0_sbu_default: usb0-sbu-state {
985 oe-n-pins {
988 bias-disable;
989 drive-strength = <16>;
990 output-high;
993 sel-pins {
996 bias-disable;
997 drive-strength = <16>;
1000 mode-pins {
1003 bias-disable;
1004 drive-strength = <16>;
1005 output-high;
1009 usb1_sbu_default: usb1-sbu-state {
1010 oe-n-pins {
1013 bias-disable;
1014 drive-strength = <16>;
1015 output-high;
1018 sel-pins {
1021 bias-disable;
1022 drive-strength = <16>;
1025 mode-pins {
1028 bias-disable;
1029 drive-strength = <16>;
1030 output-high;