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