Lines Matching +full:regulator +full:- +full:mode
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
23 /delete-node/ &hyp_mem;
24 /delete-node/ &xbl_mem;
25 /delete-node/ &aop_mem;
26 /delete-node/ &sec_apps_mem;
27 /delete-node/ &tz_mem;
35 reserved-memory {
38 no-map;
43 no-map;
48 no-map;
53 no-map;
58 no-map;
63 no-map;
75 stdout-path = "serial0:115200n8";
78 /* FIXED REGULATORS - parents above children */
81 ppvar_sys: ppvar-sys-regulator {
82 compatible = "regulator-fixed";
83 regulator-name = "ppvar_sys";
84 regulator-always-on;
85 regulator-boot-on;
89 src_vph_pwr: src-vph-pwr-regulator {
90 compatible = "regulator-fixed";
91 regulator-name = "src_vph_pwr";
94 regulator-always-on;
95 regulator-boot-on;
97 vin-supply = <&ppvar_sys>;
100 pp5000_a: pp5000-a-regulator {
101 compatible = "regulator-fixed";
102 regulator-name = "pp5000_a";
105 regulator-always-on;
106 regulator-boot-on;
107 regulator-min-microvolt = <5000000>;
108 regulator-max-microvolt = <5000000>;
110 vin-supply = <&ppvar_sys>;
113 pp3300_a: pp3300-a-regulator {
114 compatible = "regulator-fixed";
115 regulator-name = "pp3300_a";
118 regulator-always-on;
119 regulator-boot-on;
120 regulator-min-microvolt = <3300000>;
121 regulator-max-microvolt = <3300000>;
125 * pp3300_a so we use pp3300's vin-supply here to avoid one more
128 vin-supply = <&ppvar_sys>;
132 pp3300_codec: pp3300-codec-regulator {
133 compatible = "regulator-fixed";
134 regulator-name = "pp3300_codec";
136 regulator-min-microvolt = <3300000>;
137 regulator-max-microvolt = <3300000>;
140 enable-active-high;
141 pinctrl-names = "default";
142 pinctrl-0 = <&en_pp3300_codec>;
144 vin-supply = <&pp3300_a>;
148 pp3300_ts: pp3300-dx-edp-regulator {
149 compatible = "regulator-fixed";
150 regulator-name = "pp3300_dx_edp";
152 regulator-min-microvolt = <3300000>;
153 regulator-max-microvolt = <3300000>;
156 enable-active-high;
157 pinctrl-names = "default";
158 pinctrl-0 = <&en_pp3300_dx_edp>;
160 vin-supply = <&pp3300_a>;
163 pp3300_fp_tp: pp3300-fp-tp-regulator {
164 compatible = "regulator-fixed";
165 regulator-name = "pp3300_fp_tp";
167 regulator-min-microvolt = <3300000>;
168 regulator-max-microvolt = <3300000>;
171 regulator-always-on;
172 regulator-boot-on;
174 vin-supply = <&pp3300_a>;
177 /* BOARD-SPECIFIC TOP LEVEL NODES */
180 compatible = "pwm-backlight";
183 enable-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
184 power-supply = <&ppvar_sys>;
185 pinctrl-names = "default";
186 pinctrl-0 = <&ap_edp_bklten>;
189 gpio_keys: gpio-keys {
190 compatible = "gpio-keys";
192 pinctrl-names = "default";
193 pinctrl-0 = <&pen_pdct_l>;
195 pen-insert {
201 linux,input-type = <EV_SW>;
202 wakeup-source;
206 max98357a: audio-codec-0 {
208 pinctrl-names = "default";
209 pinctrl-0 = <&_en>;
210 sdmode-gpios = <&tlmm 23 GPIO_ACTIVE_HIGH>;
211 #sound-dai-cells = <0>;
215 compatible = "pwm-leds";
216 keyboard_backlight: keyboard-backlight {
220 max-brightness = <1023>;
226 vcc-supply = <&pp1800_l11a>;
231 pinctrl-names = "default";
232 pinctrl-0 = <&qspi_clk>, <&qspi_cs0>, <&qspi_data01>;
235 compatible = "jedec,spi-nor";
239 spi-max-frequency = <25000000>;
240 spi-tx-bus-width = <2>;
241 spi-rx-bus-width = <2>;
246 pm6150-rpmh-regulators {
247 compatible = "qcom,pm6150-rpmh-regulators";
248 qcom,pmic-id = "a";
253 regulator-min-microvolt = <1128000>;
254 regulator-max-microvolt = <1128000>;
259 * inputs to other rails on AOP-managed PMICs on trogdor.
274 regulator-min-microvolt = <1200000>;
275 regulator-max-microvolt = <1200000>;
276 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
280 regulator-min-microvolt = <944000>;
281 regulator-max-microvolt = <1056000>;
282 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
286 regulator-min-microvolt = <968000>;
287 regulator-max-microvolt = <1064000>;
288 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
304 regulator-min-microvolt = <824000>;
305 regulator-max-microvolt = <928000>;
306 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
310 regulator-min-microvolt = <2704000>;
311 regulator-max-microvolt = <2704000>;
312 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
322 regulator-min-microvolt = <568000>;
323 regulator-max-microvolt = <648000>;
324 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
329 regulator-min-microvolt = <488000>;
330 regulator-max-microvolt = <800000>;
331 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>;
351 regulator-min-microvolt = <1800000>;
352 regulator-max-microvolt = <1800000>;
353 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
358 regulator-min-microvolt = <1800000>;
359 regulator-max-microvolt = <1800000>;
360 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
364 regulator-min-microvolt = <1800000>;
365 regulator-max-microvolt = <1800000>;
366 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
371 regulator-min-microvolt = <1800000>;
372 regulator-max-microvolt = <1800000>;
373 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
378 regulator-min-microvolt = <1800000>;
379 regulator-max-microvolt = <1800000>;
380 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
384 regulator-min-microvolt = <2496000>;
385 regulator-max-microvolt = <3304000>;
386 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
392 regulator-min-microvolt = <2920000>;
393 regulator-max-microvolt = <3232000>;
394 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
399 regulator-min-microvolt = <1800000>;
400 regulator-max-microvolt = <1800000>;
401 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
406 regulator-min-microvolt = <2960000>;
407 regulator-max-microvolt = <2960000>;
408 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
412 pm6150l-rpmh-regulators {
413 compatible = "qcom,pm6150l-rpmh-regulators";
414 qcom,pmic-id = "c";
417 regulator-min-microvolt = <1120000>;
418 regulator-max-microvolt = <1408000>;
422 regulator-min-microvolt = <1800000>;
423 regulator-max-microvolt = <1800000>;
424 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
429 regulator-min-microvolt = <1168000>;
430 regulator-max-microvolt = <1304000>;
431 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
445 regulator-min-microvolt = <1200000>;
446 regulator-max-microvolt = <1200000>;
447 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
453 regulator-min-microvolt = <1648000>;
454 regulator-max-microvolt = <3304000>;
455 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
460 regulator-min-microvolt = <1800000>;
461 regulator-max-microvolt = <1800000>;
462 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
467 regulator-min-microvolt = <1800000>;
468 regulator-max-microvolt = <3304000>;
469 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
474 regulator-min-microvolt = <3304000>;
475 regulator-max-microvolt = <3304000>;
476 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
477 regulator-always-on;
478 regulator-boot-on;
484 regulator-min-microvolt = <1800000>;
485 regulator-max-microvolt = <1800000>;
486 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
490 regulator-min-microvolt = <2952000>;
491 regulator-max-microvolt = <2952000>;
492 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
496 regulator-min-microvolt = <3000000>;
497 regulator-max-microvolt = <3400000>;
498 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
502 regulator-min-microvolt = <3000000>;
503 regulator-max-microvolt = <3400000>;
504 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
508 regulator-min-microvolt = <3008000>;
509 regulator-max-microvolt = <3960000>;
510 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
518 compatible = "google,cros-ec-spi";
520 interrupt-parent = <&tlmm>;
522 pinctrl-names = "default";
523 pinctrl-0 = <&ap_ec_int_l>;
524 spi-max-frequency = <3000000>;
526 cros_ec_pwm: ec-pwm {
527 compatible = "google,cros-ec-pwm";
528 #pwm-cells = <1>;
531 i2c_tunnel: i2c-tunnel {
532 compatible = "google,cros-ec-i2c-tunnel";
533 google,remote-bus = <0>;
534 #address-cells = <1>;
535 #size-cells = <0>;
539 compatible = "google,cros-ec-pd-update";
543 compatible = "google,cros-ec-typec";
544 #address-cells = <1>;
545 #size-cells = <0>;
548 compatible = "usb-c-connector";
551 power-role = "dual";
552 data-role = "host";
553 try-power-role = "source";
557 compatible = "usb-c-connector";
560 power-role = "dual";
561 data-role = "host";
562 try-power-role = "source";
573 pinctrl-names = "default";
574 pinctrl-0 = <&h1_ap_int_odl>;
575 spi-max-frequency = <800000>;
576 interrupt-parent = <&tlmm>;
583 vdda-supply = <&vdda_mipi_dsi0_1p2>;
588 remote-endpoint = <&sn65dsi86_in>;
589 data-lanes = <0 1 2 3>;
597 vdds-supply = <&vdda_mipi_dsi0_pll>;
602 clock-frequency = <400000>;
607 pinctrl-names = "default";
608 pinctrl-0 = <&edp_brij_en>, <&edp_brij_irq>;
609 gpio-controller;
610 #gpio-cells = <2>;
612 interrupt-parent = <&tlmm>;
615 enable-gpios = <&tlmm 104 GPIO_ACTIVE_HIGH>;
617 vpll-supply = <&pp1800_edp_vpll>;
618 vccio-supply = <&pp1800_brij_vccio>;
619 vcca-supply = <&pp1200_brij>;
620 vcc-supply = <&pp1200_brij>;
623 clock-names = "refclk";
626 #address-cells = <1>;
627 #size-cells = <0>;
632 remote-endpoint = <&dsi0_out>;
639 data-lanes = <0 1>;
640 remote-endpoint = <&panel_in_edp>;
649 clock-frequency = <400000>;
654 #io-channel-cells = <1>;
655 pinctrl-names = "default";
656 pinctrl-0 = <&p_sensor_int_l>;
658 interrupt-parent = <&tlmm>;
661 vdd-supply = <&pp3300_a>;
662 svdd-supply = <&pp1800_prox>;
665 label = "proximity-wifi";
671 clock-frequency = <400000>;
676 pinctrl-names = "default";
677 pinctrl-0 = <&trackpad_int_1v8_odl>;
679 interrupt-parent = <&tlmm>;
682 vcc-supply = <&pp3300_fp_tp>;
684 wakeup-source;
690 clock-frequency = <400000>;
695 pinctrl-names = "default";
696 pinctrl-0 = <&hp_irq>;
698 #sound-dai-cells = <1>;
700 interrupt-parent = <&tlmm>;
707 AVDD-supply = <&pp1800_alc5682>;
708 MICVDD-supply = <&pp3300_codec>;
709 VBAT-supply = <&pp3300_audio>;
711 realtek,dmic1-data-pin = <1>;
712 realtek,dmic1-clk-pin = <1>;
713 realtek,jd-src = <1>;
725 modem-init;
750 compatible = "qcom,sc7180-mss-pil";
752 memory-region = <&mba_mem &mpss_mem>;
755 firmware-name = "qcom/sc7180-trogdor/modem-nolte/mba.mbn",
756 "qcom/sc7180-trogdor/modem-nolte/qdsp6sw.mbn";
762 pinctrl-names = "default", "sleep";
763 pinctrl-0 = <&sdc1_on>;
764 pinctrl-1 = <&sdc1_off>;
765 vmmc-supply = <&mcp_vcc>;
766 vqmmc-supply = <&mcp_vccq>;
770 pinctrl-names = "default", "sleep";
771 pinctrl-0 = <&sdc2_on>;
772 pinctrl-1 = <&sdc2_off>;
773 vmmc-supply = <&pp2950_l9c>;
774 vqmmc-supply = <&ppvar_l6c>;
776 cd-gpios = <&tlmm 69 GPIO_ACTIVE_LOW>;
781 compatible = "google,cros-ec-spi";
783 interrupt-parent = <&tlmm>;
785 pinctrl-names = "default";
786 pinctrl-0 = <&fp_to_ap_irq_l>, <&fp_rst_l>, <&fpmcu_boot0>, <&fpmcu_sel>;
787 spi-max-frequency = <3000000>;
791 #include <arm/cros-ec-keyboard.dtsi>
792 #include <arm/cros-ec-sbs.dtsi>
797 /delete-property/interrupts;
798 interrupts-extended = <&intc GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>,
801 pinctrl-names = "default", "sleep";
802 pinctrl-1 = <&qup_uart3_sleep>;
805 compatible = "qcom,wcn3991-bt";
806 vddio-supply = <&pp1800_l10a>;
807 vddxo-supply = <&pp1800_l1c>;
808 vddrf-supply = <&pp1300_l2c>;
809 vddch0-supply = <&pp3300_l10c>;
810 max-speed = <3200000>;
829 vdd-supply = <&vdd_qusb_hs0_core>;
830 vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
831 vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
832 qcom,imp-res-offset-value = <8>;
833 qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_15_PERCENT>;
834 qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
835 qcom,bias-ctrl-value = <0x22>;
836 qcom,charge-ctrl-value = <3>;
837 qcom,hsdisc-trim-value = <0>;
842 vdda-phy-supply = <&vdda_usb_ss_dp_1p2>;
843 vdda-pll-supply = <&vdda_usb_ss_dp_core>;
847 video-firmware {
854 vdd-0.8-cx-mx-supply = <&vdd_cx_wlan>;
855 vdd-1.8-xo-supply = <&pp1800_l1c>;
856 vdd-1.3-rfa-supply = <&pp1300_l2c>;
857 vdd-3.3-ch0-supply = <&pp3300_l10c>;
858 vdd-3.3-ch1-supply = <&pp3300_l11c>;
860 wifi-firmware {
865 /* PINCTRL - additions to nodes defined in sc7180.dtsi */
870 bias-disable;
877 bias-disable;
885 /* High-Z when no transfers; nice to park the lines */
886 bias-pull-up;
893 drive-strength = <2>;
896 bias-disable;
903 drive-strength = <2>;
906 bias-disable;
913 drive-strength = <2>;
916 bias-disable;
923 drive-strength = <2>;
926 bias-disable;
933 drive-strength = <2>;
936 bias-disable;
943 drive-strength = <2>;
944 bias-disable;
951 drive-strength = <2>;
952 bias-disable;
959 drive-strength = <2>;
960 bias-disable;
965 pinconf-cts {
967 * Configure a pull-down on CTS to match the pull of
971 bias-pull-down;
974 pinconf-rts-tx {
977 drive-strength = <2>;
978 bias-disable;
981 pinconf-rx {
983 * Configure a pull-up on RX. This is needed to avoid
985 * in tri-state (module powered off or not driving the
989 bias-pull-up;
994 pinconf-tx {
996 drive-strength = <2>;
997 bias-disable;
1000 pinconf-rx {
1002 drive-strength = <2>;
1003 bias-pull-up;
1007 /* PINCTRL - board-specific pinctrl */
1014 gpio-line-names = "AP_SUSPEND",
1032 pinctrl-names = "default";
1033 pinctrl-0 = <&bios_flash_wp_l>, <&ap_suspend_l_neuter>;
1035 amp_en: amp-en {
1043 bias-pull-down;
1047 ap_ec_int_l: ap-ec-int-l {
1051 input-enable;
1056 bias-pull-up;
1060 ap_edp_bklten: ap-edp-bklten {
1068 drive-strength = <2>;
1069 bias-disable;
1072 output-low;
1076 ap_suspend_l_neuter: ap-suspend-l-neuter {
1084 bias-disable;
1088 bios_flash_wp_l: bios-flash-wp-l {
1092 input-enable;
1097 bias-disable;
1101 dp_hot_plug_det: dp-hot-plug-det {
1109 bias-disable;
1110 input-enable;
1111 drive-strength = <2>;
1115 edp_brij_en: edp-brij-en {
1123 drive-strength = <2>;
1124 bias-disable;
1128 edp_brij_irq: edp-brij-irq {
1136 drive-strength = <2>;
1137 bias-pull-down;
1141 en_pp3300_codec: en-pp3300-codec {
1149 drive-strength = <2>;
1150 bias-disable;
1154 en_pp3300_dx_edp: en-pp3300-dx-edp {
1162 drive-strength = <2>;
1163 bias-disable;
1167 fpmcu_boot0: fpmcu-boot0 {
1175 bias-disable;
1176 drive-strength = <2>;
1177 output-low;
1181 fpmcu_sel: fpmcu-sel {
1189 bias-disable;
1190 drive-strength = <2>;
1191 output-high;
1195 fp_rst_l: fp-rst-l {
1203 bias-disable;
1204 drive-strength = <2>;
1205 output-high;
1209 fp_to_ap_irq_l: fp-to-ap-irq-l {
1213 input-enable;
1220 bias-disable;
1225 h1_ap_int_odl: h1-ap-int-odl {
1229 input-enable;
1234 bias-pull-up;
1238 hp_irq: hp-irq {
1246 bias-pull-up;
1250 pen_irq_l: pen-irq-l {
1260 bias-disable;
1264 pen_pdct_l: pen-pdct-l {
1274 bias-disable;
1278 pen_rst_odl: pen-rst-odl {
1286 bias-disable;
1287 drive-strength = <2>;
1292 * output-high here we're relying on the fact
1298 * remove "output-high" here.
1300 output-high; /* TODO: Remove this? */
1304 p_sensor_int_l: p-sensor-int-l {
1308 input-enable;
1313 bias-pull-up;
1317 qup_uart3_sleep: qup-uart3-sleep {
1324 pinconf-cts {
1326 * Configure a pull-down on CTS to match the pull of
1330 bias-pull-down;
1333 pinconf-rts {
1335 * Configure pull-down on RTS. As RTS is active low
1341 bias-pull-down;
1344 pinconf-tx {
1346 * Configure pull-up on TX when it isn't actively driven
1350 bias-pull-up;
1353 pinconf-rx {
1355 * Configure a pull-up on RX. This is needed to avoid
1360 bias-pull-up;
1364 trackpad_int_1v8_odl: trackpad-int-1v8-odl {
1374 bias-disable;
1378 ts_int_l: ts-int-l {
1386 bias-pull-up;
1390 ts_reset_l: ts-reset-l {
1398 bias-disable;
1399 drive-strength = <2>;