Lines Matching +full:disable +full:- +full:state
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"
16 #include "sc7280-herobrine-lte-sku.dtsi"
25 max98360a: audio-codec-0 {
27 pinctrl-names = "default";
28 pinctrl-0 = <&_en>;
29 sdmode-gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
30 #sound-dai-cells = <0>;
33 wcd9385: audio-codec-1 {
34 compatible = "qcom,wcd9385-codec";
35 pinctrl-names = "default", "sleep";
36 pinctrl-0 = <&wcd_reset_n>;
37 pinctrl-1 = <&wcd_reset_n_sleep>;
39 reset-gpios = <&tlmm 83 GPIO_ACTIVE_LOW>;
41 qcom,rx-device = <&wcd_rx>;
42 qcom,tx-device = <&wcd_tx>;
44 vdd-rxtx-supply = <&vreg_l18b_1p8>;
45 vdd-io-supply = <&vreg_l18b_1p8>;
46 vdd-buck-supply = <&vreg_l17b_1p8>;
47 vdd-mic-bias-supply = <&vreg_bob>;
49 qcom,micbias1-microvolt = <1800000>;
50 qcom,micbias2-microvolt = <1800000>;
51 qcom,micbias3-microvolt = <1800000>;
52 qcom,micbias4-microvolt = <1800000>;
54 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000
56 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
57 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
58 #sound-dai-cells = <1>;
61 gpio-keys {
62 compatible = "gpio-keys";
63 label = "gpio-keys";
65 pinctrl-names = "default";
66 pinctrl-0 = <&key_vol_up_default>;
68 key-volume-up {
71 linux,input-type = <1>;
73 wakeup-source;
74 debounce-interval = <15>;
75 linux,can-disable;
79 nvme_3v3_regulator: nvme-3v3-regulator {
80 compatible = "regulator-fixed";
81 regulator-name = "VLDO_3V3";
83 regulator-min-microvolt = <3300000>;
84 regulator-max-microvolt = <3300000>;
86 enable-active-high;
87 pinctrl-names = "default";
88 pinctrl-0 = <&nvme_pwren>;
92 compatible = "google,sc7280-herobrine";
93 model = "sc7280-wcd938x-max98360a-1mic";
95 audio-routing =
116 #address-cells = <1>;
117 #size-cells = <0>;
119 dai-link@0 {
120 link-name = "MAX98360A";
124 sound-dai = <&lpass_cpu MI2S_SECONDARY>;
128 sound-dai = <&max98360a>;
132 dai-link@1 {
133 link-name = "DisplayPort";
137 sound-dai = <&lpass_cpu LPASS_DP_RX>;
141 sound-dai = <&mdss_dp>;
145 dai-link@2 {
146 link-name = "WCD9385 Playback";
150 sound-dai = <&lpass_cpu LPASS_CDC_DMA_RX0>;
154 sound-dai = <&wcd9385 0>, <&swr0 0>, <&lpass_rx_macro 0>;
158 dai-link@3 {
159 link-name = "WCD9385 Capture";
163 sound-dai = <&lpass_cpu LPASS_CDC_DMA_TX3>;
167 sound-dai = <&wcd9385 1>, <&swr1 0>, <&lpass_tx_macro 0>;
171 dai-link@4 {
172 link-name = "DMIC";
176 sound-dai = <&lpass_cpu LPASS_CDC_DMA_VA_TX0>;
180 sound-dai = <&lpass_va_macro 0>;
187 regulators-0 {
188 compatible = "qcom,pm7325-rpmh-regulators";
189 qcom,pmic-id = "b";
192 regulator-min-microvolt = <1856000>;
193 regulator-max-microvolt = <2040000>;
197 regulator-min-microvolt = <535000>;
198 regulator-max-microvolt = <1120000>;
202 regulator-min-microvolt = <1256000>;
203 regulator-max-microvolt = <1500000>;
207 regulator-min-microvolt = <825000>;
208 regulator-max-microvolt = <925000>;
212 regulator-min-microvolt = <2700000>;
213 regulator-max-microvolt = <3544000>;
217 regulator-min-microvolt = <1140000>;
218 regulator-max-microvolt = <1260000>;
222 regulator-min-microvolt = <2960000>;
223 regulator-max-microvolt = <2960000>;
227 regulator-min-microvolt = <870000>;
228 regulator-max-microvolt = <970000>;
232 regulator-min-microvolt = <1080000>;
233 regulator-max-microvolt = <1304000>;
237 regulator-min-microvolt = <1504000>;
238 regulator-max-microvolt = <2000000>;
242 regulator-min-microvolt = <751000>;
243 regulator-max-microvolt = <824000>;
247 regulator-min-microvolt = <530000>;
248 regulator-max-microvolt = <824000>;
252 regulator-min-microvolt = <1080000>;
253 regulator-max-microvolt = <1304000>;
257 regulator-min-microvolt = <765000>;
258 regulator-max-microvolt = <1020000>;
262 regulator-min-microvolt = <1100000>;
263 regulator-max-microvolt = <1300000>;
267 regulator-min-microvolt = <1700000>;
268 regulator-max-microvolt = <1900000>;
272 regulator-min-microvolt = <1800000>;
273 regulator-max-microvolt = <2000000>;
277 regulator-min-microvolt = <1800000>;
278 regulator-max-microvolt = <1800000>;
282 regulators-1 {
283 compatible = "qcom,pm8350c-rpmh-regulators";
284 qcom,pmic-id = "c";
287 regulator-min-microvolt = <2190000>;
288 regulator-max-microvolt = <2210000>;
292 regulator-min-microvolt = <1010000>;
293 regulator-max-microvolt = <1170000>;
297 regulator-min-microvolt = <1800000>;
298 regulator-max-microvolt = <1980000>;
302 regulator-min-microvolt = <1620000>;
303 regulator-max-microvolt = <1980000>;
307 regulator-min-microvolt = <2800000>;
308 regulator-max-microvolt = <3540000>;
312 regulator-min-microvolt = <1620000>;
313 regulator-max-microvolt = <3300000>;
317 regulator-min-microvolt = <1620000>;
318 regulator-max-microvolt = <3300000>;
322 regulator-min-microvolt = <1800000>;
323 regulator-max-microvolt = <2950000>;
327 regulator-min-microvolt = <3000000>;
328 regulator-max-microvolt = <3544000>;
332 regulator-min-microvolt = <1620000>;
333 regulator-max-microvolt = <2000000>;
337 regulator-min-microvolt = <2960000>;
338 regulator-max-microvolt = <2960000>;
342 regulator-min-microvolt = <720000>;
343 regulator-max-microvolt = <1050000>;
347 regulator-min-microvolt = <2800000>;
348 regulator-max-microvolt = <3544000>;
352 regulator-min-microvolt = <1650000>;
353 regulator-max-microvolt = <2000000>;
357 regulator-min-microvolt = <2700000>;
358 regulator-max-microvolt = <3544000>;
362 regulator-min-microvolt = <3008000>;
363 regulator-max-microvolt = <3960000>;
379 pinctrl-names = "default";
380 pinctrl-0 = <&mi2s1_data0>, <&mi2s1_sclk>, <&mi2s1_ws>;
382 dai-link@1 {
384 qcom,playback-sd-lines = <0>;
387 dai-link@5 {
391 dai-link@6 {
395 dai-link@19 {
399 dai-link@25 {
414 vdd-micb-supply = <&vreg_bob>;
419 perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
421 vddpe-3v3-supply = <&nvme_3v3_regulator>;
423 pinctrl-names = "default";
424 pinctrl-0 = <&pcie1_reset_n>, <&pcie1_wake_n>;
430 vdda-phy-supply = <&vreg_l10c_0p8>;
431 vdda-pll-supply = <&vreg_l6b_1p2>;
438 qcom,pre-scaling = <1 1>;
443 vcc-supply = <&vreg_l1c_1p8>;
457 non-removable;
458 no-sd;
459 no-sdio;
461 vmmc-supply = <&vreg_l7b_2p9>;
462 vqmmc-supply = <&vreg_l19b_1p8>;
468 pinctrl-0 = <&sdc2_clk>, <&sdc2_cmd>, <&sdc2_data>, <&sd_cd>;
469 pinctrl-1 = <&sdc2_clk_sleep>, <&sdc2_cmd_sleep>, <&sdc2_data_sleep>, <&sd_cd>;
471 vmmc-supply = <&vreg_l9c_2p9>;
472 vqmmc-supply = <&vreg_l6c_2p9>;
474 cd-gpios = <&tlmm 91 GPIO_ACTIVE_LOW>;
483 qcom,rx-port-mapping = <1 2 3 4 5>;
493 qcom,tx-port-mapping = <1 2 3 4>;
498 compatible = "qcom,geni-debug-uart";
503 reset-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>;
504 vcc-supply = <&vreg_l7b_2p9>;
505 vcc-max-microamp = <800000>;
506 vccq-supply = <&vreg_l9b_1p2>;
507 vccq-max-microamp = <900000>;
508 vccq2-supply = <&vreg_l9b_1p2>;
509 vccq2-max-microamp = <900000>;
515 vdda-phy-supply = <&vreg_l10c_0p8>;
516 vdda-pll-supply = <&vreg_l6b_1p2>;
532 vdda-pll-supply = <&vreg_l10c_0p8>;
533 vdda33-supply = <&vreg_l2b_3p0>;
534 vdda18-supply = <&vreg_l1c_1p8>;
535 qcom,hs-rise-fall-time-bp = <0>;
536 qcom,squelch-detector-bp = <(-2090)>;
537 qcom,hs-disconnect-bp = <1743>;
538 qcom,hs-amplitude-bp = <1780>;
539 qcom,hs-crossover-voltage-microvolt = <(-31000)>;
540 qcom,hs-output-impedance-micro-ohms = <2600000>;
546 vdda-phy-supply = <&vreg_l6b_1p2>;
547 vdda-pll-supply = <&vreg_l1b_0p8>;
553 /delete-property/interrupts;
554 interrupts-extended = <&intc GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>,
556 pinctrl-names = "default", "sleep";
557 pinctrl-1 = <&qup_uart7_sleep_cts>, <&qup_uart7_sleep_rts>, <&qup_uart7_sleep_tx>, <&qup_uart7_sleep_rx>;
560 compatible = "qcom,wcn6750-bt";
561 pinctrl-names = "default";
562 pinctrl-0 = <&bt_en>, <&sw_ctrl>;
563 enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>;
564 swctrl-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>;
565 vddaon-supply = <&vreg_s7b_0p9>;
566 vddbtcxmx-supply = <&vreg_s7b_0p9>;
567 vddrfacmn-supply = <&vreg_s7b_0p9>;
568 vddrfa0p8-supply = <&vreg_s7b_0p9>;
569 vddrfa1p7-supply = <&vreg_s1b_1p8>;
570 vddrfa1p2-supply = <&vreg_s8b_1p2>;
571 vddrfa2p2-supply = <&vreg_s1c_2p2>;
572 vddasd-supply = <&vreg_l11c_2p8>;
573 max-speed = <3200000>;
577 /* PINCTRL - additions to nodes defined in sc7280.dtsi */
580 bias-disable;
584 drive-strength = <8>;
585 bias-disable;
589 bias-pull-down;
593 drive-strength = <8>;
594 bias-disable;
598 bias-pull-down;
602 drive-strength = <2>;
603 slew-rate = <1>;
604 bias-disable;
608 drive-strength = <2>;
609 slew-rate = <1>;
610 bias-bus-hold;
614 drive-strength = <2>;
615 slew-rate = <1>;
616 bias-disable;
620 drive-strength = <2>;
621 slew-rate = <1>;
622 bias-bus-hold;
626 drive-strength = <6>;
627 bias-disable;
631 drive-strength = <6>;
632 bias-disable;
636 drive-strength = <6>;
640 key_vol_up_default: key-vol-up-state {
643 input-enable;
644 bias-pull-up;
645 power-source = <0>;
646 qcom,drive-strength = <3>;
651 bias-pull-up;
652 drive-strength = <2>;
656 bias-disable; /* External pullup */
660 bias-pull-down; /* No external pulls or external pulldown */
664 bias-pull-down; /* No external pulls or external pulldown */
668 bias-pull-down; /* No external pulls or external pulldown */
672 drive-strength = <2>;
673 bias-disable;
677 drive-strength = <2>;
678 bias-pull-up;
683 * Configure a bias-bus-hold on CTS to lower power
685 * maintain a low power state regardless of whether
689 bias-bus-hold;
694 drive-strength = <2>;
695 bias-disable;
700 drive-strength = <2>;
701 bias-disable;
706 * Configure a pull-up on RX. This is needed to avoid
708 * in tri-state (module powered off or not driving the
711 bias-pull-up;
715 bias-disable;
716 drive-strength = <16>;
720 bias-pull-up;
721 drive-strength = <10>;
725 bias-pull-up;
726 drive-strength = <10>;
730 bias-pull-down;
734 bias-disable;
735 drive-strength = <16>;
739 bias-pull-up;
740 drive-strength = <10>;
744 bias-pull-up;
745 drive-strength = <10>;
749 amp_en: amp-en-state {
752 bias-pull-down;
753 drive-strength = <2>;
756 bt_en: bt-en-state {
759 output-low;
760 bias-disable;
763 nvme_pwren: nvme-pwren-state {
767 pcie1_reset_n: pcie1-reset-n-state {
771 drive-strength = <16>;
772 output-low;
773 bias-disable;
776 pcie1_wake_n: pcie1-wake-n-state {
780 drive-strength = <2>;
781 bias-pull-up;
784 qup_uart7_sleep_cts: qup-uart7-sleep-cts-state {
788 * Configure a bias-bus-hold on CTS to lower power
790 * maintain a low power state regardless of whether
794 bias-bus-hold;
797 qup_uart7_sleep_rts: qup-uart7-sleep-rts-state {
801 * Configure pull-down on RTS. As RTS is active low
803 * can wakeup the system anytime from suspend state by
806 bias-pull-down;
809 qup_uart7_sleep_tx: qup-uart7-sleep-tx-state {
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-state {
823 * Configure a pull-up on RX. This is needed to avoid
827 bias-pull-up;
830 sd_cd: sd-cd-state {
833 bias-pull-up;
836 sw_ctrl: sw-ctrl-state {
839 bias-pull-down;
842 wcd_reset_n: wcd-reset-n-state {
845 drive-strength = <8>;
848 wcd_reset_n_sleep: wcd-reset-n-sleep-state {
851 drive-strength = <8>;
852 bias-disable;