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