Commit 41678484b3c6c34a1a73dae2561cc7070662cf5f

Authored by Simon Glass
1 parent dd54739dc4

dm: exynos: dts: Remove unused pinctrl information to save space

We don't include the pinctrl functions for U-Boot as they use up quite
a bit of space and are not used.

We could instead perhaps eliminate this material with fdtgrep, but so far
this tool has not made it to upstream.

Signed-off-by: Simon Glass <sjg@chromium.org>

Showing 5 changed files with 0 additions and 2098 deletions Inline Diff

arch/arm/dts/exynos4210-pinctrl.dtsi
1 /* 1 /*
2 * Samsung's Exynos4210 SoC pin-mux and pin-config device tree source 2 * Samsung's Exynos4210 SoC pin-mux and pin-config device tree source
3 * 3 *
4 * Copyright (c) 2011-2012 Samsung Electronics Co., Ltd. 4 * Copyright (c) 2011-2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com 5 * http://www.samsung.com
6 * Copyright (c) 2011-2012 Linaro Ltd. 6 * Copyright (c) 2011-2012 Linaro Ltd.
7 * www.linaro.org 7 * www.linaro.org
8 * 8 *
9 * Samsung's Exynos4210 SoC pin-mux and pin-config optiosn are listed as device 9 * Samsung's Exynos4210 SoC pin-mux and pin-config optiosn are listed as device
10 * tree nodes are listed in this file. 10 * tree nodes are listed in this file.
11 * 11 *
12 * This program is free software; you can redistribute it and/or modify 12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License version 2 as 13 * it under the terms of the GNU General Public License version 2 as
14 * published by the Free Software Foundation. 14 * published by the Free Software Foundation.
15 */ 15 */
16 16
17 / { 17 / {
18 pinctrl@11400000 { 18 pinctrl@11400000 {
19 gpa0: gpa0 { 19 gpa0: gpa0 {
20 gpio-controller; 20 gpio-controller;
21 #gpio-cells = <2>; 21 #gpio-cells = <2>;
22 22
23 interrupt-controller; 23 interrupt-controller;
24 #interrupt-cells = <2>; 24 #interrupt-cells = <2>;
25 }; 25 };
26 26
27 gpa1: gpa1 { 27 gpa1: gpa1 {
28 gpio-controller; 28 gpio-controller;
29 #gpio-cells = <2>; 29 #gpio-cells = <2>;
30 30
31 interrupt-controller; 31 interrupt-controller;
32 #interrupt-cells = <2>; 32 #interrupt-cells = <2>;
33 }; 33 };
34 34
35 gpb: gpb { 35 gpb: gpb {
36 gpio-controller; 36 gpio-controller;
37 #gpio-cells = <2>; 37 #gpio-cells = <2>;
38 38
39 interrupt-controller; 39 interrupt-controller;
40 #interrupt-cells = <2>; 40 #interrupt-cells = <2>;
41 }; 41 };
42 42
43 gpc0: gpc0 { 43 gpc0: gpc0 {
44 gpio-controller; 44 gpio-controller;
45 #gpio-cells = <2>; 45 #gpio-cells = <2>;
46 46
47 interrupt-controller; 47 interrupt-controller;
48 #interrupt-cells = <2>; 48 #interrupt-cells = <2>;
49 }; 49 };
50 50
51 gpc1: gpc1 { 51 gpc1: gpc1 {
52 gpio-controller; 52 gpio-controller;
53 #gpio-cells = <2>; 53 #gpio-cells = <2>;
54 54
55 interrupt-controller; 55 interrupt-controller;
56 #interrupt-cells = <2>; 56 #interrupt-cells = <2>;
57 }; 57 };
58 58
59 gpd0: gpd0 { 59 gpd0: gpd0 {
60 gpio-controller; 60 gpio-controller;
61 #gpio-cells = <2>; 61 #gpio-cells = <2>;
62 62
63 interrupt-controller; 63 interrupt-controller;
64 #interrupt-cells = <2>; 64 #interrupt-cells = <2>;
65 }; 65 };
66 66
67 gpd1: gpd1 { 67 gpd1: gpd1 {
68 gpio-controller; 68 gpio-controller;
69 #gpio-cells = <2>; 69 #gpio-cells = <2>;
70 70
71 interrupt-controller; 71 interrupt-controller;
72 #interrupt-cells = <2>; 72 #interrupt-cells = <2>;
73 }; 73 };
74 74
75 gpe0: gpe0 { 75 gpe0: gpe0 {
76 gpio-controller; 76 gpio-controller;
77 #gpio-cells = <2>; 77 #gpio-cells = <2>;
78 78
79 interrupt-controller; 79 interrupt-controller;
80 #interrupt-cells = <2>; 80 #interrupt-cells = <2>;
81 }; 81 };
82 82
83 gpe1: gpe1 { 83 gpe1: gpe1 {
84 gpio-controller; 84 gpio-controller;
85 #gpio-cells = <2>; 85 #gpio-cells = <2>;
86 86
87 interrupt-controller; 87 interrupt-controller;
88 #interrupt-cells = <2>; 88 #interrupt-cells = <2>;
89 }; 89 };
90 90
91 gpe2: gpe2 { 91 gpe2: gpe2 {
92 gpio-controller; 92 gpio-controller;
93 #gpio-cells = <2>; 93 #gpio-cells = <2>;
94 94
95 interrupt-controller; 95 interrupt-controller;
96 #interrupt-cells = <2>; 96 #interrupt-cells = <2>;
97 }; 97 };
98 98
99 gpe3: gpe3 { 99 gpe3: gpe3 {
100 gpio-controller; 100 gpio-controller;
101 #gpio-cells = <2>; 101 #gpio-cells = <2>;
102 102
103 interrupt-controller; 103 interrupt-controller;
104 #interrupt-cells = <2>; 104 #interrupt-cells = <2>;
105 }; 105 };
106 106
107 gpe4: gpe4 { 107 gpe4: gpe4 {
108 gpio-controller; 108 gpio-controller;
109 #gpio-cells = <2>; 109 #gpio-cells = <2>;
110 110
111 interrupt-controller; 111 interrupt-controller;
112 #interrupt-cells = <2>; 112 #interrupt-cells = <2>;
113 }; 113 };
114 114
115 gpf0: gpf0 { 115 gpf0: gpf0 {
116 gpio-controller; 116 gpio-controller;
117 #gpio-cells = <2>; 117 #gpio-cells = <2>;
118 118
119 interrupt-controller; 119 interrupt-controller;
120 #interrupt-cells = <2>; 120 #interrupt-cells = <2>;
121 }; 121 };
122 122
123 gpf1: gpf1 { 123 gpf1: gpf1 {
124 gpio-controller; 124 gpio-controller;
125 #gpio-cells = <2>; 125 #gpio-cells = <2>;
126 126
127 interrupt-controller; 127 interrupt-controller;
128 #interrupt-cells = <2>; 128 #interrupt-cells = <2>;
129 }; 129 };
130 130
131 gpf2: gpf2 { 131 gpf2: gpf2 {
132 gpio-controller; 132 gpio-controller;
133 #gpio-cells = <2>; 133 #gpio-cells = <2>;
134 134
135 interrupt-controller; 135 interrupt-controller;
136 #interrupt-cells = <2>; 136 #interrupt-cells = <2>;
137 }; 137 };
138 138
139 gpf3: gpf3 { 139 gpf3: gpf3 {
140 gpio-controller; 140 gpio-controller;
141 #gpio-cells = <2>; 141 #gpio-cells = <2>;
142 142
143 interrupt-controller; 143 interrupt-controller;
144 #interrupt-cells = <2>; 144 #interrupt-cells = <2>;
145 }; 145 };
146 146
147 uart0_data: uart0-data {
148 samsung,pins = "gpa0-0", "gpa0-1";
149 samsung,pin-function = <0x2>;
150 samsung,pin-pud = <0>;
151 samsung,pin-drv = <0>;
152 };
153
154 uart0_fctl: uart0-fctl {
155 samsung,pins = "gpa0-2", "gpa0-3";
156 samsung,pin-function = <2>;
157 samsung,pin-pud = <0>;
158 samsung,pin-drv = <0>;
159 };
160
161 uart1_data: uart1-data {
162 samsung,pins = "gpa0-4", "gpa0-5";
163 samsung,pin-function = <2>;
164 samsung,pin-pud = <0>;
165 samsung,pin-drv = <0>;
166 };
167
168 uart1_fctl: uart1-fctl {
169 samsung,pins = "gpa0-6", "gpa0-7";
170 samsung,pin-function = <2>;
171 samsung,pin-pud = <0>;
172 samsung,pin-drv = <0>;
173 };
174
175 i2c2_bus: i2c2-bus {
176 samsung,pins = "gpa0-6", "gpa0-7";
177 samsung,pin-function = <3>;
178 samsung,pin-pud = <3>;
179 samsung,pin-drv = <0>;
180 };
181
182 uart2_data: uart2-data {
183 samsung,pins = "gpa1-0", "gpa1-1";
184 samsung,pin-function = <2>;
185 samsung,pin-pud = <0>;
186 samsung,pin-drv = <0>;
187 };
188
189 uart2_fctl: uart2-fctl {
190 samsung,pins = "gpa1-2", "gpa1-3";
191 samsung,pin-function = <2>;
192 samsung,pin-pud = <0>;
193 samsung,pin-drv = <0>;
194 };
195
196 uart_audio_a: uart-audio-a {
197 samsung,pins = "gpa1-0", "gpa1-1";
198 samsung,pin-function = <4>;
199 samsung,pin-pud = <0>;
200 samsung,pin-drv = <0>;
201 };
202
203 i2c3_bus: i2c3-bus {
204 samsung,pins = "gpa1-2", "gpa1-3";
205 samsung,pin-function = <3>;
206 samsung,pin-pud = <3>;
207 samsung,pin-drv = <0>;
208 };
209
210 uart3_data: uart3-data {
211 samsung,pins = "gpa1-4", "gpa1-5";
212 samsung,pin-function = <2>;
213 samsung,pin-pud = <0>;
214 samsung,pin-drv = <0>;
215 };
216
217 uart_audio_b: uart-audio-b {
218 samsung,pins = "gpa1-4", "gpa1-5";
219 samsung,pin-function = <4>;
220 samsung,pin-pud = <0>;
221 samsung,pin-drv = <0>;
222 };
223
224 spi0_bus: spi0-bus {
225 samsung,pins = "gpb-0", "gpb-2", "gpb-3";
226 samsung,pin-function = <2>;
227 samsung,pin-pud = <3>;
228 samsung,pin-drv = <0>;
229 };
230
231 i2c4_bus: i2c4-bus {
232 samsung,pins = "gpb-2", "gpb-3";
233 samsung,pin-function = <3>;
234 samsung,pin-pud = <3>;
235 samsung,pin-drv = <0>;
236 };
237
238 spi1_bus: spi1-bus {
239 samsung,pins = "gpb-4", "gpb-6", "gpb-7";
240 samsung,pin-function = <2>;
241 samsung,pin-pud = <3>;
242 samsung,pin-drv = <0>;
243 };
244
245 i2c5_bus: i2c5-bus {
246 samsung,pins = "gpb-6", "gpb-7";
247 samsung,pin-function = <3>;
248 samsung,pin-pud = <3>;
249 samsung,pin-drv = <0>;
250 };
251
252 i2s1_bus: i2s1-bus {
253 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
254 "gpc0-4";
255 samsung,pin-function = <2>;
256 samsung,pin-pud = <0>;
257 samsung,pin-drv = <0>;
258 };
259
260 pcm1_bus: pcm1-bus {
261 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
262 "gpc0-4";
263 samsung,pin-function = <3>;
264 samsung,pin-pud = <0>;
265 samsung,pin-drv = <0>;
266 };
267
268 ac97_bus: ac97-bus {
269 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
270 "gpc0-4";
271 samsung,pin-function = <4>;
272 samsung,pin-pud = <0>;
273 samsung,pin-drv = <0>;
274 };
275
276 i2s2_bus: i2s2-bus {
277 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
278 "gpc1-4";
279 samsung,pin-function = <2>;
280 samsung,pin-pud = <0>;
281 samsung,pin-drv = <0>;
282 };
283
284 pcm2_bus: pcm2-bus {
285 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
286 "gpc1-4";
287 samsung,pin-function = <3>;
288 samsung,pin-pud = <0>;
289 samsung,pin-drv = <0>;
290 };
291
292 spdif_bus: spdif-bus {
293 samsung,pins = "gpc1-0", "gpc1-1";
294 samsung,pin-function = <4>;
295 samsung,pin-pud = <0>;
296 samsung,pin-drv = <0>;
297 };
298
299 i2c6_bus: i2c6-bus {
300 samsung,pins = "gpc1-3", "gpc1-4";
301 samsung,pin-function = <4>;
302 samsung,pin-pud = <3>;
303 samsung,pin-drv = <0>;
304 };
305
306 spi2_bus: spi2-bus {
307 samsung,pins = "gpc1-1", "gpc1-2", "gpc1-3", "gpc1-4";
308 samsung,pin-function = <5>;
309 samsung,pin-pud = <3>;
310 samsung,pin-drv = <0>;
311 };
312
313 i2c7_bus: i2c7-bus {
314 samsung,pins = "gpd0-2", "gpd0-3";
315 samsung,pin-function = <3>;
316 samsung,pin-pud = <3>;
317 samsung,pin-drv = <0>;
318 };
319
320 i2c0_bus: i2c0-bus {
321 samsung,pins = "gpd1-0", "gpd1-1";
322 samsung,pin-function = <2>;
323 samsung,pin-pud = <3>;
324 samsung,pin-drv = <0>;
325 };
326
327 i2c1_bus: i2c1-bus {
328 samsung,pins = "gpd1-2", "gpd1-3";
329 samsung,pin-function = <2>;
330 samsung,pin-pud = <3>;
331 samsung,pin-drv = <0>;
332 };
333
334 pwm0_out: pwm0-out {
335 samsung,pins = "gpd0-0";
336 samsung,pin-function = <2>;
337 samsung,pin-pud = <0>;
338 samsung,pin-drv = <0>;
339 };
340
341 pwm1_out: pwm1-out {
342 samsung,pins = "gpd0-1";
343 samsung,pin-function = <2>;
344 samsung,pin-pud = <0>;
345 samsung,pin-drv = <0>;
346 };
347
348 pwm2_out: pwm2-out {
349 samsung,pins = "gpd0-2";
350 samsung,pin-function = <2>;
351 samsung,pin-pud = <0>;
352 samsung,pin-drv = <0>;
353 };
354
355 pwm3_out: pwm3-out {
356 samsung,pins = "gpd0-3";
357 samsung,pin-function = <2>;
358 samsung,pin-pud = <0>;
359 samsung,pin-drv = <0>;
360 };
361
362 lcd_ctrl: lcd-ctrl {
363 samsung,pins = "gpd0-0", "gpd0-1";
364 samsung,pin-function = <3>;
365 samsung,pin-pud = <0>;
366 samsung,pin-drv = <0>;
367 };
368
369 lcd_sync: lcd-sync {
370 samsung,pins = "gpf0-0", "gpf0-1";
371 samsung,pin-function = <2>;
372 samsung,pin-pud = <0>;
373 samsung,pin-drv = <0>;
374 };
375
376 lcd_en: lcd-en {
377 samsung,pins = "gpe3-4";
378 samsung,pin-function = <2>;
379 samsung,pin-pud = <0>;
380 samsung,pin-drv = <0>;
381 };
382
383 lcd_clk: lcd-clk {
384 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3";
385 samsung,pin-function = <2>;
386 samsung,pin-pud = <0>;
387 samsung,pin-drv = <0>;
388 };
389
390 lcd_data16: lcd-data-width16 {
391 samsung,pins = "gpf0-7", "gpf1-0", "gpf1-1", "gpf1-2",
392 "gpf1-3", "gpf1-6", "gpf1-7", "gpf2-0",
393 "gpf2-1", "gpf2-2", "gpf2-3", "gpf2-7",
394 "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
395 samsung,pin-function = <2>;
396 samsung,pin-pud = <0>;
397 samsung,pin-drv = <0>;
398 };
399
400 lcd_data18: lcd-data-width18 {
401 samsung,pins = "gpf0-6", "gpf0-7", "gpf1-0", "gpf1-1",
402 "gpf1-2", "gpf1-3", "gpf1-6", "gpf1-7",
403 "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
404 "gpf2-6", "gpf2-7", "gpf3-0", "gpf3-1",
405 "gpf3-2", "gpf3-3";
406 samsung,pin-function = <2>;
407 samsung,pin-pud = <0>;
408 samsung,pin-drv = <0>;
409 };
410
411 lcd_data24: lcd-data-width24 {
412 samsung,pins = "gpf0-4", "gpf0-5", "gpf0-6", "gpf0-7",
413 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3",
414 "gpf1-4", "gpf1-5", "gpf1-6", "gpf1-7",
415 "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
416 "gpf2-4", "gpf2-5", "gpf2-6", "gpf2-7",
417 "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
418 samsung,pin-function = <2>;
419 samsung,pin-pud = <0>;
420 samsung,pin-drv = <0>;
421 };
422 }; 147 };
423 148
424 pinctrl@11000000 { 149 pinctrl@11000000 {
425 gpj0: gpj0 { 150 gpj0: gpj0 {
426 gpio-controller; 151 gpio-controller;
427 #gpio-cells = <2>; 152 #gpio-cells = <2>;
428 153
429 interrupt-controller; 154 interrupt-controller;
430 #interrupt-cells = <2>; 155 #interrupt-cells = <2>;
431 }; 156 };
432 157
433 gpj1: gpj1 { 158 gpj1: gpj1 {
434 gpio-controller; 159 gpio-controller;
435 #gpio-cells = <2>; 160 #gpio-cells = <2>;
436 161
437 interrupt-controller; 162 interrupt-controller;
438 #interrupt-cells = <2>; 163 #interrupt-cells = <2>;
439 }; 164 };
440 165
441 gpk0: gpk0 { 166 gpk0: gpk0 {
442 gpio-controller; 167 gpio-controller;
443 #gpio-cells = <2>; 168 #gpio-cells = <2>;
444 169
445 interrupt-controller; 170 interrupt-controller;
446 #interrupt-cells = <2>; 171 #interrupt-cells = <2>;
447 }; 172 };
448 173
449 gpk1: gpk1 { 174 gpk1: gpk1 {
450 gpio-controller; 175 gpio-controller;
451 #gpio-cells = <2>; 176 #gpio-cells = <2>;
452 177
453 interrupt-controller; 178 interrupt-controller;
454 #interrupt-cells = <2>; 179 #interrupt-cells = <2>;
455 }; 180 };
456 181
457 gpk2: gpk2 { 182 gpk2: gpk2 {
458 gpio-controller; 183 gpio-controller;
459 #gpio-cells = <2>; 184 #gpio-cells = <2>;
460 185
461 interrupt-controller; 186 interrupt-controller;
462 #interrupt-cells = <2>; 187 #interrupt-cells = <2>;
463 }; 188 };
464 189
465 gpk3: gpk3 { 190 gpk3: gpk3 {
466 gpio-controller; 191 gpio-controller;
467 #gpio-cells = <2>; 192 #gpio-cells = <2>;
468 193
469 interrupt-controller; 194 interrupt-controller;
470 #interrupt-cells = <2>; 195 #interrupt-cells = <2>;
471 }; 196 };
472 197
473 gpl0: gpl0 { 198 gpl0: gpl0 {
474 gpio-controller; 199 gpio-controller;
475 #gpio-cells = <2>; 200 #gpio-cells = <2>;
476 201
477 interrupt-controller; 202 interrupt-controller;
478 #interrupt-cells = <2>; 203 #interrupt-cells = <2>;
479 }; 204 };
480 205
481 gpl1: gpl1 { 206 gpl1: gpl1 {
482 gpio-controller; 207 gpio-controller;
483 #gpio-cells = <2>; 208 #gpio-cells = <2>;
484 209
485 interrupt-controller; 210 interrupt-controller;
486 #interrupt-cells = <2>; 211 #interrupt-cells = <2>;
487 }; 212 };
488 213
489 gpl2: gpl2 { 214 gpl2: gpl2 {
490 gpio-controller; 215 gpio-controller;
491 #gpio-cells = <2>; 216 #gpio-cells = <2>;
492 217
493 interrupt-controller; 218 interrupt-controller;
494 #interrupt-cells = <2>; 219 #interrupt-cells = <2>;
495 }; 220 };
496 221
497 gpy0: gpy0 { 222 gpy0: gpy0 {
498 gpio-controller; 223 gpio-controller;
499 #gpio-cells = <2>; 224 #gpio-cells = <2>;
500 }; 225 };
501 226
502 gpy1: gpy1 { 227 gpy1: gpy1 {
503 gpio-controller; 228 gpio-controller;
504 #gpio-cells = <2>; 229 #gpio-cells = <2>;
505 }; 230 };
506 231
507 gpy2: gpy2 { 232 gpy2: gpy2 {
508 gpio-controller; 233 gpio-controller;
509 #gpio-cells = <2>; 234 #gpio-cells = <2>;
510 }; 235 };
511 236
512 gpy3: gpy3 { 237 gpy3: gpy3 {
513 gpio-controller; 238 gpio-controller;
514 #gpio-cells = <2>; 239 #gpio-cells = <2>;
515 }; 240 };
516 241
517 gpy4: gpy4 { 242 gpy4: gpy4 {
518 gpio-controller; 243 gpio-controller;
519 #gpio-cells = <2>; 244 #gpio-cells = <2>;
520 }; 245 };
521 246
522 gpy5: gpy5 { 247 gpy5: gpy5 {
523 gpio-controller; 248 gpio-controller;
524 #gpio-cells = <2>; 249 #gpio-cells = <2>;
525 }; 250 };
526 251
527 gpy6: gpy6 { 252 gpy6: gpy6 {
528 gpio-controller; 253 gpio-controller;
529 #gpio-cells = <2>; 254 #gpio-cells = <2>;
530 }; 255 };
531 256
532 gpx0: gpx0 { 257 gpx0: gpx0 {
533 gpio-controller; 258 gpio-controller;
534 #gpio-cells = <2>; 259 #gpio-cells = <2>;
535 260
536 interrupt-controller; 261 interrupt-controller;
537 interrupt-parent = <&gic>; 262 interrupt-parent = <&gic>;
538 interrupts = <0 16 0>, <0 17 0>, <0 18 0>, <0 19 0>, 263 interrupts = <0 16 0>, <0 17 0>, <0 18 0>, <0 19 0>,
539 <0 20 0>, <0 21 0>, <0 22 0>, <0 23 0>; 264 <0 20 0>, <0 21 0>, <0 22 0>, <0 23 0>;
540 #interrupt-cells = <2>; 265 #interrupt-cells = <2>;
541 }; 266 };
542 267
543 gpx1: gpx1 { 268 gpx1: gpx1 {
544 gpio-controller; 269 gpio-controller;
545 #gpio-cells = <2>; 270 #gpio-cells = <2>;
546 271
547 interrupt-controller; 272 interrupt-controller;
548 interrupt-parent = <&gic>; 273 interrupt-parent = <&gic>;
549 interrupts = <0 24 0>, <0 25 0>, <0 26 0>, <0 27 0>, 274 interrupts = <0 24 0>, <0 25 0>, <0 26 0>, <0 27 0>,
550 <0 28 0>, <0 29 0>, <0 30 0>, <0 31 0>; 275 <0 28 0>, <0 29 0>, <0 30 0>, <0 31 0>;
551 #interrupt-cells = <2>; 276 #interrupt-cells = <2>;
552 }; 277 };
553 278
554 gpx2: gpx2 { 279 gpx2: gpx2 {
555 gpio-controller; 280 gpio-controller;
556 #gpio-cells = <2>; 281 #gpio-cells = <2>;
557 282
558 interrupt-controller; 283 interrupt-controller;
559 #interrupt-cells = <2>; 284 #interrupt-cells = <2>;
560 }; 285 };
561 286
562 gpx3: gpx3 { 287 gpx3: gpx3 {
563 gpio-controller; 288 gpio-controller;
564 #gpio-cells = <2>; 289 #gpio-cells = <2>;
565 290
566 interrupt-controller; 291 interrupt-controller;
567 #interrupt-cells = <2>; 292 #interrupt-cells = <2>;
568 }; 293 };
569 294
570 sd0_clk: sd0-clk {
571 samsung,pins = "gpk0-0";
572 samsung,pin-function = <2>;
573 samsung,pin-pud = <0>;
574 samsung,pin-drv = <3>;
575 };
576
577 sd0_cmd: sd0-cmd {
578 samsung,pins = "gpk0-1";
579 samsung,pin-function = <2>;
580 samsung,pin-pud = <0>;
581 samsung,pin-drv = <3>;
582 };
583
584 sd0_cd: sd0-cd {
585 samsung,pins = "gpk0-2";
586 samsung,pin-function = <2>;
587 samsung,pin-pud = <3>;
588 samsung,pin-drv = <3>;
589 };
590
591 sd0_bus1: sd0-bus-width1 {
592 samsung,pins = "gpk0-3";
593 samsung,pin-function = <2>;
594 samsung,pin-pud = <3>;
595 samsung,pin-drv = <3>;
596 };
597
598 sd0_bus4: sd0-bus-width4 {
599 samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
600 samsung,pin-function = <2>;
601 samsung,pin-pud = <3>;
602 samsung,pin-drv = <3>;
603 };
604
605 sd0_bus8: sd0-bus-width8 {
606 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
607 samsung,pin-function = <3>;
608 samsung,pin-pud = <3>;
609 samsung,pin-drv = <3>;
610 };
611
612 sd4_clk: sd4-clk {
613 samsung,pins = "gpk0-0";
614 samsung,pin-function = <3>;
615 samsung,pin-pud = <0>;
616 samsung,pin-drv = <3>;
617 };
618
619 sd4_cmd: sd4-cmd {
620 samsung,pins = "gpk0-1";
621 samsung,pin-function = <3>;
622 samsung,pin-pud = <0>;
623 samsung,pin-drv = <3>;
624 };
625
626 sd4_cd: sd4-cd {
627 samsung,pins = "gpk0-2";
628 samsung,pin-function = <3>;
629 samsung,pin-pud = <3>;
630 samsung,pin-drv = <3>;
631 };
632
633 sd4_bus1: sd4-bus-width1 {
634 samsung,pins = "gpk0-3";
635 samsung,pin-function = <3>;
636 samsung,pin-pud = <3>;
637 samsung,pin-drv = <3>;
638 };
639
640 sd4_bus4: sd4-bus-width4 {
641 samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
642 samsung,pin-function = <3>;
643 samsung,pin-pud = <3>;
644 samsung,pin-drv = <3>;
645 };
646
647 sd4_bus8: sd4-bus-width8 {
648 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
649 samsung,pin-function = <3>;
650 samsung,pin-pud = <4>;
651 samsung,pin-drv = <3>;
652 };
653
654 sd1_clk: sd1-clk {
655 samsung,pins = "gpk1-0";
656 samsung,pin-function = <2>;
657 samsung,pin-pud = <0>;
658 samsung,pin-drv = <3>;
659 };
660
661 sd1_cmd: sd1-cmd {
662 samsung,pins = "gpk1-1";
663 samsung,pin-function = <2>;
664 samsung,pin-pud = <0>;
665 samsung,pin-drv = <3>;
666 };
667
668 sd1_cd: sd1-cd {
669 samsung,pins = "gpk1-2";
670 samsung,pin-function = <2>;
671 samsung,pin-pud = <3>;
672 samsung,pin-drv = <3>;
673 };
674
675 sd1_bus1: sd1-bus-width1 {
676 samsung,pins = "gpk1-3";
677 samsung,pin-function = <2>;
678 samsung,pin-pud = <3>;
679 samsung,pin-drv = <3>;
680 };
681
682 sd1_bus4: sd1-bus-width4 {
683 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
684 samsung,pin-function = <2>;
685 samsung,pin-pud = <3>;
686 samsung,pin-drv = <3>;
687 };
688
689 sd2_clk: sd2-clk {
690 samsung,pins = "gpk2-0";
691 samsung,pin-function = <2>;
692 samsung,pin-pud = <0>;
693 samsung,pin-drv = <3>;
694 };
695
696 sd2_cmd: sd2-cmd {
697 samsung,pins = "gpk2-1";
698 samsung,pin-function = <2>;
699 samsung,pin-pud = <0>;
700 samsung,pin-drv = <3>;
701 };
702
703 sd2_cd: sd2-cd {
704 samsung,pins = "gpk2-2";
705 samsung,pin-function = <2>;
706 samsung,pin-pud = <3>;
707 samsung,pin-drv = <3>;
708 };
709
710 sd2_bus1: sd2-bus-width1 {
711 samsung,pins = "gpk2-3";
712 samsung,pin-function = <2>;
713 samsung,pin-pud = <3>;
714 samsung,pin-drv = <3>;
715 };
716
717 sd2_bus4: sd2-bus-width4 {
718 samsung,pins = "gpk2-3", "gpk2-4", "gpk2-5", "gpk2-6";
719 samsung,pin-function = <2>;
720 samsung,pin-pud = <3>;
721 samsung,pin-drv = <3>;
722 };
723
724 sd2_bus8: sd2-bus-width8 {
725 samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
726 samsung,pin-function = <3>;
727 samsung,pin-pud = <3>;
728 samsung,pin-drv = <3>;
729 };
730
731 sd3_clk: sd3-clk {
732 samsung,pins = "gpk3-0";
733 samsung,pin-function = <2>;
734 samsung,pin-pud = <0>;
735 samsung,pin-drv = <3>;
736 };
737
738 sd3_cmd: sd3-cmd {
739 samsung,pins = "gpk3-1";
740 samsung,pin-function = <2>;
741 samsung,pin-pud = <0>;
742 samsung,pin-drv = <3>;
743 };
744
745 sd3_cd: sd3-cd {
746 samsung,pins = "gpk3-2";
747 samsung,pin-function = <2>;
748 samsung,pin-pud = <3>;
749 samsung,pin-drv = <3>;
750 };
751
752 sd3_bus1: sd3-bus-width1 {
753 samsung,pins = "gpk3-3";
754 samsung,pin-function = <2>;
755 samsung,pin-pud = <3>;
756 samsung,pin-drv = <3>;
757 };
758
759 sd3_bus4: sd3-bus-width4 {
760 samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
761 samsung,pin-function = <2>;
762 samsung,pin-pud = <3>;
763 samsung,pin-drv = <3>;
764 };
765
766 eint0: ext-int0 {
767 samsung,pins = "gpx0-0";
768 samsung,pin-function = <0xf>;
769 samsung,pin-pud = <0>;
770 samsung,pin-drv = <0>;
771 };
772
773 eint8: ext-int8 {
774 samsung,pins = "gpx1-0";
775 samsung,pin-function = <0xf>;
776 samsung,pin-pud = <0>;
777 samsung,pin-drv = <0>;
778 };
779
780 eint15: ext-int15 {
781 samsung,pins = "gpx1-7";
782 samsung,pin-function = <0xf>;
783 samsung,pin-pud = <0>;
784 samsung,pin-drv = <0>;
785 };
786
787 eint16: ext-int16 {
788 samsung,pins = "gpx2-0";
789 samsung,pin-function = <0xf>;
790 samsung,pin-pud = <0>;
791 samsung,pin-drv = <0>;
792 };
793
794 eint31: ext-int31 {
795 samsung,pins = "gpx3-7";
796 samsung,pin-function = <0xf>;
797 samsung,pin-pud = <0>;
798 samsung,pin-drv = <0>;
799 };
800
801 cam_port_a_io: cam-port-a-io {
802 samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3",
803 "gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7",
804 "gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4";
805 samsung,pin-function = <2>;
806 samsung,pin-pud = <0>;
807 samsung,pin-drv = <0>;
808 };
809
810 cam_port_a_clk_active: cam-port-a-clk-active {
811 samsung,pins = "gpj1-3";
812 samsung,pin-function = <2>;
813 samsung,pin-pud = <0>;
814 samsung,pin-drv = <3>;
815 };
816
817 cam_port_a_clk_idle: cam-port-a-clk-idle {
818 samsung,pins = "gpj1-3";
819 samsung,pin-function = <0>;
820 samsung,pin-pud = <1>;
821 samsung,pin-drv = <0>;
822 };
823 }; 295 };
824 296
825 pinctrl@03860000 { 297 pinctrl@03860000 {
826 gpz: gpz { 298 gpz: gpz {
827 gpio-controller; 299 gpio-controller;
828 #gpio-cells = <2>; 300 #gpio-cells = <2>;
829 }; 301 };
830 302
831 i2s0_bus: i2s0-bus {
832 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
833 "gpz-4", "gpz-5", "gpz-6";
834 samsung,pin-function = <0x2>;
835 samsung,pin-pud = <0>;
836 samsung,pin-drv = <0>;
837 };
838
839 pcm0_bus: pcm0-bus {
840 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
841 "gpz-4";
842 samsung,pin-function = <0x3>;
843 samsung,pin-pud = <0>;
844 samsung,pin-drv = <0>;
845 };
846 }; 303 };
847 }; 304 };
848 305
arch/arm/dts/exynos4x12-pinctrl.dtsi
1 /* 1 /*
2 * Samsung's Exynos4x12 SoCs pin-mux and pin-config device tree source 2 * Samsung's Exynos4x12 SoCs pin-mux and pin-config device tree source
3 * 3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com 5 * http://www.samsung.com
6 * 6 *
7 * Samsung's Exynos4x12 SoCs pin-mux and pin-config optiosn are listed as device 7 * Samsung's Exynos4x12 SoCs pin-mux and pin-config optiosn are listed as device
8 * tree nodes are listed in this file. 8 * tree nodes are listed in this file.
9 * 9 *
10 * This program is free software; you can redistribute it and/or modify 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 11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation. 12 * published by the Free Software Foundation.
13 */ 13 */
14 14
15 / { 15 / {
16 pinctrl@11400000 { 16 pinctrl@11400000 {
17 gpa0: gpa0 { 17 gpa0: gpa0 {
18 gpio-controller; 18 gpio-controller;
19 #gpio-cells = <2>; 19 #gpio-cells = <2>;
20 20
21 interrupt-controller; 21 interrupt-controller;
22 #interrupt-cells = <2>; 22 #interrupt-cells = <2>;
23 }; 23 };
24 24
25 gpa1: gpa1 { 25 gpa1: gpa1 {
26 gpio-controller; 26 gpio-controller;
27 #gpio-cells = <2>; 27 #gpio-cells = <2>;
28 28
29 interrupt-controller; 29 interrupt-controller;
30 #interrupt-cells = <2>; 30 #interrupt-cells = <2>;
31 }; 31 };
32 32
33 gpb: gpb { 33 gpb: gpb {
34 gpio-controller; 34 gpio-controller;
35 #gpio-cells = <2>; 35 #gpio-cells = <2>;
36 36
37 interrupt-controller; 37 interrupt-controller;
38 #interrupt-cells = <2>; 38 #interrupt-cells = <2>;
39 }; 39 };
40 40
41 gpc0: gpc0 { 41 gpc0: gpc0 {
42 gpio-controller; 42 gpio-controller;
43 #gpio-cells = <2>; 43 #gpio-cells = <2>;
44 44
45 interrupt-controller; 45 interrupt-controller;
46 #interrupt-cells = <2>; 46 #interrupt-cells = <2>;
47 }; 47 };
48 48
49 gpc1: gpc1 { 49 gpc1: gpc1 {
50 gpio-controller; 50 gpio-controller;
51 #gpio-cells = <2>; 51 #gpio-cells = <2>;
52 52
53 interrupt-controller; 53 interrupt-controller;
54 #interrupt-cells = <2>; 54 #interrupt-cells = <2>;
55 }; 55 };
56 56
57 gpd0: gpd0 { 57 gpd0: gpd0 {
58 gpio-controller; 58 gpio-controller;
59 #gpio-cells = <2>; 59 #gpio-cells = <2>;
60 60
61 interrupt-controller; 61 interrupt-controller;
62 #interrupt-cells = <2>; 62 #interrupt-cells = <2>;
63 }; 63 };
64 64
65 gpd1: gpd1 { 65 gpd1: gpd1 {
66 gpio-controller; 66 gpio-controller;
67 #gpio-cells = <2>; 67 #gpio-cells = <2>;
68 68
69 interrupt-controller; 69 interrupt-controller;
70 #interrupt-cells = <2>; 70 #interrupt-cells = <2>;
71 }; 71 };
72 72
73 gpf0: gpf0 { 73 gpf0: gpf0 {
74 gpio-controller; 74 gpio-controller;
75 #gpio-cells = <2>; 75 #gpio-cells = <2>;
76 76
77 interrupt-controller; 77 interrupt-controller;
78 #interrupt-cells = <2>; 78 #interrupt-cells = <2>;
79 }; 79 };
80 80
81 gpf1: gpf1 { 81 gpf1: gpf1 {
82 gpio-controller; 82 gpio-controller;
83 #gpio-cells = <2>; 83 #gpio-cells = <2>;
84 84
85 interrupt-controller; 85 interrupt-controller;
86 #interrupt-cells = <2>; 86 #interrupt-cells = <2>;
87 }; 87 };
88 88
89 gpf2: gpf2 { 89 gpf2: gpf2 {
90 gpio-controller; 90 gpio-controller;
91 #gpio-cells = <2>; 91 #gpio-cells = <2>;
92 92
93 interrupt-controller; 93 interrupt-controller;
94 #interrupt-cells = <2>; 94 #interrupt-cells = <2>;
95 }; 95 };
96 96
97 gpf3: gpf3 { 97 gpf3: gpf3 {
98 gpio-controller; 98 gpio-controller;
99 #gpio-cells = <2>; 99 #gpio-cells = <2>;
100 100
101 interrupt-controller; 101 interrupt-controller;
102 #interrupt-cells = <2>; 102 #interrupt-cells = <2>;
103 }; 103 };
104 104
105 gpj0: gpj0 { 105 gpj0: gpj0 {
106 gpio-controller; 106 gpio-controller;
107 #gpio-cells = <2>; 107 #gpio-cells = <2>;
108 108
109 interrupt-controller; 109 interrupt-controller;
110 #interrupt-cells = <2>; 110 #interrupt-cells = <2>;
111 }; 111 };
112 112
113 gpj1: gpj1 { 113 gpj1: gpj1 {
114 gpio-controller; 114 gpio-controller;
115 #gpio-cells = <2>; 115 #gpio-cells = <2>;
116 116
117 interrupt-controller; 117 interrupt-controller;
118 #interrupt-cells = <2>; 118 #interrupt-cells = <2>;
119 }; 119 };
120
121 uart0_data: uart0-data {
122 samsung,pins = "gpa0-0", "gpa0-1";
123 samsung,pin-function = <0x2>;
124 samsung,pin-pud = <0>;
125 samsung,pin-drv = <0>;
126 };
127
128 uart0_fctl: uart0-fctl {
129 samsung,pins = "gpa0-2", "gpa0-3";
130 samsung,pin-function = <2>;
131 samsung,pin-pud = <0>;
132 samsung,pin-drv = <0>;
133 };
134
135 uart1_data: uart1-data {
136 samsung,pins = "gpa0-4", "gpa0-5";
137 samsung,pin-function = <2>;
138 samsung,pin-pud = <0>;
139 samsung,pin-drv = <0>;
140 };
141
142 uart1_fctl: uart1-fctl {
143 samsung,pins = "gpa0-6", "gpa0-7";
144 samsung,pin-function = <2>;
145 samsung,pin-pud = <0>;
146 samsung,pin-drv = <0>;
147 };
148
149 i2c2_bus: i2c2-bus {
150 samsung,pins = "gpa0-6", "gpa0-7";
151 samsung,pin-function = <3>;
152 samsung,pin-pud = <3>;
153 samsung,pin-drv = <0>;
154 };
155
156 uart2_data: uart2-data {
157 samsung,pins = "gpa1-0", "gpa1-1";
158 samsung,pin-function = <2>;
159 samsung,pin-pud = <0>;
160 samsung,pin-drv = <0>;
161 };
162
163 uart2_fctl: uart2-fctl {
164 samsung,pins = "gpa1-2", "gpa1-3";
165 samsung,pin-function = <2>;
166 samsung,pin-pud = <0>;
167 samsung,pin-drv = <0>;
168 };
169
170 uart_audio_a: uart-audio-a {
171 samsung,pins = "gpa1-0", "gpa1-1";
172 samsung,pin-function = <4>;
173 samsung,pin-pud = <0>;
174 samsung,pin-drv = <0>;
175 };
176
177 i2c3_bus: i2c3-bus {
178 samsung,pins = "gpa1-2", "gpa1-3";
179 samsung,pin-function = <3>;
180 samsung,pin-pud = <3>;
181 samsung,pin-drv = <0>;
182 };
183
184 uart3_data: uart3-data {
185 samsung,pins = "gpa1-4", "gpa1-5";
186 samsung,pin-function = <2>;
187 samsung,pin-pud = <0>;
188 samsung,pin-drv = <0>;
189 };
190
191 uart_audio_b: uart-audio-b {
192 samsung,pins = "gpa1-4", "gpa1-5";
193 samsung,pin-function = <4>;
194 samsung,pin-pud = <0>;
195 samsung,pin-drv = <0>;
196 };
197
198 spi0_bus: spi0-bus {
199 samsung,pins = "gpb-0", "gpb-2", "gpb-3";
200 samsung,pin-function = <2>;
201 samsung,pin-pud = <3>;
202 samsung,pin-drv = <0>;
203 };
204
205 i2c4_bus: i2c4-bus {
206 samsung,pins = "gpb-0", "gpb-1";
207 samsung,pin-function = <3>;
208 samsung,pin-pud = <3>;
209 samsung,pin-drv = <0>;
210 };
211
212 spi1_bus: spi1-bus {
213 samsung,pins = "gpb-4", "gpb-6", "gpb-7";
214 samsung,pin-function = <2>;
215 samsung,pin-pud = <3>;
216 samsung,pin-drv = <0>;
217 };
218
219 i2c5_bus: i2c5-bus {
220 samsung,pins = "gpb-2", "gpb-3";
221 samsung,pin-function = <3>;
222 samsung,pin-pud = <3>;
223 samsung,pin-drv = <0>;
224 };
225
226 i2s1_bus: i2s1-bus {
227 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
228 "gpc0-4";
229 samsung,pin-function = <2>;
230 samsung,pin-pud = <0>;
231 samsung,pin-drv = <0>;
232 };
233
234 pcm1_bus: pcm1-bus {
235 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
236 "gpc0-4";
237 samsung,pin-function = <3>;
238 samsung,pin-pud = <0>;
239 samsung,pin-drv = <0>;
240 };
241
242 ac97_bus: ac97-bus {
243 samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
244 "gpc0-4";
245 samsung,pin-function = <4>;
246 samsung,pin-pud = <0>;
247 samsung,pin-drv = <0>;
248 };
249
250 i2s2_bus: i2s2-bus {
251 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
252 "gpc1-4";
253 samsung,pin-function = <2>;
254 samsung,pin-pud = <0>;
255 samsung,pin-drv = <0>;
256 };
257
258 pcm2_bus: pcm2-bus {
259 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
260 "gpc1-4";
261 samsung,pin-function = <3>;
262 samsung,pin-pud = <0>;
263 samsung,pin-drv = <0>;
264 };
265
266 spdif_bus: spdif-bus {
267 samsung,pins = "gpc1-0", "gpc1-1";
268 samsung,pin-function = <4>;
269 samsung,pin-pud = <0>;
270 samsung,pin-drv = <0>;
271 };
272
273 i2c6_bus: i2c6-bus {
274 samsung,pins = "gpc1-3", "gpc1-4";
275 samsung,pin-function = <4>;
276 samsung,pin-pud = <3>;
277 samsung,pin-drv = <0>;
278 };
279
280 spi2_bus: spi2-bus {
281 samsung,pins = "gpc1-1", "gpc1-3", "gpc1-4";
282 samsung,pin-function = <5>;
283 samsung,pin-pud = <3>;
284 samsung,pin-drv = <0>;
285 };
286
287 pwm0_out: pwm0-out {
288 samsung,pins = "gpd0-0";
289 samsung,pin-function = <2>;
290 samsung,pin-pud = <0>;
291 samsung,pin-drv = <0>;
292 };
293
294 pwm1_out: pwm1-out {
295 samsung,pins = "gpd0-1";
296 samsung,pin-function = <2>;
297 samsung,pin-pud = <0>;
298 samsung,pin-drv = <0>;
299 };
300
301 lcd_ctrl: lcd-ctrl {
302 samsung,pins = "gpd0-0", "gpd0-1";
303 samsung,pin-function = <3>;
304 samsung,pin-pud = <0>;
305 samsung,pin-drv = <0>;
306 };
307
308 i2c7_bus: i2c7-bus {
309 samsung,pins = "gpd0-2", "gpd0-3";
310 samsung,pin-function = <3>;
311 samsung,pin-pud = <3>;
312 samsung,pin-drv = <0>;
313 };
314
315 pwm2_out: pwm2-out {
316 samsung,pins = "gpd0-2";
317 samsung,pin-function = <2>;
318 samsung,pin-pud = <0>;
319 samsung,pin-drv = <0>;
320 };
321
322 pwm3_out: pwm3-out {
323 samsung,pins = "gpd0-3";
324 samsung,pin-function = <2>;
325 samsung,pin-pud = <0>;
326 samsung,pin-drv = <0>;
327 };
328
329 i2c0_bus: i2c0-bus {
330 samsung,pins = "gpd1-0", "gpd1-1";
331 samsung,pin-function = <2>;
332 samsung,pin-pud = <3>;
333 samsung,pin-drv = <0>;
334 };
335
336 mipi0_clk: mipi0-clk {
337 samsung,pins = "gpd1-0", "gpd1-1";
338 samsung,pin-function = <3>;
339 samsung,pin-pud = <0>;
340 samsung,pin-drv = <0>;
341 };
342
343 i2c1_bus: i2c1-bus {
344 samsung,pins = "gpd1-2", "gpd1-3";
345 samsung,pin-function = <2>;
346 samsung,pin-pud = <3>;
347 samsung,pin-drv = <0>;
348 };
349
350 mipi1_clk: mipi1-clk {
351 samsung,pins = "gpd1-2", "gpd1-3";
352 samsung,pin-function = <3>;
353 samsung,pin-pud = <0>;
354 samsung,pin-drv = <0>;
355 };
356
357 lcd_clk: lcd-clk {
358 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3";
359 samsung,pin-function = <2>;
360 samsung,pin-pud = <0>;
361 samsung,pin-drv = <0>;
362 };
363
364 lcd_data16: lcd-data-width16 {
365 samsung,pins = "gpf0-7", "gpf1-0", "gpf1-1", "gpf1-2",
366 "gpf1-3", "gpf1-6", "gpf1-7", "gpf2-0",
367 "gpf2-1", "gpf2-2", "gpf2-3", "gpf2-7",
368 "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
369 samsung,pin-function = <2>;
370 samsung,pin-pud = <0>;
371 samsung,pin-drv = <0>;
372 };
373
374 lcd_data18: lcd-data-width18 {
375 samsung,pins = "gpf0-6", "gpf0-7", "gpf1-0", "gpf1-1",
376 "gpf1-2", "gpf1-3", "gpf1-6", "gpf1-7",
377 "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
378 "gpf2-6", "gpf2-7", "gpf3-0", "gpf3-1",
379 "gpf3-2", "gpf3-3";
380 samsung,pin-function = <2>;
381 samsung,pin-pud = <0>;
382 samsung,pin-drv = <0>;
383 };
384
385 lcd_data24: lcd-data-width24 {
386 samsung,pins = "gpf0-4", "gpf0-5", "gpf0-6", "gpf0-7",
387 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3",
388 "gpf1-4", "gpf1-5", "gpf1-6", "gpf1-7",
389 "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
390 "gpf2-4", "gpf2-5", "gpf2-6", "gpf2-7",
391 "gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
392 samsung,pin-function = <2>;
393 samsung,pin-pud = <0>;
394 samsung,pin-drv = <0>;
395 };
396
397 lcd_ldi: lcd-ldi {
398 samsung,pins = "gpf3-4";
399 samsung,pin-function = <2>;
400 samsung,pin-pud = <0>;
401 samsung,pin-drv = <0>;
402 };
403
404 cam_port_a_io: cam-port-a-io {
405 samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3",
406 "gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7",
407 "gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4";
408 samsung,pin-function = <2>;
409 samsung,pin-pud = <0>;
410 samsung,pin-drv = <0>;
411 };
412
413 cam_port_a_clk_active: cam-port-a-clk-active {
414 samsung,pins = "gpj1-3";
415 samsung,pin-function = <2>;
416 samsung,pin-pud = <0>;
417 samsung,pin-drv = <3>;
418 };
419
420 cam_port_a_clk_idle: cam-port-a-clk-idle {
421 samsung,pins = "gpj1-3";
422 samsung,pin-function = <0>;
423 samsung,pin-pud = <1>;
424 samsung,pin-drv = <0>;
425 };
426 }; 120 };
427 121
428 pinctrl@11000000 { 122 pinctrl@11000000 {
429 gpk0: gpk0 { 123 gpk0: gpk0 {
430 gpio-controller; 124 gpio-controller;
431 #gpio-cells = <2>; 125 #gpio-cells = <2>;
432 126
433 interrupt-controller; 127 interrupt-controller;
434 #interrupt-cells = <2>; 128 #interrupt-cells = <2>;
435 }; 129 };
436 130
437 gpk1: gpk1 { 131 gpk1: gpk1 {
438 gpio-controller; 132 gpio-controller;
439 #gpio-cells = <2>; 133 #gpio-cells = <2>;
440 134
441 interrupt-controller; 135 interrupt-controller;
442 #interrupt-cells = <2>; 136 #interrupt-cells = <2>;
443 }; 137 };
444 138
445 gpk2: gpk2 { 139 gpk2: gpk2 {
446 gpio-controller; 140 gpio-controller;
447 #gpio-cells = <2>; 141 #gpio-cells = <2>;
448 142
449 interrupt-controller; 143 interrupt-controller;
450 #interrupt-cells = <2>; 144 #interrupt-cells = <2>;
451 }; 145 };
452 146
453 gpk3: gpk3 { 147 gpk3: gpk3 {
454 gpio-controller; 148 gpio-controller;
455 #gpio-cells = <2>; 149 #gpio-cells = <2>;
456 150
457 interrupt-controller; 151 interrupt-controller;
458 #interrupt-cells = <2>; 152 #interrupt-cells = <2>;
459 }; 153 };
460 154
461 gpl0: gpl0 { 155 gpl0: gpl0 {
462 gpio-controller; 156 gpio-controller;
463 #gpio-cells = <2>; 157 #gpio-cells = <2>;
464 158
465 interrupt-controller; 159 interrupt-controller;
466 #interrupt-cells = <2>; 160 #interrupt-cells = <2>;
467 }; 161 };
468 162
469 gpl1: gpl1 { 163 gpl1: gpl1 {
470 gpio-controller; 164 gpio-controller;
471 #gpio-cells = <2>; 165 #gpio-cells = <2>;
472 166
473 interrupt-controller; 167 interrupt-controller;
474 #interrupt-cells = <2>; 168 #interrupt-cells = <2>;
475 }; 169 };
476 170
477 gpl2: gpl2 { 171 gpl2: gpl2 {
478 gpio-controller; 172 gpio-controller;
479 #gpio-cells = <2>; 173 #gpio-cells = <2>;
480 174
481 interrupt-controller; 175 interrupt-controller;
482 #interrupt-cells = <2>; 176 #interrupt-cells = <2>;
483 }; 177 };
484 178
485 gpm0: gpm0 { 179 gpm0: gpm0 {
486 gpio-controller; 180 gpio-controller;
487 #gpio-cells = <2>; 181 #gpio-cells = <2>;
488 182
489 interrupt-controller; 183 interrupt-controller;
490 #interrupt-cells = <2>; 184 #interrupt-cells = <2>;
491 }; 185 };
492 186
493 gpm1: gpm1 { 187 gpm1: gpm1 {
494 gpio-controller; 188 gpio-controller;
495 #gpio-cells = <2>; 189 #gpio-cells = <2>;
496 190
497 interrupt-controller; 191 interrupt-controller;
498 #interrupt-cells = <2>; 192 #interrupt-cells = <2>;
499 }; 193 };
500 194
501 gpm2: gpm2 { 195 gpm2: gpm2 {
502 gpio-controller; 196 gpio-controller;
503 #gpio-cells = <2>; 197 #gpio-cells = <2>;
504 198
505 interrupt-controller; 199 interrupt-controller;
506 #interrupt-cells = <2>; 200 #interrupt-cells = <2>;
507 }; 201 };
508 202
509 gpm3: gpm3 { 203 gpm3: gpm3 {
510 gpio-controller; 204 gpio-controller;
511 #gpio-cells = <2>; 205 #gpio-cells = <2>;
512 206
513 interrupt-controller; 207 interrupt-controller;
514 #interrupt-cells = <2>; 208 #interrupt-cells = <2>;
515 }; 209 };
516 210
517 gpm4: gpm4 { 211 gpm4: gpm4 {
518 gpio-controller; 212 gpio-controller;
519 #gpio-cells = <2>; 213 #gpio-cells = <2>;
520 214
521 interrupt-controller; 215 interrupt-controller;
522 #interrupt-cells = <2>; 216 #interrupt-cells = <2>;
523 }; 217 };
524 218
525 gpy0: gpy0 { 219 gpy0: gpy0 {
526 gpio-controller; 220 gpio-controller;
527 #gpio-cells = <2>; 221 #gpio-cells = <2>;
528 }; 222 };
529 223
530 gpy1: gpy1 { 224 gpy1: gpy1 {
531 gpio-controller; 225 gpio-controller;
532 #gpio-cells = <2>; 226 #gpio-cells = <2>;
533 }; 227 };
534 228
535 gpy2: gpy2 { 229 gpy2: gpy2 {
536 gpio-controller; 230 gpio-controller;
537 #gpio-cells = <2>; 231 #gpio-cells = <2>;
538 }; 232 };
539 233
540 gpy3: gpy3 { 234 gpy3: gpy3 {
541 gpio-controller; 235 gpio-controller;
542 #gpio-cells = <2>; 236 #gpio-cells = <2>;
543 }; 237 };
544 238
545 gpy4: gpy4 { 239 gpy4: gpy4 {
546 gpio-controller; 240 gpio-controller;
547 #gpio-cells = <2>; 241 #gpio-cells = <2>;
548 }; 242 };
549 243
550 gpy5: gpy5 { 244 gpy5: gpy5 {
551 gpio-controller; 245 gpio-controller;
552 #gpio-cells = <2>; 246 #gpio-cells = <2>;
553 }; 247 };
554 248
555 gpy6: gpy6 { 249 gpy6: gpy6 {
556 gpio-controller; 250 gpio-controller;
557 #gpio-cells = <2>; 251 #gpio-cells = <2>;
558 }; 252 };
559 253
560 gpx0: gpx0 { 254 gpx0: gpx0 {
561 gpio-controller; 255 gpio-controller;
562 #gpio-cells = <2>; 256 #gpio-cells = <2>;
563 257
564 interrupt-controller; 258 interrupt-controller;
565 interrupt-parent = <&gic>; 259 interrupt-parent = <&gic>;
566 interrupts = <0 16 0>, <0 17 0>, <0 18 0>, <0 19 0>, 260 interrupts = <0 16 0>, <0 17 0>, <0 18 0>, <0 19 0>,
567 <0 20 0>, <0 21 0>, <0 22 0>, <0 23 0>; 261 <0 20 0>, <0 21 0>, <0 22 0>, <0 23 0>;
568 #interrupt-cells = <2>; 262 #interrupt-cells = <2>;
569 }; 263 };
570 264
571 gpx1: gpx1 { 265 gpx1: gpx1 {
572 gpio-controller; 266 gpio-controller;
573 #gpio-cells = <2>; 267 #gpio-cells = <2>;
574 268
575 interrupt-controller; 269 interrupt-controller;
576 interrupt-parent = <&gic>; 270 interrupt-parent = <&gic>;
577 interrupts = <0 24 0>, <0 25 0>, <0 26 0>, <0 27 0>, 271 interrupts = <0 24 0>, <0 25 0>, <0 26 0>, <0 27 0>,
578 <0 28 0>, <0 29 0>, <0 30 0>, <0 31 0>; 272 <0 28 0>, <0 29 0>, <0 30 0>, <0 31 0>;
579 #interrupt-cells = <2>; 273 #interrupt-cells = <2>;
580 }; 274 };
581 275
582 gpx2: gpx2 { 276 gpx2: gpx2 {
583 gpio-controller; 277 gpio-controller;
584 #gpio-cells = <2>; 278 #gpio-cells = <2>;
585 279
586 interrupt-controller; 280 interrupt-controller;
587 #interrupt-cells = <2>; 281 #interrupt-cells = <2>;
588 }; 282 };
589 283
590 gpx3: gpx3 { 284 gpx3: gpx3 {
591 gpio-controller; 285 gpio-controller;
592 #gpio-cells = <2>; 286 #gpio-cells = <2>;
593 287
594 interrupt-controller; 288 interrupt-controller;
595 #interrupt-cells = <2>; 289 #interrupt-cells = <2>;
596 }; 290 };
597
598 sd0_clk: sd0-clk {
599 samsung,pins = "gpk0-0";
600 samsung,pin-function = <2>;
601 samsung,pin-pud = <0>;
602 samsung,pin-drv = <3>;
603 };
604
605 sd0_cmd: sd0-cmd {
606 samsung,pins = "gpk0-1";
607 samsung,pin-function = <2>;
608 samsung,pin-pud = <0>;
609 samsung,pin-drv = <3>;
610 };
611
612 sd0_cd: sd0-cd {
613 samsung,pins = "gpk0-2";
614 samsung,pin-function = <2>;
615 samsung,pin-pud = <3>;
616 samsung,pin-drv = <3>;
617 };
618
619 sd0_bus1: sd0-bus-width1 {
620 samsung,pins = "gpk0-3";
621 samsung,pin-function = <2>;
622 samsung,pin-pud = <3>;
623 samsung,pin-drv = <3>;
624 };
625
626 sd0_bus4: sd0-bus-width4 {
627 samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
628 samsung,pin-function = <2>;
629 samsung,pin-pud = <3>;
630 samsung,pin-drv = <3>;
631 };
632
633 sd0_bus8: sd0-bus-width8 {
634 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
635 samsung,pin-function = <3>;
636 samsung,pin-pud = <3>;
637 samsung,pin-drv = <3>;
638 };
639
640 sd4_clk: sd4-clk {
641 samsung,pins = "gpk0-0";
642 samsung,pin-function = <3>;
643 samsung,pin-pud = <0>;
644 samsung,pin-drv = <3>;
645 };
646
647 sd4_cmd: sd4-cmd {
648 samsung,pins = "gpk0-1";
649 samsung,pin-function = <3>;
650 samsung,pin-pud = <0>;
651 samsung,pin-drv = <3>;
652 };
653
654 sd4_cd: sd4-cd {
655 samsung,pins = "gpk0-2";
656 samsung,pin-function = <3>;
657 samsung,pin-pud = <3>;
658 samsung,pin-drv = <3>;
659 };
660
661 sd4_bus1: sd4-bus-width1 {
662 samsung,pins = "gpk0-3";
663 samsung,pin-function = <3>;
664 samsung,pin-pud = <3>;
665 samsung,pin-drv = <3>;
666 };
667
668 sd4_bus4: sd4-bus-width4 {
669 samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
670 samsung,pin-function = <3>;
671 samsung,pin-pud = <3>;
672 samsung,pin-drv = <3>;
673 };
674
675 sd4_bus8: sd4-bus-width8 {
676 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
677 samsung,pin-function = <4>;
678 samsung,pin-pud = <4>;
679 samsung,pin-drv = <3>;
680 };
681
682 sd1_clk: sd1-clk {
683 samsung,pins = "gpk1-0";
684 samsung,pin-function = <2>;
685 samsung,pin-pud = <0>;
686 samsung,pin-drv = <3>;
687 };
688
689 sd1_cmd: sd1-cmd {
690 samsung,pins = "gpk1-1";
691 samsung,pin-function = <2>;
692 samsung,pin-pud = <0>;
693 samsung,pin-drv = <3>;
694 };
695
696 sd1_cd: sd1-cd {
697 samsung,pins = "gpk1-2";
698 samsung,pin-function = <2>;
699 samsung,pin-pud = <3>;
700 samsung,pin-drv = <3>;
701 };
702
703 sd1_bus1: sd1-bus-width1 {
704 samsung,pins = "gpk1-3";
705 samsung,pin-function = <2>;
706 samsung,pin-pud = <3>;
707 samsung,pin-drv = <3>;
708 };
709
710 sd1_bus4: sd1-bus-width4 {
711 samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
712 samsung,pin-function = <2>;
713 samsung,pin-pud = <3>;
714 samsung,pin-drv = <3>;
715 };
716
717 sd2_clk: sd2-clk {
718 samsung,pins = "gpk2-0";
719 samsung,pin-function = <2>;
720 samsung,pin-pud = <0>;
721 samsung,pin-drv = <3>;
722 };
723
724 sd2_cmd: sd2-cmd {
725 samsung,pins = "gpk2-1";
726 samsung,pin-function = <2>;
727 samsung,pin-pud = <0>;
728 samsung,pin-drv = <3>;
729 };
730
731 sd2_cd: sd2-cd {
732 samsung,pins = "gpk2-2";
733 samsung,pin-function = <2>;
734 samsung,pin-pud = <3>;
735 samsung,pin-drv = <3>;
736 };
737
738 sd2_bus1: sd2-bus-width1 {
739 samsung,pins = "gpk2-3";
740 samsung,pin-function = <2>;
741 samsung,pin-pud = <3>;
742 samsung,pin-drv = <3>;
743 };
744
745 sd2_bus4: sd2-bus-width4 {
746 samsung,pins = "gpk2-3", "gpk2-4", "gpk2-5", "gpk2-6";
747 samsung,pin-function = <2>;
748 samsung,pin-pud = <3>;
749 samsung,pin-drv = <3>;
750 };
751
752 sd2_bus8: sd2-bus-width8 {
753 samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
754 samsung,pin-function = <3>;
755 samsung,pin-pud = <3>;
756 samsung,pin-drv = <3>;
757 };
758
759 sd3_clk: sd3-clk {
760 samsung,pins = "gpk3-0";
761 samsung,pin-function = <2>;
762 samsung,pin-pud = <0>;
763 samsung,pin-drv = <3>;
764 };
765
766 sd3_cmd: sd3-cmd {
767 samsung,pins = "gpk3-1";
768 samsung,pin-function = <2>;
769 samsung,pin-pud = <0>;
770 samsung,pin-drv = <3>;
771 };
772
773 sd3_cd: sd3-cd {
774 samsung,pins = "gpk3-2";
775 samsung,pin-function = <2>;
776 samsung,pin-pud = <3>;
777 samsung,pin-drv = <3>;
778 };
779
780 sd3_bus1: sd3-bus-width1 {
781 samsung,pins = "gpk3-3";
782 samsung,pin-function = <2>;
783 samsung,pin-pud = <3>;
784 samsung,pin-drv = <3>;
785 };
786
787 sd3_bus4: sd3-bus-width4 {
788 samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
789 samsung,pin-function = <2>;
790 samsung,pin-pud = <3>;
791 samsung,pin-drv = <3>;
792 };
793
794 cam_port_b_io: cam-port-b-io {
795 samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3",
796 "gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7",
797 "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1";
798 samsung,pin-function = <3>;
799 samsung,pin-pud = <3>;
800 samsung,pin-drv = <0>;
801 };
802
803 cam_port_b_clk_active: cam-port-b-clk-active {
804 samsung,pins = "gpm2-2";
805 samsung,pin-function = <3>;
806 samsung,pin-pud = <0>;
807 samsung,pin-drv = <3>;
808 };
809
810 cam_port_b_clk_idle: cam-port-b-clk-idle {
811 samsung,pins = "gpm2-2";
812 samsung,pin-function = <0>;
813 samsung,pin-pud = <1>;
814 samsung,pin-drv = <0>;
815 };
816
817 eint0: ext-int0 {
818 samsung,pins = "gpx0-0";
819 samsung,pin-function = <0xf>;
820 samsung,pin-pud = <0>;
821 samsung,pin-drv = <0>;
822 };
823
824 eint8: ext-int8 {
825 samsung,pins = "gpx1-0";
826 samsung,pin-function = <0xf>;
827 samsung,pin-pud = <0>;
828 samsung,pin-drv = <0>;
829 };
830
831 eint15: ext-int15 {
832 samsung,pins = "gpx1-7";
833 samsung,pin-function = <0xf>;
834 samsung,pin-pud = <0>;
835 samsung,pin-drv = <0>;
836 };
837
838 eint16: ext-int16 {
839 samsung,pins = "gpx2-0";
840 samsung,pin-function = <0xf>;
841 samsung,pin-pud = <0>;
842 samsung,pin-drv = <0>;
843 };
844
845 eint31: ext-int31 {
846 samsung,pins = "gpx3-7";
847 samsung,pin-function = <0xf>;
848 samsung,pin-pud = <0>;
849 samsung,pin-drv = <0>;
850 };
851
852 fimc_is_i2c0: fimc-is-i2c0 {
853 samsung,pins = "gpm4-0", "gpm4-1";
854 samsung,pin-function = <2>;
855 samsung,pin-pud = <0>;
856 samsung,pin-drv = <0>;
857 };
858
859 fimc_is_i2c1: fimc-is-i2c1 {
860 samsung,pins = "gpm4-2", "gpm4-3";
861 samsung,pin-function = <2>;
862 samsung,pin-pud = <0>;
863 samsung,pin-drv = <0>;
864 };
865
866 fimc_is_uart: fimc-is-uart {
867 samsung,pins = "gpm3-5", "gpm3-7";
868 samsung,pin-function = <3>;
869 samsung,pin-pud = <0>;
870 samsung,pin-drv = <0>;
871 };
872 }; 291 };
873 292
874 pinctrl@03860000 { 293 pinctrl@03860000 {
875 gpz: gpz { 294 gpz: gpz {
876 gpio-controller; 295 gpio-controller;
877 #gpio-cells = <2>; 296 #gpio-cells = <2>;
878 297
879 interrupt-controller; 298 interrupt-controller;
880 #interrupt-cells = <2>; 299 #interrupt-cells = <2>;
881 }; 300 };
882
883 i2s0_bus: i2s0-bus {
884 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
885 "gpz-4", "gpz-5", "gpz-6";
886 samsung,pin-function = <0x2>;
887 samsung,pin-pud = <0>;
888 samsung,pin-drv = <0>;
889 };
890
891 pcm0_bus: pcm0-bus {
892 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
893 "gpz-4";
894 samsung,pin-function = <0x3>;
895 samsung,pin-pud = <0>;
896 samsung,pin-drv = <0>;
897 };
898 }; 301 };
899 302
900 pinctrl@106E0000 { 303 pinctrl@106E0000 {
901 gpv0: gpv0 { 304 gpv0: gpv0 {
902 gpio-controller; 305 gpio-controller;
903 #gpio-cells = <2>; 306 #gpio-cells = <2>;
904 307
905 interrupt-controller; 308 interrupt-controller;
906 #interrupt-cells = <2>; 309 #interrupt-cells = <2>;
907 }; 310 };
908 311
909 gpv1: gpv1 { 312 gpv1: gpv1 {
910 gpio-controller; 313 gpio-controller;
911 #gpio-cells = <2>; 314 #gpio-cells = <2>;
912 315
913 interrupt-controller; 316 interrupt-controller;
914 #interrupt-cells = <2>; 317 #interrupt-cells = <2>;
915 }; 318 };
916 319
917 gpv2: gpv2 { 320 gpv2: gpv2 {
918 gpio-controller; 321 gpio-controller;
919 #gpio-cells = <2>; 322 #gpio-cells = <2>;
920 323
921 interrupt-controller; 324 interrupt-controller;
922 #interrupt-cells = <2>; 325 #interrupt-cells = <2>;
923 }; 326 };
924 327
925 gpv3: gpv3 { 328 gpv3: gpv3 {
926 gpio-controller; 329 gpio-controller;
927 #gpio-cells = <2>; 330 #gpio-cells = <2>;
928 331
929 interrupt-controller; 332 interrupt-controller;
930 #interrupt-cells = <2>; 333 #interrupt-cells = <2>;
931 }; 334 };
932 335
933 gpv4: gpv4 { 336 gpv4: gpv4 {
934 gpio-controller; 337 gpio-controller;
935 #gpio-cells = <2>; 338 #gpio-cells = <2>;
936 339
937 interrupt-controller; 340 interrupt-controller;
938 #interrupt-cells = <2>; 341 #interrupt-cells = <2>;
939 };
940
941 c2c_bus: c2c-bus {
942 samsung,pins = "gpv0-0", "gpv0-1", "gpv0-2", "gpv0-3",
943 "gpv0-4", "gpv0-5", "gpv0-6", "gpv0-7",
944 "gpv1-0", "gpv1-1", "gpv1-2", "gpv1-3",
945 "gpv1-4", "gpv1-5", "gpv1-6", "gpv1-7",
946 "gpv2-0", "gpv2-1", "gpv2-2", "gpv2-3",
947 "gpv2-4", "gpv2-5", "gpv2-6", "gpv2-7",
948 "gpv3-0", "gpv3-1", "gpv3-2", "gpv3-3",
949 "gpv3-4", "gpv3-5", "gpv3-6", "gpv3-7",
950 "gpv4-0", "gpv4-1";
951 samsung,pin-function = <0x2>;
952 samsung,pin-pud = <0>;
953 samsung,pin-drv = <0>;
954 }; 342 };
955 }; 343 };
956 }; 344 };
957 345
arch/arm/dts/exynos4x12.dtsi
1 /* 1 /*
2 * Samsung's Exynos4x12 SoCs device tree source 2 * Samsung's Exynos4x12 SoCs device tree source
3 * 3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com 5 * http://www.samsung.com
6 * 6 *
7 * Samsung's Exynos4x12 SoCs device nodes are listed in this file. Exynos4x12 7 * Samsung's Exynos4x12 SoCs device nodes are listed in this file. Exynos4x12
8 * based board files can include this file and provide values for board specfic 8 * based board files can include this file and provide values for board specfic
9 * bindings. 9 * bindings.
10 * 10 *
11 * Note: This file does not include device nodes for all the controllers in 11 * Note: This file does not include device nodes for all the controllers in
12 * Exynos4x12 SoC. As device tree coverage for Exynos4x12 increases, additional 12 * Exynos4x12 SoC. As device tree coverage for Exynos4x12 increases, additional
13 * nodes can be added to this file. 13 * nodes can be added to this file.
14 * 14 *
15 * This program is free software; you can redistribute it and/or modify 15 * This program is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License version 2 as 16 * it under the terms of the GNU General Public License version 2 as
17 ` * published by the Free Software Foundation. 17 ` * published by the Free Software Foundation.
18 */ 18 */
19 19
20 #include "exynos4.dtsi" 20 #include "exynos4.dtsi"
21 #include "exynos4x12-pinctrl.dtsi" 21 #include "exynos4x12-pinctrl.dtsi"
22 22
23 / { 23 / {
24 aliases { 24 aliases {
25 pinctrl0 = &pinctrl_0; 25 pinctrl0 = &pinctrl_0;
26 pinctrl1 = &pinctrl_1; 26 pinctrl1 = &pinctrl_1;
27 pinctrl2 = &pinctrl_2; 27 pinctrl2 = &pinctrl_2;
28 pinctrl3 = &pinctrl_3; 28 pinctrl3 = &pinctrl_3;
29 fimc-lite0 = &fimc_lite_0;
30 fimc-lite1 = &fimc_lite_1;
31 mshc0 = &mshc_0; 29 mshc0 = &mshc_0;
32 }; 30 };
33 31
34 pd_isp: isp-power-domain@10023CA0 { 32 pd_isp: isp-power-domain@10023CA0 {
35 compatible = "samsung,exynos4210-pd"; 33 compatible = "samsung,exynos4210-pd";
36 reg = <0x10023CA0 0x20>; 34 reg = <0x10023CA0 0x20>;
37 }; 35 };
38 36
39 clock: clock-controller@10030000 { 37 clock: clock-controller@10030000 {
40 compatible = "samsung,exynos4412-clock"; 38 compatible = "samsung,exynos4412-clock";
41 reg = <0x10030000 0x20000>; 39 reg = <0x10030000 0x20000>;
42 #clock-cells = <1>; 40 #clock-cells = <1>;
43 }; 41 };
44 42
45 mct@10050000 { 43 mct@10050000 {
46 compatible = "samsung,exynos4412-mct"; 44 compatible = "samsung,exynos4412-mct";
47 reg = <0x10050000 0x800>; 45 reg = <0x10050000 0x800>;
48 interrupt-parent = <&mct_map>; 46 interrupt-parent = <&mct_map>;
49 interrupts = <0>, <1>, <2>, <3>, <4>; 47 interrupts = <0>, <1>, <2>, <3>, <4>;
50 clocks = <&clock 3>, <&clock 344>; 48 clocks = <&clock 3>, <&clock 344>;
51 clock-names = "fin_pll", "mct"; 49 clock-names = "fin_pll", "mct";
52 50
53 mct_map: mct-map { 51 mct_map: mct-map {
54 #interrupt-cells = <1>; 52 #interrupt-cells = <1>;
55 #address-cells = <0>; 53 #address-cells = <0>;
56 #size-cells = <0>; 54 #size-cells = <0>;
57 interrupt-map = <0 &gic 0 57 0>, 55 interrupt-map = <0 &gic 0 57 0>,
58 <1 &combiner 12 5>, 56 <1 &combiner 12 5>,
59 <2 &combiner 12 6>, 57 <2 &combiner 12 6>,
60 <3 &combiner 12 7>, 58 <3 &combiner 12 7>,
61 <4 &gic 1 12 0>; 59 <4 &gic 1 12 0>;
62 }; 60 };
63 }; 61 };
64 62
65 pinctrl_0: pinctrl@11400000 { 63 pinctrl_0: pinctrl@11400000 {
66 compatible = "samsung,exynos4x12-pinctrl"; 64 compatible = "samsung,exynos4x12-pinctrl";
67 reg = <0x11400000 0x1000>; 65 reg = <0x11400000 0x1000>;
68 interrupts = <0 47 0>; 66 interrupts = <0 47 0>;
69 }; 67 };
70 68
71 pinctrl_1: pinctrl@11000000 { 69 pinctrl_1: pinctrl@11000000 {
72 compatible = "samsung,exynos4x12-pinctrl"; 70 compatible = "samsung,exynos4x12-pinctrl";
73 reg = <0x11000000 0x1000>; 71 reg = <0x11000000 0x1000>;
74 interrupts = <0 46 0>; 72 interrupts = <0 46 0>;
75 73
76 wakup_eint: wakeup-interrupt-controller { 74 wakup_eint: wakeup-interrupt-controller {
77 compatible = "samsung,exynos4210-wakeup-eint"; 75 compatible = "samsung,exynos4210-wakeup-eint";
78 interrupt-parent = <&gic>; 76 interrupt-parent = <&gic>;
79 interrupts = <0 32 0>; 77 interrupts = <0 32 0>;
80 }; 78 };
81 }; 79 };
82 80
83 pinctrl_2: pinctrl@03860000 { 81 pinctrl_2: pinctrl@03860000 {
84 compatible = "samsung,exynos4x12-pinctrl"; 82 compatible = "samsung,exynos4x12-pinctrl";
85 reg = <0x03860000 0x1000>; 83 reg = <0x03860000 0x1000>;
86 interrupt-parent = <&combiner>; 84 interrupt-parent = <&combiner>;
87 interrupts = <10 0>; 85 interrupts = <10 0>;
88 }; 86 };
89 87
90 pinctrl_3: pinctrl@106E0000 { 88 pinctrl_3: pinctrl@106E0000 {
91 compatible = "samsung,exynos4x12-pinctrl"; 89 compatible = "samsung,exynos4x12-pinctrl";
92 reg = <0x106E0000 0x1000>; 90 reg = <0x106E0000 0x1000>;
93 interrupts = <0 72 0>; 91 interrupts = <0 72 0>;
94 }; 92 };
95 93
96 g2d@10800000 { 94 g2d@10800000 {
97 compatible = "samsung,exynos4212-g2d"; 95 compatible = "samsung,exynos4212-g2d";
98 reg = <0x10800000 0x1000>; 96 reg = <0x10800000 0x1000>;
99 interrupts = <0 89 0>; 97 interrupts = <0 89 0>;
100 clocks = <&clock 177>, <&clock 277>; 98 clocks = <&clock 177>, <&clock 277>;
101 clock-names = "sclk_fimg2d", "fimg2d"; 99 clock-names = "sclk_fimg2d", "fimg2d";
102 status = "disabled"; 100 status = "disabled";
103 };
104
105 camera {
106 clocks = <&clock 132>, <&clock 133>, <&clock 351>, <&clock 352>;
107 clock-names = "sclk_cam0", "sclk_cam1", "pxl_async0", "pxl_async1";
108 #address-cells = <1>;
109 #size-cells = <1>;
110
111 fimc_0: fimc@11800000 {
112 compatible = "samsung,exynos4212-fimc";
113 samsung,pix-limits = <4224 8192 1920 4224>;
114 samsung,mainscaler-ext;
115 samsung,isp-wb;
116 samsung,cam-if;
117 };
118
119 fimc_1: fimc@11810000 {
120 compatible = "samsung,exynos4212-fimc";
121 samsung,pix-limits = <4224 8192 1920 4224>;
122 samsung,mainscaler-ext;
123 samsung,isp-wb;
124 samsung,cam-if;
125 };
126
127 fimc_2: fimc@11820000 {
128 compatible = "samsung,exynos4212-fimc";
129 samsung,pix-limits = <4224 8192 1920 4224>;
130 samsung,mainscaler-ext;
131 samsung,isp-wb;
132 samsung,lcd-wb;
133 samsung,cam-if;
134 };
135
136 fimc_3: fimc@11830000 {
137 compatible = "samsung,exynos4212-fimc";
138 samsung,pix-limits = <1920 8192 1366 1920>;
139 samsung,rotators = <0>;
140 samsung,mainscaler-ext;
141 samsung,isp-wb;
142 samsung,lcd-wb;
143 };
144
145 fimc_lite_0: fimc-lite@12390000 {
146 compatible = "samsung,exynos4212-fimc-lite";
147 reg = <0x12390000 0x1000>;
148 interrupts = <0 105 0>;
149 samsung,power-domain = <&pd_isp>;
150 clocks = <&clock 353>;
151 clock-names = "flite";
152 status = "disabled";
153 };
154
155 fimc_lite_1: fimc-lite@123A0000 {
156 compatible = "samsung,exynos4212-fimc-lite";
157 reg = <0x123A0000 0x1000>;
158 interrupts = <0 106 0>;
159 samsung,power-domain = <&pd_isp>;
160 clocks = <&clock 354>;
161 clock-names = "flite";
162 status = "disabled";
163 };
164
165 fimc_is: fimc-is@12000000 {
166 compatible = "samsung,exynos4212-fimc-is", "simple-bus";
167 reg = <0x12000000 0x260000>;
168 interrupts = <0 90 0>, <0 95 0>;
169 samsung,power-domain = <&pd_isp>;
170 clocks = <&clock 353>, <&clock 354>, <&clock 355>,
171 <&clock 356>, <&clock 17>, <&clock 357>,
172 <&clock 358>, <&clock 359>, <&clock 360>,
173 <&clock 450>,<&clock 451>, <&clock 452>,
174 <&clock 453>, <&clock 176>, <&clock 13>,
175 <&clock 454>, <&clock 395>, <&clock 455>;
176 clock-names = "lite0", "lite1", "ppmuispx",
177 "ppmuispmx", "mpll", "isp",
178 "drc", "fd", "mcuisp",
179 "ispdiv0", "ispdiv1", "mcuispdiv0",
180 "mcuispdiv1", "uart", "aclk200",
181 "div_aclk200", "aclk400mcuisp",
182 "div_aclk400mcuisp";
183 #address-cells = <1>;
184 #size-cells = <1>;
185 ranges;
186 status = "disabled";
187
188 pmu {
189 reg = <0x10020000 0x3000>;
190 };
191
192 i2c1_isp: i2c-isp@12140000 {
193 compatible = "samsung,exynos4212-i2c-isp";
194 reg = <0x12140000 0x100>;
195 clocks = <&clock 370>;
196 clock-names = "i2c_isp";
197 #address-cells = <1>;
198 #size-cells = <0>;
199 };
200 };
201 }; 101 };
202 102
203 mshc_0: mmc@12550000 { 103 mshc_0: mmc@12550000 {
204 compatible = "samsung,exynos4412-dw-mshc"; 104 compatible = "samsung,exynos4412-dw-mshc";
205 reg = <0x12550000 0x1000>; 105 reg = <0x12550000 0x1000>;
206 interrupts = <0 77 0>; 106 interrupts = <0 77 0>;
207 #address-cells = <1>; 107 #address-cells = <1>;
208 #size-cells = <0>; 108 #size-cells = <0>;
209 fifo-depth = <0x80>; 109 fifo-depth = <0x80>;
210 clocks = <&clock 301>, <&clock 149>; 110 clocks = <&clock 301>, <&clock 149>;
211 clock-names = "biu", "ciu"; 111 clock-names = "biu", "ciu";
212 status = "disabled"; 112 status = "disabled";
213 }; 113 };
214 }; 114 };
215 115
arch/arm/dts/exynos5250-pinctrl.dtsi
1 /* 1 /*
2 * Samsung's Exynos5250 SoC pin-mux and pin-config device tree source 2 * Samsung's Exynos5250 SoC pin-mux and pin-config device tree source
3 * 3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com 5 * http://www.samsung.com
6 * 6 *
7 * Samsung's Exynos5250 SoC pin-mux and pin-config optiosn are listed as device 7 * Samsung's Exynos5250 SoC pin-mux and pin-config optiosn are listed as device
8 * tree nodes are listed in this file. 8 * tree nodes are listed in this file.
9 * 9 *
10 * This program is free software; you can redistribute it and/or modify 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 11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation. 12 * published by the Free Software Foundation.
13 */ 13 */
14 14
15 / { 15 / {
16 pinctrl@11400000 { 16 pinctrl@11400000 {
17 gpa0: gpa0 { 17 gpa0: gpa0 {
18 gpio-controller; 18 gpio-controller;
19 #gpio-cells = <2>; 19 #gpio-cells = <2>;
20 20
21 interrupt-controller; 21 interrupt-controller;
22 #interrupt-cells = <2>; 22 #interrupt-cells = <2>;
23 }; 23 };
24 24
25 gpa1: gpa1 { 25 gpa1: gpa1 {
26 gpio-controller; 26 gpio-controller;
27 #gpio-cells = <2>; 27 #gpio-cells = <2>;
28 28
29 interrupt-controller; 29 interrupt-controller;
30 #interrupt-cells = <2>; 30 #interrupt-cells = <2>;
31 }; 31 };
32 32
33 gpa2: gpa2 { 33 gpa2: gpa2 {
34 gpio-controller; 34 gpio-controller;
35 #gpio-cells = <2>; 35 #gpio-cells = <2>;
36 36
37 interrupt-controller; 37 interrupt-controller;
38 #interrupt-cells = <2>; 38 #interrupt-cells = <2>;
39 }; 39 };
40 40
41 gpb0: gpb0 { 41 gpb0: gpb0 {
42 gpio-controller; 42 gpio-controller;
43 #gpio-cells = <2>; 43 #gpio-cells = <2>;
44 44
45 interrupt-controller; 45 interrupt-controller;
46 #interrupt-cells = <2>; 46 #interrupt-cells = <2>;
47 }; 47 };
48 48
49 gpb1: gpb1 { 49 gpb1: gpb1 {
50 gpio-controller; 50 gpio-controller;
51 #gpio-cells = <2>; 51 #gpio-cells = <2>;
52 52
53 interrupt-controller; 53 interrupt-controller;
54 #interrupt-cells = <2>; 54 #interrupt-cells = <2>;
55 }; 55 };
56 56
57 gpb2: gpb2 { 57 gpb2: gpb2 {
58 gpio-controller; 58 gpio-controller;
59 #gpio-cells = <2>; 59 #gpio-cells = <2>;
60 60
61 interrupt-controller; 61 interrupt-controller;
62 #interrupt-cells = <2>; 62 #interrupt-cells = <2>;
63 }; 63 };
64 64
65 gpb3: gpb3 { 65 gpb3: gpb3 {
66 gpio-controller; 66 gpio-controller;
67 #gpio-cells = <2>; 67 #gpio-cells = <2>;
68 68
69 interrupt-controller; 69 interrupt-controller;
70 #interrupt-cells = <2>; 70 #interrupt-cells = <2>;
71 }; 71 };
72 72
73 gpc0: gpc0 { 73 gpc0: gpc0 {
74 gpio-controller; 74 gpio-controller;
75 #gpio-cells = <2>; 75 #gpio-cells = <2>;
76 76
77 interrupt-controller; 77 interrupt-controller;
78 #interrupt-cells = <2>; 78 #interrupt-cells = <2>;
79 }; 79 };
80 80
81 gpc1: gpc1 { 81 gpc1: gpc1 {
82 gpio-controller; 82 gpio-controller;
83 #gpio-cells = <2>; 83 #gpio-cells = <2>;
84 84
85 interrupt-controller; 85 interrupt-controller;
86 #interrupt-cells = <2>; 86 #interrupt-cells = <2>;
87 }; 87 };
88 88
89 gpc2: gpc2 { 89 gpc2: gpc2 {
90 gpio-controller; 90 gpio-controller;
91 #gpio-cells = <2>; 91 #gpio-cells = <2>;
92 92
93 interrupt-controller; 93 interrupt-controller;
94 #interrupt-cells = <2>; 94 #interrupt-cells = <2>;
95 }; 95 };
96 96
97 gpc3: gpc3 { 97 gpc3: gpc3 {
98 gpio-controller; 98 gpio-controller;
99 #gpio-cells = <2>; 99 #gpio-cells = <2>;
100 100
101 interrupt-controller; 101 interrupt-controller;
102 #interrupt-cells = <2>; 102 #interrupt-cells = <2>;
103 }; 103 };
104 104
105 gpd0: gpd0 { 105 gpd0: gpd0 {
106 gpio-controller; 106 gpio-controller;
107 #gpio-cells = <2>; 107 #gpio-cells = <2>;
108 108
109 interrupt-controller; 109 interrupt-controller;
110 #interrupt-cells = <2>; 110 #interrupt-cells = <2>;
111 }; 111 };
112 112
113 gpd1: gpd1 { 113 gpd1: gpd1 {
114 gpio-controller; 114 gpio-controller;
115 #gpio-cells = <2>; 115 #gpio-cells = <2>;
116 116
117 interrupt-controller; 117 interrupt-controller;
118 #interrupt-cells = <2>; 118 #interrupt-cells = <2>;
119 }; 119 };
120 120
121 gpy0: gpy0 { 121 gpy0: gpy0 {
122 gpio-controller; 122 gpio-controller;
123 #gpio-cells = <2>; 123 #gpio-cells = <2>;
124 }; 124 };
125 125
126 gpy1: gpy1 { 126 gpy1: gpy1 {
127 gpio-controller; 127 gpio-controller;
128 #gpio-cells = <2>; 128 #gpio-cells = <2>;
129 }; 129 };
130 130
131 gpy2: gpy2 { 131 gpy2: gpy2 {
132 gpio-controller; 132 gpio-controller;
133 #gpio-cells = <2>; 133 #gpio-cells = <2>;
134 }; 134 };
135 135
136 gpy3: gpy3 { 136 gpy3: gpy3 {
137 gpio-controller; 137 gpio-controller;
138 #gpio-cells = <2>; 138 #gpio-cells = <2>;
139 }; 139 };
140 140
141 gpy4: gpy4 { 141 gpy4: gpy4 {
142 gpio-controller; 142 gpio-controller;
143 #gpio-cells = <2>; 143 #gpio-cells = <2>;
144 }; 144 };
145 145
146 gpy5: gpy5 { 146 gpy5: gpy5 {
147 gpio-controller; 147 gpio-controller;
148 #gpio-cells = <2>; 148 #gpio-cells = <2>;
149 }; 149 };
150 150
151 gpy6: gpy6 { 151 gpy6: gpy6 {
152 gpio-controller; 152 gpio-controller;
153 #gpio-cells = <2>; 153 #gpio-cells = <2>;
154 }; 154 };
155 155
156 gpc4: gpc4 { 156 gpc4: gpc4 {
157 gpio-controller; 157 gpio-controller;
158 #gpio-cells = <2>; 158 #gpio-cells = <2>;
159 159
160 interrupt-controller; 160 interrupt-controller;
161 #interrupt-cells = <2>; 161 #interrupt-cells = <2>;
162 }; 162 };
163 163
164 gpx0: gpx0 { 164 gpx0: gpx0 {
165 gpio-controller; 165 gpio-controller;
166 #gpio-cells = <2>; 166 #gpio-cells = <2>;
167 167
168 interrupt-controller; 168 interrupt-controller;
169 interrupt-parent = <&combiner>; 169 interrupt-parent = <&combiner>;
170 #interrupt-cells = <2>; 170 #interrupt-cells = <2>;
171 interrupts = <23 0>, <24 0>, <25 0>, <25 1>, 171 interrupts = <23 0>, <24 0>, <25 0>, <25 1>,
172 <26 0>, <26 1>, <27 0>, <27 1>; 172 <26 0>, <26 1>, <27 0>, <27 1>;
173 }; 173 };
174 174
175 gpx1: gpx1 { 175 gpx1: gpx1 {
176 gpio-controller; 176 gpio-controller;
177 #gpio-cells = <2>; 177 #gpio-cells = <2>;
178 178
179 interrupt-controller; 179 interrupt-controller;
180 interrupt-parent = <&combiner>; 180 interrupt-parent = <&combiner>;
181 #interrupt-cells = <2>; 181 #interrupt-cells = <2>;
182 interrupts = <28 0>, <28 1>, <29 0>, <29 1>, 182 interrupts = <28 0>, <28 1>, <29 0>, <29 1>,
183 <30 0>, <30 1>, <31 0>, <31 1>; 183 <30 0>, <30 1>, <31 0>, <31 1>;
184 }; 184 };
185 185
186 gpx2: gpx2 { 186 gpx2: gpx2 {
187 gpio-controller; 187 gpio-controller;
188 #gpio-cells = <2>; 188 #gpio-cells = <2>;
189 189
190 interrupt-controller; 190 interrupt-controller;
191 #interrupt-cells = <2>; 191 #interrupt-cells = <2>;
192 }; 192 };
193 193
194 gpx3: gpx3 { 194 gpx3: gpx3 {
195 gpio-controller; 195 gpio-controller;
196 #gpio-cells = <2>; 196 #gpio-cells = <2>;
197 197
198 interrupt-controller; 198 interrupt-controller;
199 #interrupt-cells = <2>; 199 #interrupt-cells = <2>;
200 }; 200 };
201
202 uart0_data: uart0-data {
203 samsung,pins = "gpa0-0", "gpa0-1";
204 samsung,pin-function = <2>;
205 samsung,pin-pud = <0>;
206 samsung,pin-drv = <0>;
207 };
208
209 uart0_fctl: uart0-fctl {
210 samsung,pins = "gpa0-2", "gpa0-3";
211 samsung,pin-function = <2>;
212 samsung,pin-pud = <0>;
213 samsung,pin-drv = <0>;
214 };
215
216 i2c2_bus: i2c2-bus {
217 samsung,pins = "gpa0-6", "gpa0-7";
218 samsung,pin-function = <3>;
219 samsung,pin-pud = <3>;
220 samsung,pin-drv = <0>;
221 };
222
223 i2c2_hs_bus: i2c2-hs-bus {
224 samsung,pins = "gpa0-6", "gpa0-7";
225 samsung,pin-function = <4>;
226 samsung,pin-pud = <3>;
227 samsung,pin-drv = <0>;
228 };
229
230 uart2_data: uart2-data {
231 samsung,pins = "gpa1-0", "gpa1-1";
232 samsung,pin-function = <2>;
233 samsung,pin-pud = <0>;
234 samsung,pin-drv = <0>;
235 };
236
237 uart2_fctl: uart2-fctl {
238 samsung,pins = "gpa1-2", "gpa1-3";
239 samsung,pin-function = <2>;
240 samsung,pin-pud = <0>;
241 samsung,pin-drv = <0>;
242 };
243
244 i2c3_bus: i2c3-bus {
245 samsung,pins = "gpa1-2", "gpa1-3";
246 samsung,pin-function = <3>;
247 samsung,pin-pud = <3>;
248 samsung,pin-drv = <0>;
249 };
250
251 i2c3_hs_bus: i2c3-hs-bus {
252 samsung,pins = "gpa1-2", "gpa1-3";
253 samsung,pin-function = <4>;
254 samsung,pin-pud = <3>;
255 samsung,pin-drv = <0>;
256 };
257
258 uart3_data: uart3-data {
259 samsung,pins = "gpa1-4", "gpa1-4";
260 samsung,pin-function = <2>;
261 samsung,pin-pud = <0>;
262 samsung,pin-drv = <0>;
263 };
264
265 spi0_bus: spi0-bus {
266 samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3";
267 samsung,pin-function = <2>;
268 samsung,pin-pud = <3>;
269 samsung,pin-drv = <0>;
270 };
271
272 i2c4_bus: i2c4-bus {
273 samsung,pins = "gpa2-0", "gpa2-1";
274 samsung,pin-function = <3>;
275 samsung,pin-pud = <3>;
276 samsung,pin-drv = <0>;
277 };
278
279 i2c5_bus: i2c5-bus {
280 samsung,pins = "gpa2-2", "gpa2-3";
281 samsung,pin-function = <3>;
282 samsung,pin-pud = <3>;
283 samsung,pin-drv = <0>;
284 };
285
286 spi1_bus: spi1-bus {
287 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
288 samsung,pin-function = <2>;
289 samsung,pin-pud = <3>;
290 samsung,pin-drv = <0>;
291 };
292
293 i2s1_bus: i2s1-bus {
294 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
295 "gpb0-4";
296 samsung,pin-function = <2>;
297 samsung,pin-pud = <0>;
298 samsung,pin-drv = <0>;
299 };
300
301 pcm1_bus: pcm1-bus {
302 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
303 "gpb0-4";
304 samsung,pin-function = <3>;
305 samsung,pin-pud = <0>;
306 samsung,pin-drv = <0>;
307 };
308
309 ac97_bus: ac97-bus {
310 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
311 "gpb0-4";
312 samsung,pin-function = <4>;
313 samsung,pin-pud = <0>;
314 samsung,pin-drv = <0>;
315 };
316
317 i2s2_bus: i2s2-bus {
318 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
319 "gpb1-4";
320 samsung,pin-function = <2>;
321 samsung,pin-pud = <0>;
322 samsung,pin-drv = <0>;
323 };
324
325 pcm2_bus: pcm2-bus {
326 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
327 "gpb1-4";
328 samsung,pin-function = <3>;
329 samsung,pin-pud = <0>;
330 samsung,pin-drv = <0>;
331 };
332
333 spdif_bus: spdif-bus {
334 samsung,pins = "gpb1-0", "gpb1-1";
335 samsung,pin-function = <4>;
336 samsung,pin-pud = <0>;
337 samsung,pin-drv = <0>;
338 };
339
340 spi2_bus: spi2-bus {
341 samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4";
342 samsung,pin-function = <5>;
343 samsung,pin-pud = <3>;
344 samsung,pin-drv = <0>;
345 };
346
347 i2c6_bus: i2c6-bus {
348 samsung,pins = "gpb1-3", "gpb1-4";
349 samsung,pin-function = <4>;
350 samsung,pin-pud = <3>;
351 samsung,pin-drv = <0>;
352 };
353
354 i2c7_bus: i2c7-bus {
355 samsung,pins = "gpb2-2", "gpb2-3";
356 samsung,pin-function = <3>;
357 samsung,pin-pud = <3>;
358 samsung,pin-drv = <0>;
359 };
360
361 i2c0_bus: i2c0-bus {
362 samsung,pins = "gpb3-0", "gpb3-1";
363 samsung,pin-function = <2>;
364 samsung,pin-pud = <3>;
365 samsung,pin-drv = <0>;
366 };
367
368 i2c1_bus: i2c1-bus {
369 samsung,pins = "gpb3-2", "gpb3-3";
370 samsung,pin-function = <2>;
371 samsung,pin-pud = <3>;
372 samsung,pin-drv = <0>;
373 };
374
375 i2c0_hs_bus: i2c0-hs-bus {
376 samsung,pins = "gpb3-0", "gpb3-1";
377 samsung,pin-function = <4>;
378 samsung,pin-pud = <3>;
379 samsung,pin-drv = <0>;
380 };
381
382 i2c1_hs_bus: i2c1-hs-bus {
383 samsung,pins = "gpb3-2", "gpb3-3";
384 samsung,pin-function = <4>;
385 samsung,pin-pud = <3>;
386 samsung,pin-drv = <0>;
387 };
388
389 sd0_clk: sd0-clk {
390 samsung,pins = "gpc0-0";
391 samsung,pin-function = <2>;
392 samsung,pin-pud = <0>;
393 samsung,pin-drv = <3>;
394 };
395
396 sd0_cmd: sd0-cmd {
397 samsung,pins = "gpc0-1";
398 samsung,pin-function = <2>;
399 samsung,pin-pud = <0>;
400 samsung,pin-drv = <3>;
401 };
402
403 sd0_cd: sd0-cd {
404 samsung,pins = "gpc0-2";
405 samsung,pin-function = <2>;
406 samsung,pin-pud = <3>;
407 samsung,pin-drv = <3>;
408 };
409
410 sd0_bus1: sd0-bus-width1 {
411 samsung,pins = "gpc0-3";
412 samsung,pin-function = <2>;
413 samsung,pin-pud = <3>;
414 samsung,pin-drv = <3>;
415 };
416
417 sd0_bus4: sd0-bus-width4 {
418 samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5", "gpc0-6";
419 samsung,pin-function = <2>;
420 samsung,pin-pud = <3>;
421 samsung,pin-drv = <3>;
422 };
423
424 sd0_bus8: sd0-bus-width8 {
425 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3";
426 samsung,pin-function = <2>;
427 samsung,pin-pud = <3>;
428 samsung,pin-drv = <3>;
429 };
430
431 sd1_clk: sd1-clk {
432 samsung,pins = "gpc2-0";
433 samsung,pin-function = <2>;
434 samsung,pin-pud = <0>;
435 samsung,pin-drv = <3>;
436 };
437
438 sd1_cmd: sd1-cmd {
439 samsung,pins = "gpc2-1";
440 samsung,pin-function = <2>;
441 samsung,pin-pud = <0>;
442 samsung,pin-drv = <3>;
443 };
444
445 sd1_cd: sd1-cd {
446 samsung,pins = "gpc2-2";
447 samsung,pin-function = <2>;
448 samsung,pin-pud = <3>;
449 samsung,pin-drv = <3>;
450 };
451
452 sd1_bus1: sd1-bus-width1 {
453 samsung,pins = "gpc2-3";
454 samsung,pin-function = <2>;
455 samsung,pin-pud = <3>;
456 samsung,pin-drv = <3>;
457 };
458
459 sd1_bus4: sd1-bus-width4 {
460 samsung,pins = "gpc2-3", "gpc2-4", "gpc2-5", "gpc2-6";
461 samsung,pin-function = <2>;
462 samsung,pin-pud = <3>;
463 samsung,pin-drv = <3>;
464 };
465
466 sd2_clk: sd2-clk {
467 samsung,pins = "gpc3-0";
468 samsung,pin-function = <2>;
469 samsung,pin-pud = <0>;
470 samsung,pin-drv = <3>;
471 };
472
473 sd2_cmd: sd2-cmd {
474 samsung,pins = "gpc3-1";
475 samsung,pin-function = <2>;
476 samsung,pin-pud = <0>;
477 samsung,pin-drv = <3>;
478 };
479
480 sd2_cd: sd2-cd {
481 samsung,pins = "gpc3-2";
482 samsung,pin-function = <2>;
483 samsung,pin-pud = <3>;
484 samsung,pin-drv = <3>;
485 };
486
487 sd2_bus1: sd2-bus-width1 {
488 samsung,pins = "gpc3-3";
489 samsung,pin-function = <2>;
490 samsung,pin-pud = <3>;
491 samsung,pin-drv = <3>;
492 };
493
494 sd2_bus4: sd2-bus-width4 {
495 samsung,pins = "gpc3-3", "gpc3-4", "gpc3-5", "gpc3-6";
496 samsung,pin-function = <2>;
497 samsung,pin-pud = <3>;
498 samsung,pin-drv = <3>;
499 };
500
501 sd2_bus8: sd2-bus-width8 {
502 samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6";
503 samsung,pin-function = <3>;
504 samsung,pin-pud = <3>;
505 samsung,pin-drv = <3>;
506 };
507
508 sd3_clk: sd3-clk {
509 samsung,pins = "gpc4-0";
510 samsung,pin-function = <2>;
511 samsung,pin-pud = <0>;
512 samsung,pin-drv = <3>;
513 };
514
515 sd3_cmd: sd3-cmd {
516 samsung,pins = "gpc4-1";
517 samsung,pin-function = <2>;
518 samsung,pin-pud = <0>;
519 samsung,pin-drv = <3>;
520 };
521
522 sd3_cd: sd3-cd {
523 samsung,pins = "gpc4-2";
524 samsung,pin-function = <2>;
525 samsung,pin-pud = <3>;
526 samsung,pin-drv = <3>;
527 };
528
529 sd3_bus1: sd3-bus-width1 {
530 samsung,pins = "gpc4-3";
531 samsung,pin-function = <2>;
532 samsung,pin-pud = <3>;
533 samsung,pin-drv = <3>;
534 };
535
536 sd3_bus4: sd3-bus-width4 {
537 samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6";
538 samsung,pin-function = <2>;
539 samsung,pin-pud = <3>;
540 samsung,pin-drv = <3>;
541 };
542
543 uart1_data: uart1-data {
544 samsung,pins = "gpd0-0", "gpd0-1";
545 samsung,pin-function = <2>;
546 samsung,pin-pud = <0>;
547 samsung,pin-drv = <0>;
548 };
549
550 uart1_fctl: uart1-fctl {
551 samsung,pins = "gpd0-2", "gpd0-3";
552 samsung,pin-function = <2>;
553 samsung,pin-pud = <0>;
554 samsung,pin-drv = <0>;
555 };
556
557 dp_hpd: dp_hpd {
558 samsung,pins = "gpx0-7";
559 samsung,pin-function = <3>;
560 samsung,pin-pud = <0>;
561 samsung,pin-drv = <0>;
562 };
563 }; 201 };
564 202
565 pinctrl@13400000 { 203 pinctrl@13400000 {
566 gpe0: gpe0 { 204 gpe0: gpe0 {
567 gpio-controller; 205 gpio-controller;
568 #gpio-cells = <2>; 206 #gpio-cells = <2>;
569 207
570 interrupt-controller; 208 interrupt-controller;
571 #interrupt-cells = <2>; 209 #interrupt-cells = <2>;
572 }; 210 };
573 211
574 gpe1: gpe1 { 212 gpe1: gpe1 {
575 gpio-controller; 213 gpio-controller;
576 #gpio-cells = <2>; 214 #gpio-cells = <2>;
577 215
578 interrupt-controller; 216 interrupt-controller;
579 #interrupt-cells = <2>; 217 #interrupt-cells = <2>;
580 }; 218 };
581 219
582 gpf0: gpf0 { 220 gpf0: gpf0 {
583 gpio-controller; 221 gpio-controller;
584 #gpio-cells = <2>; 222 #gpio-cells = <2>;
585 223
586 interrupt-controller; 224 interrupt-controller;
587 #interrupt-cells = <2>; 225 #interrupt-cells = <2>;
588 }; 226 };
589 227
590 gpf1: gpf1 { 228 gpf1: gpf1 {
591 gpio-controller; 229 gpio-controller;
592 #gpio-cells = <2>; 230 #gpio-cells = <2>;
593 231
594 interrupt-controller; 232 interrupt-controller;
595 #interrupt-cells = <2>; 233 #interrupt-cells = <2>;
596 }; 234 };
597 235
598 gpg0: gpg0 { 236 gpg0: gpg0 {
599 gpio-controller; 237 gpio-controller;
600 #gpio-cells = <2>; 238 #gpio-cells = <2>;
601 239
602 interrupt-controller; 240 interrupt-controller;
603 #interrupt-cells = <2>; 241 #interrupt-cells = <2>;
604 }; 242 };
605 243
606 gpg1: gpg1 { 244 gpg1: gpg1 {
607 gpio-controller; 245 gpio-controller;
608 #gpio-cells = <2>; 246 #gpio-cells = <2>;
609 247
610 interrupt-controller; 248 interrupt-controller;
611 #interrupt-cells = <2>; 249 #interrupt-cells = <2>;
612 }; 250 };
613 251
614 gpg2: gpg2 { 252 gpg2: gpg2 {
615 gpio-controller; 253 gpio-controller;
616 #gpio-cells = <2>; 254 #gpio-cells = <2>;
617 255
618 interrupt-controller; 256 interrupt-controller;
619 #interrupt-cells = <2>; 257 #interrupt-cells = <2>;
620 }; 258 };
621 259
622 gph0: gph0 { 260 gph0: gph0 {
623 gpio-controller; 261 gpio-controller;
624 #gpio-cells = <2>; 262 #gpio-cells = <2>;
625 263
626 interrupt-controller; 264 interrupt-controller;
627 #interrupt-cells = <2>; 265 #interrupt-cells = <2>;
628 }; 266 };
629 267
630 gph1: gph1 { 268 gph1: gph1 {
631 gpio-controller; 269 gpio-controller;
632 #gpio-cells = <2>; 270 #gpio-cells = <2>;
633 271
634 interrupt-controller; 272 interrupt-controller;
635 #interrupt-cells = <2>; 273 #interrupt-cells = <2>;
636 }; 274 };
637 275
638 cam_gpio_a: cam-gpio-a {
639 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
640 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
641 "gpe1-0", "gpe1-1";
642 samsung,pin-function = <2>;
643 samsung,pin-pud = <0>;
644 samsung,pin-drv = <0>;
645 };
646
647 cam_gpio_b: cam-gpio-b {
648 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
649 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
650 samsung,pin-function = <3>;
651 samsung,pin-pud = <0>;
652 samsung,pin-drv = <0>;
653 };
654
655 cam_i2c2_bus: cam-i2c2-bus {
656 samsung,pins = "gpe0-6", "gpe1-0";
657 samsung,pin-function = <4>;
658 samsung,pin-pud = <3>;
659 samsung,pin-drv = <0>;
660 };
661
662 cam_spi1_bus: cam-spi1-bus {
663 samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3";
664 samsung,pin-function = <4>;
665 samsung,pin-pud = <0>;
666 samsung,pin-drv = <0>;
667 };
668
669 cam_i2c1_bus: cam-i2c1-bus {
670 samsung,pins = "gpf0-2", "gpf0-3";
671 samsung,pin-function = <2>;
672 samsung,pin-pud = <3>;
673 samsung,pin-drv = <0>;
674 };
675
676 cam_i2c0_bus: cam-i2c0-bus {
677 samsung,pins = "gpf0-0", "gpf0-1";
678 samsung,pin-function = <2>;
679 samsung,pin-pud = <3>;
680 samsung,pin-drv = <0>;
681 };
682
683 cam_spi0_bus: cam-spi0-bus {
684 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
685 samsung,pin-function = <2>;
686 samsung,pin-pud = <0>;
687 samsung,pin-drv = <0>;
688 };
689
690 cam_bayrgb_bus: cam-bayrgb-bus {
691 samsung,pins = "gpg0-0", "gpg0-1", "gpg0-2", "gpg0-3",
692 "gpg0-4", "gpg0-5", "gpg0-6", "gpg0-7",
693 "gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3",
694 "gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7",
695 "gpg2-0", "gpg2-1";
696 samsung,pin-function = <2>;
697 samsung,pin-pud = <0>;
698 samsung,pin-drv = <0>;
699 };
700
701 cam_port_a: cam-port-a {
702 samsung,pins = "gph0-0", "gph0-1", "gph0-2", "gph0-3",
703 "gph1-0", "gph1-1", "gph1-2", "gph1-3",
704 "gph1-4", "gph1-5", "gph1-6", "gph1-7";
705 samsung,pin-function = <2>;
706 samsung,pin-pud = <0>;
707 samsung,pin-drv = <0>;
708 };
709 }; 276 };
710 277
711 pinctrl@10d10000 { 278 pinctrl@10d10000 {
712 gpv0: gpv0 { 279 gpv0: gpv0 {
713 gpio-controller; 280 gpio-controller;
714 #gpio-cells = <2>; 281 #gpio-cells = <2>;
715 282
716 interrupt-controller; 283 interrupt-controller;
717 #interrupt-cells = <2>; 284 #interrupt-cells = <2>;
718 }; 285 };
719 286
720 gpv1: gpv1 { 287 gpv1: gpv1 {
721 gpio-controller; 288 gpio-controller;
722 #gpio-cells = <2>; 289 #gpio-cells = <2>;
723 290
724 interrupt-controller; 291 interrupt-controller;
725 #interrupt-cells = <2>; 292 #interrupt-cells = <2>;
726 }; 293 };
727 294
728 gpv2: gpv2 { 295 gpv2: gpv2 {
729 gpio-controller; 296 gpio-controller;
730 #gpio-cells = <2>; 297 #gpio-cells = <2>;
731 298
732 interrupt-controller; 299 interrupt-controller;
733 #interrupt-cells = <2>; 300 #interrupt-cells = <2>;
734 }; 301 };
735 302
736 gpv3: gpv3 { 303 gpv3: gpv3 {
737 gpio-controller; 304 gpio-controller;
738 #gpio-cells = <2>; 305 #gpio-cells = <2>;
739 306
740 interrupt-controller; 307 interrupt-controller;
741 #interrupt-cells = <2>; 308 #interrupt-cells = <2>;
742 }; 309 };
743 310
744 gpv4: gpv4 { 311 gpv4: gpv4 {
745 gpio-controller; 312 gpio-controller;
746 #gpio-cells = <2>; 313 #gpio-cells = <2>;
747 314
748 interrupt-controller; 315 interrupt-controller;
749 #interrupt-cells = <2>; 316 #interrupt-cells = <2>;
750 }; 317 };
751 318
752 c2c_rxd: c2c-rxd {
753 samsung,pins = "gpv0-0", "gpv0-1", "gpv0-2", "gpv0-3",
754 "gpv0-4", "gpv0-5", "gpv0-6", "gpv0-7",
755 "gpv1-0", "gpv1-1", "gpv1-2", "gpv1-3",
756 "gpv1-4", "gpv1-5", "gpv1-6", "gpv1-7";
757 samsung,pin-function = <2>;
758 samsung,pin-pud = <0>;
759 samsung,pin-drv = <0>;
760 };
761
762 c2c_txd: c2c-txd {
763 samsung,pins = "gpv2-0", "gpv2-1", "gpv2-2", "gpv2-3",
764 "gpv2-4", "gpv2-5", "gpv2-6", "gpv2-7",
765 "gpv3-0", "gpv3-1", "gpv3-2", "gpv3-3",
766 "gpv3-4", "gpv3-5", "gpv3-6", "gpv3-7";
767 samsung,pin-function = <2>;
768 samsung,pin-pud = <0>;
769 samsung,pin-drv = <0>;
770 };
771 }; 319 };
772 320
773 pinctrl@03860000 { 321 pinctrl@03860000 {
774 gpz: gpz { 322 gpz: gpz {
775 gpio-controller; 323 gpio-controller;
776 #gpio-cells = <2>; 324 #gpio-cells = <2>;
777 325
778 interrupt-controller; 326 interrupt-controller;
779 #interrupt-cells = <2>; 327 #interrupt-cells = <2>;
780 }; 328 };
781 329
782 i2s0_bus: i2s0-bus {
783 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
784 "gpz-4", "gpz-5", "gpz-6";
785 samsung,pin-function = <2>;
786 samsung,pin-pud = <0>;
787 samsung,pin-drv = <0>;
788 };
789 }; 330 };
790 }; 331 };
791 332
arch/arm/dts/exynos54xx-pinctrl.dtsi
1 /* 1 /*
2 * Samsung's Exynos5420 SoC pin-mux and pin-config device tree source 2 * Samsung's Exynos5420 SoC pin-mux and pin-config device tree source
3 * 3 *
4 * Copyright (c) 2013 Samsung Electronics Co., Ltd. 4 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com 5 * http://www.samsung.com
6 * 6 *
7 * Samsung's Exynos5420 SoC pin-mux and pin-config options are listed as device 7 * Samsung's Exynos5420 SoC pin-mux and pin-config options are listed as device
8 * tree nodes are listed in this file. 8 * tree nodes are listed in this file.
9 * 9 *
10 * This program is free software; you can redistribute it and/or modify 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 11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation. 12 * published by the Free Software Foundation.
13 */ 13 */
14 14
15 / { 15 / {
16 pinctrl@13400000 { 16 pinctrl@13400000 {
17 gpy7: gpy7 { 17 gpy7: gpy7 {
18 gpio-controller; 18 gpio-controller;
19 #gpio-cells = <2>; 19 #gpio-cells = <2>;
20 20
21 interrupt-controller; 21 interrupt-controller;
22 #interrupt-cells = <2>; 22 #interrupt-cells = <2>;
23 }; 23 };
24 24
25 gpx0: gpx0 { 25 gpx0: gpx0 {
26 gpio-controller; 26 gpio-controller;
27 #gpio-cells = <2>; 27 #gpio-cells = <2>;
28 28
29 interrupt-controller; 29 interrupt-controller;
30 interrupt-parent = <&combiner>; 30 interrupt-parent = <&combiner>;
31 #interrupt-cells = <2>; 31 #interrupt-cells = <2>;
32 interrupts = <23 0>, <24 0>, <25 0>, <25 1>, 32 interrupts = <23 0>, <24 0>, <25 0>, <25 1>,
33 <26 0>, <26 1>, <27 0>, <27 1>; 33 <26 0>, <26 1>, <27 0>, <27 1>;
34 }; 34 };
35 35
36 gpx1: gpx1 { 36 gpx1: gpx1 {
37 gpio-controller; 37 gpio-controller;
38 #gpio-cells = <2>; 38 #gpio-cells = <2>;
39 39
40 interrupt-controller; 40 interrupt-controller;
41 interrupt-parent = <&combiner>; 41 interrupt-parent = <&combiner>;
42 #interrupt-cells = <2>; 42 #interrupt-cells = <2>;
43 interrupts = <28 0>, <28 1>, <29 0>, <29 1>, 43 interrupts = <28 0>, <28 1>, <29 0>, <29 1>,
44 <30 0>, <30 1>, <31 0>, <31 1>; 44 <30 0>, <30 1>, <31 0>, <31 1>;
45 }; 45 };
46 46
47 gpx2: gpx2 { 47 gpx2: gpx2 {
48 gpio-controller; 48 gpio-controller;
49 #gpio-cells = <2>; 49 #gpio-cells = <2>;
50 50
51 interrupt-controller; 51 interrupt-controller;
52 #interrupt-cells = <2>; 52 #interrupt-cells = <2>;
53 }; 53 };
54 54
55 gpx3: gpx3 { 55 gpx3: gpx3 {
56 gpio-controller; 56 gpio-controller;
57 #gpio-cells = <2>; 57 #gpio-cells = <2>;
58 58
59 interrupt-controller; 59 interrupt-controller;
60 #interrupt-cells = <2>; 60 #interrupt-cells = <2>;
61 }; 61 };
62 62
63 dp_hpd: dp_hpd {
64 samsung,pins = "gpx0-7";
65 samsung,pin-function = <3>;
66 samsung,pin-pud = <0>;
67 samsung,pin-drv = <0>;
68 };
69 }; 63 };
70 64
71 pinctrl@13410000 { 65 pinctrl@13410000 {
72 gpc0: gpc0 { 66 gpc0: gpc0 {
73 gpio-controller; 67 gpio-controller;
74 #gpio-cells = <2>; 68 #gpio-cells = <2>;
75 69
76 interrupt-controller; 70 interrupt-controller;
77 #interrupt-cells = <2>; 71 #interrupt-cells = <2>;
78 }; 72 };
79 73
80 gpc1: gpc1 { 74 gpc1: gpc1 {
81 gpio-controller; 75 gpio-controller;
82 #gpio-cells = <2>; 76 #gpio-cells = <2>;
83 77
84 interrupt-controller; 78 interrupt-controller;
85 #interrupt-cells = <2>; 79 #interrupt-cells = <2>;
86 }; 80 };
87 81
88 gpc2: gpc2 { 82 gpc2: gpc2 {
89 gpio-controller; 83 gpio-controller;
90 #gpio-cells = <2>; 84 #gpio-cells = <2>;
91 85
92 interrupt-controller; 86 interrupt-controller;
93 #interrupt-cells = <2>; 87 #interrupt-cells = <2>;
94 }; 88 };
95 89
96 gpc3: gpc3 { 90 gpc3: gpc3 {
97 gpio-controller; 91 gpio-controller;
98 #gpio-cells = <2>; 92 #gpio-cells = <2>;
99 93
100 interrupt-controller; 94 interrupt-controller;
101 #interrupt-cells = <2>; 95 #interrupt-cells = <2>;
102 }; 96 };
103 97
104 gpc4: gpc4 { 98 gpc4: gpc4 {
105 gpio-controller; 99 gpio-controller;
106 #gpio-cells = <2>; 100 #gpio-cells = <2>;
107 101
108 interrupt-controller; 102 interrupt-controller;
109 #interrupt-cells = <2>; 103 #interrupt-cells = <2>;
110 }; 104 };
111 105
112 gpd1: gpd1 { 106 gpd1: gpd1 {
113 gpio-controller; 107 gpio-controller;
114 #gpio-cells = <2>; 108 #gpio-cells = <2>;
115 109
116 interrupt-controller; 110 interrupt-controller;
117 #interrupt-cells = <2>; 111 #interrupt-cells = <2>;
118 }; 112 };
119 113
120 gpy0: gpy0 { 114 gpy0: gpy0 {
121 gpio-controller; 115 gpio-controller;
122 #gpio-cells = <2>; 116 #gpio-cells = <2>;
123 }; 117 };
124 118
125 gpy1: gpy1 { 119 gpy1: gpy1 {
126 gpio-controller; 120 gpio-controller;
127 #gpio-cells = <2>; 121 #gpio-cells = <2>;
128 }; 122 };
129 123
130 gpy2: gpy2 { 124 gpy2: gpy2 {
131 gpio-controller; 125 gpio-controller;
132 #gpio-cells = <2>; 126 #gpio-cells = <2>;
133 }; 127 };
134 128
135 gpy3: gpy3 { 129 gpy3: gpy3 {
136 gpio-controller; 130 gpio-controller;
137 #gpio-cells = <2>; 131 #gpio-cells = <2>;
138 }; 132 };
139 133
140 gpy4: gpy4 { 134 gpy4: gpy4 {
141 gpio-controller; 135 gpio-controller;
142 #gpio-cells = <2>; 136 #gpio-cells = <2>;
143 }; 137 };
144 138
145 gpy5: gpy5 { 139 gpy5: gpy5 {
146 gpio-controller; 140 gpio-controller;
147 #gpio-cells = <2>; 141 #gpio-cells = <2>;
148 }; 142 };
149 143
150 gpy6: gpy6 { 144 gpy6: gpy6 {
151 gpio-controller; 145 gpio-controller;
152 #gpio-cells = <2>; 146 #gpio-cells = <2>;
153 }; 147 };
154 148
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 }; 149 };
281 150
282 pinctrl@14000000 { 151 pinctrl@14000000 {
283 gpe0: gpe0 { 152 gpe0: gpe0 {
284 gpio-controller; 153 gpio-controller;
285 #gpio-cells = <2>; 154 #gpio-cells = <2>;
286 155
287 interrupt-controller; 156 interrupt-controller;
288 #interrupt-cells = <2>; 157 #interrupt-cells = <2>;
289 }; 158 };
290 159
291 gpe1: gpe1 { 160 gpe1: gpe1 {
292 gpio-controller; 161 gpio-controller;
293 #gpio-cells = <2>; 162 #gpio-cells = <2>;
294 163
295 interrupt-controller; 164 interrupt-controller;
296 #interrupt-cells = <2>; 165 #interrupt-cells = <2>;
297 }; 166 };
298 167
299 gpf0: gpf0 { 168 gpf0: gpf0 {
300 gpio-controller; 169 gpio-controller;
301 #gpio-cells = <2>; 170 #gpio-cells = <2>;
302 171
303 interrupt-controller; 172 interrupt-controller;
304 #interrupt-cells = <2>; 173 #interrupt-cells = <2>;
305 }; 174 };
306 175
307 gpf1: gpf1 { 176 gpf1: gpf1 {
308 gpio-controller; 177 gpio-controller;
309 #gpio-cells = <2>; 178 #gpio-cells = <2>;
310 179
311 interrupt-controller; 180 interrupt-controller;
312 #interrupt-cells = <2>; 181 #interrupt-cells = <2>;
313 }; 182 };
314 183
315 gpg0: gpg0 { 184 gpg0: gpg0 {
316 gpio-controller; 185 gpio-controller;
317 #gpio-cells = <2>; 186 #gpio-cells = <2>;
318 187
319 interrupt-controller; 188 interrupt-controller;
320 #interrupt-cells = <2>; 189 #interrupt-cells = <2>;
321 }; 190 };
322 191
323 gpg1: gpg1 { 192 gpg1: gpg1 {
324 gpio-controller; 193 gpio-controller;
325 #gpio-cells = <2>; 194 #gpio-cells = <2>;
326 195
327 interrupt-controller; 196 interrupt-controller;
328 #interrupt-cells = <2>; 197 #interrupt-cells = <2>;
329 }; 198 };
330 199
331 gpg2: gpg2 { 200 gpg2: gpg2 {
332 gpio-controller; 201 gpio-controller;
333 #gpio-cells = <2>; 202 #gpio-cells = <2>;
334 203
335 interrupt-controller; 204 interrupt-controller;
336 #interrupt-cells = <2>; 205 #interrupt-cells = <2>;
337 }; 206 };
338 207
339 gpj4: gpj4 { 208 gpj4: gpj4 {
340 gpio-controller; 209 gpio-controller;
341 #gpio-cells = <2>; 210 #gpio-cells = <2>;
342 211
343 interrupt-controller; 212 interrupt-controller;
344 #interrupt-cells = <2>; 213 #interrupt-cells = <2>;
345 }; 214 };
346 215
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 }; 216 };
409 217
410 pinctrl@14010000 { 218 pinctrl@14010000 {
411 gpa0: gpa0 { 219 gpa0: gpa0 {
412 gpio-controller; 220 gpio-controller;
413 #gpio-cells = <2>; 221 #gpio-cells = <2>;
414 222
415 interrupt-controller; 223 interrupt-controller;
416 #interrupt-cells = <2>; 224 #interrupt-cells = <2>;
417 }; 225 };
418 226
419 gpa1: gpa1 { 227 gpa1: gpa1 {
420 gpio-controller; 228 gpio-controller;
421 #gpio-cells = <2>; 229 #gpio-cells = <2>;
422 230
423 interrupt-controller; 231 interrupt-controller;
424 #interrupt-cells = <2>; 232 #interrupt-cells = <2>;
425 }; 233 };
426 234
427 gpa2: gpa2 { 235 gpa2: gpa2 {
428 gpio-controller; 236 gpio-controller;
429 #gpio-cells = <2>; 237 #gpio-cells = <2>;
430 238
431 interrupt-controller; 239 interrupt-controller;
432 #interrupt-cells = <2>; 240 #interrupt-cells = <2>;
433 }; 241 };
434 242
435 gpb0: gpb0 { 243 gpb0: gpb0 {
436 gpio-controller; 244 gpio-controller;
437 #gpio-cells = <2>; 245 #gpio-cells = <2>;
438 246
439 interrupt-controller; 247 interrupt-controller;
440 #interrupt-cells = <2>; 248 #interrupt-cells = <2>;
441 }; 249 };
442 250
443 gpb1: gpb1 { 251 gpb1: gpb1 {
444 gpio-controller; 252 gpio-controller;
445 #gpio-cells = <2>; 253 #gpio-cells = <2>;
446 254
447 interrupt-controller; 255 interrupt-controller;
448 #interrupt-cells = <2>; 256 #interrupt-cells = <2>;
449 }; 257 };
450 258
451 gpb2: gpb2 { 259 gpb2: gpb2 {
452 gpio-controller; 260 gpio-controller;
453 #gpio-cells = <2>; 261 #gpio-cells = <2>;
454 262
455 interrupt-controller; 263 interrupt-controller;
456 #interrupt-cells = <2>; 264 #interrupt-cells = <2>;
457 }; 265 };
458 266
459 gpb3: gpb3 { 267 gpb3: gpb3 {
460 gpio-controller; 268 gpio-controller;
461 #gpio-cells = <2>; 269 #gpio-cells = <2>;
462 270
463 interrupt-controller; 271 interrupt-controller;
464 #interrupt-cells = <2>; 272 #interrupt-cells = <2>;
465 }; 273 };
466 274
467 gpb4: gpb4 { 275 gpb4: gpb4 {
468 gpio-controller; 276 gpio-controller;
469 #gpio-cells = <2>; 277 #gpio-cells = <2>;
470 278
471 interrupt-controller; 279 interrupt-controller;
472 #interrupt-cells = <2>; 280 #interrupt-cells = <2>;
473 }; 281 };
474 282
475 gph0: gph0 { 283 gph0: gph0 {
476 gpio-controller; 284 gpio-controller;
477 #gpio-cells = <2>; 285 #gpio-cells = <2>;
478 286
479 interrupt-controller; 287 interrupt-controller;
480 #interrupt-cells = <2>; 288 #interrupt-cells = <2>;
481 }; 289 };
482 290
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 }; 291 };
669 292
670 pinctrl@03860000 { 293 pinctrl@03860000 {
671 gpz: gpz { 294 gpz: gpz {
672 gpio-controller; 295 gpio-controller;
673 #gpio-cells = <2>; 296 #gpio-cells = <2>;
674 297
675 interrupt-controller; 298 interrupt-controller;
676 #interrupt-cells = <2>; 299 #interrupt-cells = <2>;
677 }; 300 };
678 301
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 }; 302 };
687 }; 303 };
688 304