blob: 6ff6dea29d4490f13bdf457b1ee7ecfb96929cfa [file] [log] [blame]
Krzysztof Kozlowskicc4637f2017-12-25 11:40:09 +01001// SPDX-License-Identifier: GPL-2.0
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +09002/*
3 * Samsung's Exynos5250 SoC pin-mux and pin-config device tree source
4 *
5 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
7 *
8 * Samsung's Exynos5250 SoC pin-mux and pin-config optiosn are listed as device
9 * tree nodes are listed in this file.
Krzysztof Kozlowskicc4637f2017-12-25 11:40:09 +010010 */
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090011
Krzysztof Kozlowski90c6e352016-09-04 13:04:06 +020012#include <dt-bindings/pinctrl/samsung.h>
13
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -070014&pinctrl_0 {
15 gpa0: gpa0 {
16 gpio-controller;
17 #gpio-cells = <2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090018
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -070019 interrupt-controller;
20 #interrupt-cells = <2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090021 };
22
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -070023 gpa1: gpa1 {
24 gpio-controller;
25 #gpio-cells = <2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090026
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -070027 interrupt-controller;
28 #interrupt-cells = <2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090029 };
30
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -070031 gpa2: gpa2 {
32 gpio-controller;
33 #gpio-cells = <2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090034
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -070035 interrupt-controller;
36 #interrupt-cells = <2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090037 };
38
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -070039 gpb0: gpb0 {
40 gpio-controller;
41 #gpio-cells = <2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090042
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -070043 interrupt-controller;
44 #interrupt-cells = <2>;
45 };
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +090046
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -070047 gpb1: gpb1 {
48 gpio-controller;
49 #gpio-cells = <2>;
50
51 interrupt-controller;
52 #interrupt-cells = <2>;
53 };
54
55 gpb2: gpb2 {
56 gpio-controller;
57 #gpio-cells = <2>;
58
59 interrupt-controller;
60 #interrupt-cells = <2>;
61 };
62
63 gpb3: gpb3 {
64 gpio-controller;
65 #gpio-cells = <2>;
66
67 interrupt-controller;
68 #interrupt-cells = <2>;
69 };
70
71 gpc0: gpc0 {
72 gpio-controller;
73 #gpio-cells = <2>;
74
75 interrupt-controller;
76 #interrupt-cells = <2>;
77 };
78
79 gpc1: gpc1 {
80 gpio-controller;
81 #gpio-cells = <2>;
82
83 interrupt-controller;
84 #interrupt-cells = <2>;
85 };
86
87 gpc2: gpc2 {
88 gpio-controller;
89 #gpio-cells = <2>;
90
91 interrupt-controller;
92 #interrupt-cells = <2>;
93 };
94
95 gpc3: gpc3 {
96 gpio-controller;
97 #gpio-cells = <2>;
98
99 interrupt-controller;
100 #interrupt-cells = <2>;
101 };
102
103 gpd0: gpd0 {
104 gpio-controller;
105 #gpio-cells = <2>;
106
107 interrupt-controller;
108 #interrupt-cells = <2>;
109 };
110
111 gpd1: gpd1 {
112 gpio-controller;
113 #gpio-cells = <2>;
114
115 interrupt-controller;
116 #interrupt-cells = <2>;
117 };
118
119 gpy0: gpy0 {
120 gpio-controller;
121 #gpio-cells = <2>;
122 };
123
124 gpy1: gpy1 {
125 gpio-controller;
126 #gpio-cells = <2>;
127 };
128
129 gpy2: gpy2 {
130 gpio-controller;
131 #gpio-cells = <2>;
132 };
133
134 gpy3: gpy3 {
135 gpio-controller;
136 #gpio-cells = <2>;
137 };
138
139 gpy4: gpy4 {
140 gpio-controller;
141 #gpio-cells = <2>;
142 };
143
144 gpy5: gpy5 {
145 gpio-controller;
146 #gpio-cells = <2>;
147 };
148
149 gpy6: gpy6 {
150 gpio-controller;
151 #gpio-cells = <2>;
152 };
153
154 gpc4: gpc4 {
155 gpio-controller;
156 #gpio-cells = <2>;
157
158 interrupt-controller;
159 #interrupt-cells = <2>;
160 };
161
162 gpx0: gpx0 {
163 gpio-controller;
164 #gpio-cells = <2>;
165
166 interrupt-controller;
167 interrupt-parent = <&combiner>;
168 #interrupt-cells = <2>;
169 interrupts = <23 0>, <24 0>, <25 0>, <25 1>,
170 <26 0>, <26 1>, <27 0>, <27 1>;
171 };
172
173 gpx1: gpx1 {
174 gpio-controller;
175 #gpio-cells = <2>;
176
177 interrupt-controller;
178 interrupt-parent = <&combiner>;
179 #interrupt-cells = <2>;
180 interrupts = <28 0>, <28 1>, <29 0>, <29 1>,
181 <30 0>, <30 1>, <31 0>, <31 1>;
182 };
183
184 gpx2: gpx2 {
185 gpio-controller;
186 #gpio-cells = <2>;
187
188 interrupt-controller;
189 #interrupt-cells = <2>;
190 };
191
192 gpx3: gpx3 {
193 gpio-controller;
194 #gpio-cells = <2>;
195
196 interrupt-controller;
197 #interrupt-cells = <2>;
198 };
199
200 uart0_data: uart0-data {
201 samsung,pins = "gpa0-0", "gpa0-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200202 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
203 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
204 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700205 };
206
207 uart0_fctl: uart0-fctl {
208 samsung,pins = "gpa0-2", "gpa0-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200209 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
210 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
211 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700212 };
213
214 i2c2_bus: i2c2-bus {
215 samsung,pins = "gpa0-6", "gpa0-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200216 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
217 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
218 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700219 };
220
221 i2c2_hs_bus: i2c2-hs-bus {
222 samsung,pins = "gpa0-6", "gpa0-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200223 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
224 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
225 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700226 };
227
228 uart2_data: uart2-data {
229 samsung,pins = "gpa1-0", "gpa1-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200230 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
231 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
232 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700233 };
234
235 uart2_fctl: uart2-fctl {
236 samsung,pins = "gpa1-2", "gpa1-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200237 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
238 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
239 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700240 };
241
242 i2c3_bus: i2c3-bus {
243 samsung,pins = "gpa1-2", "gpa1-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200244 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
245 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
246 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700247 };
248
249 i2c3_hs_bus: i2c3-hs-bus {
250 samsung,pins = "gpa1-2", "gpa1-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200251 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
252 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
253 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700254 };
255
256 uart3_data: uart3-data {
257 samsung,pins = "gpa1-4", "gpa1-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200258 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
259 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
260 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700261 };
262
263 spi0_bus: spi0-bus {
264 samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200265 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
266 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
267 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700268 };
269
270 i2c4_bus: i2c4-bus {
271 samsung,pins = "gpa2-0", "gpa2-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200272 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
273 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
274 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700275 };
276
277 i2c5_bus: i2c5-bus {
278 samsung,pins = "gpa2-2", "gpa2-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200279 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
280 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
281 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700282 };
283
284 spi1_bus: spi1-bus {
285 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200286 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
287 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
288 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700289 };
290
291 i2s1_bus: i2s1-bus {
292 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
293 "gpb0-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200294 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
295 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
296 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700297 };
298
299 pcm1_bus: pcm1-bus {
300 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
301 "gpb0-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200302 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
303 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
304 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700305 };
306
307 ac97_bus: ac97-bus {
308 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
309 "gpb0-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200310 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
311 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
312 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700313 };
314
315 i2s2_bus: i2s2-bus {
316 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
317 "gpb1-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200318 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
319 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
320 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700321 };
322
323 pcm2_bus: pcm2-bus {
324 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
325 "gpb1-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200326 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
327 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
328 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700329 };
330
331 spdif_bus: spdif-bus {
332 samsung,pins = "gpb1-0", "gpb1-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200333 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
334 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
335 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700336 };
337
338 spi2_bus: spi2-bus {
339 samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200340 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
341 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
342 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700343 };
344
345 i2c6_bus: i2c6-bus {
346 samsung,pins = "gpb1-3", "gpb1-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200347 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
348 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
349 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700350 };
351
352 pwm0_out: pwm0-out {
353 samsung,pins = "gpb2-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200354 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
355 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
356 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700357 };
358
359 pwm1_out: pwm1-out {
360 samsung,pins = "gpb2-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200361 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
362 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
363 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700364 };
365
366 pwm2_out: pwm2-out {
367 samsung,pins = "gpb2-2";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200368 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
369 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
370 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700371 };
372
373 pwm3_out: pwm3-out {
374 samsung,pins = "gpb2-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200375 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
376 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
377 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700378 };
379
380 i2c7_bus: i2c7-bus {
381 samsung,pins = "gpb2-2", "gpb2-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200382 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
383 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
384 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700385 };
386
387 i2c0_bus: i2c0-bus {
388 samsung,pins = "gpb3-0", "gpb3-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200389 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
390 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
391 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700392 };
393
394 i2c1_bus: i2c1-bus {
395 samsung,pins = "gpb3-2", "gpb3-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200396 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
397 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
398 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700399 };
400
401 i2c0_hs_bus: i2c0-hs-bus {
402 samsung,pins = "gpb3-0", "gpb3-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200403 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
404 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
405 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700406 };
407
408 i2c1_hs_bus: i2c1-hs-bus {
409 samsung,pins = "gpb3-2", "gpb3-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200410 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
411 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
412 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700413 };
414
415 sd0_clk: sd0-clk {
416 samsung,pins = "gpc0-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200417 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
418 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
419 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700420 };
421
422 sd0_cmd: sd0-cmd {
423 samsung,pins = "gpc0-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200424 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
425 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
426 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700427 };
428
429 sd0_cd: sd0-cd {
430 samsung,pins = "gpc0-2";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200431 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
432 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
433 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700434 };
435
436 sd0_bus1: sd0-bus-width1 {
437 samsung,pins = "gpc0-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200438 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
439 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
440 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700441 };
442
443 sd0_bus4: sd0-bus-width4 {
444 samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5", "gpc0-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200445 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
446 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
447 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700448 };
449
450 sd0_bus8: sd0-bus-width8 {
451 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200452 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
453 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
454 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700455 };
456
457 sd1_clk: sd1-clk {
458 samsung,pins = "gpc2-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200459 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
460 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
461 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700462 };
463
464 sd1_cmd: sd1-cmd {
465 samsung,pins = "gpc2-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200466 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
467 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
468 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700469 };
470
471 sd1_cd: sd1-cd {
472 samsung,pins = "gpc2-2";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200473 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
474 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
475 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700476 };
477
478 sd1_bus1: sd1-bus-width1 {
479 samsung,pins = "gpc2-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200480 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
481 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
482 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700483 };
484
485 sd1_bus4: sd1-bus-width4 {
486 samsung,pins = "gpc2-3", "gpc2-4", "gpc2-5", "gpc2-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200487 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
488 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
489 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700490 };
491
492 sd2_clk: sd2-clk {
493 samsung,pins = "gpc3-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200494 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
495 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
496 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700497 };
498
499 sd2_cmd: sd2-cmd {
500 samsung,pins = "gpc3-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200501 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
502 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
503 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700504 };
505
506 sd2_cd: sd2-cd {
507 samsung,pins = "gpc3-2";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200508 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
509 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
510 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700511 };
512
513 sd2_bus1: sd2-bus-width1 {
514 samsung,pins = "gpc3-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200515 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
516 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
517 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700518 };
519
520 sd2_bus4: sd2-bus-width4 {
521 samsung,pins = "gpc3-3", "gpc3-4", "gpc3-5", "gpc3-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200522 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
523 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
524 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700525 };
526
527 sd2_bus8: sd2-bus-width8 {
528 samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200529 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
530 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
531 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700532 };
533
534 sd3_clk: sd3-clk {
535 samsung,pins = "gpc4-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200536 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
537 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
538 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700539 };
540
541 sd3_cmd: sd3-cmd {
542 samsung,pins = "gpc4-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200543 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
544 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
545 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700546 };
547
548 sd3_cd: sd3-cd {
549 samsung,pins = "gpc4-2";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200550 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
551 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
552 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700553 };
554
555 sd3_bus1: sd3-bus-width1 {
556 samsung,pins = "gpc4-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200557 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
558 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
559 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700560 };
561
562 sd3_bus4: sd3-bus-width4 {
563 samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200564 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
565 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
566 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700567 };
568
569 uart1_data: uart1-data {
570 samsung,pins = "gpd0-0", "gpd0-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200571 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
572 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
573 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700574 };
575
576 uart1_fctl: uart1-fctl {
577 samsung,pins = "gpd0-2", "gpd0-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200578 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
579 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
580 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700581 };
582
583 dp_hpd: dp_hpd {
584 samsung,pins = "gpx0-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200585 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
586 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
587 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700588 };
Marek Szyprowski5343b152017-05-31 13:00:17 +0200589
590 hdmi_cec: hdmi-cec {
591 samsung,pins = "gpx3-6";
592 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
593 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
594 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
595 };
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700596};
597
598&pinctrl_1 {
599 gpe0: gpe0 {
600 gpio-controller;
601 #gpio-cells = <2>;
602
603 interrupt-controller;
604 #interrupt-cells = <2>;
605 };
606
607 gpe1: gpe1 {
608 gpio-controller;
609 #gpio-cells = <2>;
610
611 interrupt-controller;
612 #interrupt-cells = <2>;
613 };
614
615 gpf0: gpf0 {
616 gpio-controller;
617 #gpio-cells = <2>;
618
619 interrupt-controller;
620 #interrupt-cells = <2>;
621 };
622
623 gpf1: gpf1 {
624 gpio-controller;
625 #gpio-cells = <2>;
626
627 interrupt-controller;
628 #interrupt-cells = <2>;
629 };
630
631 gpg0: gpg0 {
632 gpio-controller;
633 #gpio-cells = <2>;
634
635 interrupt-controller;
636 #interrupt-cells = <2>;
637 };
638
639 gpg1: gpg1 {
640 gpio-controller;
641 #gpio-cells = <2>;
642
643 interrupt-controller;
644 #interrupt-cells = <2>;
645 };
646
647 gpg2: gpg2 {
648 gpio-controller;
649 #gpio-cells = <2>;
650
651 interrupt-controller;
652 #interrupt-cells = <2>;
653 };
654
655 gph0: gph0 {
656 gpio-controller;
657 #gpio-cells = <2>;
658
659 interrupt-controller;
660 #interrupt-cells = <2>;
661 };
662
663 gph1: gph1 {
664 gpio-controller;
665 #gpio-cells = <2>;
666
667 interrupt-controller;
668 #interrupt-cells = <2>;
669 };
670
671 cam_gpio_a: cam-gpio-a {
672 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
673 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
674 "gpe1-0", "gpe1-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200675 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
676 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
677 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700678 };
679
680 cam_gpio_b: cam-gpio-b {
681 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
682 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200683 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
684 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
685 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700686 };
687
688 cam_i2c2_bus: cam-i2c2-bus {
689 samsung,pins = "gpe0-6", "gpe1-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200690 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
691 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
692 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700693 };
694
695 cam_spi1_bus: cam-spi1-bus {
696 samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200697 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
698 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
699 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700700 };
701
702 cam_i2c1_bus: cam-i2c1-bus {
703 samsung,pins = "gpf0-2", "gpf0-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200704 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
705 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
706 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700707 };
708
709 cam_i2c0_bus: cam-i2c0-bus {
710 samsung,pins = "gpf0-0", "gpf0-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200711 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
712 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
713 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700714 };
715
716 cam_spi0_bus: cam-spi0-bus {
717 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200718 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
719 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
720 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700721 };
722
723 cam_bayrgb_bus: cam-bayrgb-bus {
724 samsung,pins = "gpg0-0", "gpg0-1", "gpg0-2", "gpg0-3",
725 "gpg0-4", "gpg0-5", "gpg0-6", "gpg0-7",
726 "gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3",
727 "gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7",
728 "gpg2-0", "gpg2-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200729 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
730 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
731 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700732 };
733
734 cam_port_a: cam-port-a {
735 samsung,pins = "gph0-0", "gph0-1", "gph0-2", "gph0-3",
736 "gph1-0", "gph1-1", "gph1-2", "gph1-3",
737 "gph1-4", "gph1-5", "gph1-6", "gph1-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200738 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
739 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
740 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700741 };
742};
743
744&pinctrl_2 {
745 gpv0: gpv0 {
746 gpio-controller;
747 #gpio-cells = <2>;
748
749 interrupt-controller;
750 #interrupt-cells = <2>;
751 };
752
753 gpv1: gpv1 {
754 gpio-controller;
755 #gpio-cells = <2>;
756
757 interrupt-controller;
758 #interrupt-cells = <2>;
759 };
760
761 gpv2: gpv2 {
762 gpio-controller;
763 #gpio-cells = <2>;
764
765 interrupt-controller;
766 #interrupt-cells = <2>;
767 };
768
769 gpv3: gpv3 {
770 gpio-controller;
771 #gpio-cells = <2>;
772
773 interrupt-controller;
774 #interrupt-cells = <2>;
775 };
776
777 gpv4: gpv4 {
778 gpio-controller;
779 #gpio-cells = <2>;
780
781 interrupt-controller;
782 #interrupt-cells = <2>;
783 };
784
785 c2c_rxd: c2c-rxd {
786 samsung,pins = "gpv0-0", "gpv0-1", "gpv0-2", "gpv0-3",
787 "gpv0-4", "gpv0-5", "gpv0-6", "gpv0-7",
788 "gpv1-0", "gpv1-1", "gpv1-2", "gpv1-3",
789 "gpv1-4", "gpv1-5", "gpv1-6", "gpv1-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200790 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
791 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
792 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700793 };
794
795 c2c_txd: c2c-txd {
796 samsung,pins = "gpv2-0", "gpv2-1", "gpv2-2", "gpv2-3",
797 "gpv2-4", "gpv2-5", "gpv2-6", "gpv2-7",
798 "gpv3-0", "gpv3-1", "gpv3-2", "gpv3-3",
799 "gpv3-4", "gpv3-5", "gpv3-6", "gpv3-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200800 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
801 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
802 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700803 };
804};
805
806&pinctrl_3 {
807 gpz: gpz {
808 gpio-controller;
809 #gpio-cells = <2>;
810
811 interrupt-controller;
812 #interrupt-cells = <2>;
813 };
814
815 i2s0_bus: i2s0-bus {
816 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
817 "gpz-4", "gpz-5", "gpz-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200818 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
819 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
820 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900821 };
822};