Lines Matching +full:msm8998 +full:- +full:pinctrl
1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
12 #include "msm8998.dtsi"
19 compatible = "fxtec,pro1", "qcom,msm8998";
20 chassis-type = "handset";
21 qcom,board-id = <0x02000b 0x10>;
29 * Until we hook up type-c detection, we
32 extcon_usb: extcon-usb {
33 compatible = "linux,extcon-usb-gpio";
34 id-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>;
37 gpio-hall-sensors {
38 compatible = "gpio-keys";
40 pinctrl-names = "default";
41 pinctrl-0 = <&hall_sensor1_default>;
43 event-hall-sensor1 {
46 debounce-interval = <15>;
47 wakeup-source;
48 linux,input-type = <EV_SW>;
53 gpio-kb-extra-keys {
54 compatible = "gpio-keys";
56 pinctrl-names = "default";
57 pinctrl-0 = <&gpio_kb_pins_extra>;
59 key-home {
63 debounce-interval = <15>;
64 linux,can-disable;
67 key-super-l {
71 debounce-interval = <15>;
72 linux,can-disable;
75 key-super-r {
79 debounce-interval = <15>;
80 linux,can-disable;
83 key-shift {
87 debounce-interval = <15>;
88 linux,can-disable;
91 key-ctrl {
95 debounce-interval = <15>;
96 linux,can-disable;
99 key-alt {
103 debounce-interval = <15>;
104 linux,can-disable;
108 gpio-keys {
109 compatible = "gpio-keys";
111 pinctrl-names = "default";
112 pinctrl-0 = <&vol_up_pin_a>, <&cam_focus_pin_a>,
114 button-vol-up {
117 linux,input-type = <EV_KEY>;
119 wakeup-source;
120 debounce-interval = <15>;
123 button-camera-snapshot {
126 linux,input-type = <EV_KEY>;
128 debounce-interval = <15>;
131 button-camera-focus {
134 linux,input-type = <EV_KEY>;
136 debounce-interval = <15>;
140 keyboard-leds {
141 compatible = "gpio-leds";
143 led-0 {
145 default-state = "off";
149 retain-state-suspended;
152 led-1 {
154 default-state = "off";
158 linux,default-trigger = "kbd-capslock";
162 reserved-memory {
165 no-map;
169 compatible = "shared-dma-pool";
171 no-map;
177 console-size = <0x60000>;
178 ecc-size = <16>;
179 ftrace-size = <0x10000>;
180 pmsg-size = <0x20000>;
181 record-size = <0x10000>;
185 ts_vio_vreg: ts-vio-vreg {
186 compatible = "regulator-fixed";
187 regulator-name = "ts_vio_reg";
188 startup-delay-us = <2>;
189 enable-active-high;
191 pinctrl-names = "default";
192 pinctrl-0 = <&ts_vio_default>;
193 regulator-always-on;
196 vph_pwr: vph-pwr-regulator {
197 compatible = "regulator-fixed";
198 regulator-name = "vph_pwr";
199 regulator-always-on;
200 regulator-boot-on;
208 compatible = "qcom,wcn3990-bt";
210 vddio-supply = <&vreg_s4a_1p8>;
211 vddxo-supply = <&vreg_l7a_1p8>;
212 vddrf-supply = <&vreg_l17a_1p3>;
213 vddch0-supply = <&vreg_l25a_3p3>;
214 max-speed = <3200000>;
219 rx-pins {
220 /delete-property/ bias-disable;
222 * Configure a pull-up on 45 (RX). This is needed to
224 * module is in tri-state (module powered off or not
227 bias-pull-up;
230 cts-pins {
231 /delete-property/ bias-disable;
233 * Configure a pull-down on 47 (CTS) to match the pull
236 bias-pull-down;
250 interrupt-parent = <&tlmm>;
252 reset-gpios = <&tlmm 89 GPIO_ACTIVE_LOW>;
253 AVDD28-supply = <&vreg_l28_3p0>;
254 VDDIO-supply = <&ts_vio_vreg>;
255 pinctrl-names = "active";
256 pinctrl-0 = <&ts_rst_n>, <&ts_int_n>;
329 vdd_s1-supply = <&vph_pwr>;
332 regulator-min-microvolt = <524000>;
333 regulator-max-microvolt = <1100000>;
334 regulator-enable-ramp-delay = <500>;
337 regulator-always-on;
342 vol_up_pin_a: vol-up-active-state {
345 bias-pull-up;
346 input-enable;
347 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
350 cam_focus_pin_a: cam-focus-btn-active-state {
353 bias-pull-up;
354 input-enable;
355 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
358 cam_snapshot_pin_a: cam-snapshot-btn-active-state {
361 bias-pull-up;
362 input-enable;
363 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
375 vdda-pll-supply = <&vreg_l12a_1p8>;
376 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
384 regulators-0 {
385 compatible = "qcom,rpm-pm8998-regulators";
387 vdd_s1-supply = <&vph_pwr>;
388 vdd_s2-supply = <&vph_pwr>;
389 vdd_s3-supply = <&vph_pwr>;
390 vdd_s4-supply = <&vph_pwr>;
391 vdd_s5-supply = <&vph_pwr>;
392 vdd_s6-supply = <&vph_pwr>;
393 vdd_s7-supply = <&vph_pwr>;
394 vdd_s8-supply = <&vph_pwr>;
395 vdd_s9-supply = <&vph_pwr>;
396 vdd_s10-supply = <&vph_pwr>;
397 vdd_s11-supply = <&vph_pwr>;
398 vdd_s12-supply = <&vph_pwr>;
399 vdd_s13-supply = <&vph_pwr>;
400 vdd_l1_l27-supply = <&vreg_s7a_1p025>;
401 vdd_l2_l8_l17-supply = <&vreg_s3a_1p35>;
402 vdd_l3_l11-supply = <&vreg_s7a_1p025>;
403 vdd_l4_l5-supply = <&vreg_s7a_1p025>;
404 vdd_l6-supply = <&vreg_s5a_2p04>;
405 vdd_l7_l12_l14_l15-supply = <&vreg_s5a_2p04>;
406 vdd_l9-supply = <&vreg_bob>;
407 vdd_l10_l23_l25-supply = <&vreg_bob>;
408 vdd_l13_l19_l21-supply = <&vreg_bob>;
409 vdd_l16_l28-supply = <&vreg_bob>;
410 vdd_l18_l22-supply = <&vreg_bob>;
411 vdd_l20_l24-supply = <&vreg_bob>;
412 vdd_l26-supply = <&vreg_s3a_1p35>;
413 vdd_lvs1_lvs2-supply = <&vreg_s4a_1p8>;
416 regulator-min-microvolt = <1352000>;
417 regulator-max-microvolt = <1352000>;
421 regulator-min-microvolt = <1800000>;
422 regulator-max-microvolt = <1800000>;
423 regulator-allow-set-load;
427 regulator-min-microvolt = <1904000>;
428 regulator-max-microvolt = <2040000>;
432 regulator-min-microvolt = <900000>;
433 regulator-max-microvolt = <1028000>;
437 regulator-min-microvolt = <880000>;
438 regulator-max-microvolt = <880000>;
442 regulator-min-microvolt = <1200000>;
443 regulator-max-microvolt = <1200000>;
447 regulator-min-microvolt = <1000000>;
448 regulator-max-microvolt = <1000000>;
452 regulator-min-microvolt = <800000>;
453 regulator-max-microvolt = <800000>;
457 regulator-min-microvolt = <1808000>;
458 regulator-max-microvolt = <1808000>;
462 regulator-min-microvolt = <1800000>;
463 regulator-max-microvolt = <1800000>;
467 regulator-min-microvolt = <1200000>;
468 regulator-max-microvolt = <1200000>;
472 regulator-min-microvolt = <1808000>;
473 regulator-max-microvolt = <2960000>;
477 regulator-min-microvolt = <1808000>;
478 regulator-max-microvolt = <2960000>;
482 regulator-min-microvolt = <1000000>;
483 regulator-max-microvolt = <1000000>;
487 regulator-min-microvolt = <1800000>;
488 regulator-max-microvolt = <1800000>;
492 regulator-min-microvolt = <1808000>;
493 regulator-max-microvolt = <2960000>;
497 regulator-min-microvolt = <1880000>;
498 regulator-max-microvolt = <1880000>;
502 regulator-min-microvolt = <1800000>;
503 regulator-max-microvolt = <1800000>;
507 regulator-min-microvolt = <2704000>;
508 regulator-max-microvolt = <2704000>;
512 regulator-min-microvolt = <1304000>;
513 regulator-max-microvolt = <1304000>;
517 regulator-min-microvolt = <2704000>;
518 regulator-max-microvolt = <2704000>;
522 regulator-min-microvolt = <3008000>;
523 regulator-max-microvolt = <3008000>;
527 regulator-min-microvolt = <2960000>;
528 regulator-max-microvolt = <2960000>;
529 regulator-allow-set-load;
533 regulator-min-microvolt = <2960000>;
534 regulator-max-microvolt = <2960000>;
535 regulator-system-load = <800000>;
536 regulator-allow-set-load;
540 regulator-min-microvolt = <2864000>;
541 regulator-max-microvolt = <2864000>;
545 regulator-min-microvolt = <3312000>;
546 regulator-max-microvolt = <3312000>;
550 regulator-min-microvolt = <3088000>;
551 regulator-max-microvolt = <3088000>;
555 regulator-min-microvolt = <3104000>;
556 regulator-max-microvolt = <3312000>;
560 regulator-min-microvolt = <1200000>;
561 regulator-max-microvolt = <1200000>;
562 regulator-allow-set-load;
566 regulator-min-microvolt = <3008000>;
567 regulator-max-microvolt = <3008000>;
571 regulator-min-microvolt = <1800000>;
572 regulator-max-microvolt = <1800000>;
576 regulator-min-microvolt = <1800000>;
577 regulator-max-microvolt = <1800000>;
582 regulators-1 {
583 compatible = "qcom,rpm-pmi8998-regulators";
585 vdd_bob-supply = <&vph_pwr>;
588 regulator-min-microvolt = <3312000>;
589 regulator-max-microvolt = <3600000>;
607 gpio-reserved-ranges = <0 4>;
609 mdp_vsync_n: mdp-vsync-n-state {
612 bias-pull-down;
613 drive-strength = <2>;
616 gpio_kb_pins_extra: gpio-kb-pins-extra-state {
620 drive-strength = <2>;
621 bias-pull-up;
624 ts_vio_default: ts-vio-def-state {
627 bias-disable;
628 drive-strength = <2>;
631 ts_rst_n: ts-rst-n-state {
634 bias-pull-up;
635 drive-strength = <8>;
638 hall_sensor1_default: hall-sensor1-def-state {
641 bias-disable;
642 drive-strength = <2>;
645 ts_int_n: ts-int-n-state {
648 bias-disable;
649 drive-strength = <8>;
655 cd-gpios = <&tlmm 95 GPIO_ACTIVE_LOW>;
657 vmmc-supply = <&vreg_l21a_2p95>;
658 vqmmc-supply = <&vreg_l13a_2p95>;
660 pinctrl-names = "default", "sleep";
661 pinctrl-0 = <&sdc2_on &sdc2_cd>;
662 pinctrl-1 = <&sdc2_off &sdc2_cd>;
671 vcc-supply = <&vreg_l20a_2p95>;
672 vccq-supply = <&vreg_l26a_1p2>;
673 vccq2-supply = <&vreg_s4a_1p8>;
674 vdd-hba-supply = <&vreg_l26a_1p2>;
675 vcc-max-microamp = <750000>;
676 vccq-max-microamp = <560000>;
677 vccq2-max-microamp = <750000>;
682 vdda-phy-supply = <&vreg_l1a_0p875>;
683 vdda-pll-supply = <&vreg_l2a_1p2>;
698 vdda-phy-supply = <&vreg_l1a_0p875>;
699 vdda-pll-supply = <&vreg_l2a_1p2>;
704 regulator-min-microvolt = <2800000>;
705 regulator-max-microvolt = <2800000>;
711 vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
712 vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
713 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
714 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;