1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro.dtsi"
3 #include "qcom-pma8084.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7 #include <dt-bindings/leds/common.h>
8
9 / {
10 model = "Samsung Galaxy S5";
11 compatible = "samsung,klte", "qcom,msm8974";
12
13 aliases {
14 serial0 = &blsp1_uart1;
15 mmc0 = &sdhc_1; /* SDC1 eMMC slot */
16 mmc1 = &sdhc_2; /* SDC2 SD card slot */
17 };
18
19 chosen {
20 stdout-path = "serial0:115200n8";
21 };
22
23 smd {
24 rpm {
25 rpm_requests {
26 pma8084-regulators {
27 compatible = "qcom,rpm-pma8084-regulators";
28 status = "okay";
29
30 pma8084_s1: s1 {
31 regulator-min-microvolt = <675000>;
32 regulator-max-microvolt = <1050000>;
33 regulator-always-on;
34 };
35
36 pma8084_s2: s2 {
37 regulator-min-microvolt = <500000>;
38 regulator-max-microvolt = <1050000>;
39 };
40
41 pma8084_s3: s3 {
42 regulator-min-microvolt = <1300000>;
43 regulator-max-microvolt = <1300000>;
44 };
45
46 pma8084_s4: s4 {
47 regulator-min-microvolt = <1800000>;
48 regulator-max-microvolt = <1800000>;
49 };
50
51 pma8084_s5: s5 {
52 regulator-min-microvolt = <2150000>;
53 regulator-max-microvolt = <2150000>;
54 };
55
56 pma8084_s6: s6 {
57 regulator-min-microvolt = <1050000>;
58 regulator-max-microvolt = <1050000>;
59 };
60
61 pma8084_l1: l1 {
62 regulator-min-microvolt = <1225000>;
63 regulator-max-microvolt = <1225000>;
64 };
65
66 pma8084_l2: l2 {
67 regulator-min-microvolt = <1200000>;
68 regulator-max-microvolt = <1200000>;
69 };
70
71 pma8084_l3: l3 {
72 regulator-min-microvolt = <1050000>;
73 regulator-max-microvolt = <1200000>;
74 };
75
76 pma8084_l4: l4 {
77 regulator-min-microvolt = <1200000>;
78 regulator-max-microvolt = <1225000>;
79 };
80
81 pma8084_l5: l5 {
82 regulator-min-microvolt = <1800000>;
83 regulator-max-microvolt = <1800000>;
84 };
85
86 pma8084_l6: l6 {
87 regulator-min-microvolt = <1800000>;
88 regulator-max-microvolt = <1800000>;
89 };
90
91 pma8084_l7: l7 {
92 regulator-min-microvolt = <1800000>;
93 regulator-max-microvolt = <1800000>;
94 };
95
96 pma8084_l8: l8 {
97 regulator-min-microvolt = <1800000>;
98 regulator-max-microvolt = <1800000>;
99 };
100
101 pma8084_l9: l9 {
102 regulator-min-microvolt = <1800000>;
103 regulator-max-microvolt = <2950000>;
104 };
105
106 pma8084_l10: l10 {
107 regulator-min-microvolt = <1800000>;
108 regulator-max-microvolt = <2950000>;
109 };
110
111 pma8084_l11: l11 {
112 regulator-min-microvolt = <1300000>;
113 regulator-max-microvolt = <1300000>;
114 };
115
116 pma8084_l12: l12 {
117 regulator-min-microvolt = <1800000>;
118 regulator-max-microvolt = <1800000>;
119 regulator-always-on;
120 };
121
122 pma8084_l13: l13 {
123 regulator-min-microvolt = <1800000>;
124 regulator-max-microvolt = <2950000>;
125 };
126
127 pma8084_l14: l14 {
128 regulator-min-microvolt = <1800000>;
129 regulator-max-microvolt = <1800000>;
130 };
131
132 pma8084_l15: l15 {
133 regulator-min-microvolt = <2050000>;
134 regulator-max-microvolt = <2050000>;
135 };
136
137 pma8084_l16: l16 {
138 regulator-min-microvolt = <2700000>;
139 regulator-max-microvolt = <2700000>;
140 };
141
142 pma8084_l17: l17 {
143 regulator-min-microvolt = <2850000>;
144 regulator-max-microvolt = <2850000>;
145 };
146
147 pma8084_l18: l18 {
148 regulator-min-microvolt = <2850000>;
149 regulator-max-microvolt = <2850000>;
150 };
151
152 pma8084_l19: l19 {
153 regulator-min-microvolt = <3300000>;
154 regulator-max-microvolt = <3300000>;
155 };
156
157 pma8084_l20: l20 {
158 regulator-min-microvolt = <2950000>;
159 regulator-max-microvolt = <2950000>;
160
161 regulator-allow-set-load;
162 regulator-system-load = <200000>;
163 };
164
165 pma8084_l21: l21 {
166 regulator-min-microvolt = <2950000>;
167 regulator-max-microvolt = <2950000>;
168
169 regulator-allow-set-load;
170 regulator-system-load = <200000>;
171 };
172
173 pma8084_l22: l22 {
174 regulator-min-microvolt = <3000000>;
175 regulator-max-microvolt = <3300000>;
176 };
177
178 pma8084_l23: l23 {
179 regulator-min-microvolt = <3000000>;
180 regulator-max-microvolt = <3000000>;
181 };
182
183 pma8084_l24: l24 {
184 regulator-min-microvolt = <3075000>;
185 regulator-max-microvolt = <3075000>;
186 };
187
188 pma8084_l25: l25 {
189 regulator-min-microvolt = <2100000>;
190 regulator-max-microvolt = <2100000>;
191 };
192
193 pma8084_l26: l26 {
194 regulator-min-microvolt = <1800000>;
195 regulator-max-microvolt = <2050000>;
196 };
197
198 pma8084_l27: l27 {
199 regulator-min-microvolt = <1000000>;
200 regulator-max-microvolt = <1225000>;
201 };
202
203 pma8084_lvs1: lvs1 {};
204 pma8084_lvs2: lvs2 {};
205 pma8084_lvs3: lvs3 {};
206 pma8084_lvs4: lvs4 {};
207
208 pma8084_5vs1: 5vs1 {};
209 };
210 };
211 };
212 };
213
214 i2c-gpio-touchkey {
215 compatible = "i2c-gpio";
216 #address-cells = <1>;
217 #size-cells = <0>;
218 sda-gpios = <&msmgpio 95 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
219 scl-gpios = <&msmgpio 96 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
220 pinctrl-names = "default";
221 pinctrl-0 = <&i2c_touchkey_pins>;
222
223 touchkey@20 {
224 compatible = "cypress,tm2-touchkey";
225 reg = <0x20>;
226
227 interrupt-parent = <&pma8084_gpios>;
228 interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
229 pinctrl-names = "default";
230 pinctrl-0 = <&touchkey_pin>;
231
232 vcc-supply = <&max77826_ldo15>;
233 vdd-supply = <&pma8084_l19>;
234
235 linux,keycodes = <KEY_APPSELECT KEY_BACK>;
236 };
237 };
238
239 i2c-gpio-led {
240 compatible = "i2c-gpio";
241 #address-cells = <1>;
242 #size-cells = <0>;
243 scl-gpios = <&msmgpio 121 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
244 sda-gpios = <&msmgpio 120 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
245 pinctrl-names = "default";
246 pinctrl-0 = <&i2c_led_gpioex_pins>;
247
248 i2c-gpio,delay-us = <2>;
249
250 gpio_expander: gpio@20 {
251 compatible = "nxp,pcal6416";
252 reg = <0x20>;
253
254 gpio-controller;
255 #gpio-cells = <2>;
256
257 vcc-supply = <&pma8084_s4>;
258
259 pinctrl-names = "default";
260 pinctrl-0 = <&gpioex_pin>;
261
262 reset-gpios = <&msmgpio 145 GPIO_ACTIVE_LOW>;
263 };
264
265 led-controller@30 {
266 compatible = "panasonic,an30259a";
267 reg = <0x30>;
268
269 #address-cells = <1>;
270 #size-cells = <0>;
271
272 led@1 {
273 reg = <1>;
274 function = LED_FUNCTION_STATUS;
275 color = <LED_COLOR_ID_RED>;
276 };
277
278 led@2 {
279 reg = <2>;
280 function = LED_FUNCTION_STATUS;
281 color = <LED_COLOR_ID_GREEN>;
282 };
283
284 led@3 {
285 reg = <3>;
286 function = LED_FUNCTION_STATUS;
287 color = <LED_COLOR_ID_BLUE>;
288 };
289 };
290 };
291
292 vreg_wlan: wlan-regulator {
293 compatible = "regulator-fixed";
294
295 regulator-name = "wl-reg";
296 regulator-min-microvolt = <3300000>;
297 regulator-max-microvolt = <3300000>;
298
299 gpio = <&gpio_expander 8 GPIO_ACTIVE_HIGH>;
300 enable-active-high;
301 };
302
303 vreg_panel: panel-regulator {
304 compatible = "regulator-fixed";
305
306 pinctrl-names = "default";
307 pinctrl-0 = <&panel_en_pin>;
308
309 regulator-name = "panel-vddr-reg";
310 regulator-min-microvolt = <1500000>;
311 regulator-max-microvolt = <1500000>;
312
313 gpio = <&pma8084_gpios 14 GPIO_ACTIVE_HIGH>;
314 enable-active-high;
315 };
316
317 /delete-node/ vreg-boost;
318
319 adsp-pil {
320 cx-supply = <&pma8084_s2>;
321 };
322 };
323
324 &soc {
325 serial@f991e000 {
326 status = "okay";
327 };
328
329 /* blsp2_uart8 */
330 serial@f995e000 {
331 status = "okay";
332
333 pinctrl-names = "default", "sleep";
334 pinctrl-0 = <&blsp2_uart8_pins_active>;
335 pinctrl-1 = <&blsp2_uart8_pins_sleep>;
336
337 bluetooth {
338 compatible = "brcm,bcm43540-bt";
339 max-speed = <3000000>;
340 pinctrl-names = "default";
341 pinctrl-0 = <&bt_pins>;
342 device-wakeup-gpios = <&msmgpio 91 GPIO_ACTIVE_HIGH>;
343 shutdown-gpios = <&gpio_expander 9 GPIO_ACTIVE_HIGH>;
344 interrupt-parent = <&msmgpio>;
345 interrupts = <75 IRQ_TYPE_LEVEL_HIGH>;
346 interrupt-names = "host-wakeup";
347 };
348 };
349
350 gpio-keys {
351 compatible = "gpio-keys";
352
353 pinctrl-names = "default";
354 pinctrl-0 = <&gpio_keys_pin_a>;
355
356 volume-down {
357 label = "volume_down";
358 gpios = <&pma8084_gpios 2 GPIO_ACTIVE_LOW>;
359 linux,input-type = <1>;
360 linux,code = <KEY_VOLUMEDOWN>;
361 debounce-interval = <15>;
362 };
363
364 home-key {
365 label = "home_key";
366 gpios = <&pma8084_gpios 3 GPIO_ACTIVE_LOW>;
367 linux,input-type = <1>;
368 linux,code = <KEY_HOMEPAGE>;
369 wakeup-source;
370 debounce-interval = <15>;
371 };
372
373 volume-up {
374 label = "volume_up";
375 gpios = <&pma8084_gpios 5 GPIO_ACTIVE_LOW>;
376 linux,input-type = <1>;
377 linux,code = <KEY_VOLUMEUP>;
378 debounce-interval = <15>;
379 };
380 };
381
382 pinctrl@fd510000 {
383 blsp2_uart8_pins_active: blsp2-uart8-pins-active {
384 pins = "gpio45", "gpio46", "gpio47", "gpio48";
385 function = "blsp_uart8";
386 drive-strength = <8>;
387 bias-disable;
388 };
389
390 blsp2_uart8_pins_sleep: blsp2-uart8-pins-sleep {
391 pins = "gpio45", "gpio46", "gpio47", "gpio48";
392 function = "gpio";
393 drive-strength = <2>;
394 bias-pull-down;
395 };
396
397 bt_pins: bt-pins {
398 hostwake {
399 pins = "gpio75";
400 function = "gpio";
401 drive-strength = <16>;
402 input-enable;
403 };
404
405 devwake {
406 pins = "gpio91";
407 function = "gpio";
408 drive-strength = <2>;
409 };
410 };
411
412 sdhc1_pin_a: sdhc1-pin-active {
413 clk {
414 pins = "sdc1_clk";
415 drive-strength = <4>;
416 bias-disable;
417 };
418
419 cmd-data {
420 pins = "sdc1_cmd", "sdc1_data";
421 drive-strength = <4>;
422 bias-pull-up;
423 };
424 };
425
426 sdhc2_pin_a: sdhc2-pin-active {
427 clk-cmd-data {
428 pins = "gpio35", "gpio36", "gpio37", "gpio38",
429 "gpio39", "gpio40";
430 function = "sdc3";
431 drive-strength = <8>;
432 bias-disable;
433 };
434 };
435
436 sdhc2_cd_pin: sdhc2-cd {
437 pins = "gpio62";
438 function = "gpio";
439
440 drive-strength = <2>;
441 bias-disable;
442 };
443
444 sdhc3_pin_a: sdhc3-pin-active {
445 clk {
446 pins = "sdc2_clk";
447 drive-strength = <6>;
448 bias-disable;
449 };
450
451 cmd-data {
452 pins = "sdc2_cmd", "sdc2_data";
453 drive-strength = <6>;
454 bias-pull-up;
455 };
456 };
457
458 i2c2_pins: i2c2 {
459 mux {
460 pins = "gpio6", "gpio7";
461 function = "blsp_i2c2";
462
463 drive-strength = <2>;
464 bias-disable;
465 };
466 };
467
468 i2c6_pins: i2c6 {
469 mux {
470 pins = "gpio29", "gpio30";
471 function = "blsp_i2c6";
472
473 drive-strength = <2>;
474 bias-disable;
475 };
476 };
477
478 i2c12_pins: i2c12 {
479 mux {
480 pins = "gpio87", "gpio88";
481 function = "blsp_i2c12";
482
483 drive-strength = <2>;
484 bias-disable;
485 };
486 };
487
488 i2c_touchkey_pins: i2c-touchkey {
489 mux {
490 pins = "gpio95", "gpio96";
491 function = "gpio";
492 input-enable;
493 bias-pull-up;
494 };
495 };
496
497 i2c_led_gpioex_pins: i2c-led-gpioex {
498 mux {
499 pins = "gpio120", "gpio121";
500 function = "gpio";
501 input-enable;
502 bias-pull-down;
503 };
504 };
505
506 gpioex_pin: gpioex {
507 res {
508 pins = "gpio145";
509 function = "gpio";
510
511 bias-pull-up;
512 drive-strength = <2>;
513 };
514 };
515
516 wifi_pin: wifi {
517 int {
518 pins = "gpio92";
519 function = "gpio";
520
521 input-enable;
522 bias-pull-down;
523 };
524 };
525
526 panel_te_pin: panel {
527 te {
528 pins = "gpio12";
529 function = "mdp_vsync";
530
531 drive-strength = <2>;
532 bias-disable;
533 };
534 };
535 };
536
537 sdhc_1: sdhci@f9824900 {
538 status = "okay";
539
540 vmmc-supply = <&pma8084_l20>;
541 vqmmc-supply = <&pma8084_s4>;
542
543 bus-width = <8>;
544 non-removable;
545
546 pinctrl-names = "default";
547 pinctrl-0 = <&sdhc1_pin_a>;
548 };
549
550 sdhc_2: sdhci@f9864900 {
551 status = "okay";
552
553 max-frequency = <100000000>;
554
555 vmmc-supply = <&pma8084_l21>;
556 vqmmc-supply = <&pma8084_l13>;
557
558 bus-width = <4>;
559
560 /* cd-gpio is intentionally disabled. If enabled, an SD card
561 * present during boot is not initialized correctly. Without
562 * cd-gpios the driver resorts to polling, so hotplug works.
563 */
564 pinctrl-names = "default";
565 pinctrl-0 = <&sdhc2_pin_a /* &sdhc2_cd_pin */>;
566 // cd-gpios = <&msmgpio 62 GPIO_ACTIVE_LOW>;
567 };
568
569 sdhci@f98a4900 {
570 status = "okay";
571
572 #address-cells = <1>;
573 #size-cells = <0>;
574
575 max-frequency = <100000000>;
576
577 pinctrl-names = "default";
578 pinctrl-0 = <&sdhc3_pin_a>;
579
580 vmmc-supply = <&vreg_wlan>;
581 vqmmc-supply = <&pma8084_s4>;
582
583 bus-width = <4>;
584 non-removable;
585
586 wifi@1 {
587 reg = <1>;
588 compatible = "brcm,bcm4329-fmac";
589
590 interrupt-parent = <&msmgpio>;
591 interrupts = <92 IRQ_TYPE_LEVEL_HIGH>;
592 interrupt-names = "host-wake";
593
594 pinctrl-names = "default";
595 pinctrl-0 = <&wlan_sleep_clk_pin &wifi_pin>;
596 };
597 };
598
599 usb@f9a55000 {
600 status = "okay";
601
602 phys = <&usb_hs1_phy>;
603 phy-select = <&tcsr 0xb000 0>;
604 /*extcon = <&smbb>, <&usb_id>;*/
605 /*vbus-supply = <&chg_otg>;*/
606
607 hnp-disable;
608 srp-disable;
609 adp-disable;
610
611 ulpi {
612 phy@a {
613 status = "okay";
614
615 v1p8-supply = <&pma8084_l6>;
616 v3p3-supply = <&pma8084_l24>;
617
618 /*extcon = <&smbb>;*/
619 qcom,init-seq = /bits/ 8 <0x1 0x64>;
620 };
621 };
622 };
623
624 i2c@f9924000 {
625 status = "okay";
626
627 pinctrl-names = "default";
628 pinctrl-0 = <&i2c2_pins>;
629
630 touchscreen@20 {
631 compatible = "syna,rmi4-i2c";
632 reg = <0x20>;
633
634 interrupt-parent = <&pma8084_gpios>;
635 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
636
637 vdd-supply = <&max77826_ldo13>;
638 vio-supply = <&pma8084_lvs2>;
639
640 pinctrl-names = "default";
641 pinctrl-0 = <&touch_pin>;
642
643 syna,startup-delay-ms = <100>;
644
645 #address-cells = <1>;
646 #size-cells = <0>;
647
648 rmi4-f01@1 {
649 reg = <0x1>;
650 syna,nosleep-mode = <1>;
651 };
652
653 rmi4-f12@12 {
654 reg = <0x12>;
655 syna,sensor-type = <1>;
656 };
657 };
658 };
659
660 i2c@f9928000 {
661 status = "okay";
662
663 pinctrl-names = "default";
664 pinctrl-0 = <&i2c6_pins>;
665
666 pmic@60 {
667 reg = <0x60>;
668 compatible = "maxim,max77826";
669
670 regulators {
671 max77826_ldo1: LDO1 {
672 regulator-min-microvolt = <1200000>;
673 regulator-max-microvolt = <1200000>;
674 };
675
676 max77826_ldo2: LDO2 {
677 regulator-min-microvolt = <1000000>;
678 regulator-max-microvolt = <1000000>;
679 };
680
681 max77826_ldo3: LDO3 {
682 regulator-min-microvolt = <1200000>;
683 regulator-max-microvolt = <1200000>;
684 };
685
686 max77826_ldo4: LDO4 {
687 regulator-min-microvolt = <1800000>;
688 regulator-max-microvolt = <1800000>;
689 };
690
691 max77826_ldo5: LDO5 {
692 regulator-min-microvolt = <1800000>;
693 regulator-max-microvolt = <1800000>;
694 };
695
696 max77826_ldo6: LDO6 {
697 regulator-min-microvolt = <1800000>;
698 regulator-max-microvolt = <3300000>;
699 };
700
701 max77826_ldo7: LDO7 {
702 regulator-min-microvolt = <1800000>;
703 regulator-max-microvolt = <1800000>;
704 };
705
706 max77826_ldo8: LDO8 {
707 regulator-min-microvolt = <1800000>;
708 regulator-max-microvolt = <3300000>;
709 };
710
711 max77826_ldo9: LDO9 {
712 regulator-min-microvolt = <1800000>;
713 regulator-max-microvolt = <1800000>;
714 };
715
716 max77826_ldo10: LDO10 {
717 regulator-min-microvolt = <2800000>;
718 regulator-max-microvolt = <2950000>;
719 };
720
721 max77826_ldo11: LDO11 {
722 regulator-min-microvolt = <2700000>;
723 regulator-max-microvolt = <2950000>;
724 };
725
726 max77826_ldo12: LDO12 {
727 regulator-min-microvolt = <2500000>;
728 regulator-max-microvolt = <3300000>;
729 };
730
731 max77826_ldo13: LDO13 {
732 regulator-min-microvolt = <3300000>;
733 regulator-max-microvolt = <3300000>;
734 };
735
736 max77826_ldo14: LDO14 {
737 regulator-min-microvolt = <3300000>;
738 regulator-max-microvolt = <3300000>;
739 };
740
741 max77826_ldo15: LDO15 {
742 regulator-min-microvolt = <1800000>;
743 regulator-max-microvolt = <1800000>;
744 };
745
746 max77826_buck: BUCK {
747 regulator-min-microvolt = <1225000>;
748 regulator-max-microvolt = <1225000>;
749 };
750
751 max77826_buckboost: BUCKBOOST {
752 regulator-min-microvolt = <3400000>;
753 regulator-max-microvolt = <3400000>;
754 };
755 };
756 };
757 };
758
759 i2c@f9968000 {
760 status = "okay";
761
762 pinctrl-names = "default";
763 pinctrl-0 = <&i2c12_pins>;
764
765 fuelgauge@36 {
766 compatible = "maxim,max17048";
767 reg = <0x36>;
768
769 maxim,double-soc;
770 maxim,rcomp = /bits/ 8 <0x56>;
771
772 interrupt-parent = <&pma8084_gpios>;
773 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
774
775 pinctrl-names = "default";
776 pinctrl-0 = <&fuelgauge_pin>;
777 };
778 };
779
780 adreno@fdb00000 {
781 status = "ok";
782 };
783
784 mdss@fd900000 {
785 status = "ok";
786
787 mdp@fd900000 {
788 status = "ok";
789 };
790
791 dsi@fd922800 {
792 status = "ok";
793
794 vdda-supply = <&pma8084_l2>;
795 vdd-supply = <&pma8084_l22>;
796 vddio-supply = <&pma8084_l12>;
797
798 #address-cells = <1>;
799 #size-cells = <0>;
800
801 ports {
802 port@1 {
803 endpoint {
804 remote-endpoint = <&panel_in>;
805 data-lanes = <0 1 2 3>;
806 };
807 };
808 };
809
810 panel: panel@0 {
811 reg = <0>;
812 compatible = "samsung,s6e3fa2";
813
814 pinctrl-names = "default";
815 pinctrl-0 = <&panel_te_pin &panel_rst_pin>;
816
817 iovdd-supply = <&pma8084_lvs4>;
818 vddr-supply = <&vreg_panel>;
819
820 reset-gpios = <&pma8084_gpios 17 GPIO_ACTIVE_LOW>;
821 te-gpios = <&msmgpio 12 GPIO_ACTIVE_HIGH>;
822
823 port {
824 panel_in: endpoint {
825 remote-endpoint = <&dsi0_out>;
826 };
827 };
828 };
829 };
830
831 dsi-phy@fd922a00 {
832 status = "ok";
833
834 vddio-supply = <&pma8084_l12>;
835 };
836 };
837
838 remoteproc@fc880000 {
839 cx-supply = <&pma8084_s2>;
840 mss-supply = <&pma8084_s6>;
841 mx-supply = <&pma8084_s1>;
842 pll-supply = <&pma8084_l12>;
843 };
844 };
845
846 &spmi_bus {
847 pma8084@0 {
848 gpios@c000 {
849 gpio_keys_pin_a: gpio-keys-active {
850 pins = "gpio2", "gpio3", "gpio5";
851 function = "normal";
852
853 bias-pull-up;
854 power-source = <PMA8084_GPIO_S4>;
855 };
856
857 touchkey_pin: touchkey-int-pin {
858 pins = "gpio6";
859 function = "normal";
860 bias-disable;
861 input-enable;
862 power-source = <PMA8084_GPIO_S4>;
863 };
864
865 touch_pin: touchscreen-int-pin {
866 pins = "gpio8";
867 function = "normal";
868 bias-disable;
869 input-enable;
870 power-source = <PMA8084_GPIO_S4>;
871 };
872
873 panel_en_pin: panel-en-pin {
874 pins = "gpio14";
875 function = "normal";
876 bias-pull-up;
877 power-source = <PMA8084_GPIO_S4>;
878 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
879 };
880
881 wlan_sleep_clk_pin: wlan-sleep-clk-pin {
882 pins = "gpio16";
883 function = "func2";
884
885 output-high;
886 power-source = <PMA8084_GPIO_S4>;
887 qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
888 };
889
890 panel_rst_pin: panel-rst-pin {
891 pins = "gpio17";
892 function = "normal";
893 bias-disable;
894 power-source = <PMA8084_GPIO_S4>;
895 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
896 };
897
898
899 fuelgauge_pin: fuelgauge-int-pin {
900 pins = "gpio21";
901 function = "normal";
902 bias-disable;
903 input-enable;
904 power-source = <PMA8084_GPIO_S4>;
905 };
906 };
907 };
908 };
Cache object: 8dc719ec08cc7a6df19f91c0ca02bcb1
|