Lines Matching +full:msm8998 +full:- +full:pinctrl

1 // SPDX-License-Identifier: BSD-3-Clause
3 * Xiaomi Mi 6 (sagit) device tree source based on msm8998-mtp.dtsi
10 /dts-v1/;
12 #include "msm8998.dtsi"
16 #include <dt-bindings/input/input.h>
17 #include <dt-bindings/leds/common.h>
18 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
21 * Delete following upstream (msm8998.dtsi) reserved
24 /delete-node/ &adsp_mem;
25 /delete-node/ &mpss_mem;
26 /delete-node/ &venus_mem;
27 /delete-node/ &mba_mem;
28 /delete-node/ &slpi_mem;
29 /delete-node/ &ipa_fw_mem;
30 /delete-node/ &ipa_gsi_mem;
31 /delete-node/ &gpu_mem;
32 /delete-node/ &wlan_msa_mem;
36 compatible = "xiaomi,sagit", "qcom,msm8998";
37 chassis-type = "handset";
39 qcom,board-id = <30 0>;
41 reserved-memory {
49 no-map;
54 no-map;
59 no-map;
64 no-map;
69 no-map;
74 no-map;
79 no-map;
84 no-map;
89 no-map;
95 no-map;
102 console-size = <0x80000>;
103 pmsg-size = <0x40000>;
104 record-size = <0x8000>;
105 ftrace-size = <0x20000>;
114 compatible = "shared-dma-pool";
116 no-map;
120 compatible = "shared-dma-pool";
122 no-map;
126 gpio-keys {
127 compatible = "gpio-keys";
131 pinctrl-names = "default";
132 pinctrl-0 = <&vol_up_key_default>;
134 key-vol-up {
138 debounce-interval = <15>;
139 wakeup-source;
143 gpio-hall-sensor {
144 compatible = "gpio-keys";
147 pinctrl-names = "default";
148 pinctrl-0 = <&hall_sensor_default_state>;
150 event-hall-sensor {
153 linux,input-type = <EV_SW>;
155 linux,can-disable;
156 wakeup-source;
160 vph_pwr: vph-pwr-regulator {
161 compatible = "regulator-fixed";
162 regulator-name = "vph_pwr";
163 regulator-min-microvolt = <3700000>;
164 regulator-max-microvolt = <3700000>;
165 regulator-always-on;
166 regulator-boot-on;
169 disp_vddts_vreg: disp-vddts-regulator {
170 compatible = "regulator-fixed";
171 regulator-name = "disp-vddts-regulator";
173 enable-active-high;
174 regulator-boot-on;
179 pinctrl-names = "default", "sleep";
183 compatible = "syna,rmi4-i2c";
185 #address-cells = <1>;
186 #size-cells = <0>;
188 interrupt-parent = <&tlmm>;
191 pinctrl-names = "default", "sleep";
192 pinctrl-0 = <&ts_active_state>;
193 pinctrl-1 = <&ts_int_suspend_state &ts_reset_suspend_state>;
195 vdd-supply = <&disp_vddts_vreg>;
196 vio-supply = <&vreg_l6a_1p8>;
198 syna,reset-delay-ms = <20>;
199 syna,startup-delay-ms = <20>;
201 rmi4-f01@1 {
203 syna,nosleep-mode = <1>;
206 rmi4-f12@12 {
208 touchscreen-x-mm = <64>;
209 touchscreen-y-mm = <114>;
210 syna,sensor-type = <1>;
211 syna,rezero-wait-ms = <20>;
214 rmi4-f1a@1a {
221 /delete-property/ bias-pull-up;
222 bias-disable;
229 compatible = "qcom,wcn3990-bt";
231 vddio-supply = <&vreg_s4a_1p8>;
232 vddxo-supply = <&vreg_l7a_1p8>;
233 vddrf-supply = <&vreg_l17a_1p3>;
234 vddch0-supply = <&vreg_l25a_3p3>;
235 max-speed = <3200000>;
240 rx-pins {
241 /delete-property/ bias-disable;
243 * Configure a pull-up on 46 (RX). This is needed to
245 * module is in tri-state (module powered off or not
248 bias-pull-up;
251 cts-pins {
252 /delete-property/ bias-disable;
254 * Configure a pull-down on 47 (CTS) to match the pull
257 bias-pull-down;
266 compatible = "qcom,pm8005-regulators";
268 vdd_s1-supply = <&vph_pwr>;
271 regulator-min-microvolt = <524000>;
272 regulator-max-microvolt = <1100000>;
273 regulator-enable-ramp-delay = <500>;
276 regulator-always-on;
281 vol_up_key_default: vol-up-key-default-state {
284 bias-pull-up;
285 input-enable;
286 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
289 audio_mclk_pin: audio-mclk-pin-active-state {
292 power-source = <0>;
297 vdd-supply = <&vreg_l1a_0p875>;
298 vdda-pll-supply = <&vreg_l12a_1p8>;
299 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
304 regulators-0 {
305 compatible = "qcom,rpm-pm8998-regulators";
307 vdd_s1-supply = <&vph_pwr>;
308 vdd_s2-supply = <&vph_pwr>;
309 vdd_s3-supply = <&vph_pwr>;
310 vdd_s4-supply = <&vph_pwr>;
311 vdd_s5-supply = <&vph_pwr>;
312 vdd_s6-supply = <&vph_pwr>;
313 vdd_s7-supply = <&vph_pwr>;
314 vdd_s8-supply = <&vph_pwr>;
315 vdd_s9-supply = <&vph_pwr>;
316 vdd_s10-supply = <&vph_pwr>;
317 vdd_s11-supply = <&vph_pwr>;
318 vdd_s12-supply = <&vph_pwr>;
319 vdd_s13-supply = <&vph_pwr>;
320 vdd_l1_l27-supply = <&vreg_s7a_1p025>;
321 vdd_l2_l8_l17-supply = <&vreg_s3a_1p35>;
322 vdd_l3_l11-supply = <&vreg_s7a_1p025>;
323 vdd_l4_l5-supply = <&vreg_s7a_1p025>;
324 vdd_l6-supply = <&vreg_s5a_2p04>;
325 vdd_l7_l12_l14_l15-supply = <&vreg_s5a_2p04>;
326 vdd_l9-supply = <&vreg_bob>;
327 vdd_l10_l23_l25-supply = <&vreg_bob>;
328 vdd_l13_l19_l21-supply = <&vreg_bob>;
329 vdd_l16_l28-supply = <&vreg_bob>;
330 vdd_l18_l22-supply = <&vreg_bob>;
331 vdd_l20_l24-supply = <&vreg_bob>;
332 vdd_l26-supply = <&vreg_s3a_1p35>;
333 vdd_lvs1_lvs2-supply = <&vreg_s4a_1p8>;
336 regulator-min-microvolt = <1352000>;
337 regulator-max-microvolt = <1352000>;
341 regulator-min-microvolt = <1800000>;
342 regulator-max-microvolt = <1800000>;
343 regulator-allow-set-load;
347 regulator-min-microvolt = <1904000>;
348 regulator-max-microvolt = <2040000>;
352 regulator-min-microvolt = <900000>;
353 regulator-max-microvolt = <1028000>;
357 regulator-min-microvolt = <880000>;
358 regulator-max-microvolt = <880000>;
362 regulator-min-microvolt = <1200000>;
363 regulator-max-microvolt = <1200000>;
367 regulator-min-microvolt = <1000000>;
368 regulator-max-microvolt = <1000000>;
372 regulator-min-microvolt = <800000>;
373 regulator-max-microvolt = <800000>;
377 regulator-min-microvolt = <1800000>;
378 regulator-max-microvolt = <1800000>;
382 regulator-min-microvolt = <1800000>;
383 regulator-max-microvolt = <1800000>;
387 regulator-min-microvolt = <1200000>;
388 regulator-max-microvolt = <1200000>;
392 regulator-min-microvolt = <1808000>;
393 regulator-max-microvolt = <2960000>;
397 regulator-min-microvolt = <1808000>;
398 regulator-max-microvolt = <2960000>;
402 regulator-min-microvolt = <1000000>;
403 regulator-max-microvolt = <1000000>;
407 regulator-min-microvolt = <1800000>;
408 regulator-max-microvolt = <1800000>;
412 regulator-min-microvolt = <1808000>;
413 regulator-max-microvolt = <2960000>;
417 regulator-min-microvolt = <1800000>;
418 regulator-max-microvolt = <1800000>;
422 regulator-min-microvolt = <1800000>;
423 regulator-max-microvolt = <1800000>;
427 regulator-min-microvolt = <2704000>;
428 regulator-max-microvolt = <2704000>;
432 regulator-min-microvolt = <1304000>;
433 regulator-max-microvolt = <1304000>;
437 regulator-min-microvolt = <2704000>;
438 regulator-max-microvolt = <2704000>;
442 regulator-min-microvolt = <3008000>;
443 regulator-max-microvolt = <3008000>;
447 regulator-min-microvolt = <2960000>;
448 regulator-max-microvolt = <2960000>;
449 regulator-allow-set-load;
453 regulator-min-microvolt = <2960000>;
454 regulator-max-microvolt = <2960000>;
455 regulator-system-load = <800000>;
456 regulator-allow-set-load;
460 regulator-min-microvolt = <2864000>;
461 regulator-max-microvolt = <2864000>;
465 regulator-min-microvolt = <3312000>;
466 regulator-max-microvolt = <3312000>;
470 regulator-min-microvolt = <3088000>;
471 regulator-max-microvolt = <3088000>;
475 regulator-min-microvolt = <3104000>;
476 regulator-max-microvolt = <3312000>;
480 regulator-min-microvolt = <1200000>;
481 regulator-max-microvolt = <1200000>;
482 regulator-allow-set-load;
486 regulator-min-microvolt = <3008000>;
487 regulator-max-microvolt = <3008000>;
495 regulators-1 {
496 compatible = "qcom,rpm-pmi8998-regulators";
498 vdd_bob-supply = <&vph_pwr>;
501 regulator-min-microvolt = <3312000>;
502 regulator-max-microvolt = <3600000>;
508 gpio-reserved-ranges = <0 4>, <81 4>;
510 cci1_default_state: cci1-default-state {
513 bias-disable;
514 drive-strength = <2>;
517 cdc_reset_n_state: cdc-reset-n-state {
520 bias-pull-down;
521 drive-strength = <16>;
522 output-high;
525 hall_sensor_default_state: hall-sensor-default-state {
528 drive-strength = <2>;
529 bias-disable;
532 mdss_dsi_active_state: mdss-dsi-active-state {
535 drive-strength = <8>;
536 bias-disable;
539 mdss_dsi_suspend_state: mdss-dsi-suspend-state {
542 drive-strength = <2>;
543 bias-pull-down;
546 mdss_te_active_state: mdss-te-active-state {
549 drive-strength = <2>;
550 bias-pull-down;
553 mdss_te_suspend_state: mdss-te-suspend-state {
556 drive-strength = <2>;
557 bias-pull-down;
560 msm_mclk0_active_state: msm-mclk0-active-state {
563 drive-strength = <2>;
564 bias-disable;
567 msm_mclk0_suspend_state: msm-mclk0-suspend-state {
570 drive-strength = <2>;
571 bias-pull-down;
574 msm_mclk1_active_state: msm-mclk1-active-state {
577 drive-strength = <2>;
578 bias-disable;
581 msm_mclk1_suspend_state: msm-mclk1-suspend-state {
584 drive-strength = <2>;
585 bias-pull-down;
588 nfc_int_active_state: nfc-int-active-state {
591 drive-strength = <6>;
592 bias-pull-up;
595 nfc_int_suspend_state: nfc-int-suspend-state {
598 drive-strength = <6>;
599 bias-pull-up;
602 nfc_enable_active_state: nfc-enable-active-state {
605 drive-strength = <6>;
606 bias-pull-up;
609 nfc_enable_suspend_state: nfc-enable-suspend-state {
612 drive-strength = <6>;
613 bias-disable;
616 ts_active_state: ts-active-state {
619 drive-strength = <16>;
620 bias-pull-up;
623 ts_int_suspend_state: ts-int-suspend-state {
626 drive-strength = <2>;
627 bias-disable;
630 ts_reset_suspend_state: ts-reset-suspend-state {
633 drive-strength = <2>;
634 bias-disable;
637 wcd_int_n_state: wcd-int-n-state {
640 bias-pull-down;
641 drive-strength = <2>;
644 wsa_leftspk_pwr_n_state: wsa-leftspk-pwr-n-state {
647 bias-disable;
648 drive-strength = <2>;
649 output-low;
652 wsa_rightspk_pwr_n_state: wsa-rightspk-pwr-n-state {
655 bias-disable;
656 drive-strength = <2>;
657 output-low;
667 vcc-supply = <&vreg_l20a_2p95>;
668 vccq-supply = <&vreg_l26a_1p2>;
669 vccq2-supply = <&vreg_s4a_1p8>;
670 vdd-hba-supply = <&vreg_l26a_1p2>;
671 vcc-max-microamp = <750000>;
672 vccq-max-microamp = <560000>;
673 vccq2-max-microamp = <750000>;
678 vdda-phy-supply = <&vreg_l1a_0p875>;
679 vdda-pll-supply = <&vreg_l2a_1p2>;
685 qcom,select-utmi-as-pipe-clk;
692 phy-names = "usb2-phy";
695 maximum-speed = "high-speed";
702 vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
703 vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
704 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
705 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;