blob: dda8ca2d2324532727f626f202f2cdbf896c303c [file] [log] [blame]
Krzysztof Kozlowskicc4637f2017-12-25 11:40:09 +01001// SPDX-License-Identifier: GPL-2.0
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +09002/*
3 * Samsung's Exynos5420 SoC pin-mux and pin-config device tree source
4 *
5 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
7 *
8 * Samsung's Exynos5420 SoC pin-mux and pin-config options are listed as device
9 * tree nodes are listed in this file.
Krzysztof Kozlowskicc4637f2017-12-25 11:40:09 +010010 */
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090011
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +020012#include <dt-bindings/pinctrl/samsung.h>
13
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070014&pinctrl_0 {
15 gpy7: gpy7 {
16 gpio-controller;
17 #gpio-cells = <2>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090018
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070019 interrupt-controller;
20 #interrupt-cells = <2>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090021 };
22
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070023 gpx0: gpx0 {
24 gpio-controller;
25 #gpio-cells = <2>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090026
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070027 interrupt-controller;
28 interrupt-parent = <&combiner>;
29 #interrupt-cells = <2>;
30 interrupts = <23 0>, <24 0>, <25 0>, <25 1>,
31 <26 0>, <26 1>, <27 0>, <27 1>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090032 };
33
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070034 gpx1: gpx1 {
35 gpio-controller;
36 #gpio-cells = <2>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090037
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070038 interrupt-controller;
39 interrupt-parent = <&combiner>;
40 #interrupt-cells = <2>;
41 interrupts = <28 0>, <28 1>, <29 0>, <29 1>,
42 <30 0>, <30 1>, <31 0>, <31 1>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090043 };
44
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070045 gpx2: gpx2 {
46 gpio-controller;
47 #gpio-cells = <2>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090048
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070049 interrupt-controller;
50 #interrupt-cells = <2>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090051 };
52
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070053 gpx3: gpx3 {
54 gpio-controller;
55 #gpio-cells = <2>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090056
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070057 interrupt-controller;
58 #interrupt-cells = <2>;
59 };
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +090060
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070061 dp_hpd: dp_hpd {
62 samsung,pins = "gpx0-7";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +020063 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
64 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
65 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070066 };
Marek Szyprowski5343b152017-05-31 13:00:17 +020067
68 hdmi_cec: hdmi-cec {
69 samsung,pins = "gpx3-6";
70 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
71 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
72 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
73 };
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -070074};
75
76&pinctrl_1 {
77 gpc0: gpc0 {
78 gpio-controller;
79 #gpio-cells = <2>;
80
81 interrupt-controller;
82 #interrupt-cells = <2>;
83 };
84
85 gpc1: gpc1 {
86 gpio-controller;
87 #gpio-cells = <2>;
88
89 interrupt-controller;
90 #interrupt-cells = <2>;
91 };
92
93 gpc2: gpc2 {
94 gpio-controller;
95 #gpio-cells = <2>;
96
97 interrupt-controller;
98 #interrupt-cells = <2>;
99 };
100
101 gpc3: gpc3 {
102 gpio-controller;
103 #gpio-cells = <2>;
104
105 interrupt-controller;
106 #interrupt-cells = <2>;
107 };
108
109 gpc4: gpc4 {
110 gpio-controller;
111 #gpio-cells = <2>;
112
113 interrupt-controller;
114 #interrupt-cells = <2>;
115 };
116
117 gpd1: gpd1 {
118 gpio-controller;
119 #gpio-cells = <2>;
120
121 interrupt-controller;
122 #interrupt-cells = <2>;
123 };
124
125 gpy0: gpy0 {
126 gpio-controller;
127 #gpio-cells = <2>;
128 };
129
130 gpy1: gpy1 {
131 gpio-controller;
132 #gpio-cells = <2>;
133 };
134
135 gpy2: gpy2 {
136 gpio-controller;
137 #gpio-cells = <2>;
138 };
139
140 gpy3: gpy3 {
141 gpio-controller;
142 #gpio-cells = <2>;
143 };
144
145 gpy4: gpy4 {
146 gpio-controller;
147 #gpio-cells = <2>;
148 };
149
150 gpy5: gpy5 {
151 gpio-controller;
152 #gpio-cells = <2>;
153 };
154
155 gpy6: gpy6 {
156 gpio-controller;
157 #gpio-cells = <2>;
158 };
159
160 sd0_clk: sd0-clk {
161 samsung,pins = "gpc0-0";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200162 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
163 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
164 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700165 };
166
167 sd0_cmd: sd0-cmd {
168 samsung,pins = "gpc0-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200169 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
170 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
171 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700172 };
173
174 sd0_cd: sd0-cd {
175 samsung,pins = "gpc0-2";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200176 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
177 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
178 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700179 };
180
181 sd0_bus1: sd0-bus-width1 {
182 samsung,pins = "gpc0-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200183 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
184 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
185 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700186 };
187
188 sd0_bus4: sd0-bus-width4 {
189 samsung,pins = "gpc0-4", "gpc0-5", "gpc0-6";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200190 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
191 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
192 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700193 };
194
195 sd0_bus8: sd0-bus-width8 {
196 samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200197 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
198 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
199 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700200 };
201
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700202 sd0_rclk: sd0-rclk {
203 samsung,pins = "gpc0-7";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200204 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
205 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
206 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700207 };
208
Krzysztof Kozlowskib9848502016-05-03 13:55:46 +0200209 sd1_clk: sd1-clk {
210 samsung,pins = "gpc1-0";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200211 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
212 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
213 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Krzysztof Kozlowskib9848502016-05-03 13:55:46 +0200214 };
215
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700216 sd1_cmd: sd1-cmd {
217 samsung,pins = "gpc1-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200218 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
219 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
220 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700221 };
222
223 sd1_cd: sd1-cd {
224 samsung,pins = "gpc1-2";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200225 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
226 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
227 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700228 };
229
230 sd1_int: sd1-int {
231 samsung,pins = "gpd1-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200232 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
233 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
234 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700235 };
236
237 sd1_bus1: sd1-bus-width1 {
238 samsung,pins = "gpc1-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200239 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
240 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
241 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700242 };
243
244 sd1_bus4: sd1-bus-width4 {
245 samsung,pins = "gpc1-4", "gpc1-5", "gpc1-6";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200246 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
247 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
248 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700249 };
250
251 sd1_bus8: sd1-bus-width8 {
252 samsung,pins = "gpd1-4", "gpd1-5", "gpd1-6", "gpd1-7";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200253 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
254 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
255 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700256 };
257
258 sd2_clk: sd2-clk {
259 samsung,pins = "gpc2-0";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200260 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
261 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
262 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700263 };
264
265 sd2_cmd: sd2-cmd {
266 samsung,pins = "gpc2-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200267 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
268 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
269 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700270 };
271
272 sd2_cd: sd2-cd {
273 samsung,pins = "gpc2-2";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200274 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
275 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
276 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700277 };
278
279 sd2_bus1: sd2-bus-width1 {
280 samsung,pins = "gpc2-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200281 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
282 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
283 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700284 };
285
286 sd2_bus4: sd2-bus-width4 {
287 samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200288 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
289 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
290 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700291 };
292};
293
294&pinctrl_2 {
295 gpe0: gpe0 {
296 gpio-controller;
297 #gpio-cells = <2>;
298
299 interrupt-controller;
300 #interrupt-cells = <2>;
301 };
302
303 gpe1: gpe1 {
304 gpio-controller;
305 #gpio-cells = <2>;
306
307 interrupt-controller;
308 #interrupt-cells = <2>;
309 };
310
311 gpf0: gpf0 {
312 gpio-controller;
313 #gpio-cells = <2>;
314
315 interrupt-controller;
316 #interrupt-cells = <2>;
317 };
318
319 gpf1: gpf1 {
320 gpio-controller;
321 #gpio-cells = <2>;
322
323 interrupt-controller;
324 #interrupt-cells = <2>;
325 };
326
327 gpg0: gpg0 {
328 gpio-controller;
329 #gpio-cells = <2>;
330
331 interrupt-controller;
332 #interrupt-cells = <2>;
333 };
334
335 gpg1: gpg1 {
336 gpio-controller;
337 #gpio-cells = <2>;
338
339 interrupt-controller;
340 #interrupt-cells = <2>;
341 };
342
343 gpg2: gpg2 {
344 gpio-controller;
345 #gpio-cells = <2>;
346
347 interrupt-controller;
348 #interrupt-cells = <2>;
349 };
350
351 gpj4: gpj4 {
352 gpio-controller;
353 #gpio-cells = <2>;
354
355 interrupt-controller;
356 #interrupt-cells = <2>;
357 };
358
359 cam_gpio_a: cam-gpio-a {
360 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
361 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
362 "gpe1-0", "gpe1-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200363 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
364 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
365 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700366 };
367
368 cam_gpio_b: cam-gpio-b {
369 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
370 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200371 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
372 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
373 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700374 };
375
376 cam_i2c2_bus: cam-i2c2-bus {
377 samsung,pins = "gpf0-4", "gpf0-5";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200378 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
379 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
380 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700381 };
382
383 cam_spi1_bus: cam-spi1-bus {
384 samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200385 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
386 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
387 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700388 };
389
390 cam_i2c1_bus: cam-i2c1-bus {
391 samsung,pins = "gpf0-2", "gpf0-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200392 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
393 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
394 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700395 };
396
397 cam_i2c0_bus: cam-i2c0-bus {
398 samsung,pins = "gpf0-0", "gpf0-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200399 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
400 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
401 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700402 };
403
404 cam_spi0_bus: cam-spi0-bus {
405 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200406 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
407 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
408 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700409 };
410
411 cam_bayrgb_bus: cam-bayrgb-bus {
412 samsung,pins = "gpg0-0", "gpg0-1", "gpg0-2", "gpg0-3",
413 "gpg0-4", "gpg0-5", "gpg0-6", "gpg0-7",
414 "gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3",
415 "gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7",
416 "gpg2-0";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200417 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
418 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
419 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700420 };
421};
422
423&pinctrl_3 {
424 gpa0: gpa0 {
425 gpio-controller;
426 #gpio-cells = <2>;
427
428 interrupt-controller;
429 #interrupt-cells = <2>;
430 };
431
432 gpa1: gpa1 {
433 gpio-controller;
434 #gpio-cells = <2>;
435
436 interrupt-controller;
437 #interrupt-cells = <2>;
438 };
439
440 gpa2: gpa2 {
441 gpio-controller;
442 #gpio-cells = <2>;
443
444 interrupt-controller;
445 #interrupt-cells = <2>;
446 };
447
448 gpb0: gpb0 {
449 gpio-controller;
450 #gpio-cells = <2>;
451
452 interrupt-controller;
453 #interrupt-cells = <2>;
454 };
455
456 gpb1: gpb1 {
457 gpio-controller;
458 #gpio-cells = <2>;
459
460 interrupt-controller;
461 #interrupt-cells = <2>;
462 };
463
464 gpb2: gpb2 {
465 gpio-controller;
466 #gpio-cells = <2>;
467
468 interrupt-controller;
469 #interrupt-cells = <2>;
470 };
471
472 gpb3: gpb3 {
473 gpio-controller;
474 #gpio-cells = <2>;
475
476 interrupt-controller;
477 #interrupt-cells = <2>;
478 };
479
480 gpb4: gpb4 {
481 gpio-controller;
482 #gpio-cells = <2>;
483
484 interrupt-controller;
485 #interrupt-cells = <2>;
486 };
487
488 gph0: gph0 {
489 gpio-controller;
490 #gpio-cells = <2>;
491
492 interrupt-controller;
493 #interrupt-cells = <2>;
494 };
495
496 uart0_data: uart0-data {
497 samsung,pins = "gpa0-0", "gpa0-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200498 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
499 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
500 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700501 };
502
503 uart0_fctl: uart0-fctl {
504 samsung,pins = "gpa0-2", "gpa0-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200505 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
506 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
507 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700508 };
509
510 uart1_data: uart1-data {
511 samsung,pins = "gpa0-4", "gpa0-5";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200512 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
513 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
514 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700515 };
516
517 uart1_fctl: uart1-fctl {
518 samsung,pins = "gpa0-6", "gpa0-7";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200519 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
520 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
521 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700522 };
523
524 i2c2_bus: i2c2-bus {
525 samsung,pins = "gpa0-6", "gpa0-7";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200526 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
527 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
528 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700529 };
530
531 uart2_data: uart2-data {
532 samsung,pins = "gpa1-0", "gpa1-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200533 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
534 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
535 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700536 };
537
538 uart2_fctl: uart2-fctl {
539 samsung,pins = "gpa1-2", "gpa1-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200540 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
541 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
542 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700543 };
544
545 i2c3_bus: i2c3-bus {
546 samsung,pins = "gpa1-2", "gpa1-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200547 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
548 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
549 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700550 };
551
552 uart3_data: uart3-data {
553 samsung,pins = "gpa1-4", "gpa1-5";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200554 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
555 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
556 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700557 };
558
559 spi0_bus: spi0-bus {
560 samsung,pins = "gpa2-0", "gpa2-1", "gpa2-2", "gpa2-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200561 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
562 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
563 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700564 };
565
566 spi1_bus: spi1-bus {
567 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200568 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
569 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
570 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700571 };
572
573 i2c4_hs_bus: i2c4-hs-bus {
574 samsung,pins = "gpa2-0", "gpa2-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200575 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
576 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
577 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700578 };
579
580 i2c5_hs_bus: i2c5-hs-bus {
581 samsung,pins = "gpa2-2", "gpa2-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200582 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
583 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
584 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700585 };
586
587 i2s1_bus: i2s1-bus {
588 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
589 "gpb0-4";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200590 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
591 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
592 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700593 };
594
595 pcm1_bus: pcm1-bus {
596 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
597 "gpb0-4";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200598 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
599 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
600 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700601 };
602
603 i2s2_bus: i2s2-bus {
604 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
605 "gpb1-4";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200606 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
607 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
608 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700609 };
610
611 pcm2_bus: pcm2-bus {
612 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
613 "gpb1-4";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200614 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
615 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
616 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700617 };
618
619 spdif_bus: spdif-bus {
620 samsung,pins = "gpb1-0", "gpb1-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200621 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
622 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
623 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700624 };
625
626 spi2_bus: spi2-bus {
627 samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200628 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
629 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
630 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700631 };
632
633 i2c6_hs_bus: i2c6-hs-bus {
634 samsung,pins = "gpb1-3", "gpb1-4";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200635 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
636 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
637 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700638 };
639
640 pwm0_out: pwm0-out {
641 samsung,pins = "gpb2-0";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200642 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
643 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
644 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700645 };
646
647 pwm1_out: pwm1-out {
648 samsung,pins = "gpb2-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200649 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
650 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
651 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700652 };
653
654 pwm2_out: pwm2-out {
655 samsung,pins = "gpb2-2";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200656 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
657 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
658 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700659 };
660
661 pwm3_out: pwm3-out {
662 samsung,pins = "gpb2-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200663 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
664 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
665 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700666 };
667
668 i2c7_hs_bus: i2c7-hs-bus {
669 samsung,pins = "gpb2-2", "gpb2-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200670 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
671 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
672 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700673 };
674
675 i2c0_bus: i2c0-bus {
676 samsung,pins = "gpb3-0", "gpb3-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200677 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
678 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
679 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700680 };
681
682 i2c1_bus: i2c1-bus {
683 samsung,pins = "gpb3-2", "gpb3-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200684 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
685 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
686 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700687 };
688
689 i2c8_hs_bus: i2c8-hs-bus {
690 samsung,pins = "gpb3-4", "gpb3-5";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200691 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
692 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
693 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700694 };
695
696 i2c9_hs_bus: i2c9-hs-bus {
697 samsung,pins = "gpb3-6", "gpb3-7";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200698 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
699 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
700 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700701 };
702
703 i2c10_hs_bus: i2c10-hs-bus {
704 samsung,pins = "gpb4-0", "gpb4-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200705 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
706 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
707 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas5e080b02015-07-07 22:46:29 -0700708 };
709};
710
711&pinctrl_4 {
712 gpz: gpz {
713 gpio-controller;
714 #gpio-cells = <2>;
715
716 interrupt-controller;
717 #interrupt-cells = <2>;
718 };
719
720 i2s0_bus: i2s0-bus {
721 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
722 "gpz-4", "gpz-5", "gpz-6";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200723 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
724 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
725 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Leela Krishna Amudalad81c6cb2013-06-19 22:16:06 +0900726 };
727};