Lines Matching +full:sdc2 +full:- +full:cd +full:- +full:state
1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro.dtsi"
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
6 #include <dt-bindings/leds/common.h>
11 chassis-type = "handset";
16 mmc1 = &sdhc_3; /* SDC2 SD card slot */
20 stdout-path = "serial0:115200n8";
23 gpio-keys {
24 compatible = "gpio-keys";
26 pinctrl-names = "default";
27 pinctrl-0 = <&gpio_keys_pin_a>;
29 key-volume-down {
32 linux,input-type = <1>;
34 debounce-interval = <15>;
37 key-home {
40 linux,input-type = <1>;
42 wakeup-source;
43 debounce-interval = <15>;
46 key-volume-up {
49 linux,input-type = <1>;
51 debounce-interval = <15>;
55 i2c-gpio-touchkey {
56 compatible = "i2c-gpio";
57 #address-cells = <1>;
58 #size-cells = <0>;
59 sda-gpios = <&tlmm 95 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
60 scl-gpios = <&tlmm 96 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
61 pinctrl-names = "default";
62 pinctrl-0 = <&i2c_touchkey_pins>;
65 compatible = "cypress,tm2-touchkey";
68 interrupt-parent = <&pma8084_gpios>;
70 pinctrl-names = "default";
71 pinctrl-0 = <&touchkey_pin>;
73 vcc-supply = <&max77826_ldo15>;
74 vdd-supply = <&pma8084_l19>;
80 i2c-gpio-led {
81 compatible = "i2c-gpio";
82 #address-cells = <1>;
83 #size-cells = <0>;
84 scl-gpios = <&tlmm 121 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
85 sda-gpios = <&tlmm 120 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
86 pinctrl-names = "default";
87 pinctrl-0 = <&i2c_led_gpioex_pins>;
89 i2c-gpio,delay-us = <2>;
95 gpio-controller;
96 #gpio-cells = <2>;
98 vcc-supply = <&pma8084_s4>;
100 pinctrl-names = "default";
101 pinctrl-0 = <&gpioex_pin>;
103 reset-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
106 led-controller@30 {
110 #address-cells = <1>;
111 #size-cells = <0>;
133 vreg_wlan: wlan-regulator {
134 compatible = "regulator-fixed";
136 regulator-name = "wl-reg";
137 regulator-min-microvolt = <3300000>;
138 regulator-max-microvolt = <3300000>;
141 enable-active-high;
144 vreg_panel: panel-regulator {
145 compatible = "regulator-fixed";
147 pinctrl-names = "default";
148 pinctrl-0 = <&panel_en_pin>;
150 regulator-name = "panel-vddr-reg";
151 regulator-min-microvolt = <1500000>;
152 regulator-max-microvolt = <1500000>;
155 enable-active-high;
158 /delete-node/ vreg-boost;
165 compatible = "syna,rmi4-i2c";
168 interrupt-parent = <&pma8084_gpios>;
171 vdd-supply = <&max77826_ldo13>;
172 vio-supply = <&pma8084_lvs2>;
174 pinctrl-names = "default";
175 pinctrl-0 = <&touch_pin>;
177 syna,startup-delay-ms = <100>;
179 #address-cells = <1>;
180 #size-cells = <0>;
182 rmi4-f01@1 {
184 syna,nosleep-mode = <1>;
187 rmi4-f12@12 {
189 syna,sensor-type = <1>;
203 regulator-min-microvolt = <1200000>;
204 regulator-max-microvolt = <1200000>;
208 regulator-min-microvolt = <1000000>;
209 regulator-max-microvolt = <1000000>;
213 regulator-min-microvolt = <1200000>;
214 regulator-max-microvolt = <1200000>;
218 regulator-min-microvolt = <1800000>;
219 regulator-max-microvolt = <1800000>;
223 regulator-min-microvolt = <1800000>;
224 regulator-max-microvolt = <1800000>;
228 regulator-min-microvolt = <1800000>;
229 regulator-max-microvolt = <3300000>;
233 regulator-min-microvolt = <1800000>;
234 regulator-max-microvolt = <1800000>;
238 regulator-min-microvolt = <1800000>;
239 regulator-max-microvolt = <3300000>;
243 regulator-min-microvolt = <1800000>;
244 regulator-max-microvolt = <1800000>;
248 regulator-min-microvolt = <2800000>;
249 regulator-max-microvolt = <2950000>;
253 regulator-min-microvolt = <2700000>;
254 regulator-max-microvolt = <2950000>;
258 regulator-min-microvolt = <2500000>;
259 regulator-max-microvolt = <3300000>;
263 regulator-min-microvolt = <3300000>;
264 regulator-max-microvolt = <3300000>;
268 regulator-min-microvolt = <3300000>;
269 regulator-max-microvolt = <3300000>;
273 regulator-min-microvolt = <1800000>;
274 regulator-max-microvolt = <1800000>;
278 regulator-min-microvolt = <1225000>;
279 regulator-max-microvolt = <1225000>;
283 regulator-min-microvolt = <3400000>;
284 regulator-max-microvolt = <3400000>;
301 maxim,double-soc;
304 interrupt-parent = <&pma8084_gpios>;
307 pinctrl-names = "default";
308 pinctrl-0 = <&fuelgauge_pin>;
315 pinctrl-names = "default", "sleep";
316 pinctrl-0 = <&blsp2_uart2_pins_active>;
317 pinctrl-1 = <&blsp2_uart2_pins_sleep>;
320 compatible = "brcm,bcm43540-bt";
321 max-speed = <3000000>;
322 pinctrl-names = "default";
323 pinctrl-0 = <&bt_pins>;
324 device-wakeup-gpios = <&tlmm 91 GPIO_ACTIVE_HIGH>;
325 shutdown-gpios = <&gpio_expander 9 GPIO_ACTIVE_HIGH>;
326 interrupt-parent = <&tlmm>;
328 interrupt-names = "host-wakeup";
343 vdda-supply = <&pma8084_l2>;
344 vdd-supply = <&pma8084_l22>;
345 vddio-supply = <&pma8084_l12>;
351 pinctrl-names = "default";
352 pinctrl-0 = <&panel_te_pin &panel_rst_pin>;
354 iovdd-supply = <&pma8084_lvs4>;
355 vddr-supply = <&vreg_panel>;
357 reset-gpios = <&pma8084_gpios 17 GPIO_ACTIVE_LOW>;
358 te-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
362 remote-endpoint = <&mdss_dsi0_out>;
369 remote-endpoint = <&panel_in>;
370 data-lanes = <0 1 2 3>;
376 vddio-supply = <&pma8084_l12>;
380 gpio_keys_pin_a: gpio-keys-active-state {
384 bias-pull-up;
385 power-source = <PMA8084_GPIO_S4>;
388 touchkey_pin: touchkey-int-state {
391 bias-disable;
392 input-enable;
393 power-source = <PMA8084_GPIO_S4>;
396 touch_pin: touchscreen-int-state {
399 bias-disable;
400 input-enable;
401 power-source = <PMA8084_GPIO_S4>;
404 panel_en_pin: panel-en-state {
407 bias-pull-up;
408 power-source = <PMA8084_GPIO_S4>;
409 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
412 wlan_sleep_clk_pin: wlan-sleep-clk-state {
416 output-high;
417 power-source = <PMA8084_GPIO_S4>;
418 qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
421 panel_rst_pin: panel-rst-state {
424 bias-disable;
425 power-source = <PMA8084_GPIO_S4>;
426 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
429 fuelgauge_pin: fuelgauge-int-state {
432 bias-disable;
433 input-enable;
434 power-source = <PMA8084_GPIO_S4>;
440 cx-supply = <&pma8084_s2>;
445 cx-supply = <&pma8084_s2>;
446 mss-supply = <&pma8084_s6>;
447 mx-supply = <&pma8084_s1>;
448 pll-supply = <&pma8084_l12>;
452 regulators-0 {
453 compatible = "qcom,rpm-pma8084-regulators";
456 regulator-min-microvolt = <675000>;
457 regulator-max-microvolt = <1050000>;
458 regulator-always-on;
462 regulator-min-microvolt = <500000>;
463 regulator-max-microvolt = <1050000>;
467 regulator-min-microvolt = <1300000>;
468 regulator-max-microvolt = <1300000>;
472 regulator-min-microvolt = <1800000>;
473 regulator-max-microvolt = <1800000>;
477 regulator-min-microvolt = <2150000>;
478 regulator-max-microvolt = <2150000>;
482 regulator-min-microvolt = <1050000>;
483 regulator-max-microvolt = <1050000>;
487 regulator-min-microvolt = <1225000>;
488 regulator-max-microvolt = <1225000>;
492 regulator-min-microvolt = <1200000>;
493 regulator-max-microvolt = <1200000>;
497 regulator-min-microvolt = <1050000>;
498 regulator-max-microvolt = <1200000>;
502 regulator-min-microvolt = <1200000>;
503 regulator-max-microvolt = <1225000>;
507 regulator-min-microvolt = <1800000>;
508 regulator-max-microvolt = <1800000>;
512 regulator-min-microvolt = <1800000>;
513 regulator-max-microvolt = <1800000>;
517 regulator-min-microvolt = <1800000>;
518 regulator-max-microvolt = <1800000>;
522 regulator-min-microvolt = <1800000>;
523 regulator-max-microvolt = <1800000>;
527 regulator-min-microvolt = <1800000>;
528 regulator-max-microvolt = <2950000>;
532 regulator-min-microvolt = <1800000>;
533 regulator-max-microvolt = <2950000>;
537 regulator-min-microvolt = <1300000>;
538 regulator-max-microvolt = <1300000>;
542 regulator-min-microvolt = <1800000>;
543 regulator-max-microvolt = <1800000>;
544 regulator-always-on;
548 regulator-min-microvolt = <1800000>;
549 regulator-max-microvolt = <2950000>;
553 regulator-min-microvolt = <1800000>;
554 regulator-max-microvolt = <1800000>;
558 regulator-min-microvolt = <2050000>;
559 regulator-max-microvolt = <2050000>;
563 regulator-min-microvolt = <2700000>;
564 regulator-max-microvolt = <2700000>;
568 regulator-min-microvolt = <2850000>;
569 regulator-max-microvolt = <2850000>;
573 regulator-min-microvolt = <2850000>;
574 regulator-max-microvolt = <2850000>;
578 regulator-min-microvolt = <3300000>;
579 regulator-max-microvolt = <3300000>;
583 regulator-min-microvolt = <2950000>;
584 regulator-max-microvolt = <2950000>;
585 regulator-system-load = <200000>;
586 regulator-allow-set-load;
590 regulator-min-microvolt = <2950000>;
591 regulator-max-microvolt = <2950000>;
592 regulator-system-load = <200000>;
593 regulator-allow-set-load;
597 regulator-min-microvolt = <3000000>;
598 regulator-max-microvolt = <3300000>;
602 regulator-min-microvolt = <3000000>;
603 regulator-max-microvolt = <3000000>;
607 regulator-min-microvolt = <3075000>;
608 regulator-max-microvolt = <3075000>;
612 regulator-min-microvolt = <2100000>;
613 regulator-max-microvolt = <2100000>;
617 regulator-min-microvolt = <1800000>;
618 regulator-max-microvolt = <2050000>;
622 regulator-min-microvolt = <1000000>;
623 regulator-max-microvolt = <1225000>;
638 vmmc-supply = <&pma8084_l20>;
639 vqmmc-supply = <&pma8084_s4>;
641 pinctrl-names = "default", "sleep";
642 pinctrl-0 = <&sdc1_on>;
643 pinctrl-1 = <&sdc1_off>;
648 max-frequency = <100000000>;
649 vmmc-supply = <&vreg_wlan>;
650 vqmmc-supply = <&pma8084_s4>;
651 non-removable;
653 pinctrl-names = "default", "sleep";
654 pinctrl-0 = <&sdc2_on>;
655 pinctrl-1 = <&sdc2_off>;
659 compatible = "brcm,bcm4329-fmac";
661 interrupt-parent = <&tlmm>;
663 interrupt-names = "host-wake";
665 pinctrl-names = "default";
666 pinctrl-0 = <&wlan_sleep_clk_pin &wifi_pin>;
672 max-frequency = <100000000>;
673 vmmc-supply = <&pma8084_l21>;
674 vqmmc-supply = <&pma8084_l13>;
677 * cd-gpio is intentionally disabled. If enabled, an SD card
679 * cd-gpios the driver resorts to polling, so hotplug works.
681 pinctrl-names = "default";
682 pinctrl-0 = <&sdc3_on /* &sdhc3_cd_pin */>;
683 /* cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>; */
688 blsp2_uart2_pins_active: blsp2-uart2-pins-active-state {
691 drive-strength = <8>;
692 bias-disable;
695 blsp2_uart2_pins_sleep: blsp2-uart2-pins-sleep-state {
698 drive-strength = <2>;
699 bias-pull-down;
702 bt_pins: bt-pins-state {
703 hostwake-pins {
706 drive-strength = <16>;
709 devwake-pins {
712 drive-strength = <2>;
716 sdc1_on: sdhc1-on-state {
717 clk-pins {
719 drive-strength = <4>;
720 bias-disable;
723 cmd-data-pins {
725 drive-strength = <4>;
726 bias-pull-up;
730 sdc3_on: sdc3-on-state {
733 drive-strength = <8>;
734 bias-disable;
737 sdhc3_cd_pin: sdc3-cd-on-state {
741 drive-strength = <2>;
742 bias-disable;
745 sdc2_on: sdhc2-on-state {
746 clk-pins {
748 drive-strength = <6>;
749 bias-disable;
752 cmd-data-pins {
754 drive-strength = <6>;
755 bias-pull-up;
759 i2c_touchkey_pins: i2c-touchkey-state {
762 bias-pull-up;
765 i2c_led_gpioex_pins: i2c-led-gpioex-state {
768 bias-pull-down;
771 gpioex_pin: gpioex-state {
774 bias-pull-up;
775 drive-strength = <2>;
778 wifi_pin: wifi-state {
781 bias-pull-down;
784 panel_te_pin: panel-state {
787 drive-strength = <2>;
788 bias-disable;
796 phy-select = <&tcsr 0xb000 0>;
798 hnp-disable;
799 srp-disable;
800 adp-disable;
806 v1p8-supply = <&pma8084_l6>;
807 v3p3-supply = <&pma8084_l24>;
809 qcom,init-seq = /bits/ 8 <0x1 0x64>;