Lines Matching +full:msm8974 +full:- +full:pinctrl

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>
15 stdout-path = "serial0:115200n8";
18 gpio-keys {
19 compatible = "gpio-keys";
21 pinctrl-names = "default";
22 pinctrl-0 = <&gpio_keys_pin_a>;
24 key-volume-down {
27 linux,input-type = <1>;
31 key-camera-snapshot {
34 linux,input-type = <1>;
38 key-camera-focus {
41 linux,input-type = <1>;
45 key-volume-up {
48 linux,input-type = <1>;
53 reserved-memory {
54 #address-cells = <1>;
55 #size-cells = <1>;
62 console-size = <0x100000>;
63 record-size = <0x10000>;
64 ftrace-size = <0x10000>;
65 pmsg-size = <0x80000>;
69 vreg_boost: vreg-boost {
70 compatible = "regulator-fixed";
72 regulator-name = "vreg-boost";
73 regulator-min-microvolt = <3150000>;
74 regulator-max-microvolt = <3150000>;
76 regulator-always-on;
77 regulator-boot-on;
80 enable-active-high;
82 pinctrl-names = "default";
83 pinctrl-0 = <&boost_bypass_n_pin>;
86 vreg_vph_pwr: vreg-vph-pwr {
87 compatible = "regulator-fixed";
88 regulator-name = "vph-pwr";
90 regulator-min-microvolt = <3600000>;
91 regulator-max-microvolt = <3600000>;
93 regulator-always-on;
99 clock-frequency = <355000>;
102 compatible = "syna,rmi4-i2c";
105 interrupts-extended = <&tlmm 61 IRQ_TYPE_EDGE_FALLING>;
107 #address-cells = <1>;
108 #size-cells = <0>;
110 vdd-supply = <&pm8941_l22>;
111 vio-supply = <&pm8941_lvs3>;
113 pinctrl-names = "default";
114 pinctrl-0 = <&ts_int_pin>;
116 syna,startup-delay-ms = <10>;
118 rmi4-f01@1 {
120 syna,nosleep-mode = <1>;
123 rmi4-f11@11 {
125 touchscreen-inverted-x;
126 syna,sensor-type = <1>;
133 clock-frequency = <355000>;
136 compatible = "nxp,pn544-i2c";
139 interrupt-parent = <&tlmm>;
142 enable-gpios = <&pm8941_gpios 23 GPIO_ACTIVE_HIGH>;
143 firmware-gpios = <&tlmm 77 GPIO_ACTIVE_HIGH>;
152 qcom,controlled-remotely;
157 clock-frequency = <355000>;
164 qcom,rset-ohms = <2100>;
165 qcom,vset-millivolts = <3000>;
169 gpio_keys_pin_a: gpio-keys-active-state {
173 bias-pull-up;
174 power-source = <PM8941_GPIO_S3>;
181 qcom,power-source = <1>;
183 multi-led {
187 #address-cells = <1>;
188 #size-cells = <0>;
210 qcom,cs-out;
211 qcom,current-limit = <20>;
212 qcom,current-boost-limit = <805>;
213 qcom,switching-freq = <1600>;
215 qcom,num-strings = <2>;
219 cx-supply = <&pm8841_s2>;
224 cx-supply = <&pm8841_s2>;
225 mss-supply = <&pm8841_s3>;
226 mx-supply = <&pm8841_s1>;
227 pll-supply = <&pm8941_l12>;
232 regulators-0 {
233 compatible = "qcom,rpm-pm8841-regulators";
236 regulator-min-microvolt = <675000>;
237 regulator-max-microvolt = <1050000>;
241 regulator-min-microvolt = <500000>;
242 regulator-max-microvolt = <1050000>;
246 regulator-min-microvolt = <500000>;
247 regulator-max-microvolt = <1050000>;
251 regulator-min-microvolt = <500000>;
252 regulator-max-microvolt = <1050000>;
256 regulators-1 {
257 compatible = "qcom,rpm-pm8941-regulators";
259 vdd_l1_l3-supply = <&pm8941_s1>;
260 vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
261 vdd_l4_l11-supply = <&pm8941_s1>;
262 vdd_l5_l7-supply = <&pm8941_s2>;
263 vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
264 vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
265 vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
266 vdd_l21-supply = <&vreg_boost>;
269 regulator-min-microvolt = <1300000>;
270 regulator-max-microvolt = <1300000>;
271 regulator-always-on;
272 regulator-boot-on;
276 regulator-min-microvolt = <2150000>;
277 regulator-max-microvolt = <2150000>;
278 regulator-boot-on;
282 regulator-min-microvolt = <1800000>;
283 regulator-max-microvolt = <1800000>;
284 regulator-always-on;
285 regulator-boot-on;
289 regulator-min-microvolt = <5000000>;
290 regulator-max-microvolt = <5000000>;
294 regulator-min-microvolt = <1225000>;
295 regulator-max-microvolt = <1225000>;
296 regulator-always-on;
297 regulator-boot-on;
301 regulator-min-microvolt = <1200000>;
302 regulator-max-microvolt = <1200000>;
306 regulator-min-microvolt = <1200000>;
307 regulator-max-microvolt = <1200000>;
311 regulator-min-microvolt = <1225000>;
312 regulator-max-microvolt = <1225000>;
316 regulator-min-microvolt = <1800000>;
317 regulator-max-microvolt = <1800000>;
321 regulator-min-microvolt = <1800000>;
322 regulator-max-microvolt = <1800000>;
323 regulator-boot-on;
327 regulator-min-microvolt = <1800000>;
328 regulator-max-microvolt = <1800000>;
329 regulator-boot-on;
333 regulator-min-microvolt = <1800000>;
334 regulator-max-microvolt = <1800000>;
338 regulator-min-microvolt = <1800000>;
339 regulator-max-microvolt = <2950000>;
343 regulator-min-microvolt = <1300000>;
344 regulator-max-microvolt = <1350000>;
348 regulator-min-microvolt = <1800000>;
349 regulator-max-microvolt = <1800000>;
350 regulator-always-on;
351 regulator-boot-on;
355 regulator-min-microvolt = <1800000>;
356 regulator-max-microvolt = <2950000>;
357 regulator-boot-on;
361 regulator-min-microvolt = <1800000>;
362 regulator-max-microvolt = <1800000>;
366 regulator-min-microvolt = <2050000>;
367 regulator-max-microvolt = <2050000>;
371 regulator-min-microvolt = <2700000>;
372 regulator-max-microvolt = <2700000>;
376 regulator-min-microvolt = <2700000>;
377 regulator-max-microvolt = <2700000>;
381 regulator-min-microvolt = <2850000>;
382 regulator-max-microvolt = <2850000>;
386 regulator-min-microvolt = <3300000>;
387 regulator-max-microvolt = <3300000>;
391 regulator-min-microvolt = <2950000>;
392 regulator-max-microvolt = <2950000>;
393 regulator-system-load = <200000>;
394 regulator-allow-set-load;
395 regulator-boot-on;
399 regulator-min-microvolt = <2950000>;
400 regulator-max-microvolt = <2950000>;
401 regulator-boot-on;
405 regulator-min-microvolt = <3000000>;
406 regulator-max-microvolt = <3000000>;
410 regulator-min-microvolt = <2800000>;
411 regulator-max-microvolt = <2800000>;
415 regulator-min-microvolt = <3075000>;
416 regulator-max-microvolt = <3075000>;
417 regulator-boot-on;
427 vmmc-supply = <&pm8941_l20>;
428 vqmmc-supply = <&pm8941_s3>;
430 pinctrl-names = "default", "sleep";
431 pinctrl-0 = <&sdc1_on>;
432 pinctrl-1 = <&sdc1_off>;
438 vmmc-supply = <&pm8941_l21>;
439 vqmmc-supply = <&pm8941_l13>;
441 cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>;
443 pinctrl-names = "default", "sleep";
444 pinctrl-0 = <&sdc2_on>;
445 pinctrl-1 = <&sdc2_off>;
449 qcom,fast-charge-safe-current = <1500000>;
450 qcom,fast-charge-current-limit = <1500000>;
451 qcom,dc-current-limit = <1800000>;
452 qcom,fast-charge-safe-voltage = <4400000>;
453 qcom,fast-charge-high-threshold-voltage = <4350000>;
454 qcom,fast-charge-low-threshold-voltage = <3400000>;
455 qcom,auto-recharge-threshold-voltage = <4200000>;
456 qcom,minimum-input-voltage = <4300000>;
462 ts_int_pin: touch-int-state {
465 drive-strength = <2>;
466 bias-disable;
469 sdc1_on: sdc1-on-state {
470 clk-pins {
472 drive-strength = <16>;
473 bias-disable;
476 cmd-data-pins {
478 drive-strength = <10>;
479 bias-pull-up;
483 sdc2_on: sdc-on-state {
484 clk-pins {
486 drive-strength = <10>;
487 bias-disable;
490 cmd-data-pins {
492 drive-strength = <6>;
493 bias-pull-up;
496 cd-pins {
499 drive-strength = <2>;
500 bias-disable;
509 phy-select = <&tcsr 0xb000 0>;
511 vbus-supply = <&chg_otg>;
513 hnp-disable;
514 srp-disable;
515 adp-disable;
521 v1p8-supply = <&pm8941_l6>;
522 v3p3-supply = <&pm8941_l24>;
525 qcom,init-seq = /bits/ 8 <0x1 0x64>;