Lines Matching +full:hall +full:- +full:enable

1 // SPDX-License-Identifier: BSD-3-Clause
3 * OnePlus 5(T) (cheeseburger / dumpling) common device tree source based on msm8998-mtp.dtsi
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
20 qcom,msm-id = <292 0x20001>; /* 8998 v2.1 */
23 #address-cells = <2>;
24 #size-cells = <2>;
29 compatible = "simple-framebuffer";
47 power-domains = <&mmcc MDSS_GDSC>;
51 reserved-memory {
55 no-map;
62 console-size = <0x80000>;
63 pmsg-size = <0x40000>;
64 record-size = <0x8000>;
65 ftrace-size = <0x20000>;
74 compatible = "shared-dma-pool";
76 no-map;
79 compatible = "shared-dma-pool";
81 no-map;
85 gpio-keys {
86 compatible = "gpio-keys";
90 pinctrl-names = "default";
91 pinctrl-0 = <&vol_keys_default>;
93 button-vol-down {
97 debounce-interval = <15>;
98 wakeup-source;
101 button-vol-up {
105 debounce-interval = <15>;
106 wakeup-source;
110 gpio-hall-sensor {
111 compatible = "gpio-keys";
112 label = "Hall effect sensor";
114 pinctrl-names = "default";
115 pinctrl-0 = <&hall_sensor_default>;
117 event-hall-sensor {
118 label = "Hall Effect Sensor";
120 linux,input-type = <EV_SW>;
122 linux,can-disable;
123 wakeup-source;
127 vph_pwr: vph-pwr-regulator {
128 compatible = "regulator-fixed";
129 regulator-name = "vph_pwr";
130 regulator-always-on;
131 regulator-boot-on;
172 compatible = "syna,rmi4-i2c";
174 #address-cells = <1>;
175 #size-cells = <0>;
177 interrupt-parent = <&tlmm>;
180 pinctrl-names = "default";
181 pinctrl-0 = <&ts_int_active &ts_reset_active>;
183 vdd-supply = <&vreg_l28_3p0>;
184 vio-supply = <&vreg_l6a_1p8>;
186 syna,reset-delay-ms = <20>;
187 syna,startup-delay-ms = <20>;
189 rmi4-f01@1 {
191 syna,nosleep-mode = <1>;
194 rmi4_f12: rmi4-f12@12 {
196 syna,rezero-wait-ms = <20>;
197 syna,sensor-type = <1>;
198 touchscreen-x-mm = <68>;
199 touchscreen-y-mm = <122>;
208 compatible = "nxp,nxp-nci-i2c";
211 interrupt-parent = <&tlmm>;
214 enable-gpios = <&tlmm 116 GPIO_ACTIVE_HIGH>;
216 pinctrl-names = "default";
217 pinctrl-0 = <&nfc_int_active &nfc_enable_active>;
225 compatible = "qcom,wcn3990-bt";
227 vddio-supply = <&vreg_s4a_1p8>;
228 vddxo-supply = <&vreg_l7a_1p8>;
229 vddrf-supply = <&vreg_l17a_1p3>;
230 vddch0-supply = <&vreg_l25a_3p3>;
231 max-speed = <3200000>;
236 rx-pins {
237 /delete-property/ bias-disable;
239 * Configure a pull-up on 46 (RX). This is needed to
241 * module is in tri-state (module powered off or not
244 bias-pull-up;
247 cts-pins {
248 /delete-property/ bias-disable;
250 * Configure a pull-down on 47 (CTS) to match the pull
253 bias-pull-down;
264 regulator-min-microvolt = <524000>;
265 regulator-max-microvolt = <1100000>;
266 regulator-enable-ramp-delay = <500>;
268 regulator-always-on;
273 vol_keys_default: vol-keys-state {
276 bias-pull-up;
277 input-enable;
278 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
285 vdd-supply = <&vreg_l1a_0p875>;
286 vdda-pll-supply = <&vreg_l12a_1p8>;
287 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
291 regulators-0 {
292 compatible = "qcom,rpm-pm8998-regulators";
294 vdd_s1-supply = <&vph_pwr>;
295 vdd_s2-supply = <&vph_pwr>;
296 vdd_s3-supply = <&vph_pwr>;
297 vdd_s4-supply = <&vph_pwr>;
298 vdd_s5-supply = <&vph_pwr>;
299 vdd_s6-supply = <&vph_pwr>;
300 vdd_s7-supply = <&vph_pwr>;
301 vdd_s8-supply = <&vph_pwr>;
302 vdd_s9-supply = <&vph_pwr>;
303 vdd_s10-supply = <&vph_pwr>;
304 vdd_s11-supply = <&vph_pwr>;
305 vdd_s12-supply = <&vph_pwr>;
306 vdd_s13-supply = <&vph_pwr>;
307 vdd_l1_l27-supply = <&vreg_s7a_1p025>;
308 vdd_l2_l8_l17-supply = <&vreg_s3a_1p35>;
309 vdd_l3_l11-supply = <&vreg_s7a_1p025>;
310 vdd_l4_l5-supply = <&vreg_s7a_1p025>;
311 vdd_l6-supply = <&vreg_s5a_2p04>;
312 vdd_l7_l12_l14_l15-supply = <&vreg_s5a_2p04>;
313 vdd_l9-supply = <&vreg_bob>;
314 vdd_l10_l23_l25-supply = <&vreg_bob>;
315 vdd_l13_l19_l21-supply = <&vreg_bob>;
316 vdd_l16_l28-supply = <&vreg_bob>;
317 vdd_l18_l22-supply = <&vreg_bob>;
318 vdd_l20_l24-supply = <&vreg_bob>;
319 vdd_l26-supply = <&vreg_s3a_1p35>;
320 vdd_lvs1_lvs2-supply = <&vreg_s4a_1p8>;
323 regulator-min-microvolt = <1352000>;
324 regulator-max-microvolt = <1352000>;
328 regulator-min-microvolt = <1800000>;
329 regulator-max-microvolt = <1800000>;
330 regulator-allow-set-load;
334 regulator-min-microvolt = <1904000>;
335 regulator-max-microvolt = <2040000>;
339 regulator-min-microvolt = <900000>;
340 regulator-max-microvolt = <1028000>;
344 regulator-min-microvolt = <880000>;
345 regulator-max-microvolt = <880000>;
349 regulator-min-microvolt = <1200000>;
350 regulator-max-microvolt = <1200000>;
354 regulator-min-microvolt = <1000000>;
355 regulator-max-microvolt = <1000000>;
359 regulator-min-microvolt = <800000>;
360 regulator-max-microvolt = <800000>;
364 regulator-min-microvolt = <1808000>;
365 regulator-max-microvolt = <1808000>;
369 regulator-min-microvolt = <1800000>;
370 regulator-max-microvolt = <1800000>;
374 regulator-min-microvolt = <1200000>;
375 regulator-max-microvolt = <1200000>;
379 regulator-min-microvolt = <1808000>;
380 regulator-max-microvolt = <2960000>;
384 regulator-min-microvolt = <1808000>;
385 regulator-max-microvolt = <2960000>;
389 regulator-min-microvolt = <1000000>;
390 regulator-max-microvolt = <1000000>;
394 regulator-min-microvolt = <1800000>;
395 regulator-max-microvolt = <1800000>;
399 regulator-min-microvolt = <1808000>;
400 regulator-max-microvolt = <2960000>;
404 regulator-min-microvolt = <1880000>;
405 regulator-max-microvolt = <1880000>;
409 regulator-min-microvolt = <1800000>;
410 regulator-max-microvolt = <1800000>;
414 regulator-min-microvolt = <2704000>;
415 regulator-max-microvolt = <2704000>;
419 regulator-min-microvolt = <1304000>;
420 regulator-max-microvolt = <1304000>;
424 regulator-min-microvolt = <2704000>;
425 regulator-max-microvolt = <2704000>;
429 regulator-min-microvolt = <3008000>;
430 regulator-max-microvolt = <3008000>;
434 regulator-min-microvolt = <2960000>;
435 regulator-max-microvolt = <2960000>;
436 regulator-allow-set-load;
439 regulator-min-microvolt = <2960000>;
440 regulator-max-microvolt = <2960000>;
441 regulator-system-load = <800000>;
442 regulator-allow-set-load;
446 regulator-min-microvolt = <2864000>;
447 regulator-max-microvolt = <2864000>;
451 regulator-min-microvolt = <3312000>;
452 regulator-max-microvolt = <3312000>;
456 regulator-min-microvolt = <3088000>;
457 regulator-max-microvolt = <3088000>;
461 regulator-min-microvolt = <3104000>;
462 regulator-max-microvolt = <3312000>;
466 regulator-min-microvolt = <1200000>;
467 regulator-max-microvolt = <1200000>;
468 regulator-allow-set-load;
472 regulator-min-microvolt = <3008000>;
473 regulator-max-microvolt = <3008000>;
480 regulators-1 {
481 compatible = "qcom,rpm-pmi8998-regulators";
483 vdd_bob-supply = <&vph_pwr>;
486 regulator-min-microvolt = <3312000>;
487 regulator-max-microvolt = <3600000>;
493 gpio-reserved-ranges = <0 4>, <81 4>;
495 hall_sensor_default: hall-sensor-default-state {
498 drive-strength = <2>;
499 bias-disable;
502 ts_int_active: ts-int-active-state {
505 drive-strength = <8>;
506 bias-pull-up;
509 ts_reset_active: ts-reset-active-state {
512 drive-strength = <8>;
513 bias-pull-up;
516 nfc_int_active: nfc-int-active-state {
519 drive-strength = <6>;
520 bias-pull-up;
523 nfc_enable_active: nfc-enable-active-state {
526 drive-strength = <6>;
527 bias-pull-up;
534 vcc-supply = <&vreg_l20a_2p95>;
535 vccq-supply = <&vreg_l26a_1p2>;
536 vccq2-supply = <&vreg_s4a_1p8>;
537 vdd-hba-supply = <&vreg_l26a_1p2>;
538 vcc-max-microamp = <750000>;
539 vccq-max-microamp = <560000>;
540 vccq2-max-microamp = <750000>;
546 vdda-phy-supply = <&vreg_l1a_0p875>;
547 vdda-pll-supply = <&vreg_l2a_1p2>;
554 qcom,select-utmi-as-pipe-clk;
560 phy-names = "usb2-phy";
563 maximum-speed = "high-speed";
571 vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
572 vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
573 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
574 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;