Lines Matching +full:cmd +full:- +full:gpios
1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro.dtsi"
3 #include "qcom-pma8084.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7 #include <dt-bindings/leds/common.h>
20 stdout-path = "serial0:115200n8";
26 pma8084-regulators {
27 compatible = "qcom,rpm-pma8084-regulators";
31 regulator-min-microvolt = <675000>;
32 regulator-max-microvolt = <1050000>;
33 regulator-always-on;
37 regulator-min-microvolt = <500000>;
38 regulator-max-microvolt = <1050000>;
42 regulator-min-microvolt = <1300000>;
43 regulator-max-microvolt = <1300000>;
47 regulator-min-microvolt = <1800000>;
48 regulator-max-microvolt = <1800000>;
52 regulator-min-microvolt = <2150000>;
53 regulator-max-microvolt = <2150000>;
57 regulator-min-microvolt = <1050000>;
58 regulator-max-microvolt = <1050000>;
62 regulator-min-microvolt = <1225000>;
63 regulator-max-microvolt = <1225000>;
67 regulator-min-microvolt = <1200000>;
68 regulator-max-microvolt = <1200000>;
72 regulator-min-microvolt = <1050000>;
73 regulator-max-microvolt = <1200000>;
77 regulator-min-microvolt = <1200000>;
78 regulator-max-microvolt = <1225000>;
82 regulator-min-microvolt = <1800000>;
83 regulator-max-microvolt = <1800000>;
87 regulator-min-microvolt = <1800000>;
88 regulator-max-microvolt = <1800000>;
92 regulator-min-microvolt = <1800000>;
93 regulator-max-microvolt = <1800000>;
97 regulator-min-microvolt = <1800000>;
98 regulator-max-microvolt = <1800000>;
102 regulator-min-microvolt = <1800000>;
103 regulator-max-microvolt = <2950000>;
107 regulator-min-microvolt = <1800000>;
108 regulator-max-microvolt = <2950000>;
112 regulator-min-microvolt = <1300000>;
113 regulator-max-microvolt = <1300000>;
117 regulator-min-microvolt = <1800000>;
118 regulator-max-microvolt = <1800000>;
119 regulator-always-on;
123 regulator-min-microvolt = <1800000>;
124 regulator-max-microvolt = <2950000>;
128 regulator-min-microvolt = <1800000>;
129 regulator-max-microvolt = <1800000>;
133 regulator-min-microvolt = <2050000>;
134 regulator-max-microvolt = <2050000>;
138 regulator-min-microvolt = <2700000>;
139 regulator-max-microvolt = <2700000>;
143 regulator-min-microvolt = <2850000>;
144 regulator-max-microvolt = <2850000>;
148 regulator-min-microvolt = <2850000>;
149 regulator-max-microvolt = <2850000>;
153 regulator-min-microvolt = <3300000>;
154 regulator-max-microvolt = <3300000>;
158 regulator-min-microvolt = <2950000>;
159 regulator-max-microvolt = <2950000>;
161 regulator-allow-set-load;
162 regulator-system-load = <200000>;
166 regulator-min-microvolt = <2950000>;
167 regulator-max-microvolt = <2950000>;
169 regulator-allow-set-load;
170 regulator-system-load = <200000>;
174 regulator-min-microvolt = <3000000>;
175 regulator-max-microvolt = <3300000>;
179 regulator-min-microvolt = <3000000>;
180 regulator-max-microvolt = <3000000>;
184 regulator-min-microvolt = <3075000>;
185 regulator-max-microvolt = <3075000>;
189 regulator-min-microvolt = <2100000>;
190 regulator-max-microvolt = <2100000>;
194 regulator-min-microvolt = <1800000>;
195 regulator-max-microvolt = <2050000>;
199 regulator-min-microvolt = <1000000>;
200 regulator-max-microvolt = <1225000>;
214 i2c-gpio-touchkey {
215 compatible = "i2c-gpio";
216 #address-cells = <1>;
217 #size-cells = <0>;
218 sda-gpios = <&msmgpio 95 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
219 scl-gpios = <&msmgpio 96 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
220 pinctrl-names = "default";
221 pinctrl-0 = <&i2c_touchkey_pins>;
224 compatible = "cypress,tm2-touchkey";
227 interrupt-parent = <&pma8084_gpios>;
229 pinctrl-names = "default";
230 pinctrl-0 = <&touchkey_pin>;
232 vcc-supply = <&max77826_ldo15>;
233 vdd-supply = <&pma8084_l19>;
239 i2c-gpio-led {
240 compatible = "i2c-gpio";
241 #address-cells = <1>;
242 #size-cells = <0>;
243 scl-gpios = <&msmgpio 121 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
244 sda-gpios = <&msmgpio 120 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
245 pinctrl-names = "default";
246 pinctrl-0 = <&i2c_led_gpioex_pins>;
248 i2c-gpio,delay-us = <2>;
254 gpio-controller;
255 #gpio-cells = <2>;
257 vcc-supply = <&pma8084_s4>;
259 pinctrl-names = "default";
260 pinctrl-0 = <&gpioex_pin>;
262 reset-gpios = <&msmgpio 145 GPIO_ACTIVE_LOW>;
265 led-controller@30 {
269 #address-cells = <1>;
270 #size-cells = <0>;
292 vreg_wlan: wlan-regulator {
293 compatible = "regulator-fixed";
295 regulator-name = "wl-reg";
296 regulator-min-microvolt = <3300000>;
297 regulator-max-microvolt = <3300000>;
300 enable-active-high;
303 vreg_panel: panel-regulator {
304 compatible = "regulator-fixed";
306 pinctrl-names = "default";
307 pinctrl-0 = <&panel_en_pin>;
309 regulator-name = "panel-vddr-reg";
310 regulator-min-microvolt = <1500000>;
311 regulator-max-microvolt = <1500000>;
314 enable-active-high;
317 /delete-node/ vreg-boost;
319 adsp-pil {
320 cx-supply = <&pma8084_s2>;
333 pinctrl-names = "default", "sleep";
334 pinctrl-0 = <&blsp2_uart8_pins_active>;
335 pinctrl-1 = <&blsp2_uart8_pins_sleep>;
338 compatible = "brcm,bcm43540-bt";
339 max-speed = <3000000>;
340 pinctrl-names = "default";
341 pinctrl-0 = <&bt_pins>;
342 device-wakeup-gpios = <&msmgpio 91 GPIO_ACTIVE_HIGH>;
343 shutdown-gpios = <&gpio_expander 9 GPIO_ACTIVE_HIGH>;
344 interrupt-parent = <&msmgpio>;
346 interrupt-names = "host-wakeup";
350 gpio-keys {
351 compatible = "gpio-keys";
352 input-name = "gpio-keys";
354 pinctrl-names = "default";
355 pinctrl-0 = <&gpio_keys_pin_a>;
357 volume-down {
359 gpios = <&pma8084_gpios 2 GPIO_ACTIVE_LOW>;
360 linux,input-type = <1>;
362 debounce-interval = <15>;
365 home-key {
367 gpios = <&pma8084_gpios 3 GPIO_ACTIVE_LOW>;
368 linux,input-type = <1>;
370 wakeup-source;
371 debounce-interval = <15>;
374 volume-up {
376 gpios = <&pma8084_gpios 5 GPIO_ACTIVE_LOW>;
377 linux,input-type = <1>;
379 debounce-interval = <15>;
384 blsp2_uart8_pins_active: blsp2-uart8-pins-active {
387 drive-strength = <8>;
388 bias-disable;
391 blsp2_uart8_pins_sleep: blsp2-uart8-pins-sleep {
394 drive-strength = <2>;
395 bias-pull-down;
398 bt_pins: bt-pins {
402 drive-strength = <16>;
403 input-enable;
409 drive-strength = <2>;
413 sdhc1_pin_a: sdhc1-pin-active {
416 drive-strength = <4>;
417 bias-disable;
420 cmd-data {
422 drive-strength = <4>;
423 bias-pull-up;
427 sdhc2_pin_a: sdhc2-pin-active {
428 clk-cmd-data {
432 drive-strength = <8>;
433 bias-disable;
437 sdhc2_cd_pin: sdhc2-cd {
441 drive-strength = <2>;
442 bias-disable;
445 sdhc3_pin_a: sdhc3-pin-active {
448 drive-strength = <6>;
449 bias-disable;
452 cmd-data {
454 drive-strength = <6>;
455 bias-pull-up;
464 drive-strength = <2>;
465 bias-disable;
474 drive-strength = <2>;
475 bias-disable;
484 drive-strength = <2>;
485 bias-disable;
489 i2c_touchkey_pins: i2c-touchkey {
493 input-enable;
494 bias-pull-up;
498 i2c_led_gpioex_pins: i2c-led-gpioex {
502 input-enable;
503 bias-pull-down;
512 bias-pull-up;
513 drive-strength = <2>;
522 input-enable;
523 bias-pull-down;
532 drive-strength = <2>;
533 bias-disable;
541 vmmc-supply = <&pma8084_l20>;
542 vqmmc-supply = <&pma8084_s4>;
544 bus-width = <8>;
545 non-removable;
547 pinctrl-names = "default";
548 pinctrl-0 = <&sdhc1_pin_a>;
554 max-frequency = <100000000>;
556 vmmc-supply = <&pma8084_l21>;
557 vqmmc-supply = <&pma8084_l13>;
559 bus-width = <4>;
561 /* cd-gpio is intentionally disabled. If enabled, an SD card
563 * cd-gpios the driver resorts to polling, so hotplug works.
565 pinctrl-names = "default";
566 pinctrl-0 = <&sdhc2_pin_a /* &sdhc2_cd_pin */>;
567 // cd-gpios = <&msmgpio 62 GPIO_ACTIVE_LOW>;
573 #address-cells = <1>;
574 #size-cells = <0>;
576 max-frequency = <100000000>;
578 pinctrl-names = "default";
579 pinctrl-0 = <&sdhc3_pin_a>;
581 vmmc-supply = <&vreg_wlan>;
582 vqmmc-supply = <&pma8084_s4>;
584 bus-width = <4>;
585 non-removable;
589 compatible = "brcm,bcm4329-fmac";
591 interrupt-parent = <&msmgpio>;
593 interrupt-names = "host-wake";
595 pinctrl-names = "default";
596 pinctrl-0 = <&wlan_sleep_clk_pin &wifi_pin>;
604 phy-select = <&tcsr 0xb000 0>;
606 /*vbus-supply = <&chg_otg>;*/
608 hnp-disable;
609 srp-disable;
610 adp-disable;
616 v1p8-supply = <&pma8084_l6>;
617 v3p3-supply = <&pma8084_l24>;
620 qcom,init-seq = /bits/ 8 <0x1 0x64>;
628 pinctrl-names = "default";
629 pinctrl-0 = <&i2c2_pins>;
632 compatible = "syna,rmi4-i2c";
635 interrupt-parent = <&pma8084_gpios>;
638 vdd-supply = <&max77826_ldo13>;
639 vio-supply = <&pma8084_lvs2>;
641 pinctrl-names = "default";
642 pinctrl-0 = <&touch_pin>;
644 syna,startup-delay-ms = <100>;
646 #address-cells = <1>;
647 #size-cells = <0>;
649 rmi4-f01@1 {
651 syna,nosleep-mode = <1>;
654 rmi4-f12@12 {
656 syna,sensor-type = <1>;
664 pinctrl-names = "default";
665 pinctrl-0 = <&i2c6_pins>;
673 regulator-min-microvolt = <1200000>;
674 regulator-max-microvolt = <1200000>;
678 regulator-min-microvolt = <1000000>;
679 regulator-max-microvolt = <1000000>;
683 regulator-min-microvolt = <1200000>;
684 regulator-max-microvolt = <1200000>;
688 regulator-min-microvolt = <1800000>;
689 regulator-max-microvolt = <1800000>;
693 regulator-min-microvolt = <1800000>;
694 regulator-max-microvolt = <1800000>;
698 regulator-min-microvolt = <1800000>;
699 regulator-max-microvolt = <3300000>;
703 regulator-min-microvolt = <1800000>;
704 regulator-max-microvolt = <1800000>;
708 regulator-min-microvolt = <1800000>;
709 regulator-max-microvolt = <3300000>;
713 regulator-min-microvolt = <1800000>;
714 regulator-max-microvolt = <1800000>;
718 regulator-min-microvolt = <2800000>;
719 regulator-max-microvolt = <2950000>;
723 regulator-min-microvolt = <2700000>;
724 regulator-max-microvolt = <2950000>;
728 regulator-min-microvolt = <2500000>;
729 regulator-max-microvolt = <3300000>;
733 regulator-min-microvolt = <3300000>;
734 regulator-max-microvolt = <3300000>;
738 regulator-min-microvolt = <3300000>;
739 regulator-max-microvolt = <3300000>;
743 regulator-min-microvolt = <1800000>;
744 regulator-max-microvolt = <1800000>;
748 regulator-min-microvolt = <1225000>;
749 regulator-max-microvolt = <1225000>;
753 regulator-min-microvolt = <3400000>;
754 regulator-max-microvolt = <3400000>;
763 pinctrl-names = "default";
764 pinctrl-0 = <&i2c12_pins>;
770 maxim,double-soc;
773 interrupt-parent = <&pma8084_gpios>;
776 pinctrl-names = "default";
777 pinctrl-0 = <&fuelgauge_pin>;
795 vdda-supply = <&pma8084_l2>;
796 vdd-supply = <&pma8084_l22>;
797 vddio-supply = <&pma8084_l12>;
799 #address-cells = <1>;
800 #size-cells = <0>;
805 remote-endpoint = <&panel_in>;
806 data-lanes = <0 1 2 3>;
815 pinctrl-names = "default";
816 pinctrl-0 = <&panel_te_pin &panel_rst_pin>;
818 iovdd-supply = <&pma8084_lvs4>;
819 vddr-supply = <&vreg_panel>;
821 reset-gpios = <&pma8084_gpios 17 GPIO_ACTIVE_LOW>;
822 te-gpios = <&msmgpio 12 GPIO_ACTIVE_HIGH>;
826 remote-endpoint = <&dsi0_out>;
832 dsi-phy@fd922a00 {
835 vddio-supply = <&pma8084_l12>;
840 cx-supply = <&pma8084_s2>;
841 mss-supply = <&pma8084_s6>;
842 mx-supply = <&pma8084_s1>;
843 pll-supply = <&pma8084_l12>;
849 gpios@c000 {
850 gpio_keys_pin_a: gpio-keys-active {
854 bias-pull-up;
855 power-source = <PMA8084_GPIO_S4>;
858 touchkey_pin: touchkey-int-pin {
861 bias-disable;
862 input-enable;
863 power-source = <PMA8084_GPIO_S4>;
866 touch_pin: touchscreen-int-pin {
869 bias-disable;
870 input-enable;
871 power-source = <PMA8084_GPIO_S4>;
874 panel_en_pin: panel-en-pin {
877 bias-pull-up;
878 power-source = <PMA8084_GPIO_S4>;
879 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
882 wlan_sleep_clk_pin: wlan-sleep-clk-pin {
886 output-high;
887 power-source = <PMA8084_GPIO_S4>;
888 qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
891 panel_rst_pin: panel-rst-pin {
894 bias-disable;
895 power-source = <PMA8084_GPIO_S4>;
896 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
900 fuelgauge_pin: fuelgauge-int-pin {
903 bias-disable;
904 input-enable;
905 power-source = <PMA8084_GPIO_S4>;