2 * Samsung's S3C64xx SoC series common device tree source
3 * - pin control-related definitions
5 * Copyright (c) 2013 Tomasz Figa <tomasz.figa@gmail.com>
7 * Samsung's S3C64xx SoCs pin banks, pin-mux and pin-config options are
8 * listed as device tree nodes in this file.
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
15 #include <dt-bindings/pinctrl/samsung.h>
26 #interrupt-cells = <2>;
33 #interrupt-cells = <2>;
40 #interrupt-cells = <2>;
47 #interrupt-cells = <2>;
59 #interrupt-cells = <2>;
66 #interrupt-cells = <2>;
73 #interrupt-cells = <2>;
95 #interrupt-cells = <2>;
101 interrupt-controller;
102 #interrupt-cells = <2>;
108 interrupt-controller;
109 #interrupt-cells = <2>;
115 interrupt-controller;
116 #interrupt-cells = <2>;
122 interrupt-controller;
123 #interrupt-cells = <2>;
129 interrupt-controller;
130 #interrupt-cells = <2>;
137 uart0_data: uart0-data {
138 samsung,pins = "gpa-0", "gpa-1";
139 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
140 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
143 uart0_fctl: uart0-fctl {
144 samsung,pins = "gpa-2", "gpa-3";
145 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
146 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
149 uart1_data: uart1-data {
150 samsung,pins = "gpa-4", "gpa-5";
151 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
152 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
155 uart1_fctl: uart1-fctl {
156 samsung,pins = "gpa-6", "gpa-7";
157 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
158 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
161 uart2_data: uart2-data {
162 samsung,pins = "gpb-0", "gpb-1";
163 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
164 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
167 uart3_data: uart3-data {
168 samsung,pins = "gpb-2", "gpb-3";
169 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
170 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
173 ext_dma_0: ext-dma-0 {
174 samsung,pins = "gpb-0", "gpb-1";
175 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
176 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
179 ext_dma_1: ext-dma-1 {
180 samsung,pins = "gpb-2", "gpb-3";
181 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
182 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
185 irda_data_0: irda-data-0 {
186 samsung,pins = "gpb-0", "gpb-1";
187 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
188 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
191 irda_data_1: irda-data-1 {
192 samsung,pins = "gpb-2", "gpb-3";
193 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
194 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
197 irda_sdbw: irda-sdbw {
198 samsung,pins = "gpb-4";
199 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
200 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
204 samsung,pins = "gpb-5", "gpb-6";
205 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
206 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
211 samsung,pins = "gpb-2", "gpb-3";
212 samsung,pin-function = <EXYNOS_PIN_FUNC_6>;
213 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
217 samsung,pins = "gpc-0", "gpc-1", "gpc-2";
218 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
219 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
223 samsung,pins = "gpc-3";
224 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
225 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
229 samsung,pins = "gpc-4", "gpc-5", "gpc-6";
230 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
231 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
235 samsung,pins = "gpc-7";
236 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
237 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
241 samsung,pins = "gpg-1";
242 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
243 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
247 samsung,pins = "gpg-0";
248 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
249 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
253 samsung,pins = "gpg-2";
254 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
255 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
259 samsung,pins = "gpg-2", "gpg-3", "gpg-4", "gpg-5";
260 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
261 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
265 samsung,pins = "gpg-6";
266 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
267 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
271 samsung,pins = "gph-1";
272 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
273 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
277 samsung,pins = "gph-0";
278 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
279 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
283 samsung,pins = "gph-2";
284 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
285 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
289 samsung,pins = "gph-2", "gph-3", "gph-4", "gph-5";
290 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
291 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
295 samsung,pins = "gph-2", "gph-3", "gph-4", "gph-5",
296 "gph-6", "gph-7", "gph-8", "gph-9";
297 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
298 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
302 samsung,pins = "gpg-6";
303 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
304 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
308 samsung,pins = "gpc-4";
309 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
310 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
314 samsung,pins = "gpc-5";
315 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
316 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
320 samsung,pins = "gph-6";
321 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
322 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
326 samsung,pins = "gph-6", "gph-7", "gph-8", "gph-9";
327 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
328 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
332 samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4";
333 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
334 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
337 i2s0_cdclk: i2s0-cdclk {
338 samsung,pins = "gpd-1";
339 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
340 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
344 samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4";
345 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
346 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
349 i2s1_cdclk: i2s1-cdclk {
350 samsung,pins = "gpe-1";
351 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
352 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
357 samsung,pins = "gpc-4", "gpc-5", "gpc-6", "gph-6",
359 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
360 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
363 i2s2_cdclk: i2s2-cdclk {
365 samsung,pins = "gph-7";
366 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
367 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
371 samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4";
372 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
373 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
376 pcm0_extclk: pcm0-extclk {
377 samsung,pins = "gpd-1";
378 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
379 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
383 samsung,pins = "gpe-0", "gpe-2", "gpe-3", "gpe-4";
384 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
385 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
388 pcm1_extclk: pcm1-extclk {
389 samsung,pins = "gpe-1";
390 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
391 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
394 ac97_bus_0: ac97-bus-0 {
395 samsung,pins = "gpd-0", "gpd-1", "gpd-2", "gpd-3", "gpd-4";
396 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
397 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
400 ac97_bus_1: ac97-bus-1 {
401 samsung,pins = "gpe-0", "gpe-1", "gpe-2", "gpe-3", "gpe-4";
402 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
403 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
407 samsung,pins = "gpf-0", "gpf-1", "gpf-2", "gpf-4",
408 "gpf-5", "gpf-6", "gpf-7", "gpf-8",
409 "gpf-9", "gpf-10", "gpf-11", "gpf-12";
410 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
411 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
415 samsung,pins = "gpf-3";
416 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
417 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
420 cam_field: cam-field {
422 samsung,pins = "gpb-4";
423 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
424 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
427 pwm_extclk: pwm-extclk {
428 samsung,pins = "gpf-13";
429 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
430 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
434 samsung,pins = "gpf-14";
435 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
436 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
440 samsung,pins = "gpf-15";
441 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
442 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
446 samsung,pins = "gpf-14";
447 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
448 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
451 keypad_col0_0: keypad-col0-0 {
452 samsung,pins = "gph-0";
453 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
454 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
457 keypad_col1_0: keypad-col1-0 {
458 samsung,pins = "gph-1";
459 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
460 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
463 keypad_col2_0: keypad-col2-0 {
464 samsung,pins = "gph-2";
465 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
466 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
469 keypad_col3_0: keypad-col3-0 {
470 samsung,pins = "gph-3";
471 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
472 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
475 keypad_col4_0: keypad-col4-0 {
476 samsung,pins = "gph-4";
477 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
478 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
481 keypad_col5_0: keypad-col5-0 {
482 samsung,pins = "gph-5";
483 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
484 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
487 keypad_col6_0: keypad-col6-0 {
488 samsung,pins = "gph-6";
489 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
490 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
493 keypad_col7_0: keypad-col7-0 {
494 samsung,pins = "gph-7";
495 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
496 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
499 keypad_col0_1: keypad-col0-1 {
500 samsung,pins = "gpl-0";
501 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
502 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
505 keypad_col1_1: keypad-col1-1 {
506 samsung,pins = "gpl-1";
507 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
508 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
511 keypad_col2_1: keypad-col2-1 {
512 samsung,pins = "gpl-2";
513 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
514 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
517 keypad_col3_1: keypad-col3-1 {
518 samsung,pins = "gpl-3";
519 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
520 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
523 keypad_col4_1: keypad-col4-1 {
524 samsung,pins = "gpl-4";
525 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
526 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
529 keypad_col5_1: keypad-col5-1 {
530 samsung,pins = "gpl-5";
531 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
532 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
535 keypad_col6_1: keypad-col6-1 {
536 samsung,pins = "gpl-6";
537 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
538 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
541 keypad_col7_1: keypad-col7-1 {
542 samsung,pins = "gpl-7";
543 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
544 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
547 keypad_row0_0: keypad-row0-0 {
548 samsung,pins = "gpk-8";
549 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
550 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
553 keypad_row1_0: keypad-row1-0 {
554 samsung,pins = "gpk-9";
555 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
556 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
559 keypad_row2_0: keypad-row2-0 {
560 samsung,pins = "gpk-10";
561 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
562 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
565 keypad_row3_0: keypad-row3-0 {
566 samsung,pins = "gpk-11";
567 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
568 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
571 keypad_row4_0: keypad-row4-0 {
572 samsung,pins = "gpk-12";
573 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
574 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
577 keypad_row5_0: keypad-row5-0 {
578 samsung,pins = "gpk-13";
579 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
580 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
583 keypad_row6_0: keypad-row6-0 {
584 samsung,pins = "gpk-14";
585 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
586 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
589 keypad_row7_0: keypad-row7-0 {
590 samsung,pins = "gpk-15";
591 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
592 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
595 keypad_row0_1: keypad-row0-1 {
596 samsung,pins = "gpn-0";
597 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
598 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
601 keypad_row1_1: keypad-row1-1 {
602 samsung,pins = "gpn-1";
603 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
604 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
607 keypad_row2_1: keypad-row2-1 {
608 samsung,pins = "gpn-2";
609 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
610 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
613 keypad_row3_1: keypad-row3-1 {
614 samsung,pins = "gpn-3";
615 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
616 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
619 keypad_row4_1: keypad-row4-1 {
620 samsung,pins = "gpn-4";
621 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
622 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
625 keypad_row5_1: keypad-row5-1 {
626 samsung,pins = "gpn-5";
627 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
628 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
631 keypad_row6_1: keypad-row6-1 {
632 samsung,pins = "gpn-6";
633 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
634 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
637 keypad_row7_1: keypad-row7-1 {
638 samsung,pins = "gpn-7";
639 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
640 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
644 samsung,pins = "gpj-8", "gpj-9", "gpj-10", "gpj-11";
645 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
646 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
649 lcd_data16: lcd-data-width16 {
650 samsung,pins = "gpi-3", "gpi-4", "gpi-5", "gpi-6",
651 "gpi-7", "gpi-10", "gpi-11", "gpi-12",
652 "gpi-13", "gpi-14", "gpi-15", "gpj-3",
653 "gpj-4", "gpj-5", "gpj-6", "gpj-7";
654 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
655 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
658 lcd_data18: lcd-data-width18 {
659 samsung,pins = "gpi-2", "gpi-3", "gpi-4", "gpi-5",
660 "gpi-6", "gpi-7", "gpi-10", "gpi-11",
661 "gpi-12", "gpi-13", "gpi-14", "gpi-15",
662 "gpj-2", "gpj-3", "gpj-4", "gpj-5",
664 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
665 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
668 lcd_data24: lcd-data-width24 {
669 samsung,pins = "gpi-0", "gpi-1", "gpi-2", "gpi-3",
670 "gpi-4", "gpi-5", "gpi-6", "gpi-7",
671 "gpi-8", "gpi-9", "gpi-10", "gpi-11",
672 "gpi-12", "gpi-13", "gpi-14", "gpi-15",
673 "gpj-0", "gpj-1", "gpj-2", "gpj-3",
674 "gpj-4", "gpj-5", "gpj-6", "gpj-7";
675 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
676 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
680 samsung,pins = "gpk-0", "gpk-1", "gpk-2", "gpk-3",
681 "gpk-4", "gpk-5", "gpk-6", "gpk-7";
682 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
683 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;