Lines Matching +full:cmd +full:- +full:gpios
1 #include "qcom-msm8974pro.dtsi"
2 #include "qcom-pm8841.dtsi"
3 #include "qcom-pm8941.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
10 compatible = "sony,xperia-castor", "qcom,msm8974";
18 stdout-path = "serial0:115200n8";
21 gpio-keys {
22 compatible = "gpio-keys";
23 input-name = "gpio-keys";
25 pinctrl-names = "default";
26 pinctrl-0 = <&gpio_keys_pin_a>;
28 volume-down {
30 gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>;
31 linux,input-type = <1>;
35 camera-snapshot {
37 gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>;
38 linux,input-type = <1>;
42 camera-focus {
44 gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>;
45 linux,input-type = <1>;
49 volume-up {
51 gpios = <&pm8941_gpios 5 GPIO_ACTIVE_LOW>;
52 linux,input-type = <1>;
60 pm8941-regulators {
61 vdd_l1_l3-supply = <&pm8941_s1>;
62 vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
63 vdd_l4_l11-supply = <&pm8941_s1>;
64 vdd_l5_l7-supply = <&pm8941_s2>;
65 vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
66 vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
67 vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
68 vdd_l21-supply = <&vreg_boost>;
71 regulator-min-microvolt = <1300000>;
72 regulator-max-microvolt = <1300000>;
73 regulator-always-on;
74 regulator-boot-on;
78 regulator-min-microvolt = <2150000>;
79 regulator-max-microvolt = <2150000>;
80 regulator-boot-on;
84 regulator-min-microvolt = <1800000>;
85 regulator-max-microvolt = <1800000>;
86 regulator-always-on;
87 regulator-boot-on;
89 regulator-system-load = <154000>;
93 regulator-min-microvolt = <5000000>;
94 regulator-max-microvolt = <5000000>;
98 regulator-min-microvolt = <1225000>;
99 regulator-max-microvolt = <1225000>;
101 regulator-always-on;
102 regulator-boot-on;
106 regulator-min-microvolt = <1200000>;
107 regulator-max-microvolt = <1200000>;
111 regulator-min-microvolt = <1200000>;
112 regulator-max-microvolt = <1200000>;
116 regulator-min-microvolt = <1225000>;
117 regulator-max-microvolt = <1225000>;
121 regulator-min-microvolt = <1800000>;
122 regulator-max-microvolt = <1800000>;
126 regulator-min-microvolt = <1800000>;
127 regulator-max-microvolt = <1800000>;
129 regulator-boot-on;
133 regulator-min-microvolt = <1800000>;
134 regulator-max-microvolt = <1800000>;
136 regulator-boot-on;
140 regulator-min-microvolt = <1800000>;
141 regulator-max-microvolt = <1800000>;
145 regulator-min-microvolt = <1800000>;
146 regulator-max-microvolt = <2950000>;
150 regulator-min-microvolt = <1300000>;
151 regulator-max-microvolt = <1350000>;
155 regulator-min-microvolt = <1800000>;
156 regulator-max-microvolt = <1800000>;
158 regulator-always-on;
159 regulator-boot-on;
163 regulator-min-microvolt = <1800000>;
164 regulator-max-microvolt = <2950000>;
166 regulator-boot-on;
170 regulator-min-microvolt = <1800000>;
171 regulator-max-microvolt = <1800000>;
175 regulator-min-microvolt = <2050000>;
176 regulator-max-microvolt = <2050000>;
180 regulator-min-microvolt = <2700000>;
181 regulator-max-microvolt = <2700000>;
185 regulator-min-microvolt = <2700000>;
186 regulator-max-microvolt = <2700000>;
190 regulator-min-microvolt = <2850000>;
191 regulator-max-microvolt = <2850000>;
195 regulator-min-microvolt = <2850000>;
196 regulator-max-microvolt = <2850000>;
200 regulator-min-microvolt = <2950000>;
201 regulator-max-microvolt = <2950000>;
203 regulator-allow-set-load;
204 regulator-boot-on;
205 regulator-allow-set-load;
206 regulator-system-load = <500000>;
210 regulator-min-microvolt = <2950000>;
211 regulator-max-microvolt = <2950000>;
213 regulator-boot-on;
217 regulator-min-microvolt = <3000000>;
218 regulator-max-microvolt = <3000000>;
222 regulator-min-microvolt = <2800000>;
223 regulator-max-microvolt = <2800000>;
227 regulator-min-microvolt = <3075000>;
228 regulator-max-microvolt = <3075000>;
230 regulator-boot-on;
237 vreg_bl_vddio: lcd-backlight-vddio {
238 compatible = "regulator-fixed";
239 regulator-name = "vreg_bl_vddio";
240 regulator-min-microvolt = <3150000>;
241 regulator-max-microvolt = <3150000>;
244 enable-active-high;
246 vin-supply = <&pm8941_s3>;
247 startup-delay-us = <70000>;
249 pinctrl-names = "default";
250 pinctrl-0 = <&lcd_backlight_en_pin_a>;
253 vreg_vsp: lcd-dcdc-regulator {
254 compatible = "regulator-fixed";
255 regulator-name = "vreg_vsp";
256 regulator-min-microvolt = <5600000>;
257 regulator-max-microvolt = <5600000>;
260 enable-active-high;
262 pinctrl-names = "default";
263 pinctrl-0 = <&lcd_dcdc_en_pin_a>;
266 vreg_wlan: wlan-regulator {
267 compatible = "regulator-fixed";
269 regulator-name = "wl-reg";
270 regulator-min-microvolt = <3300000>;
271 regulator-max-microvolt = <3300000>;
274 enable-active-high;
276 pinctrl-names = "default";
277 pinctrl-0 = <&wlan_regulator_pin>;
285 vmmc-supply = <&pm8941_l20>;
286 vqmmc-supply = <&pm8941_s3>;
288 bus-width = <8>;
289 non-removable;
291 pinctrl-names = "default";
292 pinctrl-0 = <&sdhc1_pin_a>;
298 max-frequency = <100000000>;
299 non-removable;
300 vmmc-supply = <&vreg_wlan>;
302 pinctrl-names = "default";
303 pinctrl-0 = <&sdhc3_pin_a>;
305 #address-cells = <1>;
306 #size-cells = <0>;
309 compatible = "brcm,bcm4339-fmac", "brcm,bcm4329-fmac";
312 brcm,drive-strength = <10>;
314 pinctrl-names = "default";
315 pinctrl-0 = <&wlan_sleep_clk_pin>;
322 bus-width = <4>;
324 vmmc-supply = <&pm8941_l21>;
325 vqmmc-supply = <&pm8941_l13>;
327 cd-gpios = <&msmgpio 62 GPIO_ACTIVE_LOW>;
329 pinctrl-names = "default";
330 pinctrl-0 = <&sdhc2_pin_a>, <&sdhc2_cd_pin_a>;
336 pinctrl-names = "default";
337 pinctrl-0 = <&blsp1_uart2_pin_a>;
343 pinctrl-names = "default";
344 pinctrl-0 = <&blsp2_uart7_pin_a>;
347 compatible = "brcm,bcm43438-bt";
348 max-speed = <3000000>;
350 pinctrl-names = "default";
351 pinctrl-0 = <&bt_host_wake_pin>,
355 host-wakeup-gpios = <&msmgpio 95 GPIO_ACTIVE_HIGH>;
356 device-wakeup-gpios = <&msmgpio 96 GPIO_ACTIVE_HIGH>;
357 shutdown-gpios = <&pm8941_gpios 16 GPIO_ACTIVE_HIGH>;
365 phy-select = <&tcsr 0xb000 0>;
367 vbus-supply = <&chg_otg>;
369 hnp-disable;
370 srp-disable;
371 adp-disable;
377 v1p8-supply = <&pm8941_l6>;
378 v3p3-supply = <&pm8941_l24>;
381 qcom,init-seq = /bits/ 8 <0x1 0x64>;
387 blsp1_uart2_pin_a: blsp1-uart2-pin-active {
392 drive-strength = <2>;
393 bias-pull-up;
400 drive-strength = <4>;
401 bias-disable;
405 blsp2_uart7_pin_a: blsp2-uart7-pin-active {
410 drive-strength = <2>;
411 bias-disable;
418 drive-strength = <2>;
419 bias-pull-up;
426 drive-strength = <2>;
427 bias-pull-up;
434 drive-strength = <2>;
435 bias-disable;
444 drive-strength = <2>;
445 bias-disable;
454 drive-strength = <2>;
455 bias-disable;
459 lcd_backlight_en_pin_a: lcd-backlight-vddio {
461 drive-strength = <10>;
462 output-low;
463 bias-disable;
466 sdhc1_pin_a: sdhc1-pin-active {
469 drive-strength = <16>;
470 bias-disable;
473 cmd-data {
475 drive-strength = <10>;
476 bias-pull-up;
480 sdhc2_cd_pin_a: sdhc2-cd-pin-active {
484 drive-strength = <2>;
485 bias-disable;
488 sdhc2_pin_a: sdhc2-pin-active {
491 drive-strength = <6>;
492 bias-disable;
495 cmd-data {
497 drive-strength = <6>;
498 bias-pull-up;
502 sdhc3_pin_a: sdhc3-pin-active {
507 drive-strength = <10>;
508 bias-disable;
511 cmd {
515 drive-strength = <10>;
516 bias-pull-up;
523 drive-strength = <10>;
524 bias-pull-up;
533 drive-strength = <2>;
534 bias-disable;
535 input-enable;
539 bt_host_wake_pin: bt-host-wake {
543 drive-strength = <2>;
544 bias-disable;
545 output-low;
548 bt_dev_wake_pin: bt-dev-wake {
552 drive-strength = <2>;
553 bias-disable;
560 clock-frequency = <355000>;
561 qcom,src-freq = <50000000>;
563 pinctrl-names = "default";
564 pinctrl-0 = <&i2c8_pins>;
567 compatible = "syna,rmi4-i2c";
570 interrupt-parent = <&msmgpio>;
573 #address-cells = <1>;
574 #size-cells = <0>;
576 vdd-supply = <&pm8941_l22>;
577 vio-supply = <&pm8941_lvs3>;
579 pinctrl-names = "default";
580 pinctrl-0 = <&ts_int_pin>;
582 syna,startup-delay-ms = <10>;
584 rmi-f01@1 {
589 rmi-f11@11 {
591 syna,f11-flip-x = <1>;
592 syna,sensor-type = <1>;
599 pinctrl-names = "default";
600 pinctrl-0 = <&i2c11_pins>;
601 clock-frequency = <355000>;
602 qcom,src-freq = <50000000>;
607 power-supply = <&vreg_bl_vddio>;
609 bl-name = "backlight";
610 dev-ctrl = /bits/ 8 <0x05>;
611 init-brt = /bits/ 8 <0x3f>;
613 rom-addr = /bits/ 8 <0xa0>;
614 rom-val = /bits/ 8 <0xff>;
617 rom-addr = /bits/ 8 <0xa1>;
618 rom-val = /bits/ 8 <0x3f>;
621 rom-addr = /bits/ 8 <0xa2>;
622 rom-val = /bits/ 8 <0x20>;
625 rom-addr = /bits/ 8 <0xa3>;
626 rom-val = /bits/ 8 <0x5e>;
629 rom-addr = /bits/ 8 <0xa4>;
630 rom-val = /bits/ 8 <0x02>;
633 rom-addr = /bits/ 8 <0xa5>;
634 rom-val = /bits/ 8 <0x04>;
637 rom-addr = /bits/ 8 <0xa6>;
638 rom-val = /bits/ 8 <0x80>;
641 rom-addr = /bits/ 8 <0xa7>;
642 rom-val = /bits/ 8 <0xf7>;
645 rom-addr = /bits/ 8 <0xa9>;
646 rom-val = /bits/ 8 <0x80>;
649 rom-addr = /bits/ 8 <0xaa>;
650 rom-val = /bits/ 8 <0x0f>;
653 rom-addr = /bits/ 8 <0xae>;
654 rom-val = /bits/ 8 <0x0f>;
663 qcom,fast-charge-safe-current = <1500000>;
664 qcom,fast-charge-current-limit = <1500000>;
665 qcom,dc-current-limit = <1800000>;
666 qcom,fast-charge-safe-voltage = <4400000>;
667 qcom,fast-charge-high-threshold-voltage = <4350000>;
668 qcom,fast-charge-low-threshold-voltage = <3400000>;
669 qcom,auto-recharge-threshold-voltage = <4200000>;
670 qcom,minimum-input-voltage = <4300000>;
673 gpios@c000 {
674 gpio_keys_pin_a: gpio-keys-active {
678 bias-pull-up;
679 power-source = <PM8941_GPIO_S3>;
682 bt_reg_on_pin: bt-reg-on {
686 output-low;
687 power-source = <PM8941_GPIO_S3>;
690 wlan_sleep_clk_pin: wl-sleep-clk {
694 output-high;
695 power-source = <PM8941_GPIO_S3>;
698 wlan_regulator_pin: wl-reg-active {
702 bias-disable;
703 power-source = <PM8941_GPIO_S3>;
706 lcd_dcdc_en_pin_a: lcd-dcdc-en-active {
710 bias-disable;
711 power-source = <PM8941_GPIO_S3>;
712 input-disable;
713 output-low;
720 qcom,rset-ohms = <2100>;
721 qcom,vset-millivolts = <3000>;