blob: d31a68672bfacb3a2f6575c26790db05b5498d6c [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
Andrzej Hajda620375c2018-07-26 15:22:09 +0200228 i2c2_gpio_bus: i2c2-gpio-bus {
229 samsung,pins = "gpa0-6", "gpa0-7";
230 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
231 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
232 };
233
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700234 uart2_data: uart2-data {
235 samsung,pins = "gpa1-0", "gpa1-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200236 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
237 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
238 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700239 };
240
241 uart2_fctl: uart2-fctl {
242 samsung,pins = "gpa1-2", "gpa1-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200243 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
244 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
245 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700246 };
247
248 i2c3_bus: i2c3-bus {
249 samsung,pins = "gpa1-2", "gpa1-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200250 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
251 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
252 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700253 };
254
255 i2c3_hs_bus: i2c3-hs-bus {
256 samsung,pins = "gpa1-2", "gpa1-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200257 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
258 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
259 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700260 };
261
262 uart3_data: uart3-data {
263 samsung,pins = "gpa1-4", "gpa1-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200264 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
265 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
266 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700267 };
268
269 spi0_bus: spi0-bus {
270 samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200271 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
272 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
273 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700274 };
275
276 i2c4_bus: i2c4-bus {
277 samsung,pins = "gpa2-0", "gpa2-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200278 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
279 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
280 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700281 };
282
283 i2c5_bus: i2c5-bus {
284 samsung,pins = "gpa2-2", "gpa2-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200285 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
286 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
287 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700288 };
289
290 spi1_bus: spi1-bus {
291 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200292 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
293 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
294 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700295 };
296
297 i2s1_bus: i2s1-bus {
298 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
299 "gpb0-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200300 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
301 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
302 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700303 };
304
305 pcm1_bus: pcm1-bus {
306 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
307 "gpb0-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200308 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
309 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
310 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700311 };
312
313 ac97_bus: ac97-bus {
314 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
315 "gpb0-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200316 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
317 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
318 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700319 };
320
321 i2s2_bus: i2s2-bus {
322 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
323 "gpb1-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200324 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
325 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
326 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700327 };
328
329 pcm2_bus: pcm2-bus {
330 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
331 "gpb1-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200332 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
333 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
334 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700335 };
336
337 spdif_bus: spdif-bus {
338 samsung,pins = "gpb1-0", "gpb1-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200339 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
340 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
341 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700342 };
343
344 spi2_bus: spi2-bus {
345 samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200346 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
347 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
348 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700349 };
350
351 i2c6_bus: i2c6-bus {
352 samsung,pins = "gpb1-3", "gpb1-4";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200353 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
354 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
355 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700356 };
357
358 pwm0_out: pwm0-out {
359 samsung,pins = "gpb2-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200360 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
361 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
362 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700363 };
364
365 pwm1_out: pwm1-out {
366 samsung,pins = "gpb2-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200367 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
368 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
369 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700370 };
371
372 pwm2_out: pwm2-out {
373 samsung,pins = "gpb2-2";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200374 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
375 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
376 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700377 };
378
379 pwm3_out: pwm3-out {
380 samsung,pins = "gpb2-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200381 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
382 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
383 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700384 };
385
386 i2c7_bus: i2c7-bus {
387 samsung,pins = "gpb2-2", "gpb2-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200388 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
389 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
390 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700391 };
392
393 i2c0_bus: i2c0-bus {
394 samsung,pins = "gpb3-0", "gpb3-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200395 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
396 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
397 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700398 };
399
400 i2c1_bus: i2c1-bus {
401 samsung,pins = "gpb3-2", "gpb3-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200402 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
403 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
404 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700405 };
406
407 i2c0_hs_bus: i2c0-hs-bus {
408 samsung,pins = "gpb3-0", "gpb3-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200409 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
410 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
411 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700412 };
413
414 i2c1_hs_bus: i2c1-hs-bus {
415 samsung,pins = "gpb3-2", "gpb3-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200416 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
417 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
418 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700419 };
420
421 sd0_clk: sd0-clk {
422 samsung,pins = "gpc0-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200423 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
424 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
425 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700426 };
427
428 sd0_cmd: sd0-cmd {
429 samsung,pins = "gpc0-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200430 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
431 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
432 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700433 };
434
435 sd0_cd: sd0-cd {
436 samsung,pins = "gpc0-2";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200437 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
438 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
439 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700440 };
441
442 sd0_bus1: sd0-bus-width1 {
443 samsung,pins = "gpc0-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200444 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
445 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
446 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700447 };
448
449 sd0_bus4: sd0-bus-width4 {
450 samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5", "gpc0-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200451 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
452 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
453 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700454 };
455
456 sd0_bus8: sd0-bus-width8 {
457 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200458 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
459 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
460 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700461 };
462
463 sd1_clk: sd1-clk {
464 samsung,pins = "gpc2-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200465 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
466 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
467 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700468 };
469
470 sd1_cmd: sd1-cmd {
471 samsung,pins = "gpc2-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200472 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
473 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
474 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700475 };
476
477 sd1_cd: sd1-cd {
478 samsung,pins = "gpc2-2";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200479 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
480 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
481 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700482 };
483
484 sd1_bus1: sd1-bus-width1 {
485 samsung,pins = "gpc2-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200486 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
487 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
488 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700489 };
490
491 sd1_bus4: sd1-bus-width4 {
492 samsung,pins = "gpc2-3", "gpc2-4", "gpc2-5", "gpc2-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200493 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
494 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
495 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700496 };
497
498 sd2_clk: sd2-clk {
499 samsung,pins = "gpc3-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200500 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
501 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
502 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700503 };
504
505 sd2_cmd: sd2-cmd {
506 samsung,pins = "gpc3-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200507 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
508 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
509 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700510 };
511
512 sd2_cd: sd2-cd {
513 samsung,pins = "gpc3-2";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200514 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
515 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
516 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700517 };
518
519 sd2_bus1: sd2-bus-width1 {
520 samsung,pins = "gpc3-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200521 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
522 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
523 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700524 };
525
526 sd2_bus4: sd2-bus-width4 {
527 samsung,pins = "gpc3-3", "gpc3-4", "gpc3-5", "gpc3-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200528 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
529 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
530 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700531 };
532
533 sd2_bus8: sd2-bus-width8 {
534 samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200535 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
536 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
537 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700538 };
539
540 sd3_clk: sd3-clk {
541 samsung,pins = "gpc4-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200542 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
543 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
544 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700545 };
546
547 sd3_cmd: sd3-cmd {
548 samsung,pins = "gpc4-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200549 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
550 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
551 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700552 };
553
554 sd3_cd: sd3-cd {
555 samsung,pins = "gpc4-2";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200556 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
557 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
558 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700559 };
560
561 sd3_bus1: sd3-bus-width1 {
562 samsung,pins = "gpc4-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200563 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
564 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
565 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700566 };
567
568 sd3_bus4: sd3-bus-width4 {
569 samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200570 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
571 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
572 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700573 };
574
575 uart1_data: uart1-data {
576 samsung,pins = "gpd0-0", "gpd0-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200577 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
578 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
579 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700580 };
581
582 uart1_fctl: uart1-fctl {
583 samsung,pins = "gpd0-2", "gpd0-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200584 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
585 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
586 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700587 };
588
589 dp_hpd: dp_hpd {
590 samsung,pins = "gpx0-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200591 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
592 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
593 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700594 };
Marek Szyprowski5343b152017-05-31 13:00:17 +0200595
596 hdmi_cec: hdmi-cec {
597 samsung,pins = "gpx3-6";
598 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
599 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
600 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
601 };
Andrzej Hajda21cb5a22018-07-26 12:12:28 +0200602
603 hdmi_hpd: hdmi-hpd {
604 samsung,pins = "gpx3-7";
605 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
606 };
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700607};
608
609&pinctrl_1 {
610 gpe0: gpe0 {
611 gpio-controller;
612 #gpio-cells = <2>;
613
614 interrupt-controller;
615 #interrupt-cells = <2>;
616 };
617
618 gpe1: gpe1 {
619 gpio-controller;
620 #gpio-cells = <2>;
621
622 interrupt-controller;
623 #interrupt-cells = <2>;
624 };
625
626 gpf0: gpf0 {
627 gpio-controller;
628 #gpio-cells = <2>;
629
630 interrupt-controller;
631 #interrupt-cells = <2>;
632 };
633
634 gpf1: gpf1 {
635 gpio-controller;
636 #gpio-cells = <2>;
637
638 interrupt-controller;
639 #interrupt-cells = <2>;
640 };
641
642 gpg0: gpg0 {
643 gpio-controller;
644 #gpio-cells = <2>;
645
646 interrupt-controller;
647 #interrupt-cells = <2>;
648 };
649
650 gpg1: gpg1 {
651 gpio-controller;
652 #gpio-cells = <2>;
653
654 interrupt-controller;
655 #interrupt-cells = <2>;
656 };
657
658 gpg2: gpg2 {
659 gpio-controller;
660 #gpio-cells = <2>;
661
662 interrupt-controller;
663 #interrupt-cells = <2>;
664 };
665
666 gph0: gph0 {
667 gpio-controller;
668 #gpio-cells = <2>;
669
670 interrupt-controller;
671 #interrupt-cells = <2>;
672 };
673
674 gph1: gph1 {
675 gpio-controller;
676 #gpio-cells = <2>;
677
678 interrupt-controller;
679 #interrupt-cells = <2>;
680 };
681
682 cam_gpio_a: cam-gpio-a {
683 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
684 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
685 "gpe1-0", "gpe1-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200686 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
687 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
688 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700689 };
690
691 cam_gpio_b: cam-gpio-b {
692 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
693 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200694 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
695 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
696 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700697 };
698
699 cam_i2c2_bus: cam-i2c2-bus {
700 samsung,pins = "gpe0-6", "gpe1-0";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200701 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
702 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
703 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700704 };
705
706 cam_spi1_bus: cam-spi1-bus {
707 samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200708 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
709 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
710 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700711 };
712
713 cam_i2c1_bus: cam-i2c1-bus {
714 samsung,pins = "gpf0-2", "gpf0-3";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200715 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
716 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
717 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700718 };
719
720 cam_i2c0_bus: cam-i2c0-bus {
721 samsung,pins = "gpf0-0", "gpf0-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200722 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
723 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
724 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700725 };
726
727 cam_spi0_bus: cam-spi0-bus {
728 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
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_bayrgb_bus: cam-bayrgb-bus {
735 samsung,pins = "gpg0-0", "gpg0-1", "gpg0-2", "gpg0-3",
736 "gpg0-4", "gpg0-5", "gpg0-6", "gpg0-7",
737 "gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3",
738 "gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7",
739 "gpg2-0", "gpg2-1";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200740 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
741 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
742 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700743 };
744
745 cam_port_a: cam-port-a {
746 samsung,pins = "gph0-0", "gph0-1", "gph0-2", "gph0-3",
747 "gph1-0", "gph1-1", "gph1-2", "gph1-3",
748 "gph1-4", "gph1-5", "gph1-6", "gph1-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200749 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
750 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
751 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700752 };
753};
754
755&pinctrl_2 {
756 gpv0: gpv0 {
757 gpio-controller;
758 #gpio-cells = <2>;
759
760 interrupt-controller;
761 #interrupt-cells = <2>;
762 };
763
764 gpv1: gpv1 {
765 gpio-controller;
766 #gpio-cells = <2>;
767
768 interrupt-controller;
769 #interrupt-cells = <2>;
770 };
771
772 gpv2: gpv2 {
773 gpio-controller;
774 #gpio-cells = <2>;
775
776 interrupt-controller;
777 #interrupt-cells = <2>;
778 };
779
780 gpv3: gpv3 {
781 gpio-controller;
782 #gpio-cells = <2>;
783
784 interrupt-controller;
785 #interrupt-cells = <2>;
786 };
787
788 gpv4: gpv4 {
789 gpio-controller;
790 #gpio-cells = <2>;
791
792 interrupt-controller;
793 #interrupt-cells = <2>;
794 };
795
796 c2c_rxd: c2c-rxd {
797 samsung,pins = "gpv0-0", "gpv0-1", "gpv0-2", "gpv0-3",
798 "gpv0-4", "gpv0-5", "gpv0-6", "gpv0-7",
799 "gpv1-0", "gpv1-1", "gpv1-2", "gpv1-3",
800 "gpv1-4", "gpv1-5", "gpv1-6", "gpv1-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200801 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
802 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
803 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700804 };
805
806 c2c_txd: c2c-txd {
807 samsung,pins = "gpv2-0", "gpv2-1", "gpv2-2", "gpv2-3",
808 "gpv2-4", "gpv2-5", "gpv2-6", "gpv2-7",
809 "gpv3-0", "gpv3-1", "gpv3-2", "gpv3-3",
810 "gpv3-4", "gpv3-5", "gpv3-6", "gpv3-7";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200811 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
812 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
813 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Javier Martinez Canillaseb8b8b02015-07-07 22:36:28 -0700814 };
815};
816
817&pinctrl_3 {
818 gpz: gpz {
819 gpio-controller;
820 #gpio-cells = <2>;
821
822 interrupt-controller;
823 #interrupt-cells = <2>;
824 };
825
826 i2s0_bus: i2s0-bus {
827 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
828 "gpz-4", "gpz-5", "gpz-6";
Krzysztof Kozlowskid953f1f2016-09-04 13:04:11 +0200829 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
830 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
831 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900832 };
833};