blob: 75af9c56123ec8c82c6a105be50ab0189c6f97ad [file] [log] [blame]
Chanwoo Choi9246e7f2014-11-07 08:19:24 +09001/*
2 * Samsung's Exynos4415 SoCs pin-mux and pin-config device tree source
3 *
4 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
5 *
6 * Samsung's Exynos4415 SoCs pin-mux and pin-config optiosn are listed as device
7 * tree nodes are listed in this file.
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12*/
13
14&pinctrl_0 {
15 gpa0: gpa0 {
16 gpio-controller;
17 #gpio-cells = <2>;
18
19 interrupt-controller;
20 #interrupt-cells = <2>;
21 };
22
23 gpa1: gpa1 {
24 gpio-controller;
25 #gpio-cells = <2>;
26
27 interrupt-controller;
28 #interrupt-cells = <2>;
29 };
30
31 gpb: gpb {
32 gpio-controller;
33 #gpio-cells = <2>;
34
35 interrupt-controller;
36 #interrupt-cells = <2>;
37 };
38
39 gpc0: gpc0 {
40 gpio-controller;
41 #gpio-cells = <2>;
42
43 interrupt-controller;
44 #interrupt-cells = <2>;
45 };
46
47 gpc1: gpc1 {
48 gpio-controller;
49 #gpio-cells = <2>;
50
51 interrupt-controller;
52 #interrupt-cells = <2>;
53 };
54
55 gpd0: gpd0 {
56 gpio-controller;
57 #gpio-cells = <2>;
58
59 interrupt-controller;
60 #interrupt-cells = <2>;
61 };
62
63 gpd1: gpd1 {
64 gpio-controller;
65 #gpio-cells = <2>;
66
67 interrupt-controller;
68 #interrupt-cells = <2>;
69 };
70
71 gpf0: gpf0 {
72 gpio-controller;
73 #gpio-cells = <2>;
74
75 interrupt-controller;
76 #interrupt-cells = <2>;
77 };
78
79 gpf1: gpf1 {
80 gpio-controller;
81 #gpio-cells = <2>;
82
83 interrupt-controller;
84 #interrupt-cells = <2>;
85 };
86
87 gpf2: gpf2 {
88 gpio-controller;
89 #gpio-cells = <2>;
90
91 interrupt-controller;
92 #interrupt-cells = <2>;
93 };
94
95 uart0_data: uart0-data {
96 samsung,pins = "gpa0-0", "gpa0-1";
97 samsung,pin-function = <0x2>;
98 samsung,pin-pud = <0>;
99 samsung,pin-drv = <0>;
100 };
101
102 uart0_fctl: uart0-fctl {
103 samsung,pins = "gpa0-2", "gpa0-3";
104 samsung,pin-function = <2>;
105 samsung,pin-pud = <0>;
106 samsung,pin-drv = <0>;
107 };
108
109 uart1_data: uart1-data {
110 samsung,pins = "gpa0-4", "gpa0-5";
111 samsung,pin-function = <2>;
112 samsung,pin-pud = <0>;
113 samsung,pin-drv = <0>;
114 };
115
116 uart1_fctl: uart1-fctl {
117 samsung,pins = "gpa0-6", "gpa0-7";
118 samsung,pin-function = <2>;
119 samsung,pin-pud = <0>;
120 samsung,pin-drv = <0>;
121 };
122
123 uart2_data: uart2-data {
124 samsung,pins = "gpa1-0", "gpa1-1";
125 samsung,pin-function = <2>;
126 samsung,pin-pud = <0>;
127 samsung,pin-drv = <0>;
128 };
129
130 uart2_fctl: uart2-fctl {
131 samsung,pins = "gpa1-2", "gpa1-3";
132 samsung,pin-function = <2>;
133 samsung,pin-pud = <0>;
134 samsung,pin-drv = <0>;
135 };
136
137 uart3_data: uart3-data {
138 samsung,pins = "gpa1-4", "gpa1-5";
139 samsung,pin-function = <2>;
140 samsung,pin-pud = <0>;
141 samsung,pin-drv = <0>;
142 };
143
144 i2c2_bus: i2c2-bus {
145 samsung,pins = "gpa0-6", "gpa0-7";
146 samsung,pin-function = <3>;
147 samsung,pin-pud = <3>;
148 samsung,pin-drv = <0>;
149 };
150
151 i2c3_bus: i2c3-bus {
152 samsung,pins = "gpa1-2", "gpa1-3";
153 samsung,pin-function = <3>;
154 samsung,pin-pud = <3>;
155 samsung,pin-drv = <0>;
156 };
157
158 spi0_bus: spi0-bus {
159 samsung,pins = "gpb-0", "gpb-2", "gpb-3";
160 samsung,pin-function = <2>;
161 samsung,pin-pud = <3>;
162 samsung,pin-drv = <0>;
163 };
164
165 i2c4_bus: i2c4-bus {
166 samsung,pins = "gpb-0", "gpb-1";
167 samsung,pin-function = <3>;
168 samsung,pin-pud = <3>;
169 samsung,pin-drv = <0>;
170 };
171
172 spi1_bus: spi1-bus {
173 samsung,pins = "gpb-4", "gpb-6", "gpb-7";
174 samsung,pin-function = <2>;
175 samsung,pin-pud = <3>;
176 samsung,pin-drv = <0>;
177 };
178
179 i2c5_bus: i2c5-bus {
180 samsung,pins = "gpb-2", "gpb-3";
181 samsung,pin-function = <3>;
182 samsung,pin-pud = <3>;
183 samsung,pin-drv = <0>;
184 };
185
186 i2s1_bus: i2s1-bus {
187 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
188 "gpc0-4";
189 samsung,pin-function = <2>;
190 samsung,pin-pud = <0>;
191 samsung,pin-drv = <0>;
192 };
193
194 i2s2_bus: i2s2-bus {
195 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
196 "gpc1-4";
197 samsung,pin-function = <2>;
198 samsung,pin-pud = <0>;
199 samsung,pin-drv = <0>;
200 };
201
202 pcm2_bus: pcm2-bus {
203 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
204 "gpc1-4";
205 samsung,pin-function = <3>;
206 samsung,pin-pud = <0>;
207 samsung,pin-drv = <0>;
208 };
209
210 i2c6_bus: i2c6-bus {
211 samsung,pins = "gpc1-3", "gpc1-4";
212 samsung,pin-function = <4>;
213 samsung,pin-pud = <3>;
214 samsung,pin-drv = <0>;
215 };
216
217 spi2_bus: spi2-bus {
218 samsung,pins = "gpc1-1", "gpc1-3", "gpc1-4";
219 samsung,pin-function = <5>;
220 samsung,pin-pud = <3>;
221 samsung,pin-drv = <0>;
222 };
223
224 pwm0_out: pwm0-out {
225 samsung,pins = "gpd0-0";
226 samsung,pin-function = <2>;
227 samsung,pin-pud = <0>;
228 samsung,pin-drv = <0>;
229 };
230
231 pwm1_out: pwm1-out {
232 samsung,pins = "gpd0-1";
233 samsung,pin-function = <2>;
234 samsung,pin-pud = <0>;
235 samsung,pin-drv = <0>;
236 };
237
238 pwm2_out: pwm2-out {
239 samsung,pins = "gpd0-2";
240 samsung,pin-function = <2>;
241 samsung,pin-pud = <0>;
242 samsung,pin-drv = <0>;
243 };
244
245 pwm3_out: pwm3-out {
246 samsung,pins = "gpd0-3";
247 samsung,pin-function = <2>;
248 samsung,pin-pud = <0>;
249 samsung,pin-drv = <0>;
250 };
251
252 i2c7_bus: i2c7-bus {
253 samsung,pins = "gpd0-2", "gpd0-3";
254 samsung,pin-function = <3>;
255 samsung,pin-pud = <3>;
256 samsung,pin-drv = <0>;
257 };
258
259 i2c0_bus: i2c0-bus {
260 samsung,pins = "gpd1-0", "gpd1-1";
261 samsung,pin-function = <2>;
262 samsung,pin-pud = <3>;
263 samsung,pin-drv = <0>;
264 };
265
266 i2c1_bus: i2c1-bus {
267 samsung,pins = "gpd1-2", "gpd1-3";
268 samsung,pin-function = <2>;
269 samsung,pin-pud = <3>;
270 samsung,pin-drv = <0>;
271 };
272};
273
274&pinctrl_1 {
275 gpk0: gpk0 {
276 gpio-controller;
277 #gpio-cells = <2>;
278
279 interrupt-controller;
280 #interrupt-cells = <2>;
281 };
282
283 gpk1: gpk1 {
284 gpio-controller;
285 #gpio-cells = <2>;
286
287 interrupt-controller;
288 #interrupt-cells = <2>;
289 };
290
291 gpk2: gpk2 {
292 gpio-controller;
293 #gpio-cells = <2>;
294
295 interrupt-controller;
296 #interrupt-cells = <2>;
297 };
298
299 gpk3: gpk3 {
300 gpio-controller;
301 #gpio-cells = <2>;
302
303 interrupt-controller;
304 #interrupt-cells = <2>;
305 };
306
307 gpl0: gpl0 {
308 gpio-controller;
309 #gpio-cells = <2>;
310
311 interrupt-controller;
312 #interrupt-cells = <2>;
313 };
314
315 gpm0: gpm0 {
316 gpio-controller;
317 #gpio-cells = <2>;
318
319 interrupt-controller;
320 #interrupt-cells = <2>;
321 };
322
323 gpm1: gpm1 {
324 gpio-controller;
325 #gpio-cells = <2>;
326
327 interrupt-controller;
328 #interrupt-cells = <2>;
329 };
330
331 gpm2: gpm2 {
332 gpio-controller;
333 #gpio-cells = <2>;
334
335 interrupt-controller;
336 #interrupt-cells = <2>;
337 };
338
339 gpm3: gpm3 {
340 gpio-controller;
341 #gpio-cells = <2>;
342
343 interrupt-controller;
344 #interrupt-cells = <2>;
345 };
346
347 gpm4: gpm4 {
348 gpio-controller;
349 #gpio-cells = <2>;
350
351 interrupt-controller;
352 #interrupt-cells = <2>;
353 };
354
355 gpx0: gpx0 {
356 gpio-controller;
357 #gpio-cells = <2>;
358
359 interrupt-controller;
360 interrupt-parent = <&gic>;
361 interrupts = <0 32 0>, <0 33 0>, <0 34 0>, <0 35 0>,
362 <0 36 0>, <0 37 0>, <0 38 0>, <0 39 0>;
363 #interrupt-cells = <2>;
364 };
365
366 gpx1: gpx1 {
367 gpio-controller;
368 #gpio-cells = <2>;
369
370 interrupt-controller;
371 interrupt-parent = <&gic>;
372 interrupts = <0 40 0>, <0 41 0>, <0 42 0>, <0 43 0>,
373 <0 44 0>, <0 45 0>, <0 46 0>, <0 47 0>;
374 #interrupt-cells = <2>;
375 };
376
377 gpx2: gpx2 {
378 gpio-controller;
379 #gpio-cells = <2>;
380
381 interrupt-controller;
382 #interrupt-cells = <2>;
383 };
384
385 gpx3: gpx3 {
386 gpio-controller;
387 #gpio-cells = <2>;
388
389 interrupt-controller;
390 #interrupt-cells = <2>;
391 };
392
393 sd0_clk: sd0-clk {
394 samsung,pins = "gpk0-0";
395 samsung,pin-function = <2>;
396 samsung,pin-pud = <0>;
397 samsung,pin-drv = <3>;
398 };
399
400 sd0_cmd: sd0-cmd {
401 samsung,pins = "gpk0-1";
402 samsung,pin-function = <2>;
403 samsung,pin-pud = <0>;
404 samsung,pin-drv = <3>;
405 };
406
407 sd0_cd: sd0-cd {
408 samsung,pins = "gpk0-2";
409 samsung,pin-function = <2>;
410 samsung,pin-pud = <3>;
411 samsung,pin-drv = <3>;
412 };
413
414 sd0_rdqs: sd0-rdqs {
415 samsung,pins = "gpk0-7";
416 samsung,pin-function = <2>;
417 samsung,pin-pud = <0>;
418 samsung,pin-drv = <3>;
419 };
420
421 sd0_bus1: sd0-bus-width1 {
422 samsung,pins = "gpk0-3";
423 samsung,pin-function = <2>;
424 samsung,pin-pud = <3>;
425 samsung,pin-drv = <3>;
426 };
427
428 sd0_bus4: sd0-bus-width4 {
429 samsung,pins = "gpk0-4", "gpk0-5", "gpk0-6";
430 samsung,pin-function = <2>;
431 samsung,pin-pud = <3>;
432 samsung,pin-drv = <3>;
433 };
434
435 sd0_bus8: sd0-bus-width8 {
436 samsung,pins = "gpl0-0", "gpl0-1", "gpl0-2", "gpl0-3";
437 samsung,pin-function = <2>;
438 samsung,pin-pud = <3>;
439 samsung,pin-drv = <3>;
440 };
441
442 sd1_clk: sd1-clk {
443 samsung,pins = "gpk1-0";
444 samsung,pin-function = <2>;
445 samsung,pin-pud = <0>;
446 samsung,pin-drv = <3>;
447 };
448
449 sd1_cmd: sd1-cmd {
450 samsung,pins = "gpk1-1";
451 samsung,pin-function = <2>;
452 samsung,pin-pud = <0>;
453 samsung,pin-drv = <3>;
454 };
455
456 sd1_cd: sd1-cd {
457 samsung,pins = "gpk1-2";
458 samsung,pin-function = <2>;
459 samsung,pin-pud = <3>;
460 samsung,pin-drv = <3>;
461 };
462
463 sd1_bus1: sd1-bus-width1 {
464 samsung,pins = "gpk1-3";
465 samsung,pin-function = <2>;
466 samsung,pin-pud = <3>;
467 samsung,pin-drv = <3>;
468 };
469
470 sd1_bus4: sd1-bus-width4 {
471 samsung,pins = "gpk1-4", "gpk1-5", "gpk1-6";
472 samsung,pin-function = <2>;
473 samsung,pin-pud = <3>;
474 samsung,pin-drv = <3>;
475 };
476
477 sd2_clk: sd2-clk {
478 samsung,pins = "gpk2-0";
479 samsung,pin-function = <2>;
480 samsung,pin-pud = <0>;
481 samsung,pin-drv = <4>;
482 };
483
484 sd2_cmd: sd2-cmd {
485 samsung,pins = "gpk2-1";
486 samsung,pin-function = <2>;
487 samsung,pin-pud = <0>;
488 samsung,pin-drv = <4>;
489 };
490
491 sd2_cd: sd2-cd {
492 samsung,pins = "gpk2-2";
493 samsung,pin-function = <2>;
494 samsung,pin-pud = <3>;
495 samsung,pin-drv = <3>;
496 };
497
498 sd2_bus1: sd2-bus-width1 {
499 samsung,pins = "gpk2-3";
500 samsung,pin-function = <2>;
501 samsung,pin-pud = <3>;
502 samsung,pin-drv = <4>;
503 };
504
505 sd2_bus4: sd2-bus-width4 {
506 samsung,pins = "gpk2-4", "gpk2-5", "gpk2-6";
507 samsung,pin-function = <2>;
508 samsung,pin-pud = <3>;
509 samsung,pin-drv = <4>;
510 };
511
512 cam_port_b_io: cam-port-b-io {
513 samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3",
514 "gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7",
515 "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1";
516 samsung,pin-function = <3>;
517 samsung,pin-pud = <3>;
518 samsung,pin-drv = <0>;
519 };
520
521 cam_port_b_clk_active: cam-port-b-clk-active {
522 samsung,pins = "gpm2-2";
523 samsung,pin-function = <3>;
524 samsung,pin-pud = <0>;
525 samsung,pin-drv = <3>;
526 };
527
528 cam_port_b_clk_idle: cam-port-b-clk-idle {
529 samsung,pins = "gpm2-2";
530 samsung,pin-function = <0>;
531 samsung,pin-pud = <0>;
532 samsung,pin-drv = <0>;
533 };
534
535 fimc_is_i2c0: fimc-is-i2c0 {
536 samsung,pins = "gpm4-0", "gpm4-1";
537 samsung,pin-function = <2>;
538 samsung,pin-pud = <0>;
539 samsung,pin-drv = <0>;
540 };
541
542 fimc_is_i2c1: fimc-is-i2c1 {
543 samsung,pins = "gpm4-2", "gpm4-3";
544 samsung,pin-function = <2>;
545 samsung,pin-pud = <0>;
546 samsung,pin-drv = <0>;
547 };
548
549 fimc_is_uart: fimc-is-uart {
550 samsung,pins = "gpm3-5", "gpm3-7";
551 samsung,pin-function = <3>;
552 samsung,pin-pud = <0>;
553 samsung,pin-drv = <0>;
554 };
555};
556
557&pinctrl_2 {
558 gpz: gpz {
559 gpio-controller;
560 #gpio-cells = <2>;
561
562 interrupt-controller;
563 #interrupt-cells = <2>;
564 };
565
566 i2s0_bus: i2s0-bus {
567 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
568 "gpz-4", "gpz-5", "gpz-6";
569 samsung,pin-function = <2>;
570 samsung,pin-pud = <0>;
571 samsung,pin-drv = <0>;
572 };
573};