Lines Matching +full:charge +full:- +full:status +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";
17 stdout-path = "serial0:115200n8";
20 gpio-keys {
21 compatible = "gpio-keys";
22 input-name = "gpio-keys";
24 pinctrl-names = "default";
25 pinctrl-0 = <&gpio_keys_pin_a>;
27 volume-down {
29 gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>;
30 linux,input-type = <1>;
34 camera-snapshot {
36 gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>;
37 linux,input-type = <1>;
41 camera-focus {
43 gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>;
44 linux,input-type = <1>;
48 volume-up {
50 gpios = <&pm8941_gpios 5 GPIO_ACTIVE_LOW>;
51 linux,input-type = <1>;
59 pm8941-regulators {
60 vdd_l1_l3-supply = <&pm8941_s1>;
61 vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
62 vdd_l4_l11-supply = <&pm8941_s1>;
63 vdd_l5_l7-supply = <&pm8941_s2>;
64 vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
65 vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
66 vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
67 vdd_l21-supply = <&vreg_boost>;
70 regulator-min-microvolt = <1300000>;
71 regulator-max-microvolt = <1300000>;
72 regulator-always-on;
73 regulator-boot-on;
77 regulator-min-microvolt = <2150000>;
78 regulator-max-microvolt = <2150000>;
79 regulator-boot-on;
83 regulator-min-microvolt = <1800000>;
84 regulator-max-microvolt = <1800000>;
85 regulator-always-on;
86 regulator-boot-on;
88 regulator-system-load = <154000>;
92 regulator-min-microvolt = <5000000>;
93 regulator-max-microvolt = <5000000>;
97 regulator-min-microvolt = <1225000>;
98 regulator-max-microvolt = <1225000>;
100 regulator-always-on;
101 regulator-boot-on;
105 regulator-min-microvolt = <1200000>;
106 regulator-max-microvolt = <1200000>;
110 regulator-min-microvolt = <1200000>;
111 regulator-max-microvolt = <1200000>;
115 regulator-min-microvolt = <1225000>;
116 regulator-max-microvolt = <1225000>;
120 regulator-min-microvolt = <1800000>;
121 regulator-max-microvolt = <1800000>;
125 regulator-min-microvolt = <1800000>;
126 regulator-max-microvolt = <1800000>;
128 regulator-boot-on;
132 regulator-min-microvolt = <1800000>;
133 regulator-max-microvolt = <1800000>;
135 regulator-boot-on;
139 regulator-min-microvolt = <1800000>;
140 regulator-max-microvolt = <1800000>;
144 regulator-min-microvolt = <1800000>;
145 regulator-max-microvolt = <2950000>;
149 regulator-min-microvolt = <1300000>;
150 regulator-max-microvolt = <1350000>;
154 regulator-min-microvolt = <1800000>;
155 regulator-max-microvolt = <1800000>;
157 regulator-always-on;
158 regulator-boot-on;
162 regulator-min-microvolt = <1800000>;
163 regulator-max-microvolt = <2950000>;
165 regulator-boot-on;
169 regulator-min-microvolt = <1800000>;
170 regulator-max-microvolt = <1800000>;
174 regulator-min-microvolt = <2050000>;
175 regulator-max-microvolt = <2050000>;
179 regulator-min-microvolt = <2700000>;
180 regulator-max-microvolt = <2700000>;
184 regulator-min-microvolt = <2700000>;
185 regulator-max-microvolt = <2700000>;
189 regulator-min-microvolt = <2850000>;
190 regulator-max-microvolt = <2850000>;
194 regulator-min-microvolt = <2850000>;
195 regulator-max-microvolt = <2850000>;
199 regulator-min-microvolt = <2950000>;
200 regulator-max-microvolt = <2950000>;
202 regulator-allow-set-load;
203 regulator-boot-on;
204 regulator-allow-set-load;
205 regulator-system-load = <500000>;
209 regulator-min-microvolt = <2950000>;
210 regulator-max-microvolt = <2950000>;
212 regulator-boot-on;
216 regulator-min-microvolt = <3000000>;
217 regulator-max-microvolt = <3000000>;
221 regulator-min-microvolt = <2800000>;
222 regulator-max-microvolt = <2800000>;
226 regulator-min-microvolt = <3075000>;
227 regulator-max-microvolt = <3075000>;
229 regulator-boot-on;
236 vreg_bl_vddio: lcd-backlight-vddio {
237 compatible = "regulator-fixed";
238 regulator-name = "vreg_bl_vddio";
239 regulator-min-microvolt = <3150000>;
240 regulator-max-microvolt = <3150000>;
243 enable-active-high;
245 vin-supply = <&pm8941_s3>;
246 startup-delay-us = <70000>;
248 pinctrl-names = "default";
249 pinctrl-0 = <&lcd_backlight_en_pin_a>;
252 vreg_vsp: lcd-dcdc-regulator {
253 compatible = "regulator-fixed";
254 regulator-name = "vreg_vsp";
255 regulator-min-microvolt = <5600000>;
256 regulator-max-microvolt = <5600000>;
259 enable-active-high;
261 pinctrl-names = "default";
262 pinctrl-0 = <&lcd_dcdc_en_pin_a>;
265 vreg_wlan: wlan-regulator {
266 compatible = "regulator-fixed";
268 regulator-name = "wl-reg";
269 regulator-min-microvolt = <3300000>;
270 regulator-max-microvolt = <3300000>;
273 enable-active-high;
275 pinctrl-names = "default";
276 pinctrl-0 = <&wlan_regulator_pin>;
282 status = "ok";
284 vmmc-supply = <&pm8941_l20>;
285 vqmmc-supply = <&pm8941_s3>;
287 bus-width = <8>;
288 non-removable;
290 pinctrl-names = "default";
291 pinctrl-0 = <&sdhc1_pin_a>;
295 status = "ok";
297 max-frequency = <100000000>;
298 non-removable;
299 vmmc-supply = <&vreg_wlan>;
301 pinctrl-names = "default";
302 pinctrl-0 = <&sdhc3_pin_a>;
304 #address-cells = <1>;
305 #size-cells = <0>;
308 compatible = "brcm,bcm4339-fmac", "brcm,bcm4329-fmac";
311 brcm,drive-strength = <10>;
313 pinctrl-names = "default";
314 pinctrl-0 = <&wlan_sleep_clk_pin>;
319 status = "ok";
321 bus-width = <4>;
323 vmmc-supply = <&pm8941_l21>;
324 vqmmc-supply = <&pm8941_l13>;
326 cd-gpios = <&msmgpio 62 GPIO_ACTIVE_LOW>;
328 pinctrl-names = "default";
329 pinctrl-0 = <&sdhc2_pin_a>, <&sdhc2_cd_pin_a>;
333 status = "ok";
335 pinctrl-names = "default";
336 pinctrl-0 = <&blsp1_uart2_pin_a>;
340 status = "ok";
343 phy-select = <&tcsr 0xb000 0>;
345 vbus-supply = <&chg_otg>;
347 hnp-disable;
348 srp-disable;
349 adp-disable;
353 status = "ok";
355 v1p8-supply = <&pm8941_l6>;
356 v3p3-supply = <&pm8941_l24>;
359 qcom,init-seq = /bits/ 8 <0x1 0x64>;
365 blsp1_uart2_pin_a: blsp1-uart2-pin-active {
370 drive-strength = <2>;
371 bias-pull-up;
378 drive-strength = <4>;
379 bias-disable;
388 drive-strength = <2>;
389 bias-disable;
398 drive-strength = <2>;
399 bias-disable;
403 lcd_backlight_en_pin_a: lcd-backlight-vddio {
405 drive-strength = <10>;
406 output-low;
407 bias-disable;
410 sdhc1_pin_a: sdhc1-pin-active {
413 drive-strength = <16>;
414 bias-disable;
417 cmd-data {
419 drive-strength = <10>;
420 bias-pull-up;
424 sdhc2_cd_pin_a: sdhc2-cd-pin-active {
428 drive-strength = <2>;
429 bias-disable;
432 sdhc2_pin_a: sdhc2-pin-active {
435 drive-strength = <6>;
436 bias-disable;
439 cmd-data {
441 drive-strength = <6>;
442 bias-pull-up;
446 sdhc3_pin_a: sdhc3-pin-active {
451 drive-strength = <10>;
452 bias-disable;
459 drive-strength = <10>;
460 bias-pull-up;
467 drive-strength = <10>;
468 bias-pull-up;
477 drive-strength = <2>;
478 bias-disable;
479 input-enable;
485 status = "ok";
487 clock-frequency = <355000>;
488 qcom,src-freq = <50000000>;
490 pinctrl-names = "default";
491 pinctrl-0 = <&i2c8_pins>;
494 compatible = "syna,rmi4-i2c";
497 interrupt-parent = <&msmgpio>;
500 #address-cells = <1>;
501 #size-cells = <0>;
503 vdd-supply = <&pm8941_l22>;
504 vio-supply = <&pm8941_lvs3>;
506 pinctrl-names = "default";
507 pinctrl-0 = <&ts_int_pin>;
509 syna,startup-delay-ms = <10>;
511 rmi-f01@1 {
516 rmi-f11@11 {
518 syna,f11-flip-x = <1>;
519 syna,sensor-type = <1>;
525 status = "ok";
526 pinctrl-names = "default";
527 pinctrl-0 = <&i2c11_pins>;
528 clock-frequency = <355000>;
529 qcom,src-freq = <50000000>;
534 power-supply = <&vreg_bl_vddio>;
536 bl-name = "backlight";
537 dev-ctrl = /bits/ 8 <0x05>;
538 init-brt = /bits/ 8 <0x3f>;
540 rom-addr = /bits/ 8 <0xa0>;
541 rom-val = /bits/ 8 <0xff>;
544 rom-addr = /bits/ 8 <0xa1>;
545 rom-val = /bits/ 8 <0x3f>;
548 rom-addr = /bits/ 8 <0xa2>;
549 rom-val = /bits/ 8 <0x20>;
552 rom-addr = /bits/ 8 <0xa3>;
553 rom-val = /bits/ 8 <0x5e>;
556 rom-addr = /bits/ 8 <0xa4>;
557 rom-val = /bits/ 8 <0x02>;
560 rom-addr = /bits/ 8 <0xa5>;
561 rom-val = /bits/ 8 <0x04>;
564 rom-addr = /bits/ 8 <0xa6>;
565 rom-val = /bits/ 8 <0x80>;
568 rom-addr = /bits/ 8 <0xa7>;
569 rom-val = /bits/ 8 <0xf7>;
572 rom-addr = /bits/ 8 <0xa9>;
573 rom-val = /bits/ 8 <0x80>;
576 rom-addr = /bits/ 8 <0xaa>;
577 rom-val = /bits/ 8 <0x0f>;
580 rom-addr = /bits/ 8 <0xae>;
581 rom-val = /bits/ 8 <0x0f>;
590 qcom,fast-charge-safe-current = <1500000>;
591 qcom,fast-charge-current-limit = <1500000>;
592 qcom,dc-current-limit = <1800000>;
593 qcom,fast-charge-safe-voltage = <4400000>;
594 qcom,fast-charge-high-threshold-voltage = <4350000>;
595 qcom,fast-charge-low-threshold-voltage = <3400000>;
596 qcom,auto-recharge-threshold-voltage = <4200000>;
597 qcom,minimum-input-voltage = <4300000>;
600 gpios@c000 {
601 gpio_keys_pin_a: gpio-keys-active {
605 bias-pull-up;
606 power-source = <PM8941_GPIO_S3>;
609 wlan_sleep_clk_pin: wl-sleep-clk {
613 output-high;
614 power-source = <PM8941_GPIO_S3>;
617 wlan_regulator_pin: wl-reg-active {
621 bias-disable;
622 power-source = <PM8941_GPIO_S3>;
625 lcd_dcdc_en_pin_a: lcd-dcdc-en-active {
629 bias-disable;
630 power-source = <PM8941_GPIO_S3>;
631 input-disable;
632 output-low;
638 status = "ok";
639 qcom,rset-ohms = <2100>;
640 qcom,vset-millivolts = <3000>;