blob: 2f6ab32b59548cd29a618db65d14f643cdaa2001 [file] [log] [blame]
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +09001/*
2 * Samsung's Exynos5250 SoC pin-mux and pin-config device tree source
3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * Samsung's Exynos5250 SoC pin-mux and pin-config optiosn 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 Canillaseb8b8b02015-07-07 22:36:28 -070017&pinctrl_0 {
18 gpa0: gpa0 {
19 gpio-controller;
20 #gpio-cells = <2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090021
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -070022 interrupt-controller;
23 #interrupt-cells = <2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090024 };
25
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -070026 gpa1: gpa1 {
27 gpio-controller;
28 #gpio-cells = <2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090029
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -070030 interrupt-controller;
31 #interrupt-cells = <2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090032 };
33
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -070034 gpa2: gpa2 {
35 gpio-controller;
36 #gpio-cells = <2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090037
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -070038 interrupt-controller;
39 #interrupt-cells = <2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090040 };
41
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -070042 gpb0: gpb0 {
43 gpio-controller;
44 #gpio-cells = <2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090045
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -070046 interrupt-controller;
47 #interrupt-cells = <2>;
48 };
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090049
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -070050 gpb1: gpb1 {
51 gpio-controller;
52 #gpio-cells = <2>;
53
54 interrupt-controller;
55 #interrupt-cells = <2>;
56 };
57
58 gpb2: gpb2 {
59 gpio-controller;
60 #gpio-cells = <2>;
61
62 interrupt-controller;
63 #interrupt-cells = <2>;
64 };
65
66 gpb3: gpb3 {
67 gpio-controller;
68 #gpio-cells = <2>;
69
70 interrupt-controller;
71 #interrupt-cells = <2>;
72 };
73
74 gpc0: gpc0 {
75 gpio-controller;
76 #gpio-cells = <2>;
77
78 interrupt-controller;
79 #interrupt-cells = <2>;
80 };
81
82 gpc1: gpc1 {
83 gpio-controller;
84 #gpio-cells = <2>;
85
86 interrupt-controller;
87 #interrupt-cells = <2>;
88 };
89
90 gpc2: gpc2 {
91 gpio-controller;
92 #gpio-cells = <2>;
93
94 interrupt-controller;
95 #interrupt-cells = <2>;
96 };
97
98 gpc3: gpc3 {
99 gpio-controller;
100 #gpio-cells = <2>;
101
102 interrupt-controller;
103 #interrupt-cells = <2>;
104 };
105
106 gpd0: gpd0 {
107 gpio-controller;
108 #gpio-cells = <2>;
109
110 interrupt-controller;
111 #interrupt-cells = <2>;
112 };
113
114 gpd1: gpd1 {
115 gpio-controller;
116 #gpio-cells = <2>;
117
118 interrupt-controller;
119 #interrupt-cells = <2>;
120 };
121
122 gpy0: gpy0 {
123 gpio-controller;
124 #gpio-cells = <2>;
125 };
126
127 gpy1: gpy1 {
128 gpio-controller;
129 #gpio-cells = <2>;
130 };
131
132 gpy2: gpy2 {
133 gpio-controller;
134 #gpio-cells = <2>;
135 };
136
137 gpy3: gpy3 {
138 gpio-controller;
139 #gpio-cells = <2>;
140 };
141
142 gpy4: gpy4 {
143 gpio-controller;
144 #gpio-cells = <2>;
145 };
146
147 gpy5: gpy5 {
148 gpio-controller;
149 #gpio-cells = <2>;
150 };
151
152 gpy6: gpy6 {
153 gpio-controller;
154 #gpio-cells = <2>;
155 };
156
157 gpc4: gpc4 {
158 gpio-controller;
159 #gpio-cells = <2>;
160
161 interrupt-controller;
162 #interrupt-cells = <2>;
163 };
164
165 gpx0: gpx0 {
166 gpio-controller;
167 #gpio-cells = <2>;
168
169 interrupt-controller;
170 interrupt-parent = <&combiner>;
171 #interrupt-cells = <2>;
172 interrupts = <23 0>, <24 0>, <25 0>, <25 1>,
173 <26 0>, <26 1>, <27 0>, <27 1>;
174 };
175
176 gpx1: gpx1 {
177 gpio-controller;
178 #gpio-cells = <2>;
179
180 interrupt-controller;
181 interrupt-parent = <&combiner>;
182 #interrupt-cells = <2>;
183 interrupts = <28 0>, <28 1>, <29 0>, <29 1>,
184 <30 0>, <30 1>, <31 0>, <31 1>;
185 };
186
187 gpx2: gpx2 {
188 gpio-controller;
189 #gpio-cells = <2>;
190
191 interrupt-controller;
192 #interrupt-cells = <2>;
193 };
194
195 gpx3: gpx3 {
196 gpio-controller;
197 #gpio-cells = <2>;
198
199 interrupt-controller;
200 #interrupt-cells = <2>;
201 };
202
203 uart0_data: uart0-data {
204 samsung,pins = "gpa0-0", "gpa0-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200205 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
206 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
207 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700208 };
209
210 uart0_fctl: uart0-fctl {
211 samsung,pins = "gpa0-2", "gpa0-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200212 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
213 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
214 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700215 };
216
217 i2c2_bus: i2c2-bus {
218 samsung,pins = "gpa0-6", "gpa0-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200219 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
220 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
221 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700222 };
223
224 i2c2_hs_bus: i2c2-hs-bus {
225 samsung,pins = "gpa0-6", "gpa0-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200226 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
227 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
228 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700229 };
230
231 uart2_data: uart2-data {
232 samsung,pins = "gpa1-0", "gpa1-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200233 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
234 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
235 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700236 };
237
238 uart2_fctl: uart2-fctl {
239 samsung,pins = "gpa1-2", "gpa1-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200240 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
241 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
242 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700243 };
244
245 i2c3_bus: i2c3-bus {
246 samsung,pins = "gpa1-2", "gpa1-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200247 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
248 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
249 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700250 };
251
252 i2c3_hs_bus: i2c3-hs-bus {
253 samsung,pins = "gpa1-2", "gpa1-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200254 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
255 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
256 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700257 };
258
259 uart3_data: uart3-data {
260 samsung,pins = "gpa1-4", "gpa1-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200261 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
262 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
263 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700264 };
265
266 spi0_bus: spi0-bus {
267 samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200268 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
269 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
270 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700271 };
272
273 i2c4_bus: i2c4-bus {
274 samsung,pins = "gpa2-0", "gpa2-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200275 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
276 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
277 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700278 };
279
280 i2c5_bus: i2c5-bus {
281 samsung,pins = "gpa2-2", "gpa2-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200282 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
283 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
284 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700285 };
286
287 spi1_bus: spi1-bus {
288 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200289 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
290 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
291 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700292 };
293
294 i2s1_bus: i2s1-bus {
295 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
296 "gpb0-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200297 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
298 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
299 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700300 };
301
302 pcm1_bus: pcm1-bus {
303 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
304 "gpb0-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200305 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
306 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
307 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700308 };
309
310 ac97_bus: ac97-bus {
311 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
312 "gpb0-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200313 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
314 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
315 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700316 };
317
318 i2s2_bus: i2s2-bus {
319 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
320 "gpb1-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200321 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
322 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
323 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700324 };
325
326 pcm2_bus: pcm2-bus {
327 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
328 "gpb1-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200329 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
330 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
331 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700332 };
333
334 spdif_bus: spdif-bus {
335 samsung,pins = "gpb1-0", "gpb1-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200336 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
337 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
338 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700339 };
340
341 spi2_bus: spi2-bus {
342 samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200343 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
344 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
345 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700346 };
347
348 i2c6_bus: i2c6-bus {
349 samsung,pins = "gpb1-3", "gpb1-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200350 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
351 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
352 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700353 };
354
355 pwm0_out: pwm0-out {
356 samsung,pins = "gpb2-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200357 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
358 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
359 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700360 };
361
362 pwm1_out: pwm1-out {
363 samsung,pins = "gpb2-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200364 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
365 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
366 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700367 };
368
369 pwm2_out: pwm2-out {
370 samsung,pins = "gpb2-2";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200371 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
372 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
373 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700374 };
375
376 pwm3_out: pwm3-out {
377 samsung,pins = "gpb2-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200378 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
379 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
380 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700381 };
382
383 i2c7_bus: i2c7-bus {
384 samsung,pins = "gpb2-2", "gpb2-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200385 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
386 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
387 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700388 };
389
390 i2c0_bus: i2c0-bus {
391 samsung,pins = "gpb3-0", "gpb3-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200392 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
393 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
394 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700395 };
396
397 i2c1_bus: i2c1-bus {
398 samsung,pins = "gpb3-2", "gpb3-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200399 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
400 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
401 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700402 };
403
404 i2c0_hs_bus: i2c0-hs-bus {
405 samsung,pins = "gpb3-0", "gpb3-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200406 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
407 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
408 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700409 };
410
411 i2c1_hs_bus: i2c1-hs-bus {
412 samsung,pins = "gpb3-2", "gpb3-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200413 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
414 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
415 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700416 };
417
418 sd0_clk: sd0-clk {
419 samsung,pins = "gpc0-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200420 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
421 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
422 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700423 };
424
425 sd0_cmd: sd0-cmd {
426 samsung,pins = "gpc0-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200427 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
428 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
429 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700430 };
431
432 sd0_cd: sd0-cd {
433 samsung,pins = "gpc0-2";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200434 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
435 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
436 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700437 };
438
439 sd0_bus1: sd0-bus-width1 {
440 samsung,pins = "gpc0-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200441 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
442 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
443 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700444 };
445
446 sd0_bus4: sd0-bus-width4 {
447 samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5", "gpc0-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200448 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
449 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
450 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700451 };
452
453 sd0_bus8: sd0-bus-width8 {
454 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200455 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
456 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
457 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700458 };
459
460 sd1_clk: sd1-clk {
461 samsung,pins = "gpc2-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200462 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
463 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
464 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700465 };
466
467 sd1_cmd: sd1-cmd {
468 samsung,pins = "gpc2-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200469 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
470 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
471 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700472 };
473
474 sd1_cd: sd1-cd {
475 samsung,pins = "gpc2-2";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200476 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
477 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
478 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700479 };
480
481 sd1_bus1: sd1-bus-width1 {
482 samsung,pins = "gpc2-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200483 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
484 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
485 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700486 };
487
488 sd1_bus4: sd1-bus-width4 {
489 samsung,pins = "gpc2-3", "gpc2-4", "gpc2-5", "gpc2-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200490 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
491 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
492 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700493 };
494
495 sd2_clk: sd2-clk {
496 samsung,pins = "gpc3-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200497 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
498 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
499 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700500 };
501
502 sd2_cmd: sd2-cmd {
503 samsung,pins = "gpc3-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200504 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
505 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
506 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700507 };
508
509 sd2_cd: sd2-cd {
510 samsung,pins = "gpc3-2";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200511 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
512 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
513 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700514 };
515
516 sd2_bus1: sd2-bus-width1 {
517 samsung,pins = "gpc3-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200518 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
519 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
520 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700521 };
522
523 sd2_bus4: sd2-bus-width4 {
524 samsung,pins = "gpc3-3", "gpc3-4", "gpc3-5", "gpc3-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200525 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
526 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
527 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700528 };
529
530 sd2_bus8: sd2-bus-width8 {
531 samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200532 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
533 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
534 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700535 };
536
537 sd3_clk: sd3-clk {
538 samsung,pins = "gpc4-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200539 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
540 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
541 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700542 };
543
544 sd3_cmd: sd3-cmd {
545 samsung,pins = "gpc4-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200546 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
547 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
548 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700549 };
550
551 sd3_cd: sd3-cd {
552 samsung,pins = "gpc4-2";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200553 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
554 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
555 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700556 };
557
558 sd3_bus1: sd3-bus-width1 {
559 samsung,pins = "gpc4-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200560 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
561 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
562 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700563 };
564
565 sd3_bus4: sd3-bus-width4 {
566 samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200567 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
568 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
569 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700570 };
571
572 uart1_data: uart1-data {
573 samsung,pins = "gpd0-0", "gpd0-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200574 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
575 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
576 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700577 };
578
579 uart1_fctl: uart1-fctl {
580 samsung,pins = "gpd0-2", "gpd0-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200581 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
582 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
583 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700584 };
585
586 dp_hpd: dp_hpd {
587 samsung,pins = "gpx0-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200588 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
589 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
590 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700591 };
592};
593
594&pinctrl_1 {
595 gpe0: gpe0 {
596 gpio-controller;
597 #gpio-cells = <2>;
598
599 interrupt-controller;
600 #interrupt-cells = <2>;
601 };
602
603 gpe1: gpe1 {
604 gpio-controller;
605 #gpio-cells = <2>;
606
607 interrupt-controller;
608 #interrupt-cells = <2>;
609 };
610
611 gpf0: gpf0 {
612 gpio-controller;
613 #gpio-cells = <2>;
614
615 interrupt-controller;
616 #interrupt-cells = <2>;
617 };
618
619 gpf1: gpf1 {
620 gpio-controller;
621 #gpio-cells = <2>;
622
623 interrupt-controller;
624 #interrupt-cells = <2>;
625 };
626
627 gpg0: gpg0 {
628 gpio-controller;
629 #gpio-cells = <2>;
630
631 interrupt-controller;
632 #interrupt-cells = <2>;
633 };
634
635 gpg1: gpg1 {
636 gpio-controller;
637 #gpio-cells = <2>;
638
639 interrupt-controller;
640 #interrupt-cells = <2>;
641 };
642
643 gpg2: gpg2 {
644 gpio-controller;
645 #gpio-cells = <2>;
646
647 interrupt-controller;
648 #interrupt-cells = <2>;
649 };
650
651 gph0: gph0 {
652 gpio-controller;
653 #gpio-cells = <2>;
654
655 interrupt-controller;
656 #interrupt-cells = <2>;
657 };
658
659 gph1: gph1 {
660 gpio-controller;
661 #gpio-cells = <2>;
662
663 interrupt-controller;
664 #interrupt-cells = <2>;
665 };
666
667 cam_gpio_a: cam-gpio-a {
668 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
669 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
670 "gpe1-0", "gpe1-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200671 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
672 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
673 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700674 };
675
676 cam_gpio_b: cam-gpio-b {
677 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
678 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200679 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
680 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
681 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700682 };
683
684 cam_i2c2_bus: cam-i2c2-bus {
685 samsung,pins = "gpe0-6", "gpe1-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200686 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
687 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
688 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700689 };
690
691 cam_spi1_bus: cam-spi1-bus {
692 samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200693 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
694 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
695 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700696 };
697
698 cam_i2c1_bus: cam-i2c1-bus {
699 samsung,pins = "gpf0-2", "gpf0-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200700 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
701 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
702 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700703 };
704
705 cam_i2c0_bus: cam-i2c0-bus {
706 samsung,pins = "gpf0-0", "gpf0-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200707 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
708 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
709 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700710 };
711
712 cam_spi0_bus: cam-spi0-bus {
713 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200714 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
715 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
716 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700717 };
718
719 cam_bayrgb_bus: cam-bayrgb-bus {
720 samsung,pins = "gpg0-0", "gpg0-1", "gpg0-2", "gpg0-3",
721 "gpg0-4", "gpg0-5", "gpg0-6", "gpg0-7",
722 "gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3",
723 "gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7",
724 "gpg2-0", "gpg2-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200725 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
726 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
727 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700728 };
729
730 cam_port_a: cam-port-a {
731 samsung,pins = "gph0-0", "gph0-1", "gph0-2", "gph0-3",
732 "gph1-0", "gph1-1", "gph1-2", "gph1-3",
733 "gph1-4", "gph1-5", "gph1-6", "gph1-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200734 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
735 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
736 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700737 };
738};
739
740&pinctrl_2 {
741 gpv0: gpv0 {
742 gpio-controller;
743 #gpio-cells = <2>;
744
745 interrupt-controller;
746 #interrupt-cells = <2>;
747 };
748
749 gpv1: gpv1 {
750 gpio-controller;
751 #gpio-cells = <2>;
752
753 interrupt-controller;
754 #interrupt-cells = <2>;
755 };
756
757 gpv2: gpv2 {
758 gpio-controller;
759 #gpio-cells = <2>;
760
761 interrupt-controller;
762 #interrupt-cells = <2>;
763 };
764
765 gpv3: gpv3 {
766 gpio-controller;
767 #gpio-cells = <2>;
768
769 interrupt-controller;
770 #interrupt-cells = <2>;
771 };
772
773 gpv4: gpv4 {
774 gpio-controller;
775 #gpio-cells = <2>;
776
777 interrupt-controller;
778 #interrupt-cells = <2>;
779 };
780
781 c2c_rxd: c2c-rxd {
782 samsung,pins = "gpv0-0", "gpv0-1", "gpv0-2", "gpv0-3",
783 "gpv0-4", "gpv0-5", "gpv0-6", "gpv0-7",
784 "gpv1-0", "gpv1-1", "gpv1-2", "gpv1-3",
785 "gpv1-4", "gpv1-5", "gpv1-6", "gpv1-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200786 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
787 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
788 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700789 };
790
791 c2c_txd: c2c-txd {
792 samsung,pins = "gpv2-0", "gpv2-1", "gpv2-2", "gpv2-3",
793 "gpv2-4", "gpv2-5", "gpv2-6", "gpv2-7",
794 "gpv3-0", "gpv3-1", "gpv3-2", "gpv3-3",
795 "gpv3-4", "gpv3-5", "gpv3-6", "gpv3-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200796 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
797 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
798 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700799 };
800};
801
802&pinctrl_3 {
803 gpz: gpz {
804 gpio-controller;
805 #gpio-cells = <2>;
806
807 interrupt-controller;
808 #interrupt-cells = <2>;
809 };
810
811 i2s0_bus: i2s0-bus {
812 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
813 "gpz-4", "gpz-5", "gpz-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200814 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
815 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
816 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900817 };
818};