Lines Matching +full:bias +full:- +full:pull +full:- +full:up

1 // SPDX-License-Identifier: BSD-3-Clause
8 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
9 #include <dt-bindings/input/linux-event-codes.h>
15 #include "sc7280-chrome-common.dtsi"
23 max98360a: audio-codec-0 {
25 pinctrl-names = "default";
26 pinctrl-0 = <&amp_en>;
27 sdmode-gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
28 #sound-dai-cells = <0>;
31 wcd9385: audio-codec-1 {
32 compatible = "qcom,wcd9385-codec";
33 pinctrl-names = "default", "sleep";
34 pinctrl-0 = <&wcd_reset_n>;
35 pinctrl-1 = <&wcd_reset_n_sleep>;
37 reset-gpios = <&tlmm 83 GPIO_ACTIVE_HIGH>;
39 qcom,rx-device = <&wcd_rx>;
40 qcom,tx-device = <&wcd_tx>;
42 vdd-rxtx-supply = <&vreg_l18b_1p8>;
43 vdd-io-supply = <&vreg_l18b_1p8>;
44 vdd-buck-supply = <&vreg_l17b_1p8>;
45 vdd-mic-bias-supply = <&vreg_bob>;
47 qcom,micbias1-microvolt = <1800000>;
48 qcom,micbias2-microvolt = <1800000>;
49 qcom,micbias3-microvolt = <1800000>;
50 qcom,micbias4-microvolt = <1800000>;
52 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000
54 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
55 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
56 #sound-dai-cells = <1>;
59 gpio-keys {
60 compatible = "gpio-keys";
61 label = "gpio-keys";
63 pinctrl-names = "default";
64 pinctrl-0 = <&key_vol_up_default>;
66 key-volume-up {
69 linux,input-type = <1>;
71 gpio-key,wakeup;
72 debounce-interval = <15>;
73 linux,can-disable;
77 nvme_3v3_regulator: nvme-3v3-regulator {
78 compatible = "regulator-fixed";
79 regulator-name = "VLDO_3V3";
81 regulator-min-microvolt = <3300000>;
82 regulator-max-microvolt = <3300000>;
84 enable-active-high;
85 pinctrl-names = "default";
86 pinctrl-0 = <&nvme_pwren>;
90 compatible = "google,sc7280-herobrine";
91 model = "sc7280-wcd938x-max98360a-1mic";
93 audio-routing =
114 qcom,msm-mbhc-hphl-swh = <1>;
115 qcom,msm-mbhc-gnd-swh = <1>;
117 #address-cells = <1>;
118 #size-cells = <0>;
119 #sound-dai-cells = <0>;
121 dai-link@0 {
122 link-name = "MAX98360A";
126 sound-dai = <&lpass_cpu MI2S_SECONDARY>;
130 sound-dai = <&max98360a>;
134 dai-link@1 {
135 link-name = "DisplayPort";
139 sound-dai = <&lpass_cpu LPASS_DP_RX>;
143 sound-dai = <&mdss_dp>;
147 dai-link@2 {
148 link-name = "WCD9385 Playback";
152 sound-dai = <&lpass_cpu LPASS_CDC_DMA_RX0>;
156 sound-dai = <&wcd9385 0>, <&swr0 0>, <&lpass_rx_macro 0>;
160 dai-link@3 {
161 link-name = "WCD9385 Capture";
165 sound-dai = <&lpass_cpu LPASS_CDC_DMA_TX3>;
169 sound-dai = <&wcd9385 1>, <&swr1 0>, <&lpass_tx_macro 0>;
173 dai-link@4 {
174 link-name = "DMIC";
178 sound-dai = <&lpass_cpu LPASS_CDC_DMA_VA_TX0>;
182 sound-dai = <&lpass_va_macro 0>;
189 pm7325-regulators {
190 compatible = "qcom,pm7325-rpmh-regulators";
191 qcom,pmic-id = "b";
194 regulator-min-microvolt = <1856000>;
195 regulator-max-microvolt = <2040000>;
199 regulator-min-microvolt = <535000>;
200 regulator-max-microvolt = <1120000>;
204 regulator-min-microvolt = <1256000>;
205 regulator-max-microvolt = <1500000>;
209 regulator-min-microvolt = <825000>;
210 regulator-max-microvolt = <925000>;
214 regulator-min-microvolt = <2700000>;
215 regulator-max-microvolt = <3544000>;
219 regulator-min-microvolt = <1140000>;
220 regulator-max-microvolt = <1260000>;
224 regulator-min-microvolt = <2960000>;
225 regulator-max-microvolt = <2960000>;
229 regulator-min-microvolt = <870000>;
230 regulator-max-microvolt = <970000>;
234 regulator-min-microvolt = <1080000>;
235 regulator-max-microvolt = <1304000>;
239 regulator-min-microvolt = <1504000>;
240 regulator-max-microvolt = <2000000>;
244 regulator-min-microvolt = <751000>;
245 regulator-max-microvolt = <824000>;
249 regulator-min-microvolt = <530000>;
250 regulator-max-microvolt = <824000>;
254 regulator-min-microvolt = <1080000>;
255 regulator-max-microvolt = <1304000>;
259 regulator-min-microvolt = <765000>;
260 regulator-max-microvolt = <1020000>;
264 regulator-min-microvolt = <1100000>;
265 regulator-max-microvolt = <1300000>;
269 regulator-min-microvolt = <1700000>;
270 regulator-max-microvolt = <1900000>;
274 regulator-min-microvolt = <1800000>;
275 regulator-max-microvolt = <2000000>;
279 regulator-min-microvolt = <1800000>;
280 regulator-max-microvolt = <1800000>;
284 pm8350c-regulators {
285 compatible = "qcom,pm8350c-rpmh-regulators";
286 qcom,pmic-id = "c";
289 regulator-min-microvolt = <2190000>;
290 regulator-max-microvolt = <2210000>;
294 regulator-min-microvolt = <1010000>;
295 regulator-max-microvolt = <1170000>;
299 regulator-min-microvolt = <1800000>;
300 regulator-max-microvolt = <1980000>;
304 regulator-min-microvolt = <1620000>;
305 regulator-max-microvolt = <1980000>;
309 regulator-min-microvolt = <2800000>;
310 regulator-max-microvolt = <3540000>;
314 regulator-min-microvolt = <1620000>;
315 regulator-max-microvolt = <3300000>;
319 regulator-min-microvolt = <1620000>;
320 regulator-max-microvolt = <3300000>;
324 regulator-min-microvolt = <1800000>;
325 regulator-max-microvolt = <2950000>;
329 regulator-min-microvolt = <3000000>;
330 regulator-max-microvolt = <3544000>;
334 regulator-min-microvolt = <1620000>;
335 regulator-max-microvolt = <2000000>;
339 regulator-min-microvolt = <2960000>;
340 regulator-max-microvolt = <2960000>;
344 regulator-min-microvolt = <720000>;
345 regulator-max-microvolt = <1050000>;
349 regulator-min-microvolt = <2800000>;
350 regulator-max-microvolt = <3544000>;
354 regulator-min-microvolt = <1650000>;
355 regulator-max-microvolt = <2000000>;
359 regulator-min-microvolt = <2700000>;
360 regulator-max-microvolt = <3544000>;
364 regulator-min-microvolt = <3008000>;
365 regulator-max-microvolt = <3960000>;
380 modem-init;
386 pinctrl-names = "default";
387 pinctrl-0 = <&mi2s1_data0>, <&mi2s1_sclk>, <&mi2s1_ws>;
389 dai-link@1 {
391 qcom,playback-sd-lines = <0>;
394 dai-link@5 {
398 dai-link@6 {
402 dai-link@19 {
406 dai-link@25 {
421 vdd-micb-supply = <&vreg_bob>;
426 perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
428 vddpe-3v3-supply = <&nvme_3v3_regulator>;
430 pinctrl-names = "default";
431 pinctrl-0 = <&pcie1_reset_n>, <&pcie1_wake_n>;
437 vdda-phy-supply = <&vreg_l10c_0p8>;
438 vdda-pll-supply = <&vreg_l6b_1p2>;
442 pmk8350-die-temp@3 {
445 qcom,pre-scaling = <1 1>;
450 vcc-supply = <&vreg_l1c_1p8>;
464 non-removable;
465 no-sd;
466 no-sdio;
468 vmmc-supply = <&vreg_l7b_2p9>;
469 vqmmc-supply = <&vreg_l19b_1p8>;
475 pinctrl-0 = <&sdc2_clk>, <&sdc2_cmd>, <&sdc2_data>, <&sd_cd>;
476 pinctrl-1 = <&sdc2_clk_sleep>, <&sdc2_cmd_sleep>, <&sdc2_data_sleep>, <&sd_cd>;
478 vmmc-supply = <&vreg_l9c_2p9>;
479 vqmmc-supply = <&vreg_l6c_2p9>;
481 cd-gpios = <&tlmm 91 GPIO_ACTIVE_LOW>;
490 #sound-dai-cells = <1>;
491 qcom,rx-port-mapping = <1 2 3 4 5>;
501 #sound-dai-cells = <1>;
502 qcom,tx-port-mapping = <1 2 3 4>;
507 compatible = "qcom,geni-debug-uart";
522 vdda-pll-supply = <&vreg_l10c_0p8>;
523 vdda33-supply = <&vreg_l2b_3p0>;
524 vdda18-supply = <&vreg_l1c_1p8>;
530 vdda-phy-supply = <&vreg_l6b_1p2>;
531 vdda-pll-supply = <&vreg_l1b_0p8>;
537 /delete-property/interrupts;
538 interrupts-extended = <&intc GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>,
540 pinctrl-names = "default", "sleep";
541 …pinctrl-1 = <&qup_uart7_sleep_cts>, <&qup_uart7_sleep_rts>, <&qup_uart7_sleep_tx>, <&qup_uart7_sle…
544 compatible = "qcom,wcn6750-bt";
545 pinctrl-names = "default";
546 pinctrl-0 = <&bt_en>, <&sw_ctrl>;
547 enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>;
548 swctrl-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>;
549 vddaon-supply = <&vreg_s7b_0p9>;
550 vddbtcxmx-supply = <&vreg_s7b_0p9>;
551 vddrfacmn-supply = <&vreg_s7b_0p9>;
552 vddrfa0p8-supply = <&vreg_s7b_0p9>;
553 vddrfa1p7-supply = <&vreg_s1b_1p8>;
554 vddrfa1p2-supply = <&vreg_s8b_1p2>;
555 vddrfa2p2-supply = <&vreg_s1c_2p2>;
556 vddasd-supply = <&vreg_l11c_2p8>;
557 max-speed = <3200000>;
561 /* PINCTRL - additions to nodes defined in sc7280.dtsi */
564 bias-disable;
568 drive-strength = <8>;
569 bias-disable;
573 drive-strength = <2>;
577 bias-pull-down;
581 drive-strength = <8>;
582 bias-disable;
586 drive-strength = <2>;
590 bias-pull-down;
594 drive-strength = <2>;
595 slew-rate = <1>;
596 bias-disable;
600 bias-pull-down;
604 drive-strength = <2>;
605 slew-rate = <1>;
606 bias-bus-hold;
610 bias-pull-down;
614 drive-strength = <2>;
615 slew-rate = <1>;
616 bias-disable;
620 bias-pull-down;
624 drive-strength = <2>;
625 slew-rate = <1>;
626 bias-bus-hold;
630 drive-strength = <6>;
631 bias-disable;
635 drive-strength = <6>;
636 bias-disable;
640 drive-strength = <6>;
644 key_vol_up_default: key-vol-up-state {
647 input-enable;
648 bias-pull-up;
649 power-source = <0>;
650 qcom,drive-strength = <3>;
655 bias-pull-up;
656 drive-strength = <2>;
660 bias-disable;
664 bias-disable;
668 /* High-Z when no transfers; nice to park the lines */
669 bias-pull-up;
673 drive-strength = <2>;
674 bias-disable;
678 drive-strength = <2>;
679 bias-pull-up;
684 * Configure a bias-bus-hold on CTS to lower power
690 bias-bus-hold;
694 /* We'll drive RTS, so no pull */
695 drive-strength = <2>;
696 bias-disable;
700 /* We'll drive TX, so no pull */
701 drive-strength = <2>;
702 bias-disable;
707 * Configure a pull-up on RX. This is needed to avoid
709 * in tri-state (module powered off or not driving the
712 bias-pull-up;
716 bias-disable;
717 drive-strength = <16>;
721 bias-pull-up;
722 drive-strength = <10>;
726 bias-pull-up;
727 drive-strength = <10>;
731 bias-pull-down;
735 bias-disable;
736 drive-strength = <16>;
740 bias-pull-up;
741 drive-strength = <10>;
745 bias-pull-up;
746 drive-strength = <10>;
750 amp_en: amp-en {
752 bias-pull-down;
753 drive-strength = <2>;
756 bt_en: bt-en-pins {
759 output-low;
760 bias-disable;
763 nvme_pwren: nvme-pwren-pins {
767 pcie1_reset_n: pcie1-reset-n-pins {
771 drive-strength = <16>;
772 output-low;
773 bias-disable;
776 pcie1_wake_n: pcie1-wake-n-pins {
780 drive-strength = <2>;
781 bias-pull-up;
784 qup_uart7_sleep_cts: qup-uart7-sleep-cts-pins {
788 * Configure a bias-bus-hold on CTS to lower power
794 bias-bus-hold;
797 qup_uart7_sleep_rts: qup-uart7-sleep-rts-pins {
801 * Configure pull-down on RTS. As RTS is active low
802 * signal, pull it low to indicate the BT SoC that it
806 bias-pull-down;
809 qup_uart7_sleep_tx: qup-uart7-sleep-tx-pins {
813 * Configure pull-up on TX when it isn't actively driven
816 bias-pull-up;
819 qup_uart7_sleep_rx: qup-uart7-sleep-rx-pins {
823 * Configure a pull-up on RX. This is needed to avoid
827 bias-pull-up;
830 sd_cd: sd-cd-pins {
833 bias-pull-up;
836 sw_ctrl: sw-ctrl-pins {
839 bias-pull-down;
842 wcd_reset_n: wcd-reset-n {
845 drive-strength = <8>;
848 wcd_reset_n_sleep: wcd-reset-n-sleep {
851 drive-strength = <8>;
852 bias-disable;