Lines Matching +full:msm8974 +full:- +full:pinctrl
1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
10 compatible = "oneplus,bacon", "qcom,msm8974pro", "qcom,msm8974";
11 chassis-type = "handset";
12 qcom,msm-id = <194 0x10000>;
13 qcom,board-id = <8 0>;
20 stdout-path = "serial0:115200n8";
23 gpio-keys {
24 compatible = "gpio-keys";
26 pinctrl-0 = <&gpio_keys_default>, <&gpio_hall_sensor_default>;
27 pinctrl-names = "default";
29 key-volume-down {
33 wakeup-source;
34 debounce-interval = <15>;
37 key-volume-up {
41 wakeup-source;
42 debounce-interval = <15>;
45 event-hall-sensor {
48 linux,input-type = <EV_SW>;
50 linux,can-disable;
51 debounce-interval = <150>;
55 vreg_boost: vreg-boost {
56 compatible = "regulator-fixed";
58 regulator-name = "vreg-boost";
59 regulator-min-microvolt = <3150000>;
60 regulator-max-microvolt = <3150000>;
62 regulator-always-on;
63 regulator-boot-on;
66 enable-active-high;
68 pinctrl-names = "default";
69 pinctrl-0 = <&boost_bypass_n_pin>;
72 vreg_vph_pwr: vreg-vph-pwr {
73 compatible = "regulator-fixed";
74 regulator-name = "vph-pwr";
76 regulator-min-microvolt = <3600000>;
77 regulator-max-microvolt = <3600000>;
79 regulator-always-on;
86 fuel-gauge@55 {
89 power-supplies = <&bq24196_charger>;
96 rmi4-i2c-dev@20 {
97 compatible = "syna,rmi4-i2c";
100 syna,startup-delay-ms = <100>;
102 interrupts-extended = <&tlmm 61 IRQ_TYPE_EDGE_FALLING>;
103 vdd-supply = <&pm8941_l22>;
104 vio-supply = <&pm8941_lvs3>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&touch_default_state>;
109 #address-cells = <1>;
110 #size-cells = <0>;
112 rmi4-f01@1 {
114 syna,nosleep-mode = <1>;
117 rmi4-f12@12 {
119 syna,sensor-type = <1>;
121 * Touchscreen size is 2040x1080, y-values between
122 * 1920-2040 are used for touchkey (menu, home & back).
126 syna,clip-y-high = <1920>;
130 led-controller@36 {
134 #address-cells = <1>;
135 #size-cells = <0>;
139 led-sources = <0 1>;
140 label = "lcd-backlight";
141 default-brightness = <80>;
145 led-controller@68 {
146 compatible = "si-en,sn3193";
149 shutdown-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
151 #address-cells = <1>;
152 #size-cells = <0>;
157 led-max-microamp = <17500>;
163 led-max-microamp = <17500>;
169 led-max-microamp = <17500>;
180 interrupts-extended = <&tlmm 31 IRQ_TYPE_EDGE_FALLING>;
181 omit-battery-class;
190 compatible = "qcom,gcc-msm8974pro-ac";
194 qcom,rset-ohms = <800>;
195 qcom,vset-millivolts = <3200>;
201 gpio_keys_default: gpio-keys-active-state {
204 input-enable;
205 bias-disable;
206 power-source = <PM8941_GPIO_S3>;
215 vddmx-supply = <&pm8841_s1>;
216 vddcx-supply = <&pm8841_s2>;
217 vddpx-supply = <&pm8941_s3>;
219 pinctrl-names = "default";
220 pinctrl-0 = <&wcnss_pin_a>;
225 vddxo-supply = <&pm8941_l6>;
226 vddrfa-supply = <&pm8941_l11>;
227 vddpa-supply = <&pm8941_l19>;
228 vdddig-supply = <&pm8941_s3>;
231 smd-edge {
232 qcom,remote-pid = <4>;
242 cx-supply = <&pm8841_s2>;
248 regulators-0 {
249 compatible = "qcom,rpm-pm8841-regulators";
252 regulator-min-microvolt = <675000>;
253 regulator-max-microvolt = <1050000>;
257 regulator-min-microvolt = <875000>;
258 regulator-max-microvolt = <1050000>;
259 regulator-always-on;
263 regulator-min-microvolt = <1050000>;
264 regulator-max-microvolt = <1050000>;
268 regulators-1 {
269 compatible = "qcom,rpm-pm8941-regulators";
271 vdd_l1_l3-supply = <&pm8941_s1>;
272 vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
273 vdd_l4_l11-supply = <&pm8941_s1>;
274 vdd_l5_l7-supply = <&pm8941_s2>;
275 vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
276 vdd_l8_l16_l18_l19-supply = <&vreg_vph_pwr>;
277 vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
278 vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
279 vdd_l21-supply = <&vreg_boost>;
282 regulator-min-microvolt = <1300000>;
283 regulator-max-microvolt = <1300000>;
285 regulator-always-on;
286 regulator-boot-on;
290 regulator-min-microvolt = <2150000>;
291 regulator-max-microvolt = <2150000>;
293 regulator-boot-on;
297 regulator-min-microvolt = <1800000>;
298 regulator-max-microvolt = <1800000>;
299 regulator-system-load = <154000>;
301 regulator-always-on;
302 regulator-boot-on;
303 regulator-allow-set-load;
307 regulator-min-microvolt = <1225000>;
308 regulator-max-microvolt = <1225000>;
310 regulator-always-on;
311 regulator-boot-on;
315 regulator-min-microvolt = <1200000>;
316 regulator-max-microvolt = <1200000>;
320 regulator-min-microvolt = <1225000>;
321 regulator-max-microvolt = <1225000>;
325 regulator-min-microvolt = <1225000>;
326 regulator-max-microvolt = <1225000>;
330 regulator-min-microvolt = <1800000>;
331 regulator-max-microvolt = <1800000>;
335 regulator-min-microvolt = <1800000>;
336 regulator-max-microvolt = <1800000>;
338 regulator-boot-on;
342 regulator-min-microvolt = <1800000>;
343 regulator-max-microvolt = <1800000>;
345 regulator-boot-on;
349 regulator-min-microvolt = <1800000>;
350 regulator-max-microvolt = <1800000>;
354 regulator-min-microvolt = <1800000>;
355 regulator-max-microvolt = <2950000>;
359 regulator-min-microvolt = <1800000>;
360 regulator-max-microvolt = <2950000>;
364 regulator-min-microvolt = <1225000>;
365 regulator-max-microvolt = <1350000>;
369 regulator-min-microvolt = <1800000>;
370 regulator-max-microvolt = <1800000>;
372 regulator-always-on;
373 regulator-boot-on;
374 regulator-allow-set-load;
378 regulator-min-microvolt = <1800000>;
379 regulator-max-microvolt = <2950000>;
381 regulator-boot-on;
385 regulator-min-microvolt = <1800000>;
386 regulator-max-microvolt = <1800000>;
390 regulator-min-microvolt = <2050000>;
391 regulator-max-microvolt = <2050000>;
395 regulator-min-microvolt = <2700000>;
396 regulator-max-microvolt = <2700000>;
400 regulator-min-microvolt = <2850000>;
401 regulator-max-microvolt = <2850000>;
405 regulator-min-microvolt = <2850000>;
406 regulator-max-microvolt = <2850000>;
410 regulator-min-microvolt = <2900000>;
411 regulator-max-microvolt = <3350000>;
415 regulator-min-microvolt = <2950000>;
416 regulator-max-microvolt = <2950000>;
418 regulator-system-load = <200000>;
419 regulator-allow-set-load;
420 regulator-boot-on;
424 regulator-min-microvolt = <2950000>;
425 regulator-max-microvolt = <2950000>;
427 regulator-boot-on;
431 regulator-min-microvolt = <3000000>;
432 regulator-max-microvolt = <3000000>;
433 regulator-allow-set-load;
437 regulator-min-microvolt = <3000000>;
438 regulator-max-microvolt = <3000000>;
442 regulator-min-microvolt = <3075000>;
443 regulator-max-microvolt = <3075000>;
445 regulator-boot-on;
453 vmmc-supply = <&pm8941_l20>;
454 vqmmc-supply = <&pm8941_s3>;
456 pinctrl-names = "default", "sleep";
457 pinctrl-0 = <&sdc1_on>;
458 pinctrl-1 = <&sdc1_off>;
468 gpio_hall_sensor_default: gpio-hall-sensor-default-state {
471 drive-strength = <8>;
472 bias-pull-up;
475 sdc1_on: sdc1-on-state {
476 clk-pins {
478 drive-strength = <4>;
479 bias-disable;
482 cmd-data-pins {
484 drive-strength = <4>;
485 bias-pull-up;
489 touch_default_state: touch-default-state {
490 int-pins {
493 drive-strength = <2>;
494 bias-disable;
497 reset-pins {
500 drive-strength = <2>;
501 bias-pull-up;
505 wcnss_pin_a: wcnss-pin-active-state {
506 wlan-pins {
509 drive-strength = <6>;
510 bias-pull-down;
513 bt-pins {
516 drive-strength = <2>;
517 bias-pull-down;
524 phy-select = <&tcsr 0xb000 0>;
526 vbus-supply = <&chg_otg>;
528 hnp-disable;
529 srp-disable;
530 adp-disable;
538 v1p8-supply = <&pm8941_l6>;
539 v3p3-supply = <&pm8941_l24>;
542 qcom,init-seq = /bits/ 8 <0x1 0x64>;