1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's S3C64xx SoC series common device tree source
4 * - pin control-related definitions
6 * Copyright (c) 2013 Tomasz Figa <tomasz.figa@gmail.com>
8 * Samsung's S3C64xx SoCs pin banks, pin-mux and pin-config options are
9 * listed as device tree nodes in this file.
12 #include <dt-bindings/pinctrl/samsung.h>
23 #interrupt-cells = <2>;
30 #interrupt-cells = <2>;
37 #interrupt-cells = <2>;
44 #interrupt-cells = <2>;
56 #interrupt-cells = <2>;
63 #interrupt-cells = <2>;
70 #interrupt-cells = <2>;
92 #interrupt-cells = <2>;
99 #interrupt-cells = <2>;
105 interrupt-controller;
106 #interrupt-cells = <2>;
112 interrupt-controller;
113 #interrupt-cells = <2>;
119 interrupt-controller;
120 #interrupt-cells = <2>;
126 interrupt-controller;
127 #interrupt-cells = <2>;
134 uart0_data: uart0-data {
135 samsung,pins = "gpa-0", "gpa-1";
136 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
137 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
140 uart0_fctl: uart0-fctl {
141 samsung,pins = "gpa-2", "gpa-3";
142 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
143 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
146 uart1_data: uart1-data {
147 samsung,pins = "gpa-4", "gpa-5";
148 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
149 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
152 uart1_fctl: uart1-fctl {
153 samsung,pins = "gpa-6", "gpa-7";
154 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
155 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
158 uart2_data: uart2-data {
159 samsung,pins = "gpb-0", "gpb-1";
160 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
161 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
164 uart3_data: uart3-data {
165 samsung,pins = "gpb-2", "gpb-3";
166 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
167 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
170 ext_dma_0: ext-dma-0 {
171 samsung,pins = "gpb-0", "gpb-1";
172 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
173 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
176 ext_dma_1: ext-dma-1 {
177 samsung,pins = "gpb-2", "gpb-3";
178 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
179 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
182 irda_data_0: irda-data-0 {
183 samsung,pins = "gpb-0", "gpb-1";
184 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
185 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
188 irda_data_1: irda-data-1 {
189 samsung,pins = "gpb-2", "gpb-3";
190 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
191 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
194 irda_sdbw: irda-sdbw {
195 samsung,pins = "gpb-4";
196 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
197 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
201 samsung,pins = "gpb-5", "gpb-6";
202 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
203 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
208 samsung,pins = "gpb-2", "gpb-3";
209 samsung,pin-function = <EXYNOS_PIN_FUNC_6>;
210 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
214 samsung,pins = "gpc-0", "gpc-1", "gpc-2";
215 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
216 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
220 samsung,pins = "gpc-3";
221 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
222 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
226 samsung,pins = "gpc-4", "gpc-5", "gpc-6";
227 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
228 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
232 samsung,pins = "gpc-7";
233 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
234 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
238 samsung,pins = "gpg-1";
239 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
240 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
244 samsung,pins = "gpg-0";
245 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
246 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
250 samsung,pins = "gpg-2";
251 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
252 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
256 samsung,pins = "gpg-2", "gpg-3", "gpg-4", "gpg-5";
257 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
258 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
262 samsung,pins = "gpg-6";
263 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
264 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
268 samsung,pins = "gph-1";
269 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
270 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
274 samsung,pins = "gph-0";
275 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
276 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
280 samsung,pins = "gph-2";
281 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
282 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
286 samsung,pins = "gph-2", "gph-3", "gph-4", "gph-5";
287 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
288 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
292 samsung,pins = "gph-2", "gph-3", "gph-4", "gph-5",
293 "gph-6", "gph-7", "gph-8", "gph-9";
294 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
295 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
299 samsung,pins = "gpg-6";
300 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
301 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
305 samsung,pins = "gpc-4";
306 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
307 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
311 samsung,pins = "gpc-5";
312 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
313 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
317 samsung,pins = "gph-6";
318 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
319 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
323 samsung,pins = "gph-6", "gph-7", "gph-8", "gph-9";
324 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
325 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
329 samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4";
330 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
331 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
334 i2s0_cdclk: i2s0-cdclk {
335 samsung,pins = "gpd-1";
336 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
337 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
341 samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4";
342 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
343 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
346 i2s1_cdclk: i2s1-cdclk {
347 samsung,pins = "gpe-1";
348 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
349 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
354 samsung,pins = "gpc-4", "gpc-5", "gpc-6", "gph-6",
356 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
357 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
360 i2s2_cdclk: i2s2-cdclk {
362 samsung,pins = "gph-7";
363 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
364 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
368 samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4";
369 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
370 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
373 pcm0_extclk: pcm0-extclk {
374 samsung,pins = "gpd-1";
375 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
376 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
380 samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4";
381 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
382 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
385 pcm1_extclk: pcm1-extclk {
386 samsung,pins = "gpe-1";
387 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
388 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
391 ac97_bus_0: ac97-bus-0 {
392 samsung,pins = "gpd-0", "gpd-1", "gpd-2", "gpd-3", "gpd-4";
393 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
394 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
397 ac97_bus_1: ac97-bus-1 {
398 samsung,pins = "gpe-0", "gpe-1", "gpe-2", "gpe-3", "gpe-4";
399 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
400 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
404 samsung,pins = "gpf-0", "gpf-1", "gpf-2", "gpf-4",
405 "gpf-5", "gpf-6", "gpf-7", "gpf-8",
406 "gpf-9", "gpf-10", "gpf-11", "gpf-12";
407 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
408 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
412 samsung,pins = "gpf-3";
413 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
414 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
417 cam_field: cam-field {
419 samsung,pins = "gpb-4";
420 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
421 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
424 pwm_extclk: pwm-extclk {
425 samsung,pins = "gpf-13";
426 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
427 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
431 samsung,pins = "gpf-14";
432 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
433 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
437 samsung,pins = "gpf-15";
438 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
439 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
443 samsung,pins = "gpf-14";
444 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
445 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
448 keypad_col0_0: keypad-col0-0 {
449 samsung,pins = "gph-0";
450 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
451 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
454 keypad_col1_0: keypad-col1-0 {
455 samsung,pins = "gph-1";
456 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
457 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
460 keypad_col2_0: keypad-col2-0 {
461 samsung,pins = "gph-2";
462 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
463 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
466 keypad_col3_0: keypad-col3-0 {
467 samsung,pins = "gph-3";
468 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
469 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
472 keypad_col4_0: keypad-col4-0 {
473 samsung,pins = "gph-4";
474 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
475 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
478 keypad_col5_0: keypad-col5-0 {
479 samsung,pins = "gph-5";
480 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
481 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
484 keypad_col6_0: keypad-col6-0 {
485 samsung,pins = "gph-6";
486 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
487 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
490 keypad_col7_0: keypad-col7-0 {
491 samsung,pins = "gph-7";
492 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
493 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
496 keypad_col0_1: keypad-col0-1 {
497 samsung,pins = "gpl-0";
498 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
499 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
502 keypad_col1_1: keypad-col1-1 {
503 samsung,pins = "gpl-1";
504 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
505 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
508 keypad_col2_1: keypad-col2-1 {
509 samsung,pins = "gpl-2";
510 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
511 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
514 keypad_col3_1: keypad-col3-1 {
515 samsung,pins = "gpl-3";
516 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
517 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
520 keypad_col4_1: keypad-col4-1 {
521 samsung,pins = "gpl-4";
522 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
523 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
526 keypad_col5_1: keypad-col5-1 {
527 samsung,pins = "gpl-5";
528 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
529 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
532 keypad_col6_1: keypad-col6-1 {
533 samsung,pins = "gpl-6";
534 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
535 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
538 keypad_col7_1: keypad-col7-1 {
539 samsung,pins = "gpl-7";
540 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
541 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
544 keypad_row0_0: keypad-row0-0 {
545 samsung,pins = "gpk-8";
546 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
547 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
550 keypad_row1_0: keypad-row1-0 {
551 samsung,pins = "gpk-9";
552 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
553 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
556 keypad_row2_0: keypad-row2-0 {
557 samsung,pins = "gpk-10";
558 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
559 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
562 keypad_row3_0: keypad-row3-0 {
563 samsung,pins = "gpk-11";
564 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
565 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
568 keypad_row4_0: keypad-row4-0 {
569 samsung,pins = "gpk-12";
570 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
571 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
574 keypad_row5_0: keypad-row5-0 {
575 samsung,pins = "gpk-13";
576 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
577 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
580 keypad_row6_0: keypad-row6-0 {
581 samsung,pins = "gpk-14";
582 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
583 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
586 keypad_row7_0: keypad-row7-0 {
587 samsung,pins = "gpk-15";
588 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
589 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
592 keypad_row0_1: keypad-row0-1 {
593 samsung,pins = "gpn-0";
594 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
595 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
598 keypad_row1_1: keypad-row1-1 {
599 samsung,pins = "gpn-1";
600 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
601 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
604 keypad_row2_1: keypad-row2-1 {
605 samsung,pins = "gpn-2";
606 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
607 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
610 keypad_row3_1: keypad-row3-1 {
611 samsung,pins = "gpn-3";
612 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
613 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
616 keypad_row4_1: keypad-row4-1 {
617 samsung,pins = "gpn-4";
618 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
619 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
622 keypad_row5_1: keypad-row5-1 {
623 samsung,pins = "gpn-5";
624 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
625 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
628 keypad_row6_1: keypad-row6-1 {
629 samsung,pins = "gpn-6";
630 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
631 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
634 keypad_row7_1: keypad-row7-1 {
635 samsung,pins = "gpn-7";
636 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
637 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
641 samsung,pins = "gpj-8", "gpj-9", "gpj-10", "gpj-11";
642 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
643 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
646 lcd_data16: lcd-data-width16 {
647 samsung,pins = "gpi-3", "gpi-4", "gpi-5", "gpi-6",
648 "gpi-7", "gpi-10", "gpi-11", "gpi-12",
649 "gpi-13", "gpi-14", "gpi-15", "gpj-3",
650 "gpj-4", "gpj-5", "gpj-6", "gpj-7";
651 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
652 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
655 lcd_data18: lcd-data-width18 {
656 samsung,pins = "gpi-2", "gpi-3", "gpi-4", "gpi-5",
657 "gpi-6", "gpi-7", "gpi-10", "gpi-11",
658 "gpi-12", "gpi-13", "gpi-14", "gpi-15",
659 "gpj-2", "gpj-3", "gpj-4", "gpj-5",
661 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
662 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
665 lcd_data24: lcd-data-width24 {
666 samsung,pins = "gpi-0", "gpi-1", "gpi-2", "gpi-3",
667 "gpi-4", "gpi-5", "gpi-6", "gpi-7",
668 "gpi-8", "gpi-9", "gpi-10", "gpi-11",
669 "gpi-12", "gpi-13", "gpi-14", "gpi-15",
670 "gpj-0", "gpj-1", "gpj-2", "gpj-3",
671 "gpj-4", "gpj-5", "gpj-6", "gpj-7";
672 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
673 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
677 samsung,pins = "gpk-0", "gpk-1", "gpk-2", "gpk-3",
678 "gpk-4", "gpk-5", "gpk-6", "gpk-7";
679 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
680 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;