blob: 65b2397a54b864751ea88b143850016f7aca4669 [file] [log] [blame]
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301/*
Maria Yuf16c1602017-12-22 13:05:17 +08002 * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
Srinivas Ramana3cac2782017-09-13 16:31:17 +05303 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14&soc {
15 tlmm: pinctrl@1000000 {
16 compatible = "qcom,msm8953-pinctrl";
17 reg = <0x1000000 0x300000>;
18 interrupts = <0 208 0>;
Raju P.L.S.S.S.N3f64cd32017-12-06 19:26:03 +053019 interrupts-extended = <&wakegic GIC_SPI 208 IRQ_TYPE_NONE>;
Srinivas Ramana3cac2782017-09-13 16:31:17 +053020 gpio-controller;
21 #gpio-cells = <2>;
22 interrupt-controller;
Raghavendra Kakarla168d4822018-03-07 17:30:53 +053023 interrupt-parent = <&wakegpio>;
Srinivas Ramana3cac2782017-09-13 16:31:17 +053024 #interrupt-cells = <2>;
25
26 pmx-uartconsole {
27 uart_console_active: uart_console_active {
28 mux {
29 pins = "gpio4", "gpio5";
30 function = "blsp_uart2";
31 };
32
33 config {
34 pins = "gpio4", "gpio5";
35 drive-strength = <2>;
36 bias-disable;
37 };
38 };
39
40 uart_console_sleep: uart_console_sleep {
41 mux {
42 pins = "gpio4", "gpio5";
43 function = "blsp_uart2";
44 };
45
46 config {
47 pins = "gpio4", "gpio5";
48 drive-strength = <2>;
49 bias-pull-down;
50 };
51 };
52
Maria Yuf16c1602017-12-22 13:05:17 +080053 uart1_console_active: uart1_console_active {
54 mux {
55 pins = "gpio20", "gpio21";
56 function = "blsp_uart6";
57 };
58
59 config {
60 pins = "gpio20", "gpio21";
61 drive-strength = <2>;
62 bias-disable;
63 };
64 };
65
66 uart1_console_sleep: uart1_console_sleep {
67 mux {
68 pins = "gpio20", "gpio21";
69 function = "blsp_uart6";
70 };
71
72 config {
73 pins = "gpio20", "gpio21";
74 drive-strength = <2>;
75 bias-pull-down;
76 };
77 };
Srinivas Ramana3cac2782017-09-13 16:31:17 +053078 };
79 cci {
80 cci0_active: cci0_active {
81 /* cci0 active state */
82 mux {
83 /* CLK, DATA */
84 pins = "gpio29", "gpio30";
85 function = "cci_i2c";
86 };
87
88 config {
89 pins = "gpio29", "gpio30";
90 drive-strength = <2>; /* 2 MA */
91 bias-disable; /* No PULL */
92 };
93 };
94
95 cci0_suspend: cci0_suspend {
96 /* cci0 suspended state */
97 mux {
98 /* CLK, DATA */
99 pins = "gpio29", "gpio30";
100 function = "cci_i2c";
101 };
102
103 config {
104 pins = "gpio29", "gpio30";
105 drive-strength = <2>; /* 2 MA */
106 bias-disable; /* No PULL */
107 };
108 };
109
110 cci1_active: cci1_active {
111 /* cci1 active state */
112 mux {
113 /* CLK, DATA */
114 pins = "gpio31", "gpio32";
115 function = "cci_i2c";
116 };
117
118 config {
119 pins = "gpio31", "gpio32";
120 drive-strength = <2>; /* 2 MA */
121 bias-disable; /* No PULL */
122 };
123 };
124
125 cci1_suspend: cci1_suspend {
126 /* cci1 suspended state */
127 mux {
128 /* CLK, DATA */
129 pins = "gpio31", "gpio32";
130 function = "cci_i2c";
131 };
132
133 config {
134 pins = "gpio31", "gpio32";
135 drive-strength = <2>; /* 2 MA */
136 bias-disable; /* No PULL */
137 };
138 };
139 };
140
141 /*sensors */
142 cam_sensor_mclk0_default: cam_sensor_mclk0_default {
143 /* MCLK0 */
144 mux {
145 /* CLK, DATA */
146 pins = "gpio26";
147 function = "cam_mclk";
148 };
149
150 config {
151 pins = "gpio26";
152 bias-disable; /* No PULL */
153 drive-strength = <2>; /* 2 MA */
154 };
155 };
156
157 cam_sensor_mclk0_sleep: cam_sensor_mclk0_sleep {
158 /* MCLK0 */
159 mux {
160 /* CLK, DATA */
161 pins = "gpio26";
162 function = "cam_mclk";
163 };
164
165 config {
166 pins = "gpio26";
167 bias-pull-down; /* PULL DOWN */
168 drive-strength = <2>; /* 2 MA */
169 };
170 };
171
172 cam_sensor_rear_default: cam_sensor_rear_default {
173 /* RESET, STANDBY */
174 mux {
175 pins = "gpio40", "gpio39";
176 function = "gpio";
177 };
178
179 config {
180 pins = "gpio40","gpio39";
181 bias-disable; /* No PULL */
182 drive-strength = <2>; /* 2 MA */
183 };
184 };
185
186 cam_sensor_rear_sleep: cam_sensor_rear_sleep {
187 /* RESET, STANDBY */
188 mux {
189 pins = "gpio40","gpio39";
190 function = "gpio";
191 };
192
193 config {
194 pins = "gpio40","gpio39";
195 bias-disable; /* No PULL */
196 drive-strength = <2>; /* 2 MA */
197 };
198 };
199
Samyukta Mogily21f7f412018-04-03 11:57:12 +0530200 cam_sensor_ir_cut_default: cam_sensor_ir_cut_default {
201 /* RESET, STANDBY */
202 mux {
203 pins = "gpio38", "gpio39";
204 function = "gpio";
205 };
206
207 config {
208 pins = "gpio38","gpio39";
209 bias-pull-up; /* No PULL */
210 drive-strength = <2>; /* 2 MA */
211 };
212 };
213
214 cam_sensor_ir_cut_sleep: cam_sensor_ir_cut_sleep {
215 /* RESET, STANDBY */
216 mux {
217 pins = "gpio38","gpio39";
218 function = "gpio";
219 };
220
221 config {
222 pins = "gpio38","gpio39";
223 bias-disable; /* No PULL */
224 drive-strength = <2>; /* 2 MA */
225 };
226 };
227
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530228 cam_sensor_rear_vana: cam_sensor_rear_vdig {
229 /* VDIG */
230 mux {
231 pins = "gpio134";
232 function = "gpio";
233 };
234
235 config {
236 pins = "gpio134";
237 bias-disable; /* No PULL */
238 drive-strength = <2>; /* 2 MA */
239 };
240 };
241
242 cam_sensor_rear_vana_sleep: cam_sensor_rear_vdig_sleep {
243 /* VDIG */
244 mux {
245 pins = "gpio134";
246 function = "gpio";
247 };
248
249 config {
250 pins = "gpio134";
251 bias-disable; /* No PULL */
252 drive-strength = <2>; /* 2 MA */
253 };
254 };
255
256 cam_sensor_mclk1_default: cam_sensor_mclk1_default {
257 /* MCLK1 */
258 mux {
259 /* CLK, DATA */
260 pins = "gpio27";
261 function = "cam_mclk";
262 };
263
264 config {
265 pins = "gpio27";
266 bias-disable; /* No PULL */
267 drive-strength = <2>; /* 2 MA */
268 };
269 };
270
271 cam_sensor_mclk1_sleep: cam_sensor_mclk1_sleep {
272 /* MCLK1 */
273 mux {
274 /* CLK, DATA */
275 pins = "gpio27";
276 function = "cam_mclk";
277 };
278
279 config {
280 pins = "gpio27";
281 bias-pull-down; /* PULL DOWN */
282 drive-strength = <2>; /* 2 MA */
283 };
284 };
285
286 cam_sensor_front_default: cam_sensor_front_default {
287 /* RESET, STANDBY */
288 mux {
289 pins = "gpio131","gpio132";
290 function = "gpio";
291 };
292
293 config {
294 pins = "gpio131","gpio132";
295 bias-disable; /* No PULL */
296 drive-strength = <2>; /* 2 MA */
297 };
298 };
299
300 cam_sensor_front_sleep: cam_sensor_front_sleep {
301 /* RESET, STANDBY */
302 mux {
303 pins = "gpio131","gpio132";
304 function = "gpio";
305 };
306
307 config {
308 pins = "gpio131","gpio132";
309 bias-disable; /* No PULL */
310 drive-strength = <2>; /* 2 MA */
311 };
312 };
313
314 cam_sensor_mclk2_default: cam_sensor_mclk2_default {
315 /* MCLK2 */
316 mux {
317 /* CLK, DATA */
318 pins = "gpio28";
319 function = "cam_mclk";
320 };
321
322 config {
323 pins = "gpio28";
324 bias-disable; /* No PULL */
325 drive-strength = <2>; /* 2 MA */
326 };
327 };
328
329 cam_sensor_mclk2_sleep: cam_sensor_mclk2_sleep {
330 /* MCLK2 */
331 mux {
332 /* CLK, DATA */
333 pins = "gpio28";
334 function = "cam_mclk";
335 };
336
337 config {
338 pins = "gpio28";
339 bias-pull-down; /* PULL DOWN */
340 drive-strength = <2>; /* 2 MA */
341 };
342 };
343
344 cam_sensor_front1_default: cam_sensor_front1_default {
345 /* RESET, STANDBY */
346 mux {
347 pins = "gpio129", "gpio130";
348 function = "gpio";
349 };
350
351 config {
352 pins = "gpio129", "gpio130";
353 bias-disable; /* No PULL */
354 drive-strength = <2>; /* 2 MA */
355 };
356 };
357
358 cam_sensor_front1_sleep: cam_sensor_front1_sleep {
359 /* RESET, STANDBY */
360 mux {
361 pins = "gpio129", "gpio130";
362 function = "gpio";
363 };
364
365 config {
366 pins = "gpio129", "gpio130";
367 bias-disable; /* No PULL */
368 drive-strength = <2>; /* 2 MA */
369 };
370 };
371
372 pmx_adv7533_int: pmx_adv7533_int {
373 adv7533_int_active: adv7533_int_active {
374 mux {
375 pins = "gpio90";
376 function = "gpio";
377 };
378
379 config {
380 pins = "gpio90";
381 drive-strength = <16>;
382 bias-disable;
383 };
384 };
385
386 adv7533_int_suspend: adv7533_int_suspend {
387 mux {
388 pins = "gpio90";
389 function = "gpio";
390 };
391
392 config {
393 pins = "gpio90";
394 drive-strength = <16>;
395 bias-disable;
396 };
397 };
398
399 };
400
401 pmx_mdss: pmx_mdss {
402 mdss_dsi_active: mdss_dsi_active {
403 mux {
404 pins = "gpio61", "gpio59";
405 function = "gpio";
406 };
407
408 config {
409 pins = "gpio61", "gpio59";
410 drive-strength = <8>; /* 8 mA */
411 bias-disable = <0>; /* no pull */
412 output-high;
413 };
414 };
415
416 mdss_dsi_suspend: mdss_dsi_suspend {
417 mux {
418 pins = "gpio61", "gpio59";
419 function = "gpio";
420 };
421
422 config {
423 pins = "gpio61", "gpio59";
424 drive-strength = <2>; /* 2 mA */
425 bias-pull-down; /* pull down */
426 };
427 };
Rashi Bindra771b6012018-03-22 18:20:45 +0530428 mdss_dsi_gpio: mdss_dsi_gpio {
429 mux {
430 pins = "gpio141";
431 function = "gpio";
432 };
433
434 config {
435 pins = "gpio141";
436 drive-strength = <8>;
437 bias-pull-down;
438 output-low;
439 };
440 };
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530441 };
442
443 pmx_mdss_te {
444 mdss_te_active: mdss_te_active {
445 mux {
446 pins = "gpio24";
447 function = "mdp_vsync";
448 };
449 config {
450 pins = "gpio24";
451 drive-strength = <2>; /* 8 mA */
452 bias-pull-down; /* pull down*/
453 };
454 };
455
456 mdss_te_suspend: mdss_te_suspend {
457 mux {
458 pins = "gpio24";
459 function = "mdp_vsync";
460 };
461 config {
462 pins = "gpio24";
463 drive-strength = <2>; /* 2 mA */
464 bias-pull-down; /* pull down */
465 };
466 };
467 };
468
Md Mansoor Ahmed19ca4852018-04-23 11:50:38 +0530469 cdc_dmic0_clk_act: cdc_dmic0_clk_act_default {
470 mux {
471 pins = "gpio89";
472 function = "dmic0_clk";
473 };
474
475 config {
476 pins = "gpio89";
477 drive-strength = <8>;
478 };
479 };
480
481 cdc_dmic0_clk_sus: cdc_dmic0_clk_sus_sleep {
482 mux {
483 pins = "gpio89";
484 function = "gpio";
485 };
486
487 config {
488 pins = "gpio89";
489 drive-strength = <2>;
490 bias-disable;
491 };
492 };
493
494 cdc_dmic0_data_act: cdc_dmic0_data_act_default {
495 mux {
496 pins = "gpio90";
497 function = "dmic0_data";
498 };
499
500 config {
501 pins = "gpio90";
502 drive-strength = <8>;
503 };
504 };
505
506 cdc_dmic0_data_sus: cdc_dmic0_data_sus_sleep {
507 mux {
508 pins = "gpio90";
509 function = "gpio";
510 };
511
512 config {
513 pins = "gpio90";
514 drive-strength = <2>;
515 bias-disable;
516 };
517 };
518
519 sec-tlmm-lines {
520 sec_tlmm_lines_act: sec_tlmm_lines_act {
521 mux {
522 pins = "gpio135", "gpio136",
523 "gpio137", "gpio138";
524 function = "sec_mi2s";
525 };
526
527 config {
528 pins = "gpio135", "gpio136",
529 "gpio137", "gpio138";
530 drive-strength = <8>;
531 };
532 };
533
534 sec_tlmm_lines_sus: sec_tlmm_lines_sus {
535 mux {
536 pins = "gpio135", "gpio136",
537 "gpio137", "gpio138";
538 function = "sec_mi2s";
539 };
540
541 config {
542 pins = "gpio135", "gpio136",
543 "gpio137", "gpio138";
544 drive-strength = <2>;
545 bias-pull-down;
546 };
547 };
548 };
549
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530550 hsuart_active: default {
551 mux {
552 pins = "gpio12", "gpio13", "gpio14", "gpio15";
553 function = "blsp_uart4";
554 };
555
556 config {
557 pins = "gpio12", "gpio13", "gpio14", "gpio15";
558 drive-strength = <16>;
559 bias-disable;
560 };
561 };
562
563 hsuart_sleep: sleep {
564 mux {
565 pins = "gpio12", "gpio13", "gpio14", "gpio15";
566 function = "gpio";
567 };
568
569 config {
570 pins = "gpio12", "gpio13", "gpio14", "gpio15";
571 drive-strength = <2>;
572 bias-disable;
573 };
574 };
575
Shrey Vijay88eddb52017-11-30 14:47:52 +0530576 blsp2_uart0_active: blsp2_uart0_active {
577 mux {
578 pins = "gpio16", "gpio17", "gpio18", "gpio19";
579 function = "blsp_uart5";
580 };
581
582 config {
583 pins = "gpio16", "gpio17", "gpio18", "gpio19";
584 drive-strength = <16>;
585 bias-disable;
586 };
587 };
588
589 blsp2_uart0_sleep: blsp2_uart0_sleep {
590 mux {
591 pins = "gpio16", "gpio17", "gpio18", "gpio19";
592 function = "gpio";
593 };
594
595 config {
596 pins = "gpio16", "gpio17", "gpio18", "gpio19";
597 drive-strength = <2>;
598 bias-disable;
599 };
600 };
601
Venkataraman Nerellapalli5d54a0b2018-07-02 12:48:48 +0530602 blsp2_uart1_active: blsp2_uart1_active {
603 mux {
604 pins = "gpio20", "gpio21", "gpio22", "gpio23";
605 function = "blsp_uart6";
606 };
607
608 config {
609 pins = "gpio20", "gpio21", "gpio22", "gpio23";
610 drive-strength = <16>;
611 bias-disable;
612 };
613 };
614
615 blsp2_uart1_sleep: blsp2_uart1_sleep {
616 mux {
617 pins = "gpio20", "gpio21", "gpio22", "gpio23";
618 function = "gpio";
619 };
620
621 config {
622 pins = "gpio20", "gpio21", "gpio22", "gpio23";
623 drive-strength = <2>;
624 bias-disable;
625 };
626 };
627
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530628 /* SDC pin type */
629 sdc1_clk_on: sdc1_clk_on {
630 config {
631 pins = "sdc1_clk";
632 bias-disable; /* NO pull */
633 drive-strength = <16>; /* 16 MA */
634 };
635 };
636
637 sdc1_clk_off: sdc1_clk_off {
638 config {
639 pins = "sdc1_clk";
640 bias-disable; /* NO pull */
641 drive-strength = <2>; /* 2 MA */
642 };
643 };
644
645 sdc1_cmd_on: sdc1_cmd_on {
646 config {
647 pins = "sdc1_cmd";
648 bias-pull-up; /* pull up */
649 drive-strength = <10>; /* 10 MA */
650 };
651 };
652
653 sdc1_cmd_off: sdc1_cmd_off {
654 config {
655 pins = "sdc1_cmd";
656 num-grp-pins = <1>;
657 bias-pull-up; /* pull up */
658 drive-strength = <2>; /* 2 MA */
659 };
660 };
661
662 sdc1_data_on: sdc1_data_on {
663 config {
664 pins = "sdc1_data";
665 bias-pull-up; /* pull up */
666 drive-strength = <10>; /* 10 MA */
667 };
668 };
669
670 sdc1_data_off: sdc1_data_off {
671 config {
672 pins = "sdc1_data";
673 bias-pull-up; /* pull up */
674 drive-strength = <2>; /* 2 MA */
675 };
676 };
677
678 sdc1_rclk_on: sdc1_rclk_on {
679 config {
680 pins = "sdc1_rclk";
681 bias-pull-down; /* pull down */
682 };
683 };
684
685 sdc1_rclk_off: sdc1_rclk_off {
686 config {
687 pins = "sdc1_rclk";
688 bias-pull-down; /* pull down */
689 };
690 };
691
692 sdc2_clk_on: sdc2_clk_on {
693 config {
694 pins = "sdc2_clk";
695 drive-strength = <16>; /* 16 MA */
696 bias-disable; /* NO pull */
697 };
698 };
699
700 sdc2_clk_off: sdc2_clk_off {
701 config {
702 pins = "sdc2_clk";
703 bias-disable; /* NO pull */
704 drive-strength = <2>; /* 2 MA */
705 };
706 };
707
708 sdc2_cmd_on: sdc2_cmd_on {
709 config {
710 pins = "sdc2_cmd";
711 bias-pull-up; /* pull up */
712 drive-strength = <10>; /* 10 MA */
713 };
714 };
715
716 sdc2_cmd_off: sdc2_cmd_off {
717 config {
718 pins = "sdc2_cmd";
719 bias-pull-up; /* pull up */
720 drive-strength = <2>; /* 2 MA */
721 };
722 };
723
724 sdc2_data_on: sdc2_data_on {
725 config {
726 pins = "sdc2_data";
727 bias-pull-up; /* pull up */
728 drive-strength = <10>; /* 10 MA */
729 };
730 };
731
732 sdc2_data_off: sdc2_data_off {
733 config {
734 pins = "sdc2_data";
735 bias-pull-up; /* pull up */
736 drive-strength = <2>; /* 2 MA */
737 };
738 };
739
740 sdc2_cd_on: cd_on {
741 mux {
742 pins = "gpio133";
743 function = "gpio";
744 };
745
746 config {
747 pins = "gpio133";
748 drive-strength = <2>;
749 bias-pull-up;
750 };
751 };
752
753 sdc2_cd_off: cd_off {
754 mux {
755 pins = "gpio133";
756 function = "gpio";
757 };
758
759 config {
760 pins = "gpio133";
761 drive-strength = <2>;
762 bias-disable;
763 };
764 };
765
Md Mansoor Ahmed19ca4852018-04-23 11:50:38 +0530766 i2c_1 {
767 i2c_1_active: i2c_1_active {
768 mux {
769 pins = "gpio2", "gpio3";
770 function = "blsp_i2c1";
771 };
772 config {
773 pins = "gpio2", "gpio3";
774 drive-strength = <2>;
775 bias-pull-up;
776 };
777 };
778
779 i2c_1_sleep: i2c_1_sleep {
780 mux {
781 pins = "gpio2", "gpio3";
782 function = "blsp_i2c1";
783 };
784 config {
785 pins = "gpio2", "gpio3";
786 drive-strength = <2>;
787 bias-disable;
788 };
789 };
790 };
791
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530792 i2c_2 {
793 i2c_2_active: i2c_2_active {
794 /* active state */
795 mux {
796 pins = "gpio6", "gpio7";
797 function = "blsp_i2c2";
798 };
799
800 config {
801 pins = "gpio6", "gpio7";
802 drive-strength = <2>;
803 bias-disable;
804 };
805 };
806
807 i2c_2_sleep: i2c_2_sleep {
808 /* suspended state */
809 mux {
810 pins = "gpio6", "gpio7";
811 function = "gpio";
812 };
813
814 config {
815 pins = "gpio6", "gpio7";
816 drive-strength = <2>;
817 bias-disable;
818 };
819 };
820 };
821
822 i2c_3 {
823 i2c_3_active: i2c_3_active {
824 /* active state */
825 mux {
826 pins = "gpio10", "gpio11";
827 function = "blsp_i2c3";
828 };
829
830 config {
831 pins = "gpio10", "gpio11";
832 drive-strength = <2>;
833 bias-disable;
834 };
835 };
836
837 i2c_3_sleep: i2c_3_sleep {
838 /* suspended state */
839 mux {
840 pins = "gpio10", "gpio11";
841 function = "gpio";
842 };
843
844 config {
845 pins = "gpio10", "gpio11";
846 drive-strength = <2>;
847 bias-disable;
848 };
849 };
850 };
851
852 i2c_5 {
853 i2c_5_active: i2c_5_active {
854 /* active state */
855 mux {
856 pins = "gpio18", "gpio19";
857 function = "blsp_i2c5";
858 };
859
860 config {
861 pins = "gpio18", "gpio19";
862 drive-strength = <2>;
863 bias-disable;
864 };
865 };
866
867 i2c_5_sleep: i2c_5_sleep {
868 /* suspended state */
869 mux {
870 pins = "gpio18", "gpio19";
871 function = "gpio";
872 };
873
874 config {
875 pins = "gpio18", "gpio19";
876 drive-strength = <2>;
877 bias-disable;
878 };
879 };
880 };
881
c_pbembrf65da362018-03-28 18:50:16 +0530882 nfc {
883 nfc_int_active: nfc_int_active {
884 /* active state */
885 mux {
886 /* GPIO 17 NFC Read Interrupt */
887 pins = "gpio17";
888 function = "gpio";
889 };
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530890
c_pbembrf65da362018-03-28 18:50:16 +0530891 config {
892 pins = "gpio17";
893 drive-strength = <2>; /* 2 MA */
894 bias-pull-up;
895 };
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530896 };
897
c_pbembrf65da362018-03-28 18:50:16 +0530898 nfc_int_suspend: nfc_int_suspend {
899 /* sleep state */
900 mux {
901 /* GPIO 17 NFC Read Interrupt */
902 pins = "gpio17";
903 function = "gpio";
904 };
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530905
c_pbembrf65da362018-03-28 18:50:16 +0530906 config {
907 pins = "gpio17";
908 drive-strength = <2>; /* 2 MA */
909 bias-pull-up;
910 };
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530911 };
912
c_pbembrf65da362018-03-28 18:50:16 +0530913 nfc_disable_active: nfc_disable_active {
914 /* active state */
915 mux {
916 /* 16: NFC ENABLE 62: FW DNLD */
917 /* 141: ESE Enable */
918 pins = "gpio16", "gpio62", "gpio141";
919 function = "gpio";
920 };
921
922 config {
923 pins = "gpio16", "gpio62", "gpio141";
924 drive-strength = <2>; /* 2 MA */
925 bias-pull-up;
926 };
927 };
928
929 nfc_disable_suspend: nfc_disable_suspend {
930 /* sleep state */
931 mux {
932 /* 16: NFC ENABLE 62: FW DNLD */
933 /* 141: ESE Enable */
934 pins = "gpio16", "gpio62", "gpio141";
935 function = "gpio";
936 };
937
938 config {
939 pins = "gpio16", "gpio62", "gpio141";
940 drive-strength = <2>; /* 2 MA */
941 bias-disable;
942 };
Srinivas Ramana3cac2782017-09-13 16:31:17 +0530943 };
944 };
945
946 wcnss_pmux_5wire {
947 /* Active configuration of bus pins */
948 wcnss_default: wcnss_default {
949 wcss_wlan2 {
950 pins = "gpio76";
951 function = "wcss_wlan2";
952 };
953 wcss_wlan1 {
954 pins = "gpio77";
955 function = "wcss_wlan1";
956 };
957 wcss_wlan0 {
958 pins = "gpio78";
959 function = "wcss_wlan0";
960 };
961 wcss_wlan {
962 pins = "gpio79", "gpio80";
963 function = "wcss_wlan";
964 };
965
966 config {
967 pins = "gpio76", "gpio77",
968 "gpio78", "gpio79",
969 "gpio80";
970 drive-strength = <6>; /* 6 MA */
971 bias-pull-up; /* PULL UP */
972 };
973 };
974
975 wcnss_sleep: wcnss_sleep {
976 wcss_wlan2 {
977 pins = "gpio76";
978 function = "wcss_wlan2";
979 };
980 wcss_wlan1 {
981 pins = "gpio77";
982 function = "wcss_wlan1";
983 };
984 wcss_wlan0 {
985 pins = "gpio78";
986 function = "wcss_wlan0";
987 };
988 wcss_wlan {
989 pins = "gpio79", "gpio80";
990 function = "wcss_wlan";
991 };
992
993 config {
994 pins = "gpio76", "gpio77",
995 "gpio78", "gpio79",
996 "gpio80";
997 drive-strength = <2>; /* 2 MA */
998 bias-pull-down; /* PULL Down */
999 };
1000 };
1001 };
1002
1003 wcnss_pmux_gpio: wcnss_pmux_gpio {
1004 wcnss_gpio_default: wcnss_gpio_default {
1005 /* Active configuration of bus pins */
1006 mux {
1007 /* Uses general purpose pins */
1008 pins = "gpio76", "gpio77",
1009 "gpio78", "gpio79",
1010 "gpio80";
1011 function = "gpio";
1012 };
1013
1014 config {
1015 pins = "gpio76", "gpio77",
1016 "gpio78", "gpio79",
1017 "gpio80";
1018 drive-strength = <6>; /* 6 MA */
1019 bias-pull-up; /* PULL UP */
1020 };
1021 };
1022 };
1023
1024 wcd9xxx_intr {
1025 wcd_intr_default: wcd_intr_default{
1026 mux {
1027 pins = "gpio73";
1028 function = "gpio";
1029 };
1030
1031 config {
1032 pins = "gpio73";
1033 drive-strength = <2>; /* 2 mA */
1034 bias-pull-down; /* pull down */
1035 input-enable;
1036 };
1037 };
1038 };
1039
1040 cdc_reset_ctrl {
1041 cdc_reset_sleep: cdc_reset_sleep {
1042 mux {
1043 pins = "gpio67";
1044 function = "gpio";
1045 };
1046 config {
1047 pins = "gpio67";
1048 drive-strength = <16>;
1049 bias-disable;
1050 output-low;
1051 };
1052 };
1053 cdc_reset_active:cdc_reset_active {
1054 mux {
1055 pins = "gpio67";
1056 function = "gpio";
1057 };
1058 config {
1059 pins = "gpio67";
1060 drive-strength = <16>;
1061 bias-pull-down;
1062 output-high;
1063 };
1064 };
1065 };
1066
1067 cdc_mclk2_pin {
1068 cdc_mclk2_sleep: cdc_mclk2_sleep {
1069 mux {
1070 pins = "gpio66";
1071 function = "pri_mi2s";
1072 };
1073 config {
1074 pins = "gpio66";
1075 drive-strength = <2>; /* 2 mA */
1076 bias-pull-down; /* PULL DOWN */
1077 };
1078 };
1079 cdc_mclk2_active: cdc_mclk2_active {
1080 mux {
1081 pins = "gpio66";
1082 function = "pri_mi2s";
1083 };
1084 config {
1085 pins = "gpio66";
1086 drive-strength = <8>; /* 8 mA */
1087 bias-disable; /* NO PULL */
1088 };
1089 };
1090 };
1091
1092 cdc-pdm-2-lines {
1093 cdc_pdm_lines_2_act: pdm_lines_2_on {
1094 mux {
1095 pins = "gpio70", "gpio71", "gpio72";
1096 function = "cdc_pdm0";
1097 };
1098
1099 config {
1100 pins = "gpio70", "gpio71", "gpio72";
1101 drive-strength = <8>;
1102 };
1103 };
1104
1105 cdc_pdm_lines_2_sus: pdm_lines_2_off {
1106 mux {
1107 pins = "gpio70", "gpio71", "gpio72";
1108 function = "cdc_pdm0";
1109 };
1110
1111 config {
1112 pins = "gpio70", "gpio71", "gpio72";
1113 drive-strength = <2>;
1114 bias-disable;
1115 };
1116 };
1117 };
1118
1119 cdc-pdm-lines {
1120 cdc_pdm_lines_act: pdm_lines_on {
1121 mux {
1122 pins = "gpio69", "gpio73", "gpio74";
1123 function = "cdc_pdm0";
1124 };
1125
1126 config {
1127 pins = "gpio69", "gpio73", "gpio74";
1128 drive-strength = <8>;
1129 };
1130 };
1131 cdc_pdm_lines_sus: pdm_lines_off {
1132 mux {
1133 pins = "gpio69", "gpio73", "gpio74";
1134 function = "cdc_pdm0";
1135 };
1136
1137 config {
1138 pins = "gpio69", "gpio73", "gpio74";
1139 drive-strength = <2>;
1140 bias-disable;
1141 };
1142 };
1143 };
1144
1145 cdc-pdm-comp-lines {
1146 cdc_pdm_comp_lines_act: pdm_comp_lines_on {
1147 mux {
1148 pins = "gpio67", "gpio68";
1149 function = "cdc_pdm0";
1150 };
1151
1152 config {
1153 pins = "gpio67", "gpio68";
1154 drive-strength = <8>;
1155 };
1156 };
1157
1158 cdc_pdm_comp_lines_sus: pdm_comp_lines_off {
1159 mux {
1160 pins = "gpio67", "gpio68";
1161 function = "cdc_pdm0";
1162 };
1163
1164 config {
1165 pins = "gpio67", "gpio68";
1166 drive-strength = <2>;
1167 bias-disable;
1168 };
1169 };
1170 };
1171
1172 cross-conn-det {
1173 cross_conn_det_act: lines_on {
1174 mux {
1175 pins = "gpio63";
1176 function = "gpio";
1177 };
1178
1179 config {
1180 pins = "gpio63";
1181 drive-strength = <8>;
1182 output-low;
1183 bias-pull-down;
1184 };
1185 };
1186
1187 cross_conn_det_sus: lines_off {
1188 mux {
1189 pins = "gpio63";
1190 function = "gpio";
1191 };
1192
1193 config {
1194 pins = "gpio63";
1195 drive-strength = <2>;
1196 bias-pull-down;
1197 };
1198 };
1199 };
1200
1201 /* WSA VI sense */
1202 wsa-vi {
1203 wsa_vi_on: wsa_vi_on {
1204 mux {
1205 pins = "gpio94", "gpio95";
1206 function = "wsa_io";
1207 };
1208
1209 config {
1210 pins = "gpio94", "gpio95";
1211 drive-strength = <8>; /* 8 MA */
1212 bias-disable; /* NO pull */
1213 };
1214 };
1215
1216 wsa_vi_off: wsa_vi_off {
1217 mux {
1218 pins = "gpio94", "gpio95";
1219 function = "wsa_io";
1220 };
1221
1222 config {
1223 pins = "gpio94", "gpio95";
1224 drive-strength = <2>; /* 2 MA */
1225 bias-pull-down;
1226 };
1227 };
1228 };
1229
1230 /* WSA Reset */
1231 wsa_reset {
1232 wsa_reset_on: wsa_reset_on {
1233 mux {
1234 pins = "gpio96";
1235 function = "gpio";
1236 };
1237
1238 config {
1239 pins = "gpio96";
1240 drive-strength = <2>; /* 2 MA */
1241 output-high;
1242 };
1243 };
1244
1245 wsa_reset_off: wsa_reset_off {
1246 mux {
1247 pins = "gpio96";
1248 function = "gpio";
1249 };
1250
1251 config {
1252 pins = "gpio96";
1253 drive-strength = <2>; /* 2 MA */
1254 output-low;
1255 };
1256 };
1257 };
1258
1259 /* WSA CLK */
1260 wsa_clk {
1261 wsa_clk_on: wsa_clk_on {
1262 mux {
1263 pins = "gpio25";
1264 function = "pri_mi2s_mclk_a";
1265 };
1266
1267 config {
1268 pins = "gpio25";
1269 drive-strength = <8>; /* 8 MA */
1270 output-high;
1271 };
1272 };
1273
1274 wsa_clk_off: wsa_clk_off {
1275 mux {
1276 pins = "gpio25";
1277 function = "pri_mi2s_mclk_a";
1278 };
1279
1280 config {
1281 pins = "gpio25";
1282 drive-strength = <2>; /* 2 MA */
1283 output-low;
1284 bias-pull-down;
1285 };
1286 };
1287 };
1288
1289 pri-tlmm-lines {
1290 pri_tlmm_lines_act: pri_tlmm_lines_act {
1291 mux {
1292 pins = "gpio91", "gpio93";
1293 function = "pri_mi2s";
1294 };
1295
1296 config {
1297 pins = "gpio91", "gpio93";
1298 drive-strength = <8>;
1299 };
1300 };
1301
1302 pri_tlmm_lines_sus: pri_tlmm_lines_sus {
1303 mux {
1304 pins = "gpio91", "gpio93";
1305 function = "pri_mi2s";
1306 };
1307
1308 config {
1309 pins = "gpio91", "gpio93";
1310 drive-strength = <2>;
1311 bias-pull-down;
1312 };
1313 };
1314 };
1315
1316 pri-tlmm-ws-lines {
1317 pri_tlmm_ws_act: pri_tlmm_ws_act {
1318 mux {
1319 pins = "gpio92";
1320 function = "pri_mi2s_ws";
1321 };
1322
1323 config {
1324 pins = "gpio92";
1325 drive-strength = <8>;
1326 };
1327 };
1328
1329 pri_tlmm_ws_sus: pri_tlmm_ws_sus {
1330 mux {
1331 pins = "gpio92";
1332 function = "pri_mi2s_ws";
1333 };
1334
1335 config {
1336 pins = "gpio92";
1337 drive-strength = <2>;
1338 bias-pull-down;
1339 };
1340 };
1341 };
1342
1343 spi3 {
1344 spi3_default: spi3_default {
1345 /* active state */
1346 mux {
1347 /* MOSI, MISO, CLK */
1348 pins = "gpio8", "gpio9", "gpio11";
1349 function = "blsp_spi3";
1350 };
1351
1352 config {
1353 pins = "gpio8", "gpio9", "gpio11";
1354 drive-strength = <12>; /* 12 MA */
1355 bias-disable = <0>; /* No PULL */
1356 };
1357 };
1358
1359 spi3_sleep: spi3_sleep {
1360 /* suspended state */
1361 mux {
1362 /* MOSI, MISO, CLK */
1363 pins = "gpio8", "gpio9", "gpio11";
1364 function = "gpio";
1365 };
1366
1367 config {
1368 pins = "gpio8", "gpio9", "gpio11";
1369 drive-strength = <2>; /* 2 MA */
1370 bias-pull-down; /* PULL Down */
1371 };
1372 };
1373
1374 spi3_cs0_active: cs0_active {
1375 /* CS */
1376 mux {
1377 pins = "gpio10";
1378 function = "blsp_spi3";
1379 };
1380
1381 config {
1382 pins = "gpio10";
1383 drive-strength = <2>;
1384 bias-disable = <0>;
1385 };
1386 };
1387
1388 spi3_cs0_sleep: cs0_sleep {
1389 /* CS */
1390 mux {
1391 pins = "gpio10";
1392 function = "gpio";
1393 };
1394
1395 config {
1396 pins = "gpio10";
1397 drive-strength = <2>;
1398 bias-disable = <0>;
1399 };
1400 };
1401 };
1402
Venkataraman Nerellapallia9ce2332018-07-03 14:17:42 +05301403 spi6 {
1404 spi6_default: spi6_default {
1405 /* active state */
1406 mux {
1407 /* MOSI, MISO, CLK */
1408 pins = "gpio20", "gpio21", "gpio23";
1409 function = "blsp_spi6";
1410 };
1411
1412 config {
1413 pins = "gpio20", "gpio21", "gpio23";
1414 drive-strength = <12>; /* 12 MA */
1415 bias-disable = <0>; /* No PULL */
1416 };
1417 };
1418
1419 spi6_sleep: spi6_sleep {
1420 /* suspended state */
1421 mux {
1422 /* MOSI, MISO, CLK */
1423 pins = "gpio20", "gpio21", "gpio23";
1424 function = "gpio";
1425 };
1426
1427 config {
1428 pins = "gpio20", "gpio21", "gpio23";
1429 drive-strength = <2>; /* 2 MA */
1430 bias-pull-down; /* PULL Down */
1431 };
1432 };
1433
1434 spi6_cs0_active: cs0_active {
1435 /* CS */
1436 mux {
1437 pins = "gpio22";
1438 function = "blsp_spi6";
1439 };
1440
1441 config {
1442 pins = "gpio22";
1443 drive-strength = <2>;
1444 bias-disable = <0>;
1445 };
1446 };
1447
1448 spi6_cs0_sleep: cs0_sleep {
1449 /* CS */
1450 mux {
1451 pins = "gpio22";
1452 function = "gpio";
1453 };
1454
1455 config {
1456 pins = "gpio22";
1457 drive-strength = <2>;
1458 bias-disable = <0>;
1459 };
1460 };
1461 };
1462
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301463 /* add pingrp for touchscreen */
1464 pmx_ts_int_active {
1465 ts_int_active: ts_int_active {
1466 mux {
1467 pins = "gpio65";
1468 function = "gpio";
1469 };
1470
1471 config {
1472 pins = "gpio65";
1473 drive-strength = <8>;
1474 bias-pull-up;
1475 };
1476 };
1477 };
1478
1479 pmx_ts_int_suspend {
1480 ts_int_suspend: ts_int_suspend {
1481 mux {
1482 pins = "gpio65";
1483 function = "gpio";
1484 };
1485
1486 config {
1487 pins = "gpio65";
1488 drive-strength = <2>;
1489 bias-pull-down;
1490 };
1491 };
1492 };
1493
1494 pmx_ts_reset_active {
1495 ts_reset_active: ts_reset_active {
1496 mux {
1497 pins = "gpio64";
1498 function = "gpio";
1499 };
1500
1501 config {
1502 pins = "gpio64";
1503 drive-strength = <8>;
1504 bias-pull-up;
1505 };
1506 };
1507 };
1508
1509 pmx_ts_reset_suspend {
1510 ts_reset_suspend: ts_reset_suspend {
1511 mux {
1512 pins = "gpio64";
1513 function = "gpio";
1514 };
1515
1516 config {
1517 pins = "gpio64";
1518 drive-strength = <2>;
1519 bias-pull-down;
1520 };
1521 };
1522 };
1523
1524 pmx_ts_release {
1525 ts_release: ts_release {
1526 mux {
1527 pins = "gpio65", "gpio64";
1528 function = "gpio";
1529 };
1530
1531 config {
1532 pins = "gpio65", "gpio64";
1533 drive-strength = <2>;
1534 bias-pull-down;
1535 };
1536 };
1537 };
1538
1539 tlmm_gpio_key {
1540 gpio_key_active: gpio_key_active {
1541 mux {
1542 pins = "gpio85", "gpio86", "gpio87";
1543 function = "gpio";
1544 };
1545
1546 config {
1547 pins = "gpio85", "gpio86", "gpio87";
1548 drive-strength = <2>;
1549 bias-pull-up;
1550 };
1551 };
1552
1553 gpio_key_suspend: gpio_key_suspend {
1554 mux {
1555 pins = "gpio85", "gpio86", "gpio87";
1556 function = "gpio";
1557 };
1558
1559 config {
1560 pins = "gpio85", "gpio86", "gpio87";
1561 drive-strength = <2>;
1562 bias-pull-up;
1563 };
1564 };
1565 };
1566 pmx_qdsd_clk {
1567 qdsd_clk_sdcard: clk_sdcard {
1568 config {
1569 pins = "qdsd_clk";
1570 bias-disable;/* NO pull */
1571 drive-strength = <16>; /* 16 MA */
1572 };
1573 };
1574 qdsd_clk_trace: clk_trace {
1575 config {
1576 pins = "qdsd_clk";
1577 bias-pull-down; /* pull down */
1578 drive-strength = <2>; /* 2 MA */
1579 };
1580 };
1581 qdsd_clk_swdtrc: clk_swdtrc {
1582 config {
1583 pins = "qdsd_clk";
1584 bias-pull-down; /* pull down */
1585 drive-strength = <2>; /* 2 MA */
1586 };
1587 };
1588 qdsd_clk_spmi: clk_spmi {
1589 config {
1590 pins = "qdsd_clk";
1591 bias-pull-down; /* pull down */
1592 drive-strength = <2>; /* 2 MA */
1593 };
1594 };
1595 };
1596
1597 pmx_qdsd_cmd {
1598 qdsd_cmd_sdcard: cmd_sdcard {
1599 config {
1600 pins = "qdsd_cmd";
1601 bias-pull-down; /* pull down */
1602 drive-strength = <8>; /* 8 MA */
1603 };
1604 };
1605 qdsd_cmd_trace: cmd_trace {
1606 config {
1607 pins = "qdsd_cmd";
1608 bias-pull-down; /* pull down */
1609 drive-strength = <2>; /* 2 MA */
1610 };
1611 };
1612 qdsd_cmd_swduart: cmd_uart {
1613 config {
1614 pins = "qdsd_cmd";
1615 bias-pull-up; /* pull up */
1616 drive-strength = <2>; /* 2 MA */
1617 };
1618 };
1619 qdsd_cmd_swdtrc: cmd_swdtrc {
1620 config {
1621 pins = "qdsd_cmd";
1622 bias-pull-up; /* pull up */
1623 drive-strength = <2>; /* 2 MA */
1624 };
1625 };
1626 qdsd_cmd_jtag: cmd_jtag {
1627 config {
1628 pins = "qdsd_cmd";
1629 bias-disable; /* NO pull */
1630 drive-strength = <8>; /* 8 MA */
1631 };
1632 };
1633 qdsd_cmd_spmi: cmd_spmi {
1634 config {
1635 pins = "qdsd_cmd";
1636 bias-pull-down; /* pull down */
1637 drive-strength = <10>; /* 10 MA */
1638 };
1639 };
1640 };
1641
1642 pmx_qdsd_data0 {
1643 qdsd_data0_sdcard: data0_sdcard {
1644 config {
1645 pins = "qdsd_data0";
1646 bias-pull-down; /* pull down */
1647 drive-strength = <8>; /* 8 MA */
1648 };
1649 };
1650 qdsd_data0_trace: data0_trace {
1651 config {
1652 pins = "qdsd_data0";
1653 bias-pull-down; /* pull down */
1654 drive-strength = <8>; /* 8 MA */
1655 };
1656 };
1657 qdsd_data0_swduart: data0_uart {
1658 config {
1659 pins = "qdsd_data0";
1660 bias-pull-down; /* pull down */
1661 drive-strength = <2>; /* 2 MA */
1662 };
1663 };
1664 qdsd_data0_swdtrc: data0_swdtrc {
1665 config {
1666 pins = "qdsd_data0";
1667 bias-pull-down; /* pull down */
1668 drive-strength = <2>; /* 2 MA */
1669 };
1670 };
1671 qdsd_data0_jtag: data0_jtag {
1672 config {
1673 pins = "qdsd_data0";
1674 bias-pull-up; /* pull up */
1675 drive-strength = <2>; /* 2 MA */
1676 };
1677 };
1678 qdsd_data0_spmi: data0_spmi {
1679 config {
1680 pins = "qdsd_data0";
1681 bias-pull-down; /* pull down */
1682 drive-strength = <2>; /* 2 MA */
1683 };
1684 };
1685 };
1686
1687 pmx_qdsd_data1 {
1688 qdsd_data1_sdcard: data1_sdcard {
1689 config {
1690 pins = "qdsd_data1";
1691 bias-pull-down; /* pull down */
1692 drive-strength = <8>; /* 8 MA */
1693 };
1694 };
1695 qdsd_data1_trace: data1_trace {
1696 config {
1697 pins = "qdsd_data1";
1698 bias-pull-down; /* pull down */
1699 drive-strength = <8>; /* 8 MA */
1700 };
1701 };
1702 qdsd_data1_swduart: data1_uart {
1703 config {
1704 pins = "qdsd_data1";
1705 bias-pull-down; /* pull down */
1706 drive-strength = <2>; /* 2 MA */
1707 };
1708 };
1709 qdsd_data1_swdtrc: data1_swdtrc {
1710 config {
1711 pins = "qdsd_data1";
1712 bias-pull-down; /* pull down */
1713 drive-strength = <2>; /* 2 MA */
1714 };
1715 };
1716 qdsd_data1_jtag: data1_jtag {
1717 config {
1718 pins = "qdsd_data1";
1719 bias-pull-down; /* pull down */
1720 drive-strength = <2>; /* 2 MA */
1721 };
1722 };
1723 };
1724
1725 pmx_qdsd_data2 {
1726 qdsd_data2_sdcard: data2_sdcard {
1727 config {
1728 pins = "qdsd_data2";
1729 bias-pull-down; /* pull down */
1730 drive-strength = <8>; /* 8 MA */
1731 };
1732 };
1733 qdsd_data2_trace: data2_trace {
1734 config {
1735 pins = "qdsd_data2";
1736 bias-pull-down; /* pull down */
1737 drive-strength = <8>; /* 8 MA */
1738 };
1739 };
1740 qdsd_data2_swduart: data2_uart {
1741 config {
1742 pins = "qdsd_data2";
1743 bias-pull-down; /* pull down */
1744 drive-strength = <2>; /* 2 MA */
1745 };
1746 };
1747 qdsd_data2_swdtrc: data2_swdtrc {
1748 config {
1749 pins = "qdsd_data2";
1750 bias-pull-down; /* pull down */
1751 drive-strength = <2>; /* 2 MA */
1752 };
1753 };
1754 qdsd_data2_jtag: data2_jtag {
1755 config {
1756 pins = "qdsd_data2";
1757 bias-pull-up; /* pull up */
1758 drive-strength = <8>; /* 8 MA */
1759 };
1760 };
1761 };
1762
1763 pmx_qdsd_data3 {
1764 qdsd_data3_sdcard: data3_sdcard {
1765 config {
1766 pins = "qdsd_data3";
1767 bias-pull-down; /* pull down */
1768 drive-strength = <8>; /* 8 MA */
1769 };
1770 };
1771 qdsd_data3_trace: data3_trace {
1772 config {
1773 pins = "qdsd_data3";
1774 bias-pull-down; /* pull down */
1775 drive-strength = <8>; /* 8 MA */
1776 };
1777 };
1778 qdsd_data3_swduart: data3_uart {
1779 config {
1780 pins = "qdsd_data3";
1781 bias-pull-up; /* pull up */
1782 drive-strength = <2>; /* 2 MA */
1783 };
1784 };
1785 qdsd_data3_swdtrc: data3_swdtrc {
1786 config {
1787 pins = "qdsd_data3";
1788 bias-pull-up; /* pull up */
1789 drive-strength = <2>; /* 2 MA */
1790 };
1791 };
1792 qdsd_data3_jtag: data3_jtag {
1793 config {
1794 pins = "qdsd_data3";
1795 bias-pull-up; /* pull up */
1796 drive-strength = <2>; /* 2 MA */
1797 };
1798 };
1799 qdsd_data3_spmi: data3_spmi {
1800 config {
1801 pins = "qdsd_data3";
1802 bias-pull-down; /* pull down */
1803 drive-strength = <8>; /* 8 MA */
1804 };
1805 };
1806 };
1807
1808 typec_ssmux_config: typec_ssmux_config {
1809 mux {
1810 pins = "gpio139";
1811 function = "gpio";
1812 };
1813
1814 config {
1815 pins = "gpio139";
1816 drive-strength = <2>;
1817 bias-disable;
1818 };
1819 };
Sriharsha Allenki26d71612018-06-01 15:22:38 +05301820
1821 ssusb_mode_sel: ssusb_mode_sel {
1822 mux {
1823 pins = "gpio12";
1824 function = "gpio";
1825 };
1826
1827 config {
1828 pins = "gpio12";
1829 drive-strength = <2>;
1830 bias-disable;
1831 input-disable;
1832 };
1833 };
Srinivas Ramana3cac2782017-09-13 16:31:17 +05301834 };
1835};