blob: bac25c672789ac723b1c7fa569711f725238501b [file] [log] [blame]
Tomasz Figa64a57432012-11-07 08:50:40 +09001/*
2 * Samsung's Exynos4x12 SoCs pin-mux and pin-config device tree source
3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * Samsung's Exynos4x12 SoCs pin-mux and pin-config optiosn 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
Tomasz Figa7f41e1c2014-09-24 01:19:58 +090015#define PIN_PULL_NONE 0
16#define PIN_PULL_DOWN 1
17#define PIN_PULL_UP 3
18
19#define PIN_PDN_OUT0 0
20#define PIN_PDN_OUT1 1
21#define PIN_PDN_INPUT 2
22#define PIN_PDN_PREV 3
23
24#define PIN_SLP(_pin, _mode, _pull) \
25 _pin { \
26 samsung,pins = #_pin; \
27 samsung,pin-con-pdn = <PIN_PDN_ ##_mode>; \
28 samsung,pin-pud-pdn = <PIN_PULL_ ##_pull>; \
29 }
30
Tomasz Figa64a57432012-11-07 08:50:40 +090031/ {
Krzysztof Kozlowski9c412212015-05-13 19:24:35 +090032 pinctrl_0: pinctrl@11400000 {
Tomasz Figa64a57432012-11-07 08:50:40 +090033 gpa0: gpa0 {
34 gpio-controller;
35 #gpio-cells = <2>;
36
37 interrupt-controller;
38 #interrupt-cells = <2>;
39 };
40
41 gpa1: gpa1 {
42 gpio-controller;
43 #gpio-cells = <2>;
44
45 interrupt-controller;
46 #interrupt-cells = <2>;
47 };
48
49 gpb: gpb {
50 gpio-controller;
51 #gpio-cells = <2>;
52
53 interrupt-controller;
54 #interrupt-cells = <2>;
55 };
56
57 gpc0: gpc0 {
58 gpio-controller;
59 #gpio-cells = <2>;
60
61 interrupt-controller;
62 #interrupt-cells = <2>;
63 };
64
65 gpc1: gpc1 {
66 gpio-controller;
67 #gpio-cells = <2>;
68
69 interrupt-controller;
70 #interrupt-cells = <2>;
71 };
72
73 gpd0: gpd0 {
74 gpio-controller;
75 #gpio-cells = <2>;
76
77 interrupt-controller;
78 #interrupt-cells = <2>;
79 };
80
81 gpd1: gpd1 {
82 gpio-controller;
83 #gpio-cells = <2>;
84
85 interrupt-controller;
86 #interrupt-cells = <2>;
87 };
88
89 gpf0: gpf0 {
90 gpio-controller;
91 #gpio-cells = <2>;
92
93 interrupt-controller;
94 #interrupt-cells = <2>;
95 };
96
97 gpf1: gpf1 {
98 gpio-controller;
99 #gpio-cells = <2>;
100
101 interrupt-controller;
102 #interrupt-cells = <2>;
103 };
104
105 gpf2: gpf2 {
106 gpio-controller;
107 #gpio-cells = <2>;
108
109 interrupt-controller;
110 #interrupt-cells = <2>;
111 };
112
113 gpf3: gpf3 {
114 gpio-controller;
115 #gpio-cells = <2>;
116
117 interrupt-controller;
118 #interrupt-cells = <2>;
119 };
120
121 gpj0: gpj0 {
122 gpio-controller;
123 #gpio-cells = <2>;
124
125 interrupt-controller;
126 #interrupt-cells = <2>;
127 };
128
129 gpj1: gpj1 {
130 gpio-controller;
131 #gpio-cells = <2>;
132
133 interrupt-controller;
134 #interrupt-cells = <2>;
135 };
136
137 uart0_data: uart0-data {
138 samsung,pins = "gpa0-0", "gpa0-1";
139 samsung,pin-function = <0x2>;
140 samsung,pin-pud = <0>;
141 samsung,pin-drv = <0>;
142 };
143
144 uart0_fctl: uart0-fctl {
145 samsung,pins = "gpa0-2", "gpa0-3";
146 samsung,pin-function = <2>;
147 samsung,pin-pud = <0>;
148 samsung,pin-drv = <0>;
149 };
150
151 uart1_data: uart1-data {
152 samsung,pins = "gpa0-4", "gpa0-5";
153 samsung,pin-function = <2>;
154 samsung,pin-pud = <0>;
155 samsung,pin-drv = <0>;
156 };
157
158 uart1_fctl: uart1-fctl {
159 samsung,pins = "gpa0-6", "gpa0-7";
160 samsung,pin-function = <2>;
161 samsung,pin-pud = <0>;
162 samsung,pin-drv = <0>;
163 };
164
165 i2c2_bus: i2c2-bus {
166 samsung,pins = "gpa0-6", "gpa0-7";
167 samsung,pin-function = <3>;
168 samsung,pin-pud = <3>;
169 samsung,pin-drv = <0>;
170 };
171
172 uart2_data: uart2-data {
173 samsung,pins = "gpa1-0", "gpa1-1";
174 samsung,pin-function = <2>;
175 samsung,pin-pud = <0>;
176 samsung,pin-drv = <0>;
177 };
178
179 uart2_fctl: uart2-fctl {
180 samsung,pins = "gpa1-2", "gpa1-3";
181 samsung,pin-function = <2>;
182 samsung,pin-pud = <0>;
183 samsung,pin-drv = <0>;
184 };
185
186 uart_audio_a: uart-audio-a {
187 samsung,pins = "gpa1-0", "gpa1-1";
188 samsung,pin-function = <4>;
189 samsung,pin-pud = <0>;
190 samsung,pin-drv = <0>;
191 };
192
193 i2c3_bus: i2c3-bus {
194 samsung,pins = "gpa1-2", "gpa1-3";
195 samsung,pin-function = <3>;
196 samsung,pin-pud = <3>;
197 samsung,pin-drv = <0>;
198 };
199
200 uart3_data: uart3-data {
201 samsung,pins = "gpa1-4", "gpa1-5";
202 samsung,pin-function = <2>;
203 samsung,pin-pud = <0>;
204 samsung,pin-drv = <0>;
205 };
206
207 uart_audio_b: uart-audio-b {
208 samsung,pins = "gpa1-4", "gpa1-5";
209 samsung,pin-function = <4>;
210 samsung,pin-pud = <0>;
211 samsung,pin-drv = <0>;
212 };
213
214 spi0_bus: spi0-bus {
215 samsung,pins = "gpb-0", "gpb-2", "gpb-3";
216 samsung,pin-function = <2>;
217 samsung,pin-pud = <3>;
218 samsung,pin-drv = <0>;
219 };
220
221 i2c4_bus: i2c4-bus {
222 samsung,pins = "gpb-0", "gpb-1";
223 samsung,pin-function = <3>;
224 samsung,pin-pud = <3>;
225 samsung,pin-drv = <0>;
226 };
227
228 spi1_bus: spi1-bus {
229 samsung,pins = "gpb-4", "gpb-6", "gpb-7";
230 samsung,pin-function = <2>;
231 samsung,pin-pud = <3>;
232 samsung,pin-drv = <0>;
233 };
234
235 i2c5_bus: i2c5-bus {
236 samsung,pins = "gpb-2", "gpb-3";
237 samsung,pin-function = <3>;
238 samsung,pin-pud = <3>;
239 samsung,pin-drv = <0>;
240 };
241
242 i2s1_bus: i2s1-bus {
243 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
244 "gpc0-4";
245 samsung,pin-function = <2>;
246 samsung,pin-pud = <0>;
247 samsung,pin-drv = <0>;
248 };
249
250 pcm1_bus: pcm1-bus {
251 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
252 "gpc0-4";
253 samsung,pin-function = <3>;
254 samsung,pin-pud = <0>;
255 samsung,pin-drv = <0>;
256 };
257
258 ac97_bus: ac97-bus {
259 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
260 "gpc0-4";
261 samsung,pin-function = <4>;
262 samsung,pin-pud = <0>;
263 samsung,pin-drv = <0>;
264 };
265
266 i2s2_bus: i2s2-bus {
267 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
268 "gpc1-4";
269 samsung,pin-function = <2>;
270 samsung,pin-pud = <0>;
271 samsung,pin-drv = <0>;
272 };
273
274 pcm2_bus: pcm2-bus {
275 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
276 "gpc1-4";
277 samsung,pin-function = <3>;
278 samsung,pin-pud = <0>;
279 samsung,pin-drv = <0>;
280 };
281
282 spdif_bus: spdif-bus {
283 samsung,pins = "gpc1-0", "gpc1-1";
284 samsung,pin-function = <4>;
285 samsung,pin-pud = <0>;
286 samsung,pin-drv = <0>;
287 };
288
289 i2c6_bus: i2c6-bus {
290 samsung,pins = "gpc1-3", "gpc1-4";
291 samsung,pin-function = <4>;
292 samsung,pin-pud = <3>;
293 samsung,pin-drv = <0>;
294 };
295
296 spi2_bus: spi2-bus {
297 samsung,pins = "gpc1-1", "gpc1-3", "gpc1-4";
298 samsung,pin-function = <5>;
299 samsung,pin-pud = <3>;
300 samsung,pin-drv = <0>;
301 };
302
303 pwm0_out: pwm0-out {
304 samsung,pins = "gpd0-0";
305 samsung,pin-function = <2>;
306 samsung,pin-pud = <0>;
307 samsung,pin-drv = <0>;
308 };
309
310 pwm1_out: pwm1-out {
311 samsung,pins = "gpd0-1";
312 samsung,pin-function = <2>;
313 samsung,pin-pud = <0>;
314 samsung,pin-drv = <0>;
315 };
316
317 lcd_ctrl: lcd-ctrl {
318 samsung,pins = "gpd0-0", "gpd0-1";
319 samsung,pin-function = <3>;
320 samsung,pin-pud = <0>;
321 samsung,pin-drv = <0>;
322 };
323
324 i2c7_bus: i2c7-bus {
325 samsung,pins = "gpd0-2", "gpd0-3";
326 samsung,pin-function = <3>;
327 samsung,pin-pud = <3>;
328 samsung,pin-drv = <0>;
329 };
330
331 pwm2_out: pwm2-out {
332 samsung,pins = "gpd0-2";
333 samsung,pin-function = <2>;
334 samsung,pin-pud = <0>;
335 samsung,pin-drv = <0>;
336 };
337
338 pwm3_out: pwm3-out {
339 samsung,pins = "gpd0-3";
340 samsung,pin-function = <2>;
341 samsung,pin-pud = <0>;
342 samsung,pin-drv = <0>;
343 };
344
345 i2c0_bus: i2c0-bus {
346 samsung,pins = "gpd1-0", "gpd1-1";
347 samsung,pin-function = <2>;
348 samsung,pin-pud = <3>;
349 samsung,pin-drv = <0>;
350 };
351
352 mipi0_clk: mipi0-clk {
353 samsung,pins = "gpd1-0", "gpd1-1";
354 samsung,pin-function = <3>;
355 samsung,pin-pud = <0>;
356 samsung,pin-drv = <0>;
357 };
358
359 i2c1_bus: i2c1-bus {
360 samsung,pins = "gpd1-2", "gpd1-3";
361 samsung,pin-function = <2>;
362 samsung,pin-pud = <3>;
363 samsung,pin-drv = <0>;
364 };
365
366 mipi1_clk: mipi1-clk {
367 samsung,pins = "gpd1-2", "gpd1-3";
368 samsung,pin-function = <3>;
369 samsung,pin-pud = <0>;
370 samsung,pin-drv = <0>;
371 };
372
373 lcd_clk: lcd-clk {
374 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3";
375 samsung,pin-function = <2>;
376 samsung,pin-pud = <0>;
377 samsung,pin-drv = <0>;
378 };
379
380 lcd_data16: lcd-data-width16 {
381 samsung,pins = "gpf0-7", "gpf1-0", "gpf1-1", "gpf1-2",
382 "gpf1-3", "gpf1-6", "gpf1-7", "gpf2-0",
383 "gpf2-1", "gpf2-2", "gpf2-3", "gpf2-7",
384 "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
385 samsung,pin-function = <2>;
386 samsung,pin-pud = <0>;
387 samsung,pin-drv = <0>;
388 };
389
390 lcd_data18: lcd-data-width18 {
391 samsung,pins = "gpf0-6", "gpf0-7", "gpf1-0", "gpf1-1",
392 "gpf1-2", "gpf1-3", "gpf1-6", "gpf1-7",
393 "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
394 "gpf2-6", "gpf2-7", "gpf3-0", "gpf3-1",
395 "gpf3-2", "gpf3-3";
396 samsung,pin-function = <2>;
397 samsung,pin-pud = <0>;
398 samsung,pin-drv = <0>;
399 };
400
401 lcd_data24: lcd-data-width24 {
402 samsung,pins = "gpf0-4", "gpf0-5", "gpf0-6", "gpf0-7",
403 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3",
404 "gpf1-4", "gpf1-5", "gpf1-6", "gpf1-7",
405 "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
406 "gpf2-4", "gpf2-5", "gpf2-6", "gpf2-7",
407 "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
408 samsung,pin-function = <2>;
409 samsung,pin-pud = <0>;
410 samsung,pin-drv = <0>;
411 };
412
413 lcd_ldi: lcd-ldi {
414 samsung,pins = "gpf3-4";
415 samsung,pin-function = <2>;
416 samsung,pin-pud = <0>;
417 samsung,pin-drv = <0>;
418 };
419
Sylwester Nawrocki0209c572013-08-06 02:49:43 +0900420 cam_port_a_io: cam-port-a-io {
Tomasz Figa64a57432012-11-07 08:50:40 +0900421 samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3",
422 "gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7",
Sylwester Nawrocki0209c572013-08-06 02:49:43 +0900423 "gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4";
Tomasz Figa64a57432012-11-07 08:50:40 +0900424 samsung,pin-function = <2>;
Sylwester Nawrocki0209c572013-08-06 02:49:43 +0900425 samsung,pin-pud = <0>;
426 samsung,pin-drv = <0>;
427 };
428
429 cam_port_a_clk_active: cam-port-a-clk-active {
430 samsung,pins = "gpj1-3";
431 samsung,pin-function = <2>;
432 samsung,pin-pud = <0>;
433 samsung,pin-drv = <3>;
434 };
435
436 cam_port_a_clk_idle: cam-port-a-clk-idle {
437 samsung,pins = "gpj1-3";
438 samsung,pin-function = <0>;
439 samsung,pin-pud = <1>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900440 samsung,pin-drv = <0>;
441 };
442 };
443
Krzysztof Kozlowski9c412212015-05-13 19:24:35 +0900444 pinctrl_1: pinctrl@11000000 {
Tomasz Figa64a57432012-11-07 08:50:40 +0900445 gpk0: gpk0 {
446 gpio-controller;
447 #gpio-cells = <2>;
448
449 interrupt-controller;
450 #interrupt-cells = <2>;
451 };
452
453 gpk1: gpk1 {
454 gpio-controller;
455 #gpio-cells = <2>;
456
457 interrupt-controller;
458 #interrupt-cells = <2>;
459 };
460
461 gpk2: gpk2 {
462 gpio-controller;
463 #gpio-cells = <2>;
464
465 interrupt-controller;
466 #interrupt-cells = <2>;
467 };
468
469 gpk3: gpk3 {
470 gpio-controller;
471 #gpio-cells = <2>;
472
473 interrupt-controller;
474 #interrupt-cells = <2>;
475 };
476
477 gpl0: gpl0 {
478 gpio-controller;
479 #gpio-cells = <2>;
480
481 interrupt-controller;
482 #interrupt-cells = <2>;
483 };
484
485 gpl1: gpl1 {
486 gpio-controller;
487 #gpio-cells = <2>;
488
489 interrupt-controller;
490 #interrupt-cells = <2>;
491 };
492
493 gpl2: gpl2 {
494 gpio-controller;
495 #gpio-cells = <2>;
496
497 interrupt-controller;
498 #interrupt-cells = <2>;
499 };
500
501 gpm0: gpm0 {
502 gpio-controller;
503 #gpio-cells = <2>;
504
505 interrupt-controller;
506 #interrupt-cells = <2>;
507 };
508
509 gpm1: gpm1 {
510 gpio-controller;
511 #gpio-cells = <2>;
512
513 interrupt-controller;
514 #interrupt-cells = <2>;
515 };
516
517 gpm2: gpm2 {
518 gpio-controller;
519 #gpio-cells = <2>;
520
521 interrupt-controller;
522 #interrupt-cells = <2>;
523 };
524
525 gpm3: gpm3 {
526 gpio-controller;
527 #gpio-cells = <2>;
528
529 interrupt-controller;
530 #interrupt-cells = <2>;
531 };
532
533 gpm4: gpm4 {
534 gpio-controller;
535 #gpio-cells = <2>;
536
537 interrupt-controller;
538 #interrupt-cells = <2>;
539 };
540
541 gpy0: gpy0 {
542 gpio-controller;
543 #gpio-cells = <2>;
544 };
545
546 gpy1: gpy1 {
547 gpio-controller;
548 #gpio-cells = <2>;
549 };
550
551 gpy2: gpy2 {
552 gpio-controller;
553 #gpio-cells = <2>;
554 };
555
556 gpy3: gpy3 {
557 gpio-controller;
558 #gpio-cells = <2>;
559 };
560
561 gpy4: gpy4 {
562 gpio-controller;
563 #gpio-cells = <2>;
564 };
565
566 gpy5: gpy5 {
567 gpio-controller;
568 #gpio-cells = <2>;
569 };
570
571 gpy6: gpy6 {
572 gpio-controller;
573 #gpio-cells = <2>;
574 };
575
576 gpx0: gpx0 {
577 gpio-controller;
578 #gpio-cells = <2>;
579
580 interrupt-controller;
581 interrupt-parent = <&gic>;
582 interrupts = <0 16 0>, <0 17 0>, <0 18 0>, <0 19 0>,
583 <0 20 0>, <0 21 0>, <0 22 0>, <0 23 0>;
584 #interrupt-cells = <2>;
585 };
586
587 gpx1: gpx1 {
588 gpio-controller;
589 #gpio-cells = <2>;
590
591 interrupt-controller;
592 interrupt-parent = <&gic>;
593 interrupts = <0 24 0>, <0 25 0>, <0 26 0>, <0 27 0>,
594 <0 28 0>, <0 29 0>, <0 30 0>, <0 31 0>;
595 #interrupt-cells = <2>;
596 };
597
598 gpx2: gpx2 {
599 gpio-controller;
600 #gpio-cells = <2>;
601
602 interrupt-controller;
603 #interrupt-cells = <2>;
604 };
605
606 gpx3: gpx3 {
607 gpio-controller;
608 #gpio-cells = <2>;
609
610 interrupt-controller;
611 #interrupt-cells = <2>;
612 };
613
614 sd0_clk: sd0-clk {
615 samsung,pins = "gpk0-0";
616 samsung,pin-function = <2>;
617 samsung,pin-pud = <0>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900618 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900619 };
620
621 sd0_cmd: sd0-cmd {
622 samsung,pins = "gpk0-1";
623 samsung,pin-function = <2>;
624 samsung,pin-pud = <0>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900625 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900626 };
627
628 sd0_cd: sd0-cd {
629 samsung,pins = "gpk0-2";
630 samsung,pin-function = <2>;
631 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900632 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900633 };
634
635 sd0_bus1: sd0-bus-width1 {
636 samsung,pins = "gpk0-3";
637 samsung,pin-function = <2>;
638 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900639 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900640 };
641
642 sd0_bus4: sd0-bus-width4 {
643 samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
644 samsung,pin-function = <2>;
645 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900646 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900647 };
648
649 sd0_bus8: sd0-bus-width8 {
650 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
651 samsung,pin-function = <3>;
652 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900653 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900654 };
655
656 sd4_clk: sd4-clk {
657 samsung,pins = "gpk0-0";
658 samsung,pin-function = <3>;
659 samsung,pin-pud = <0>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900660 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900661 };
662
663 sd4_cmd: sd4-cmd {
664 samsung,pins = "gpk0-1";
665 samsung,pin-function = <3>;
666 samsung,pin-pud = <0>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900667 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900668 };
669
670 sd4_cd: sd4-cd {
671 samsung,pins = "gpk0-2";
672 samsung,pin-function = <3>;
673 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900674 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900675 };
676
677 sd4_bus1: sd4-bus-width1 {
678 samsung,pins = "gpk0-3";
679 samsung,pin-function = <3>;
680 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900681 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900682 };
683
684 sd4_bus4: sd4-bus-width4 {
685 samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
686 samsung,pin-function = <3>;
687 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900688 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900689 };
690
691 sd4_bus8: sd4-bus-width8 {
692 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
Shirish Sebf47622013-02-12 10:35:40 -0800693 samsung,pin-function = <4>;
Tomasz Figab756dc42014-09-14 02:10:35 +0900694 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900695 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900696 };
697
698 sd1_clk: sd1-clk {
699 samsung,pins = "gpk1-0";
700 samsung,pin-function = <2>;
701 samsung,pin-pud = <0>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900702 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900703 };
704
705 sd1_cmd: sd1-cmd {
706 samsung,pins = "gpk1-1";
707 samsung,pin-function = <2>;
708 samsung,pin-pud = <0>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900709 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900710 };
711
712 sd1_cd: sd1-cd {
713 samsung,pins = "gpk1-2";
714 samsung,pin-function = <2>;
715 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900716 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900717 };
718
719 sd1_bus1: sd1-bus-width1 {
720 samsung,pins = "gpk1-3";
721 samsung,pin-function = <2>;
722 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900723 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900724 };
725
726 sd1_bus4: sd1-bus-width4 {
727 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
728 samsung,pin-function = <2>;
729 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900730 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900731 };
732
733 sd2_clk: sd2-clk {
734 samsung,pins = "gpk2-0";
735 samsung,pin-function = <2>;
736 samsung,pin-pud = <0>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900737 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900738 };
739
740 sd2_cmd: sd2-cmd {
741 samsung,pins = "gpk2-1";
742 samsung,pin-function = <2>;
743 samsung,pin-pud = <0>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900744 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900745 };
746
747 sd2_cd: sd2-cd {
748 samsung,pins = "gpk2-2";
749 samsung,pin-function = <2>;
750 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900751 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900752 };
753
754 sd2_bus1: sd2-bus-width1 {
755 samsung,pins = "gpk2-3";
756 samsung,pin-function = <2>;
757 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900758 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900759 };
760
761 sd2_bus4: sd2-bus-width4 {
762 samsung,pins = "gpk2-3", "gpk2-4", "gpk2-5", "gpk2-6";
763 samsung,pin-function = <2>;
764 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900765 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900766 };
767
768 sd2_bus8: sd2-bus-width8 {
769 samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
770 samsung,pin-function = <3>;
771 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900772 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900773 };
774
775 sd3_clk: sd3-clk {
776 samsung,pins = "gpk3-0";
777 samsung,pin-function = <2>;
778 samsung,pin-pud = <0>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900779 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900780 };
781
782 sd3_cmd: sd3-cmd {
783 samsung,pins = "gpk3-1";
784 samsung,pin-function = <2>;
785 samsung,pin-pud = <0>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900786 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900787 };
788
789 sd3_cd: sd3-cd {
790 samsung,pins = "gpk3-2";
791 samsung,pin-function = <2>;
792 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900793 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900794 };
795
796 sd3_bus1: sd3-bus-width1 {
797 samsung,pins = "gpk3-3";
798 samsung,pin-function = <2>;
799 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900800 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900801 };
802
803 sd3_bus4: sd3-bus-width4 {
804 samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
805 samsung,pin-function = <2>;
806 samsung,pin-pud = <3>;
Tomasz Figad80162e2012-11-22 00:29:47 +0900807 samsung,pin-drv = <3>;
Tomasz Figa64a57432012-11-07 08:50:40 +0900808 };
809
Sylwester Nawrocki0209c572013-08-06 02:49:43 +0900810 cam_port_b_io: cam-port-b-io {
Tomasz Figa64a57432012-11-07 08:50:40 +0900811 samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3",
812 "gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7",
Sylwester Nawrocki0209c572013-08-06 02:49:43 +0900813 "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1";
Tomasz Figa64a57432012-11-07 08:50:40 +0900814 samsung,pin-function = <3>;
815 samsung,pin-pud = <3>;
816 samsung,pin-drv = <0>;
817 };
818
Sylwester Nawrocki0209c572013-08-06 02:49:43 +0900819 cam_port_b_clk_active: cam-port-b-clk-active {
820 samsung,pins = "gpm2-2";
821 samsung,pin-function = <3>;
822 samsung,pin-pud = <0>;
823 samsung,pin-drv = <3>;
824 };
825
826 cam_port_b_clk_idle: cam-port-b-clk-idle {
827 samsung,pins = "gpm2-2";
828 samsung,pin-function = <0>;
829 samsung,pin-pud = <1>;
830 samsung,pin-drv = <0>;
831 };
832
Tomasz Figa64a57432012-11-07 08:50:40 +0900833 eint0: ext-int0 {
834 samsung,pins = "gpx0-0";
835 samsung,pin-function = <0xf>;
836 samsung,pin-pud = <0>;
837 samsung,pin-drv = <0>;
838 };
839
840 eint8: ext-int8 {
841 samsung,pins = "gpx1-0";
842 samsung,pin-function = <0xf>;
843 samsung,pin-pud = <0>;
844 samsung,pin-drv = <0>;
845 };
846
847 eint15: ext-int15 {
848 samsung,pins = "gpx1-7";
849 samsung,pin-function = <0xf>;
850 samsung,pin-pud = <0>;
851 samsung,pin-drv = <0>;
852 };
853
854 eint16: ext-int16 {
855 samsung,pins = "gpx2-0";
856 samsung,pin-function = <0xf>;
857 samsung,pin-pud = <0>;
858 samsung,pin-drv = <0>;
859 };
860
861 eint31: ext-int31 {
862 samsung,pins = "gpx3-7";
863 samsung,pin-function = <0xf>;
864 samsung,pin-pud = <0>;
865 samsung,pin-drv = <0>;
866 };
Sylwester Nawrocki91b20612013-08-06 02:49:43 +0900867
868 fimc_is_i2c0: fimc-is-i2c0 {
869 samsung,pins = "gpm4-0", "gpm4-1";
870 samsung,pin-function = <2>;
871 samsung,pin-pud = <0>;
872 samsung,pin-drv = <0>;
873 };
874
875 fimc_is_i2c1: fimc-is-i2c1 {
876 samsung,pins = "gpm4-2", "gpm4-3";
877 samsung,pin-function = <2>;
878 samsung,pin-pud = <0>;
879 samsung,pin-drv = <0>;
880 };
881
882 fimc_is_uart: fimc-is-uart {
883 samsung,pins = "gpm3-5", "gpm3-7";
884 samsung,pin-function = <3>;
885 samsung,pin-pud = <0>;
886 samsung,pin-drv = <0>;
887 };
Tomasz Figa64a57432012-11-07 08:50:40 +0900888 };
889
Krzysztof Kozlowski9c412212015-05-13 19:24:35 +0900890 pinctrl_2: pinctrl@03860000 {
Tomasz Figa64a57432012-11-07 08:50:40 +0900891 gpz: gpz {
892 gpio-controller;
893 #gpio-cells = <2>;
894
895 interrupt-controller;
896 #interrupt-cells = <2>;
897 };
898
899 i2s0_bus: i2s0-bus {
900 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
901 "gpz-4", "gpz-5", "gpz-6";
902 samsung,pin-function = <0x2>;
903 samsung,pin-pud = <0>;
904 samsung,pin-drv = <0>;
905 };
906
907 pcm0_bus: pcm0-bus {
908 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
909 "gpz-4";
910 samsung,pin-function = <0x3>;
911 samsung,pin-pud = <0>;
912 samsung,pin-drv = <0>;
913 };
914 };
915
Krzysztof Kozlowski9c412212015-05-13 19:24:35 +0900916 pinctrl_3: pinctrl@106E0000 {
Tomasz Figa64a57432012-11-07 08:50:40 +0900917 gpv0: gpv0 {
918 gpio-controller;
919 #gpio-cells = <2>;
920
921 interrupt-controller;
922 #interrupt-cells = <2>;
923 };
924
925 gpv1: gpv1 {
926 gpio-controller;
927 #gpio-cells = <2>;
928
929 interrupt-controller;
930 #interrupt-cells = <2>;
931 };
932
933 gpv2: gpv2 {
934 gpio-controller;
935 #gpio-cells = <2>;
936
937 interrupt-controller;
938 #interrupt-cells = <2>;
939 };
940
941 gpv3: gpv3 {
942 gpio-controller;
943 #gpio-cells = <2>;
944
945 interrupt-controller;
946 #interrupt-cells = <2>;
947 };
948
949 gpv4: gpv4 {
950 gpio-controller;
951 #gpio-cells = <2>;
952
953 interrupt-controller;
954 #interrupt-cells = <2>;
955 };
956
957 c2c_bus: c2c-bus {
958 samsung,pins = "gpv0-0", "gpv0-1", "gpv0-2", "gpv0-3",
959 "gpv0-4", "gpv0-5", "gpv0-6", "gpv0-7",
960 "gpv1-0", "gpv1-1", "gpv1-2", "gpv1-3",
961 "gpv1-4", "gpv1-5", "gpv1-6", "gpv1-7",
962 "gpv2-0", "gpv2-1", "gpv2-2", "gpv2-3",
963 "gpv2-4", "gpv2-5", "gpv2-6", "gpv2-7",
964 "gpv3-0", "gpv3-1", "gpv3-2", "gpv3-3",
965 "gpv3-4", "gpv3-5", "gpv3-6", "gpv3-7",
966 "gpv4-0", "gpv4-1";
967 samsung,pin-function = <0x2>;
968 samsung,pin-pud = <0>;
969 samsung,pin-drv = <0>;
970 };
971 };
972};