Lines Matching +full:init +full:- +full:b +full:- +full:gpios
1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
12 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-up {
31 gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>;
32 linux,input-type = <1>;
36 key-volume-down {
38 gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>;
39 linux,input-type = <1>;
45 compatible = "clk-pwm";
48 pinctrl-0 = <&vibrator_pin>;
49 pinctrl-names = "default";
51 #pwm-cells = <2>;
55 compatible = "pwm-vibrator";
57 pwm-names = "enable";
59 vcc-supply = <&pm8941_l19>;
60 enable-gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
63 vreg_boost: vreg-boost {
64 compatible = "regulator-fixed";
66 regulator-name = "vreg-boost";
67 regulator-min-microvolt = <3150000>;
68 regulator-max-microvolt = <3150000>;
70 regulator-always-on;
71 regulator-boot-on;
74 enable-active-high;
76 pinctrl-names = "default";
77 pinctrl-0 = <&boost_bypass_n_pin>;
80 vreg_vph_pwr: vreg-vph-pwr {
81 compatible = "regulator-fixed";
82 regulator-name = "vph-pwr";
84 regulator-min-microvolt = <3600000>;
85 regulator-max-microvolt = <3600000>;
87 regulator-always-on;
90 vreg_wlan: wlan-regulator {
91 compatible = "regulator-fixed";
93 regulator-name = "wl-reg";
94 regulator-min-microvolt = <3300000>;
95 regulator-max-microvolt = <3300000>;
98 enable-active-high;
100 pinctrl-names = "default";
101 pinctrl-0 = <&wlan_regulator_pin>;
107 clock-frequency = <100000>;
109 charger: bq24192@6b {
112 interrupts-extended = <&spmi_bus 0 0xd5 0 IRQ_TYPE_EDGE_FALLING>;
114 omit-battery-class;
116 usb_otg_vbus: usb-otg-vbus { };
123 maxim,double-soc;
126 interrupt-parent = <&tlmm>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&fuelgauge_pin>;
132 maxim,alert-low-soc-level = <2>;
138 clock-frequency = <355000>;
141 compatible = "syna,rmi4-i2c";
144 interrupts-extended = <&tlmm 5 IRQ_TYPE_EDGE_FALLING>;
145 vdd-supply = <&pm8941_l22>;
146 vio-supply = <&pm8941_lvs3>;
148 pinctrl-names = "default";
149 pinctrl-0 = <&touch_pin>;
151 #address-cells = <1>;
152 #size-cells = <0>;
154 rmi4-f01@1 {
156 syna,nosleep-mode = <1>;
159 rmi4-f12@12 {
161 syna,sensor-type = <1>;
168 clock-frequency = <100000>;
173 interrupts-extended = <&tlmm 61 IRQ_TYPE_EDGE_FALLING>;
174 vdd-supply = <&pm8941_l17>;
175 vddio-supply = <&pm8941_lvs1>;
176 led-max-microamp = <100000>;
177 amstaos,proximity-diodes = <0>;
183 clock-frequency = <355000>;
185 backlight: led-controller@38 {
190 #address-cells = <1>;
191 #size-cells = <0>;
195 led-sources = <0 1>;
196 label = "lcd-backlight";
197 default-brightness = <200>;
204 clock-frequency = <100000>;
209 interrupts-extended = <&tlmm 73 IRQ_TYPE_EDGE_FALLING>;
210 vddio-supply = <&pm8941_lvs1>;
212 pinctrl-names = "default";
213 pinctrl-0 = <&mpu6515_pin>;
215 mount-matrix = "0", "-1", "0",
216 "-1", "0", "0",
219 i2c-gate {
220 #address-cells = <1>;
221 #size-cells = <0>;
223 compatible = "asahi-kasei,ak8963";
225 gpios = <&tlmm 67 GPIO_ACTIVE_HIGH>;
226 vid-supply = <&pm8941_lvs1>;
227 vdd-supply = <&pm8941_l17>;
233 vdda-supply = <&pm8941_lvs1>;
234 vddd-supply = <&pm8941_l17>;
248 compatible = "brcm,bcm43438-bt";
249 max-speed = <3000000>;
251 pinctrl-names = "default";
252 pinctrl-0 = <&bt_pin>;
254 host-wakeup-gpios = <&tlmm 42 GPIO_ACTIVE_HIGH>;
255 device-wakeup-gpios = <&tlmm 62 GPIO_ACTIVE_HIGH>;
256 shutdown-gpios = <&tlmm 41 GPIO_ACTIVE_HIGH>;
267 vdda-supply = <&pm8941_l2>;
268 vdd-supply = <&pm8941_lvs3>;
269 vddio-supply = <&pm8941_l12>;
273 compatible = "lg,acx467akm-7";
277 pinctrl-names = "default";
278 pinctrl-0 = <&panel_pin>;
282 remote-endpoint = <&mdss_dsi0_out>;
289 remote-endpoint = <&panel_in>;
290 data-lanes = <0 1 2 3>;
296 vddio-supply = <&pm8941_l12>;
300 gpio_keys_pin_a: gpio-keys-active-state {
304 bias-pull-up;
305 power-source = <PM8941_GPIO_S3>;
308 fuelgauge_pin: fuelgauge-int-state {
312 bias-disable;
313 input-enable;
314 power-source = <PM8941_GPIO_S3>;
317 wlan_sleep_clk_pin: wl-sleep-clk-state {
321 output-high;
322 power-source = <PM8941_GPIO_S3>;
325 wlan_regulator_pin: wl-reg-active-state {
329 bias-disable;
330 power-source = <PM8941_GPIO_S3>;
333 otg-hog {
334 gpio-hog;
335 gpios = <35 GPIO_ACTIVE_HIGH>;
336 output-high;
337 line-name = "otg-gpio";
344 qcom,power-source = <1>;
346 multi-led {
350 #address-cells = <1>;
351 #size-cells = <0>;
371 cx-supply = <&pm8841_s2>;
376 cx-supply = <&pm8841_s2>;
377 mss-supply = <&pm8841_s3>;
378 mx-supply = <&pm8841_s1>;
379 pll-supply = <&pm8941_l12>;
384 regulators-0 {
385 compatible = "qcom,rpm-pm8841-regulators";
388 regulator-min-microvolt = <675000>;
389 regulator-max-microvolt = <1050000>;
393 regulator-min-microvolt = <500000>;
394 regulator-max-microvolt = <1050000>;
398 regulator-min-microvolt = <1050000>;
399 regulator-max-microvolt = <1050000>;
403 regulator-min-microvolt = <815000>;
404 regulator-max-microvolt = <900000>;
408 regulators-1 {
409 compatible = "qcom,rpm-pm8941-regulators";
411 vdd_l1_l3-supply = <&pm8941_s1>;
412 vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
413 vdd_l4_l11-supply = <&pm8941_s1>;
414 vdd_l5_l7-supply = <&pm8941_s2>;
415 vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
416 vdd_l8_l16_l18_l19-supply = <&vreg_vph_pwr>;
417 vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
418 vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
419 vdd_l21-supply = <&vreg_boost>;
422 regulator-min-microvolt = <1300000>;
423 regulator-max-microvolt = <1300000>;
424 regulator-always-on;
425 regulator-boot-on;
429 regulator-min-microvolt = <2150000>;
430 regulator-max-microvolt = <2150000>;
431 regulator-boot-on;
435 regulator-min-microvolt = <1800000>;
436 regulator-max-microvolt = <1800000>;
437 regulator-always-on;
438 regulator-boot-on;
442 regulator-min-microvolt = <1225000>;
443 regulator-max-microvolt = <1225000>;
444 regulator-always-on;
445 regulator-boot-on;
449 regulator-min-microvolt = <1200000>;
450 regulator-max-microvolt = <1200000>;
454 regulator-min-microvolt = <1225000>;
455 regulator-max-microvolt = <1225000>;
459 regulator-min-microvolt = <1225000>;
460 regulator-max-microvolt = <1225000>;
464 regulator-min-microvolt = <1800000>;
465 regulator-max-microvolt = <1800000>;
469 regulator-min-microvolt = <1800000>;
470 regulator-max-microvolt = <1800000>;
471 regulator-boot-on;
475 regulator-min-microvolt = <1800000>;
476 regulator-max-microvolt = <1800000>;
477 regulator-boot-on;
481 regulator-min-microvolt = <1800000>;
482 regulator-max-microvolt = <1800000>;
486 regulator-min-microvolt = <1800000>;
487 regulator-max-microvolt = <2950000>;
491 regulator-min-microvolt = <1800000>;
492 regulator-max-microvolt = <2950000>;
496 regulator-min-microvolt = <1300000>;
497 regulator-max-microvolt = <1300000>;
501 regulator-min-microvolt = <1800000>;
502 regulator-max-microvolt = <1800000>;
503 regulator-always-on;
504 regulator-boot-on;
508 regulator-min-microvolt = <1800000>;
509 regulator-max-microvolt = <2950000>;
510 regulator-boot-on;
514 regulator-min-microvolt = <1800000>;
515 regulator-max-microvolt = <1800000>;
519 regulator-min-microvolt = <2050000>;
520 regulator-max-microvolt = <2050000>;
524 regulator-min-microvolt = <2700000>;
525 regulator-max-microvolt = <2700000>;
529 regulator-min-microvolt = <2850000>;
530 regulator-max-microvolt = <2850000>;
534 regulator-min-microvolt = <2850000>;
535 regulator-max-microvolt = <2850000>;
539 regulator-min-microvolt = <3000000>;
540 regulator-max-microvolt = <3300000>;
544 regulator-min-microvolt = <2950000>;
545 regulator-max-microvolt = <2950000>;
546 regulator-system-load = <200000>;
547 regulator-allow-set-load;
548 regulator-boot-on;
552 regulator-min-microvolt = <2950000>;
553 regulator-max-microvolt = <2950000>;
554 regulator-boot-on;
558 regulator-min-microvolt = <3000000>;
559 regulator-max-microvolt = <3300000>;
563 regulator-min-microvolt = <3000000>;
564 regulator-max-microvolt = <3000000>;
568 regulator-min-microvolt = <3075000>;
569 regulator-max-microvolt = <3075000>;
570 regulator-boot-on;
581 vmmc-supply = <&pm8941_l20>;
582 vqmmc-supply = <&pm8941_s3>;
584 pinctrl-names = "default", "sleep";
585 pinctrl-0 = <&sdc1_on>;
586 pinctrl-1 = <&sdc1_off>;
592 max-frequency = <100000000>;
593 vmmc-supply = <&vreg_wlan>;
594 vqmmc-supply = <&pm8941_s3>;
595 non-removable;
597 pinctrl-names = "default", "sleep";
598 pinctrl-0 = <&sdc2_on>;
599 pinctrl-1 = <&sdc2_off>;
602 compatible = "brcm,bcm4339-fmac", "brcm,bcm4329-fmac";
605 brcm,drive-strength = <10>;
607 pinctrl-names = "default";
608 pinctrl-0 = <&wlan_sleep_clk_pin>;
613 sdc1_on: sdc1-on-state {
614 clk-pins {
616 drive-strength = <16>;
617 bias-disable;
620 cmd-data-pins {
622 drive-strength = <10>;
623 bias-pull-up;
627 sdc2_on: sdc2-on-state {
628 clk-pins {
630 drive-strength = <6>;
631 bias-disable;
634 cmd-data-pins {
636 drive-strength = <6>;
637 bias-pull-up;
641 mpu6515_pin: mpu6515-state {
644 bias-disable;
647 touch_pin: touch-state {
648 int-pins {
652 drive-strength = <2>;
653 bias-disable;
656 reset-pins {
660 drive-strength = <2>;
661 bias-pull-up;
665 panel_pin: panel-state {
668 drive-strength = <2>;
669 bias-disable;
672 bt_pin: bt-state {
673 hostwake-pins {
678 devwake-pins {
683 shutdown-pins {
689 vibrator_pin: vibrator-state {
690 core-pins {
693 drive-strength = <6>;
694 bias-disable;
697 enable-pins {
700 drive-strength = <2>;
701 bias-disable;
710 phy-select = <&tcsr 0xb000 0>;
713 vbus-supply = <&usb_otg_vbus>;
715 hnp-disable;
716 srp-disable;
717 adp-disable;
723 v1p8-supply = <&pm8941_l6>;
724 v3p3-supply = <&pm8941_l24>;
726 qcom,init-seq = /bits/ 8 <0x1 0x64>;