Lines Matching +full:te +full:- +full:gpios

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";
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 {
31 gpios = <&pma8084_gpios 2 GPIO_ACTIVE_LOW>;
32 linux,input-type = <1>;
34 debounce-interval = <15>;
37 key-home {
39 gpios = <&pma8084_gpios 3 GPIO_ACTIVE_LOW>;
40 linux,input-type = <1>;
42 wakeup-source;
43 debounce-interval = <15>;
46 key-volume-up {
48 gpios = <&pma8084_gpios 5 GPIO_ACTIVE_LOW>;
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 vreg_vph_pwr: vreg-vph-pwr {
159 compatible = "regulator-fixed";
160 regulator-name = "vph-pwr";
162 regulator-min-microvolt = <3600000>;
163 regulator-max-microvolt = <3600000>;
165 regulator-always-on;
173 compatible = "syna,rmi4-i2c";
176 interrupt-parent = <&pma8084_gpios>;
179 vdd-supply = <&max77826_ldo13>;
180 vio-supply = <&pma8084_lvs2>;
182 pinctrl-names = "default";
183 pinctrl-0 = <&touch_pin>;
185 syna,startup-delay-ms = <100>;
187 #address-cells = <1>;
188 #size-cells = <0>;
190 rmi4-f01@1 {
192 syna,nosleep-mode = <1>;
195 rmi4-f12@12 {
197 syna,sensor-type = <1>;
211 regulator-min-microvolt = <1200000>;
212 regulator-max-microvolt = <1200000>;
216 regulator-min-microvolt = <1000000>;
217 regulator-max-microvolt = <1000000>;
221 regulator-min-microvolt = <1200000>;
222 regulator-max-microvolt = <1200000>;
226 regulator-min-microvolt = <1800000>;
227 regulator-max-microvolt = <1800000>;
231 regulator-min-microvolt = <1800000>;
232 regulator-max-microvolt = <1800000>;
236 regulator-min-microvolt = <1800000>;
237 regulator-max-microvolt = <3300000>;
241 regulator-min-microvolt = <1800000>;
242 regulator-max-microvolt = <1800000>;
246 regulator-min-microvolt = <1800000>;
247 regulator-max-microvolt = <3300000>;
251 regulator-min-microvolt = <1800000>;
252 regulator-max-microvolt = <1800000>;
256 regulator-min-microvolt = <2800000>;
257 regulator-max-microvolt = <2950000>;
261 regulator-min-microvolt = <2700000>;
262 regulator-max-microvolt = <2950000>;
266 regulator-min-microvolt = <2500000>;
267 regulator-max-microvolt = <3300000>;
271 regulator-min-microvolt = <3300000>;
272 regulator-max-microvolt = <3300000>;
276 regulator-min-microvolt = <3300000>;
277 regulator-max-microvolt = <3300000>;
281 regulator-min-microvolt = <1800000>;
282 regulator-max-microvolt = <1800000>;
286 regulator-min-microvolt = <1225000>;
287 regulator-max-microvolt = <1225000>;
291 regulator-min-microvolt = <3400000>;
292 regulator-max-microvolt = <3400000>;
309 maxim,double-soc;
312 interrupt-parent = <&pma8084_gpios>;
315 pinctrl-names = "default";
316 pinctrl-0 = <&fuelgauge_pin>;
323 pinctrl-names = "default", "sleep";
324 pinctrl-0 = <&blsp2_uart2_pins_active>;
325 pinctrl-1 = <&blsp2_uart2_pins_sleep>;
328 compatible = "brcm,bcm43540-bt";
329 max-speed = <3000000>;
330 pinctrl-names = "default";
331 pinctrl-0 = <&bt_pins>;
332 device-wakeup-gpios = <&tlmm 91 GPIO_ACTIVE_HIGH>;
333 shutdown-gpios = <&gpio_expander 9 GPIO_ACTIVE_HIGH>;
334 interrupt-parent = <&tlmm>;
336 interrupt-names = "host-wakeup";
351 vdda-supply = <&pma8084_l2>;
352 vdd-supply = <&pma8084_l22>;
353 vddio-supply = <&pma8084_l12>;
359 pinctrl-names = "default";
360 pinctrl-0 = <&panel_te_pin &panel_rst_pin>;
362 iovdd-supply = <&pma8084_lvs4>;
363 vddr-supply = <&vreg_panel>;
365 reset-gpios = <&pma8084_gpios 17 GPIO_ACTIVE_LOW>;
369 remote-endpoint = <&mdss_dsi0_out>;
376 remote-endpoint = <&panel_in>;
377 data-lanes = <0 1 2 3>;
383 vddio-supply = <&pma8084_l12>;
387 gpio_keys_pin_a: gpio-keys-active-state {
391 bias-pull-up;
392 power-source = <PMA8084_GPIO_S4>;
395 touchkey_pin: touchkey-int-state {
398 bias-disable;
399 input-enable;
400 power-source = <PMA8084_GPIO_S4>;
403 touch_pin: touchscreen-int-state {
406 bias-disable;
407 input-enable;
408 power-source = <PMA8084_GPIO_S4>;
411 panel_en_pin: panel-en-state {
414 bias-pull-up;
415 power-source = <PMA8084_GPIO_S4>;
416 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
419 wlan_sleep_clk_pin: wlan-sleep-clk-state {
423 output-high;
424 power-source = <PMA8084_GPIO_S4>;
425 qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
428 panel_rst_pin: panel-rst-state {
431 bias-disable;
432 power-source = <PMA8084_GPIO_S4>;
433 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
436 fuelgauge_pin: fuelgauge-int-state {
439 bias-disable;
440 input-enable;
441 power-source = <PMA8084_GPIO_S4>;
447 cx-supply = <&pma8084_s2>;
452 cx-supply = <&pma8084_s2>;
453 mss-supply = <&pma8084_s6>;
454 mx-supply = <&pma8084_s1>;
455 pll-supply = <&pma8084_l12>;
459 regulators-0 {
460 compatible = "qcom,rpm-pma8084-regulators";
463 regulator-min-microvolt = <675000>;
464 regulator-max-microvolt = <1050000>;
465 regulator-always-on;
469 regulator-min-microvolt = <500000>;
470 regulator-max-microvolt = <1050000>;
474 regulator-min-microvolt = <1300000>;
475 regulator-max-microvolt = <1300000>;
479 regulator-min-microvolt = <1800000>;
480 regulator-max-microvolt = <1800000>;
484 regulator-min-microvolt = <2150000>;
485 regulator-max-microvolt = <2150000>;
489 regulator-min-microvolt = <1050000>;
490 regulator-max-microvolt = <1050000>;
494 regulator-min-microvolt = <1225000>;
495 regulator-max-microvolt = <1225000>;
499 regulator-min-microvolt = <1200000>;
500 regulator-max-microvolt = <1200000>;
504 regulator-min-microvolt = <1050000>;
505 regulator-max-microvolt = <1200000>;
509 regulator-min-microvolt = <1200000>;
510 regulator-max-microvolt = <1225000>;
514 regulator-min-microvolt = <1800000>;
515 regulator-max-microvolt = <1800000>;
519 regulator-min-microvolt = <1800000>;
520 regulator-max-microvolt = <1800000>;
524 regulator-min-microvolt = <1800000>;
525 regulator-max-microvolt = <1800000>;
529 regulator-min-microvolt = <1800000>;
530 regulator-max-microvolt = <1800000>;
534 regulator-min-microvolt = <1800000>;
535 regulator-max-microvolt = <2950000>;
539 regulator-min-microvolt = <1800000>;
540 regulator-max-microvolt = <2950000>;
544 regulator-min-microvolt = <1300000>;
545 regulator-max-microvolt = <1300000>;
549 regulator-min-microvolt = <1800000>;
550 regulator-max-microvolt = <1800000>;
551 regulator-always-on;
555 regulator-min-microvolt = <1800000>;
556 regulator-max-microvolt = <2950000>;
560 regulator-min-microvolt = <1800000>;
561 regulator-max-microvolt = <1800000>;
565 regulator-min-microvolt = <2050000>;
566 regulator-max-microvolt = <2050000>;
570 regulator-min-microvolt = <2700000>;
571 regulator-max-microvolt = <2700000>;
575 regulator-min-microvolt = <2850000>;
576 regulator-max-microvolt = <2850000>;
580 regulator-min-microvolt = <2850000>;
581 regulator-max-microvolt = <2850000>;
585 regulator-min-microvolt = <3300000>;
586 regulator-max-microvolt = <3300000>;
590 regulator-min-microvolt = <2950000>;
591 regulator-max-microvolt = <2950000>;
592 regulator-system-load = <200000>;
593 regulator-allow-set-load;
597 regulator-min-microvolt = <2950000>;
598 regulator-max-microvolt = <2950000>;
599 regulator-system-load = <200000>;
600 regulator-allow-set-load;
604 regulator-min-microvolt = <3000000>;
605 regulator-max-microvolt = <3300000>;
609 regulator-min-microvolt = <3000000>;
610 regulator-max-microvolt = <3000000>;
614 regulator-min-microvolt = <3075000>;
615 regulator-max-microvolt = <3075000>;
619 regulator-min-microvolt = <2100000>;
620 regulator-max-microvolt = <2100000>;
624 regulator-min-microvolt = <1800000>;
625 regulator-max-microvolt = <2050000>;
629 regulator-min-microvolt = <1000000>;
630 regulator-max-microvolt = <1225000>;
645 vmmc-supply = <&pma8084_l20>;
646 vqmmc-supply = <&pma8084_s4>;
648 pinctrl-names = "default", "sleep";
649 pinctrl-0 = <&sdc1_on>;
650 pinctrl-1 = <&sdc1_off>;
655 max-frequency = <100000000>;
656 vmmc-supply = <&vreg_wlan>;
657 vqmmc-supply = <&pma8084_s4>;
658 non-removable;
660 pinctrl-names = "default", "sleep";
661 pinctrl-0 = <&sdc2_on>;
662 pinctrl-1 = <&sdc2_off>;
666 compatible = "brcm,bcm4329-fmac";
668 interrupt-parent = <&tlmm>;
670 interrupt-names = "host-wake";
672 pinctrl-names = "default";
673 pinctrl-0 = <&wlan_sleep_clk_pin &wifi_pin>;
679 max-frequency = <100000000>;
680 vmmc-supply = <&pma8084_l21>;
681 vqmmc-supply = <&pma8084_l13>;
684 * cd-gpio is intentionally disabled. If enabled, an SD card
686 * cd-gpios the driver resorts to polling, so hotplug works.
688 pinctrl-names = "default";
689 pinctrl-0 = <&sdc3_on /* &sdhc3_cd_pin */>;
690 /* cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>; */
695 blsp2_uart2_pins_active: blsp2-uart2-pins-active-state {
698 drive-strength = <8>;
699 bias-disable;
702 blsp2_uart2_pins_sleep: blsp2-uart2-pins-sleep-state {
705 drive-strength = <2>;
706 bias-pull-down;
709 bt_pins: bt-pins-state {
710 hostwake-pins {
713 drive-strength = <16>;
716 devwake-pins {
719 drive-strength = <2>;
723 sdc1_on: sdhc1-on-state {
724 clk-pins {
726 drive-strength = <4>;
727 bias-disable;
730 cmd-data-pins {
732 drive-strength = <4>;
733 bias-pull-up;
737 sdc3_on: sdc3-on-state {
740 drive-strength = <8>;
741 bias-disable;
744 sdhc3_cd_pin: sdc3-cd-on-state {
748 drive-strength = <2>;
749 bias-disable;
752 sdc2_on: sdhc2-on-state {
753 clk-pins {
755 drive-strength = <6>;
756 bias-disable;
759 cmd-data-pins {
761 drive-strength = <6>;
762 bias-pull-up;
766 i2c_touchkey_pins: i2c-touchkey-state {
769 bias-pull-up;
772 i2c_led_gpioex_pins: i2c-led-gpioex-state {
775 bias-pull-down;
778 gpioex_pin: gpioex-state {
781 bias-pull-up;
782 drive-strength = <2>;
785 wifi_pin: wifi-state {
788 bias-pull-down;
791 panel_te_pin: panel-state {
794 drive-strength = <2>;
795 bias-disable;
803 phy-select = <&tcsr 0xb000 0>;
805 hnp-disable;
806 srp-disable;
807 adp-disable;
813 v1p8-supply = <&pma8084_l6>;
814 v3p3-supply = <&pma8084_l24>;
816 qcom,init-seq = /bits/ 8 <0x1 0x64>;