blob: 3924b4fafe727189c9dea017a0607bb32b264d44 [file] [log] [blame]
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +09001/*
2 * Samsung's Exynos5420 SoC pin-mux and pin-config device tree source
3 *
4 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * Samsung's Exynos5420 SoC pin-mux and pin-config options are listed as device
8 * tree nodes are listed in this file.
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13*/
14
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +020015#include <dt-bindings/pinctrl/samsung.h>
16
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070017&pinctrl_0 {
18 gpy7: gpy7 {
19 gpio-controller;
20 #gpio-cells = <2>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090021
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070022 interrupt-controller;
23 #interrupt-cells = <2>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090024 };
25
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070026 gpx0: gpx0 {
27 gpio-controller;
28 #gpio-cells = <2>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090029
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070030 interrupt-controller;
31 interrupt-parent = <&combiner>;
32 #interrupt-cells = <2>;
33 interrupts = <23 0>, <24 0>, <25 0>, <25 1>,
34 <26 0>, <26 1>, <27 0>, <27 1>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090035 };
36
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070037 gpx1: gpx1 {
38 gpio-controller;
39 #gpio-cells = <2>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090040
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070041 interrupt-controller;
42 interrupt-parent = <&combiner>;
43 #interrupt-cells = <2>;
44 interrupts = <28 0>, <28 1>, <29 0>, <29 1>,
45 <30 0>, <30 1>, <31 0>, <31 1>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090046 };
47
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070048 gpx2: gpx2 {
49 gpio-controller;
50 #gpio-cells = <2>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090051
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070052 interrupt-controller;
53 #interrupt-cells = <2>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090054 };
55
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070056 gpx3: gpx3 {
57 gpio-controller;
58 #gpio-cells = <2>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090059
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070060 interrupt-controller;
61 #interrupt-cells = <2>;
62 };
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090063
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070064 dp_hpd: dp_hpd {
65 samsung,pins = "gpx0-7";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +020066 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
67 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
68 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070069 };
70};
71
72&pinctrl_1 {
73 gpc0: gpc0 {
74 gpio-controller;
75 #gpio-cells = <2>;
76
77 interrupt-controller;
78 #interrupt-cells = <2>;
79 };
80
81 gpc1: gpc1 {
82 gpio-controller;
83 #gpio-cells = <2>;
84
85 interrupt-controller;
86 #interrupt-cells = <2>;
87 };
88
89 gpc2: gpc2 {
90 gpio-controller;
91 #gpio-cells = <2>;
92
93 interrupt-controller;
94 #interrupt-cells = <2>;
95 };
96
97 gpc3: gpc3 {
98 gpio-controller;
99 #gpio-cells = <2>;
100
101 interrupt-controller;
102 #interrupt-cells = <2>;
103 };
104
105 gpc4: gpc4 {
106 gpio-controller;
107 #gpio-cells = <2>;
108
109 interrupt-controller;
110 #interrupt-cells = <2>;
111 };
112
113 gpd1: gpd1 {
114 gpio-controller;
115 #gpio-cells = <2>;
116
117 interrupt-controller;
118 #interrupt-cells = <2>;
119 };
120
121 gpy0: gpy0 {
122 gpio-controller;
123 #gpio-cells = <2>;
124 };
125
126 gpy1: gpy1 {
127 gpio-controller;
128 #gpio-cells = <2>;
129 };
130
131 gpy2: gpy2 {
132 gpio-controller;
133 #gpio-cells = <2>;
134 };
135
136 gpy3: gpy3 {
137 gpio-controller;
138 #gpio-cells = <2>;
139 };
140
141 gpy4: gpy4 {
142 gpio-controller;
143 #gpio-cells = <2>;
144 };
145
146 gpy5: gpy5 {
147 gpio-controller;
148 #gpio-cells = <2>;
149 };
150
151 gpy6: gpy6 {
152 gpio-controller;
153 #gpio-cells = <2>;
154 };
155
156 sd0_clk: sd0-clk {
157 samsung,pins = "gpc0-0";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200158 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
159 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
160 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700161 };
162
163 sd0_cmd: sd0-cmd {
164 samsung,pins = "gpc0-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200165 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
166 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
167 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700168 };
169
170 sd0_cd: sd0-cd {
171 samsung,pins = "gpc0-2";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200172 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
173 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
174 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700175 };
176
177 sd0_bus1: sd0-bus-width1 {
178 samsung,pins = "gpc0-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200179 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
180 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
181 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700182 };
183
184 sd0_bus4: sd0-bus-width4 {
185 samsung,pins = "gpc0-4", "gpc0-5", "gpc0-6";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200186 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
187 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
188 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700189 };
190
191 sd0_bus8: sd0-bus-width8 {
192 samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200193 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
194 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
195 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700196 };
197
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700198 sd0_rclk: sd0-rclk {
199 samsung,pins = "gpc0-7";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200200 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
201 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
202 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700203 };
204
Krzysztof Kozlowskib9848502016-05-03 13:55:46 +0200205 sd1_clk: sd1-clk {
206 samsung,pins = "gpc1-0";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200207 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
208 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
209 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Krzysztof Kozlowskib9848502016-05-03 13:55:46 +0200210 };
211
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700212 sd1_cmd: sd1-cmd {
213 samsung,pins = "gpc1-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200214 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
215 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
216 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700217 };
218
219 sd1_cd: sd1-cd {
220 samsung,pins = "gpc1-2";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200221 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
222 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
223 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700224 };
225
226 sd1_int: sd1-int {
227 samsung,pins = "gpd1-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200228 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
229 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
230 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700231 };
232
233 sd1_bus1: sd1-bus-width1 {
234 samsung,pins = "gpc1-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200235 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
236 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
237 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700238 };
239
240 sd1_bus4: sd1-bus-width4 {
241 samsung,pins = "gpc1-4", "gpc1-5", "gpc1-6";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200242 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
243 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
244 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700245 };
246
247 sd1_bus8: sd1-bus-width8 {
248 samsung,pins = "gpd1-4", "gpd1-5", "gpd1-6", "gpd1-7";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200249 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
250 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
251 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700252 };
253
254 sd2_clk: sd2-clk {
255 samsung,pins = "gpc2-0";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200256 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
257 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
258 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700259 };
260
261 sd2_cmd: sd2-cmd {
262 samsung,pins = "gpc2-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200263 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
264 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
265 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700266 };
267
268 sd2_cd: sd2-cd {
269 samsung,pins = "gpc2-2";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200270 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
271 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
272 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700273 };
274
275 sd2_bus1: sd2-bus-width1 {
276 samsung,pins = "gpc2-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200277 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
278 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
279 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700280 };
281
282 sd2_bus4: sd2-bus-width4 {
283 samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200284 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
285 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
286 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700287 };
288};
289
290&pinctrl_2 {
291 gpe0: gpe0 {
292 gpio-controller;
293 #gpio-cells = <2>;
294
295 interrupt-controller;
296 #interrupt-cells = <2>;
297 };
298
299 gpe1: gpe1 {
300 gpio-controller;
301 #gpio-cells = <2>;
302
303 interrupt-controller;
304 #interrupt-cells = <2>;
305 };
306
307 gpf0: gpf0 {
308 gpio-controller;
309 #gpio-cells = <2>;
310
311 interrupt-controller;
312 #interrupt-cells = <2>;
313 };
314
315 gpf1: gpf1 {
316 gpio-controller;
317 #gpio-cells = <2>;
318
319 interrupt-controller;
320 #interrupt-cells = <2>;
321 };
322
323 gpg0: gpg0 {
324 gpio-controller;
325 #gpio-cells = <2>;
326
327 interrupt-controller;
328 #interrupt-cells = <2>;
329 };
330
331 gpg1: gpg1 {
332 gpio-controller;
333 #gpio-cells = <2>;
334
335 interrupt-controller;
336 #interrupt-cells = <2>;
337 };
338
339 gpg2: gpg2 {
340 gpio-controller;
341 #gpio-cells = <2>;
342
343 interrupt-controller;
344 #interrupt-cells = <2>;
345 };
346
347 gpj4: gpj4 {
348 gpio-controller;
349 #gpio-cells = <2>;
350
351 interrupt-controller;
352 #interrupt-cells = <2>;
353 };
354
355 cam_gpio_a: cam-gpio-a {
356 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
357 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
358 "gpe1-0", "gpe1-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200359 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
360 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
361 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700362 };
363
364 cam_gpio_b: cam-gpio-b {
365 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
366 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200367 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
368 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
369 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700370 };
371
372 cam_i2c2_bus: cam-i2c2-bus {
373 samsung,pins = "gpf0-4", "gpf0-5";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200374 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
375 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
376 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700377 };
378
379 cam_spi1_bus: cam-spi1-bus {
380 samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200381 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
382 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
383 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700384 };
385
386 cam_i2c1_bus: cam-i2c1-bus {
387 samsung,pins = "gpf0-2", "gpf0-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200388 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
389 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
390 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700391 };
392
393 cam_i2c0_bus: cam-i2c0-bus {
394 samsung,pins = "gpf0-0", "gpf0-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200395 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
396 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
397 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700398 };
399
400 cam_spi0_bus: cam-spi0-bus {
401 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200402 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
403 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
404 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700405 };
406
407 cam_bayrgb_bus: cam-bayrgb-bus {
408 samsung,pins = "gpg0-0", "gpg0-1", "gpg0-2", "gpg0-3",
409 "gpg0-4", "gpg0-5", "gpg0-6", "gpg0-7",
410 "gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3",
411 "gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7",
412 "gpg2-0";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200413 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
414 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
415 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700416 };
417};
418
419&pinctrl_3 {
420 gpa0: gpa0 {
421 gpio-controller;
422 #gpio-cells = <2>;
423
424 interrupt-controller;
425 #interrupt-cells = <2>;
426 };
427
428 gpa1: gpa1 {
429 gpio-controller;
430 #gpio-cells = <2>;
431
432 interrupt-controller;
433 #interrupt-cells = <2>;
434 };
435
436 gpa2: gpa2 {
437 gpio-controller;
438 #gpio-cells = <2>;
439
440 interrupt-controller;
441 #interrupt-cells = <2>;
442 };
443
444 gpb0: gpb0 {
445 gpio-controller;
446 #gpio-cells = <2>;
447
448 interrupt-controller;
449 #interrupt-cells = <2>;
450 };
451
452 gpb1: gpb1 {
453 gpio-controller;
454 #gpio-cells = <2>;
455
456 interrupt-controller;
457 #interrupt-cells = <2>;
458 };
459
460 gpb2: gpb2 {
461 gpio-controller;
462 #gpio-cells = <2>;
463
464 interrupt-controller;
465 #interrupt-cells = <2>;
466 };
467
468 gpb3: gpb3 {
469 gpio-controller;
470 #gpio-cells = <2>;
471
472 interrupt-controller;
473 #interrupt-cells = <2>;
474 };
475
476 gpb4: gpb4 {
477 gpio-controller;
478 #gpio-cells = <2>;
479
480 interrupt-controller;
481 #interrupt-cells = <2>;
482 };
483
484 gph0: gph0 {
485 gpio-controller;
486 #gpio-cells = <2>;
487
488 interrupt-controller;
489 #interrupt-cells = <2>;
490 };
491
492 uart0_data: uart0-data {
493 samsung,pins = "gpa0-0", "gpa0-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200494 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
495 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
496 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700497 };
498
499 uart0_fctl: uart0-fctl {
500 samsung,pins = "gpa0-2", "gpa0-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200501 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
502 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
503 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700504 };
505
506 uart1_data: uart1-data {
507 samsung,pins = "gpa0-4", "gpa0-5";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200508 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
509 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
510 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700511 };
512
513 uart1_fctl: uart1-fctl {
514 samsung,pins = "gpa0-6", "gpa0-7";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200515 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
516 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
517 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700518 };
519
520 i2c2_bus: i2c2-bus {
521 samsung,pins = "gpa0-6", "gpa0-7";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200522 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
523 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
524 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700525 };
526
527 uart2_data: uart2-data {
528 samsung,pins = "gpa1-0", "gpa1-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200529 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
530 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
531 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700532 };
533
534 uart2_fctl: uart2-fctl {
535 samsung,pins = "gpa1-2", "gpa1-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200536 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
537 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
538 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700539 };
540
541 i2c3_bus: i2c3-bus {
542 samsung,pins = "gpa1-2", "gpa1-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200543 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
544 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
545 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700546 };
547
548 uart3_data: uart3-data {
549 samsung,pins = "gpa1-4", "gpa1-5";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200550 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
551 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
552 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700553 };
554
555 spi0_bus: spi0-bus {
556 samsung,pins = "gpa2-0", "gpa2-1", "gpa2-2", "gpa2-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200557 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
558 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
559 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700560 };
561
562 spi1_bus: spi1-bus {
563 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200564 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
565 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
566 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700567 };
568
569 i2c4_hs_bus: i2c4-hs-bus {
570 samsung,pins = "gpa2-0", "gpa2-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200571 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
572 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
573 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700574 };
575
576 i2c5_hs_bus: i2c5-hs-bus {
577 samsung,pins = "gpa2-2", "gpa2-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200578 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
579 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
580 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700581 };
582
583 i2s1_bus: i2s1-bus {
584 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
585 "gpb0-4";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200586 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
587 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
588 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700589 };
590
591 pcm1_bus: pcm1-bus {
592 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
593 "gpb0-4";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200594 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
595 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
596 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700597 };
598
599 i2s2_bus: i2s2-bus {
600 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
601 "gpb1-4";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200602 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
603 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
604 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700605 };
606
607 pcm2_bus: pcm2-bus {
608 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
609 "gpb1-4";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200610 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
611 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
612 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700613 };
614
615 spdif_bus: spdif-bus {
616 samsung,pins = "gpb1-0", "gpb1-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200617 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
618 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
619 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700620 };
621
622 spi2_bus: spi2-bus {
623 samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200624 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
625 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
626 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700627 };
628
629 i2c6_hs_bus: i2c6-hs-bus {
630 samsung,pins = "gpb1-3", "gpb1-4";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200631 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
632 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
633 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700634 };
635
636 pwm0_out: pwm0-out {
637 samsung,pins = "gpb2-0";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200638 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
639 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
640 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700641 };
642
643 pwm1_out: pwm1-out {
644 samsung,pins = "gpb2-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200645 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
646 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
647 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700648 };
649
650 pwm2_out: pwm2-out {
651 samsung,pins = "gpb2-2";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200652 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
653 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
654 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700655 };
656
657 pwm3_out: pwm3-out {
658 samsung,pins = "gpb2-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200659 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
660 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
661 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700662 };
663
664 i2c7_hs_bus: i2c7-hs-bus {
665 samsung,pins = "gpb2-2", "gpb2-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200666 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
667 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
668 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700669 };
670
671 i2c0_bus: i2c0-bus {
672 samsung,pins = "gpb3-0", "gpb3-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200673 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
674 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
675 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700676 };
677
678 i2c1_bus: i2c1-bus {
679 samsung,pins = "gpb3-2", "gpb3-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200680 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
681 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
682 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700683 };
684
685 i2c8_hs_bus: i2c8-hs-bus {
686 samsung,pins = "gpb3-4", "gpb3-5";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200687 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
688 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
689 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700690 };
691
692 i2c9_hs_bus: i2c9-hs-bus {
693 samsung,pins = "gpb3-6", "gpb3-7";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200694 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
695 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
696 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700697 };
698
699 i2c10_hs_bus: i2c10-hs-bus {
700 samsung,pins = "gpb4-0", "gpb4-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200701 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
702 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
703 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700704 };
705};
706
707&pinctrl_4 {
708 gpz: gpz {
709 gpio-controller;
710 #gpio-cells = <2>;
711
712 interrupt-controller;
713 #interrupt-cells = <2>;
714 };
715
716 i2s0_bus: i2s0-bus {
717 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
718 "gpz-4", "gpz-5", "gpz-6";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200719 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
720 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
721 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +0900722 };
723};