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