blob: e62c8eb57438988c0c5493cfb2a88c2471e624e3 [file] [log] [blame]
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +09001/*
2 * Samsung's Exynos5420 SoC pin-mux and pin-config device tree source
3 *
4 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * Samsung's Exynos5420 SoC pin-mux and pin-config options are listed as device
8 * tree nodes are listed in this file.
9 *
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.
13*/
14
15/ {
16 pinctrl@13400000 {
17 gpy7: gpy7 {
18 gpio-controller;
19 #gpio-cells = <2>;
20
21 interrupt-controller;
22 #interrupt-cells = <2>;
23 };
24
25 gpx0: gpx0 {
26 gpio-controller;
27 #gpio-cells = <2>;
28
29 interrupt-controller;
30 interrupt-parent = <&combiner>;
31 #interrupt-cells = <2>;
32 interrupts = <23 0>, <24 0>, <25 0>, <25 1>,
33 <26 0>, <26 1>, <27 0>, <27 1>;
34 };
35
36 gpx1: gpx1 {
37 gpio-controller;
38 #gpio-cells = <2>;
39
40 interrupt-controller;
41 interrupt-parent = <&combiner>;
42 #interrupt-cells = <2>;
43 interrupts = <28 0>, <28 1>, <29 0>, <29 1>,
44 <30 0>, <30 1>, <31 0>, <31 1>;
45 };
46
47 gpx2: gpx2 {
48 gpio-controller;
49 #gpio-cells = <2>;
50
51 interrupt-controller;
52 #interrupt-cells = <2>;
53 };
54
55 gpx3: gpx3 {
56 gpio-controller;
57 #gpio-cells = <2>;
58
59 interrupt-controller;
60 #interrupt-cells = <2>;
61 };
Vikas Sajjan4e780892013-08-14 17:15:10 +090062
63 dp_hpd: dp_hpd {
64 samsung,pins = "gpx0-7";
65 samsung,pin-function = <3>;
66 samsung,pin-pud = <0>;
Sachin Kamat505d41e2013-12-12 06:58:37 +090067 samsung,pin-drv = <0>;
Vikas Sajjan4e780892013-08-14 17:15:10 +090068 };
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090069 };
70
71 pinctrl@13410000 {
72 gpc0: gpc0 {
73 gpio-controller;
74 #gpio-cells = <2>;
75
76 interrupt-controller;
77 #interrupt-cells = <2>;
78 };
79
80 gpc1: gpc1 {
81 gpio-controller;
82 #gpio-cells = <2>;
83
84 interrupt-controller;
85 #interrupt-cells = <2>;
86 };
87
88 gpc2: gpc2 {
89 gpio-controller;
90 #gpio-cells = <2>;
91
92 interrupt-controller;
93 #interrupt-cells = <2>;
94 };
95
96 gpc3: gpc3 {
97 gpio-controller;
98 #gpio-cells = <2>;
99
100 interrupt-controller;
101 #interrupt-cells = <2>;
102 };
103
104 gpc4: gpc4 {
105 gpio-controller;
106 #gpio-cells = <2>;
107
108 interrupt-controller;
109 #interrupt-cells = <2>;
110 };
111
112 gpd1: gpd1 {
113 gpio-controller;
114 #gpio-cells = <2>;
115
116 interrupt-controller;
117 #interrupt-cells = <2>;
118 };
119
120 gpy0: gpy0 {
121 gpio-controller;
122 #gpio-cells = <2>;
123 };
124
125 gpy1: gpy1 {
126 gpio-controller;
127 #gpio-cells = <2>;
128 };
129
130 gpy2: gpy2 {
131 gpio-controller;
132 #gpio-cells = <2>;
133 };
134
135 gpy3: gpy3 {
136 gpio-controller;
137 #gpio-cells = <2>;
138 };
139
140 gpy4: gpy4 {
141 gpio-controller;
142 #gpio-cells = <2>;
143 };
144
145 gpy5: gpy5 {
146 gpio-controller;
147 #gpio-cells = <2>;
148 };
149
150 gpy6: gpy6 {
151 gpio-controller;
152 #gpio-cells = <2>;
153 };
154
155 sd0_clk: sd0-clk {
156 samsung,pins = "gpc0-0";
157 samsung,pin-function = <2>;
158 samsung,pin-pud = <0>;
159 samsung,pin-drv = <3>;
160 };
161
162 sd0_cmd: sd0-cmd {
163 samsung,pins = "gpc0-1";
164 samsung,pin-function = <2>;
165 samsung,pin-pud = <0>;
166 samsung,pin-drv = <3>;
167 };
168
169 sd0_cd: sd0-cd {
170 samsung,pins = "gpc0-2";
171 samsung,pin-function = <2>;
172 samsung,pin-pud = <3>;
173 samsung,pin-drv = <3>;
174 };
175
176 sd0_bus1: sd0-bus-width1 {
177 samsung,pins = "gpc0-3";
178 samsung,pin-function = <2>;
179 samsung,pin-pud = <3>;
180 samsung,pin-drv = <3>;
181 };
182
183 sd0_bus4: sd0-bus-width4 {
184 samsung,pins = "gpc0-4", "gpc0-5", "gpc0-6";
185 samsung,pin-function = <2>;
186 samsung,pin-pud = <3>;
187 samsung,pin-drv = <3>;
188 };
189
190 sd0_bus8: sd0-bus-width8 {
191 samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3";
192 samsung,pin-function = <2>;
193 samsung,pin-pud = <3>;
194 samsung,pin-drv = <3>;
195 };
196
197 sd1_clk: sd1-clk {
198 samsung,pins = "gpc1-0";
199 samsung,pin-function = <2>;
200 samsung,pin-pud = <0>;
201 samsung,pin-drv = <3>;
202 };
203
204 sd1_cmd: sd1-cmd {
205 samsung,pins = "gpc1-1";
206 samsung,pin-function = <2>;
207 samsung,pin-pud = <0>;
208 samsung,pin-drv = <3>;
209 };
210
211 sd1_cd: sd1-cd {
212 samsung,pins = "gpc1-2";
213 samsung,pin-function = <2>;
214 samsung,pin-pud = <3>;
215 samsung,pin-drv = <3>;
216 };
217
218 sd1_int: sd1-int {
219 samsung,pins = "gpd1-1";
220 samsung,pin-function = <2>;
221 samsung,pin-pud = <3>;
222 samsung,pin-drv = <0>;
223 };
224
225 sd1_bus1: sd1-bus-width1 {
226 samsung,pins = "gpc1-3";
227 samsung,pin-function = <2>;
228 samsung,pin-pud = <3>;
229 samsung,pin-drv = <3>;
230 };
231
232 sd1_bus4: sd1-bus-width4 {
233 samsung,pins = "gpc1-4", "gpc1-5", "gpc1-6";
234 samsung,pin-function = <2>;
235 samsung,pin-pud = <3>;
236 samsung,pin-drv = <3>;
237 };
238
239 sd1_bus8: sd1-bus-width8 {
240 samsung,pins = "gpd1-4", "gpd1-5", "gpd1-6", "gpd1-7";
241 samsung,pin-function = <2>;
242 samsung,pin-pud = <3>;
243 samsung,pin-drv = <3>;
244 };
245
246 sd2_clk: sd2-clk {
247 samsung,pins = "gpc2-0";
248 samsung,pin-function = <2>;
249 samsung,pin-pud = <0>;
250 samsung,pin-drv = <3>;
251 };
252
253 sd2_cmd: sd2-cmd {
254 samsung,pins = "gpc2-1";
255 samsung,pin-function = <2>;
256 samsung,pin-pud = <0>;
257 samsung,pin-drv = <3>;
258 };
259
260 sd2_cd: sd2-cd {
261 samsung,pins = "gpc2-2";
262 samsung,pin-function = <2>;
263 samsung,pin-pud = <3>;
264 samsung,pin-drv = <3>;
265 };
266
267 sd2_bus1: sd2-bus-width1 {
268 samsung,pins = "gpc2-3";
269 samsung,pin-function = <2>;
270 samsung,pin-pud = <3>;
271 samsung,pin-drv = <3>;
272 };
273
274 sd2_bus4: sd2-bus-width4 {
275 samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6";
276 samsung,pin-function = <2>;
277 samsung,pin-pud = <3>;
278 samsung,pin-drv = <3>;
279 };
280 };
281
282 pinctrl@14000000 {
283 gpe0: gpe0 {
284 gpio-controller;
285 #gpio-cells = <2>;
286
287 interrupt-controller;
288 #interrupt-cells = <2>;
289 };
290
291 gpe1: gpe1 {
292 gpio-controller;
293 #gpio-cells = <2>;
294
295 interrupt-controller;
296 #interrupt-cells = <2>;
297 };
298
299 gpf0: gpf0 {
300 gpio-controller;
301 #gpio-cells = <2>;
302
303 interrupt-controller;
304 #interrupt-cells = <2>;
305 };
306
307 gpf1: gpf1 {
308 gpio-controller;
309 #gpio-cells = <2>;
310
311 interrupt-controller;
312 #interrupt-cells = <2>;
313 };
314
315 gpg0: gpg0 {
316 gpio-controller;
317 #gpio-cells = <2>;
318
319 interrupt-controller;
320 #interrupt-cells = <2>;
321 };
322
323 gpg1: gpg1 {
324 gpio-controller;
325 #gpio-cells = <2>;
326
327 interrupt-controller;
328 #interrupt-cells = <2>;
329 };
330
331 gpg2: gpg2 {
332 gpio-controller;
333 #gpio-cells = <2>;
334
335 interrupt-controller;
336 #interrupt-cells = <2>;
337 };
338
339 gpj4: gpj4 {
340 gpio-controller;
341 #gpio-cells = <2>;
342
343 interrupt-controller;
344 #interrupt-cells = <2>;
345 };
346
347 cam_gpio_a: cam-gpio-a {
348 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
349 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
350 "gpe1-0", "gpe1-1";
351 samsung,pin-function = <2>;
352 samsung,pin-pud = <0>;
353 samsung,pin-drv = <0>;
354 };
355
356 cam_gpio_b: cam-gpio-b {
357 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
358 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
359 samsung,pin-function = <3>;
360 samsung,pin-pud = <0>;
361 samsung,pin-drv = <0>;
362 };
363
364 cam_i2c2_bus: cam-i2c2-bus {
365 samsung,pins = "gpf0-4", "gpf0-5";
366 samsung,pin-function = <2>;
367 samsung,pin-pud = <3>;
368 samsung,pin-drv = <0>;
369 };
370 cam_spi1_bus: cam-spi1-bus {
371 samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3";
372 samsung,pin-function = <4>;
373 samsung,pin-pud = <0>;
374 samsung,pin-drv = <0>;
375 };
376
377 cam_i2c1_bus: cam-i2c1-bus {
378 samsung,pins = "gpf0-2", "gpf0-3";
379 samsung,pin-function = <2>;
380 samsung,pin-pud = <3>;
381 samsung,pin-drv = <0>;
382 };
383
384 cam_i2c0_bus: cam-i2c0-bus {
385 samsung,pins = "gpf0-0", "gpf0-1";
386 samsung,pin-function = <2>;
387 samsung,pin-pud = <3>;
388 samsung,pin-drv = <0>;
389 };
390
391 cam_spi0_bus: cam-spi0-bus {
392 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
393 samsung,pin-function = <2>;
394 samsung,pin-pud = <0>;
395 samsung,pin-drv = <0>;
396 };
397
398 cam_bayrgb_bus: cam-bayrgb-bus {
399 samsung,pins = "gpg0-0", "gpg0-1", "gpg0-2", "gpg0-3",
400 "gpg0-4", "gpg0-5", "gpg0-6", "gpg0-7",
401 "gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3",
402 "gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7",
403 "gpg2-0";
404 samsung,pin-function = <2>;
405 samsung,pin-pud = <0>;
406 samsung,pin-drv = <0>;
407 };
408 };
409
410 pinctrl@14010000 {
411 gpa0: gpa0 {
412 gpio-controller;
413 #gpio-cells = <2>;
414
415 interrupt-controller;
416 #interrupt-cells = <2>;
417 };
418
419 gpa1: gpa1 {
420 gpio-controller;
421 #gpio-cells = <2>;
422
423 interrupt-controller;
424 #interrupt-cells = <2>;
425 };
426
427 gpa2: gpa2 {
428 gpio-controller;
429 #gpio-cells = <2>;
430
431 interrupt-controller;
432 #interrupt-cells = <2>;
433 };
434
435 gpb0: gpb0 {
436 gpio-controller;
437 #gpio-cells = <2>;
438
439 interrupt-controller;
440 #interrupt-cells = <2>;
441 };
442
443 gpb1: gpb1 {
444 gpio-controller;
445 #gpio-cells = <2>;
446
447 interrupt-controller;
448 #interrupt-cells = <2>;
449 };
450
451 gpb2: gpb2 {
452 gpio-controller;
453 #gpio-cells = <2>;
454
455 interrupt-controller;
456 #interrupt-cells = <2>;
457 };
458
459 gpb3: gpb3 {
460 gpio-controller;
461 #gpio-cells = <2>;
462
463 interrupt-controller;
464 #interrupt-cells = <2>;
465 };
466
467 gpb4: gpb4 {
468 gpio-controller;
469 #gpio-cells = <2>;
470
471 interrupt-controller;
472 #interrupt-cells = <2>;
473 };
474
475 gph0: gph0 {
476 gpio-controller;
477 #gpio-cells = <2>;
478
479 interrupt-controller;
480 #interrupt-cells = <2>;
481 };
482
483 uart0_data: uart0-data {
484 samsung,pins = "gpa0-0", "gpa0-1";
485 samsung,pin-function = <2>;
486 samsung,pin-pud = <0>;
487 samsung,pin-drv = <0>;
488 };
489
490 uart0_fctl: uart0-fctl {
491 samsung,pins = "gpa0-2", "gpa0-3";
492 samsung,pin-function = <2>;
493 samsung,pin-pud = <0>;
494 samsung,pin-drv = <0>;
495 };
496
497 uart1_data: uart1-data {
498 samsung,pins = "gpa0-4", "gpa0-5";
499 samsung,pin-function = <2>;
500 samsung,pin-pud = <0>;
501 samsung,pin-drv = <0>;
502 };
503
504 uart1_fctl: uart1-fctl {
505 samsung,pins = "gpa0-6", "gpa0-7";
506 samsung,pin-function = <2>;
507 samsung,pin-pud = <0>;
508 samsung,pin-drv = <0>;
509 };
510
511 i2c2_bus: i2c2-bus {
512 samsung,pins = "gpa0-6", "gpa0-7";
513 samsung,pin-function = <3>;
514 samsung,pin-pud = <3>;
515 samsung,pin-drv = <0>;
516 };
517
518 uart2_data: uart2-data {
519 samsung,pins = "gpa1-0", "gpa1-1";
520 samsung,pin-function = <2>;
521 samsung,pin-pud = <0>;
522 samsung,pin-drv = <0>;
523 };
524
525 uart2_fctl: uart2-fctl {
526 samsung,pins = "gpa1-2", "gpa1-3";
527 samsung,pin-function = <2>;
528 samsung,pin-pud = <0>;
529 samsung,pin-drv = <0>;
530 };
531
532 i2c3_bus: i2c3-bus {
533 samsung,pins = "gpa1-2", "gpa1-3";
534 samsung,pin-function = <3>;
535 samsung,pin-pud = <3>;
536 samsung,pin-drv = <0>;
537 };
538
539 uart3_data: uart3-data {
540 samsung,pins = "gpa1-4", "gpa1-5";
541 samsung,pin-function = <2>;
542 samsung,pin-pud = <0>;
543 samsung,pin-drv = <0>;
544 };
545
546 spi0_bus: spi0-bus {
547 samsung,pins = "gpa2-0", "gpa2-1", "gpa2-2", "gpa2-3";
548 samsung,pin-function = <2>;
549 samsung,pin-pud = <3>;
550 samsung,pin-drv = <0>;
551 };
552
553 spi1_bus: spi1-bus {
554 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
555 samsung,pin-function = <2>;
556 samsung,pin-pud = <3>;
557 samsung,pin-drv = <0>;
558 };
559
560 i2c4_hs_bus: i2c4-hs-bus {
561 samsung,pins = "gpa2-0", "gpa2-1";
562 samsung,pin-function = <3>;
563 samsung,pin-pud = <3>;
564 samsung,pin-drv = <0>;
565 };
566
567 i2c5_hs_bus: i2c5-hs-bus {
568 samsung,pins = "gpa2-2", "gpa2-3";
569 samsung,pin-function = <3>;
570 samsung,pin-pud = <3>;
571 samsung,pin-drv = <0>;
572 };
573
574 i2s1_bus: i2s1-bus {
575 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
576 "gpb0-4";
577 samsung,pin-function = <2>;
578 samsung,pin-pud = <0>;
579 samsung,pin-drv = <0>;
580 };
581
582 pcm1_bus: pcm1-bus {
583 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
584 "gpb0-4";
585 samsung,pin-function = <3>;
586 samsung,pin-pud = <0>;
587 samsung,pin-drv = <0>;
588 };
589
590 i2s2_bus: i2s2-bus {
591 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
592 "gpb1-4";
593 samsung,pin-function = <2>;
594 samsung,pin-pud = <0>;
595 samsung,pin-drv = <0>;
596 };
597
598 pcm2_bus: pcm2-bus {
599 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
600 "gpb1-4";
601 samsung,pin-function = <3>;
602 samsung,pin-pud = <0>;
603 samsung,pin-drv = <0>;
604 };
605
606 spdif_bus: spdif-bus {
607 samsung,pins = "gpb1-0", "gpb1-1";
608 samsung,pin-function = <4>;
609 samsung,pin-pud = <0>;
610 samsung,pin-drv = <0>;
611 };
612
613 spi2_bus: spi2-bus {
614 samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4";
615 samsung,pin-function = <5>;
616 samsung,pin-pud = <3>;
617 samsung,pin-drv = <0>;
618 };
619
620 i2c6_hs_bus: i2c6-hs-bus {
621 samsung,pins = "gpb1-3", "gpb1-4";
622 samsung,pin-function = <4>;
623 samsung,pin-pud = <3>;
624 samsung,pin-drv = <0>;
625 };
626
627 i2c7_hs_bus: i2c7-hs-bus {
628 samsung,pins = "gpb2-2", "gpb2-3";
629 samsung,pin-function = <3>;
630 samsung,pin-pud = <3>;
631 samsung,pin-drv = <0>;
632 };
633
634 i2c0_bus: i2c0-bus {
635 samsung,pins = "gpb3-0", "gpb3-1";
636 samsung,pin-function = <2>;
637 samsung,pin-pud = <3>;
638 samsung,pin-drv = <0>;
639 };
640
641 i2c1_bus: i2c1-bus {
642 samsung,pins = "gpb3-2", "gpb3-3";
643 samsung,pin-function = <2>;
644 samsung,pin-pud = <3>;
645 samsung,pin-drv = <0>;
646 };
647
648 i2c8_hs_bus: i2c8-hs-bus {
649 samsung,pins = "gpb3-4", "gpb3-5";
650 samsung,pin-function = <2>;
651 samsung,pin-pud = <3>;
652 samsung,pin-drv = <0>;
653 };
654
655 i2c9_hs_bus: i2c9-hs-bus {
656 samsung,pins = "gpb3-6", "gpb3-7";
657 samsung,pin-function = <2>;
658 samsung,pin-pud = <3>;
659 samsung,pin-drv = <0>;
660 };
661
662 i2c10_hs_bus: i2c10-hs-bus {
663 samsung,pins = "gpb4-0", "gpb4-1";
664 samsung,pin-function = <2>;
665 samsung,pin-pud = <3>;
666 samsung,pin-drv = <0>;
667 };
668 };
669
670 pinctrl@03860000 {
671 gpz: gpz {
672 gpio-controller;
673 #gpio-cells = <2>;
674
675 interrupt-controller;
676 #interrupt-cells = <2>;
677 };
678
679 i2s0_bus: i2s0-bus {
680 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
681 "gpz-4", "gpz-5", "gpz-6";
682 samsung,pin-function = <2>;
683 samsung,pin-pud = <0>;
684 samsung,pin-drv = <0>;
685 };
686 };
687};