1// SPDX-License-Identifier: GPL-2.0
2/*
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.
10 */
11
12#include <dt-bindings/pinctrl/samsung.h>
13
14&pinctrl_0 {
15	gpa0: gpa0-gpio-bank {
16		gpio-controller;
17		#gpio-cells = <2>;
18
19		interrupt-controller;
20		#interrupt-cells = <2>;
21	};
22
23	gpa1: gpa1-gpio-bank {
24		gpio-controller;
25		#gpio-cells = <2>;
26
27		interrupt-controller;
28		#interrupt-cells = <2>;
29	};
30
31	gpa2: gpa2-gpio-bank {
32		gpio-controller;
33		#gpio-cells = <2>;
34
35		interrupt-controller;
36		#interrupt-cells = <2>;
37	};
38
39	gpb0: gpb0-gpio-bank {
40		gpio-controller;
41		#gpio-cells = <2>;
42
43		interrupt-controller;
44		#interrupt-cells = <2>;
45	};
46
47	gpb1: gpb1-gpio-bank {
48		gpio-controller;
49		#gpio-cells = <2>;
50
51		interrupt-controller;
52		#interrupt-cells = <2>;
53	};
54
55	gpb2: gpb2-gpio-bank {
56		gpio-controller;
57		#gpio-cells = <2>;
58
59		interrupt-controller;
60		#interrupt-cells = <2>;
61	};
62
63	gpb3: gpb3-gpio-bank {
64		gpio-controller;
65		#gpio-cells = <2>;
66
67		interrupt-controller;
68		#interrupt-cells = <2>;
69	};
70
71	gpc0: gpc0-gpio-bank {
72		gpio-controller;
73		#gpio-cells = <2>;
74
75		interrupt-controller;
76		#interrupt-cells = <2>;
77	};
78
79	gpc1: gpc1-gpio-bank {
80		gpio-controller;
81		#gpio-cells = <2>;
82
83		interrupt-controller;
84		#interrupt-cells = <2>;
85	};
86
87	gpc2: gpc2-gpio-bank {
88		gpio-controller;
89		#gpio-cells = <2>;
90
91		interrupt-controller;
92		#interrupt-cells = <2>;
93	};
94
95	gpc3: gpc3-gpio-bank {
96		gpio-controller;
97		#gpio-cells = <2>;
98
99		interrupt-controller;
100		#interrupt-cells = <2>;
101	};
102
103	gpd0: gpd0-gpio-bank {
104		gpio-controller;
105		#gpio-cells = <2>;
106
107		interrupt-controller;
108		#interrupt-cells = <2>;
109	};
110
111	gpd1: gpd1-gpio-bank {
112		gpio-controller;
113		#gpio-cells = <2>;
114
115		interrupt-controller;
116		#interrupt-cells = <2>;
117	};
118
119	gpy0: gpy0-gpio-bank {
120		gpio-controller;
121		#gpio-cells = <2>;
122	};
123
124	gpy1: gpy1-gpio-bank {
125		gpio-controller;
126		#gpio-cells = <2>;
127	};
128
129	gpy2: gpy2-gpio-bank {
130		gpio-controller;
131		#gpio-cells = <2>;
132	};
133
134	gpy3: gpy3-gpio-bank {
135		gpio-controller;
136		#gpio-cells = <2>;
137	};
138
139	gpy4: gpy4-gpio-bank {
140		gpio-controller;
141		#gpio-cells = <2>;
142	};
143
144	gpy5: gpy5-gpio-bank {
145		gpio-controller;
146		#gpio-cells = <2>;
147	};
148
149	gpy6: gpy6-gpio-bank {
150		gpio-controller;
151		#gpio-cells = <2>;
152	};
153
154	gpc4: gpc4-gpio-bank {
155		gpio-controller;
156		#gpio-cells = <2>;
157
158		interrupt-controller;
159		#interrupt-cells = <2>;
160	};
161
162	gpx0: gpx0-gpio-bank {
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-gpio-bank {
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-gpio-bank {
185		gpio-controller;
186		#gpio-cells = <2>;
187
188		interrupt-controller;
189		#interrupt-cells = <2>;
190	};
191
192	gpx3: gpx3-gpio-bank {
193		gpio-controller;
194		#gpio-cells = <2>;
195
196		interrupt-controller;
197		#interrupt-cells = <2>;
198	};
199
200	uart0_data: uart0-data-pins {
201		samsung,pins = "gpa0-0", "gpa0-1";
202		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
203		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
204		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
205	};
206
207	uart0_fctl: uart0-fctl-pins {
208		samsung,pins = "gpa0-2", "gpa0-3";
209		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
210		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
211		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
212	};
213
214	i2c2_bus: i2c2-bus-pins {
215		samsung,pins = "gpa0-6", "gpa0-7";
216		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
217		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
218		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
219	};
220
221	i2c2_hs_bus: i2c2-hs-bus-pins {
222		samsung,pins = "gpa0-6", "gpa0-7";
223		samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
224		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
225		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
226	};
227
228	i2c2_gpio_bus: i2c2-gpio-bus-pins {
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
234	uart2_data: uart2-data-pins {
235		samsung,pins = "gpa1-0", "gpa1-1";
236		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
237		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
238		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
239	};
240
241	uart2_fctl: uart2-fctl-pins {
242		samsung,pins = "gpa1-2", "gpa1-3";
243		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
244		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
245		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
246	};
247
248	i2c3_bus: i2c3-bus-pins {
249		samsung,pins = "gpa1-2", "gpa1-3";
250		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
251		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
252		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
253	};
254
255	i2c3_hs_bus: i2c3-hs-bus-pins {
256		samsung,pins = "gpa1-2", "gpa1-3";
257		samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
258		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
259		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
260	};
261
262	uart3_data: uart3-data-pins {
263		samsung,pins = "gpa1-4", "gpa1-5";
264		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
265		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
266		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
267	};
268
269	spi0_bus: spi0-bus-pins {
270		samsung,pins = "gpa2-0", "gpa2-2", "gpa2-3";
271		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
272		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
273		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
274	};
275
276	i2c4_bus: i2c4-bus-pins {
277		samsung,pins = "gpa2-0", "gpa2-1";
278		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
279		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
280		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
281	};
282
283	i2c5_bus: i2c5-bus-pins {
284		samsung,pins = "gpa2-2", "gpa2-3";
285		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
286		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
287		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
288	};
289
290	spi1_bus: spi1-bus-pins {
291		samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
292		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
293		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
294		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
295	};
296
297	i2s1_bus: i2s1-bus-pins {
298		samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
299			       "gpb0-4";
300		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
301		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
302		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
303	};
304
305	pcm1_bus: pcm1-bus-pins {
306		samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
307			       "gpb0-4";
308		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
309		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
310		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
311	};
312
313	ac97_bus: ac97-bus-pins {
314		samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
315			       "gpb0-4";
316		samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
317		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
318		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
319	};
320
321	i2s2_bus: i2s2-bus-pins {
322		samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
323			       "gpb1-4";
324		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
325		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
326		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
327	};
328
329	pcm2_bus: pcm2-bus-pins {
330		samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
331			       "gpb1-4";
332		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
333		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
334		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
335	};
336
337	spdif_bus: spdif-bus-pins {
338		samsung,pins = "gpb1-0", "gpb1-1";
339		samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
340		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
341		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
342	};
343
344	spi2_bus: spi2-bus-pins {
345		samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4";
346		samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
347		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
348		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
349	};
350
351	i2c6_bus: i2c6-bus-pins {
352		samsung,pins = "gpb1-3", "gpb1-4";
353		samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
354		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
355		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
356	};
357
358	pwm0_out: pwm0-out-pins {
359		samsung,pins = "gpb2-0";
360		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
361		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
362		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
363	};
364
365	pwm1_out: pwm1-out-pins {
366		samsung,pins = "gpb2-1";
367		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
368		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
369		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
370	};
371
372	pwm2_out: pwm2-out-pins {
373		samsung,pins = "gpb2-2";
374		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
375		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
376		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
377	};
378
379	pwm3_out: pwm3-out-pins {
380		samsung,pins = "gpb2-3";
381		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
382		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
383		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
384	};
385
386	i2c7_bus: i2c7-bus-pins {
387		samsung,pins = "gpb2-2", "gpb2-3";
388		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
389		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
390		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
391	};
392
393	i2c0_bus: i2c0-bus-pins {
394		samsung,pins = "gpb3-0", "gpb3-1";
395		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
396		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
397		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
398	};
399
400	i2c1_bus: i2c1-bus-pins {
401		samsung,pins = "gpb3-2", "gpb3-3";
402		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
403		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
404		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
405	};
406
407	i2c0_hs_bus: i2c0-hs-bus-pins {
408		samsung,pins = "gpb3-0", "gpb3-1";
409		samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
410		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
411		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
412	};
413
414	i2c1_hs_bus: i2c1-hs-bus-pins {
415		samsung,pins = "gpb3-2", "gpb3-3";
416		samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
417		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
418		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
419	};
420
421	sd0_clk: sd0-clk-pins {
422		samsung,pins = "gpc0-0";
423		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
424		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
425		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
426	};
427
428	sd0_cmd: sd0-cmd-pins {
429		samsung,pins = "gpc0-1";
430		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
431		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
432		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
433	};
434
435	sd0_cd: sd0-cd-pins {
436		samsung,pins = "gpc0-2";
437		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
438		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
439		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
440	};
441
442	sd0_bus1: sd0-bus-width1-pins {
443		samsung,pins = "gpc0-3";
444		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
445		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
446		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
447	};
448
449	sd0_bus4: sd0-bus-width4-pins {
450		samsung,pins = "gpc0-3", "gpc0-4", "gpc0-5", "gpc0-6";
451		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
452		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
453		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
454	};
455
456	sd0_bus8: sd0-bus-width8-pins {
457		samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3";
458		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
459		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
460		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
461	};
462
463	sd1_clk: sd1-clk-pins {
464		samsung,pins = "gpc2-0";
465		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
466		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
467		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
468	};
469
470	sd1_cmd: sd1-cmd-pins {
471		samsung,pins = "gpc2-1";
472		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
473		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
474		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
475	};
476
477	sd1_cd: sd1-cd-pins {
478		samsung,pins = "gpc2-2";
479		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
480		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
481		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
482	};
483
484	sd1_bus1: sd1-bus-width1-pins {
485		samsung,pins = "gpc2-3";
486		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
487		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
488		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
489	};
490
491	sd1_bus4: sd1-bus-width4-pins {
492		samsung,pins = "gpc2-3", "gpc2-4", "gpc2-5", "gpc2-6";
493		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
494		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
495		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
496	};
497
498	sd2_clk: sd2-clk-pins {
499		samsung,pins = "gpc3-0";
500		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
501		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
502		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
503	};
504
505	sd2_cmd: sd2-cmd-pins {
506		samsung,pins = "gpc3-1";
507		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
508		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
509		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
510	};
511
512	sd2_cd: sd2-cd-pins {
513		samsung,pins = "gpc3-2";
514		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
515		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
516		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
517	};
518
519	sd2_bus1: sd2-bus-width1-pins {
520		samsung,pins = "gpc3-3";
521		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
522		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
523		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
524	};
525
526	sd2_bus4: sd2-bus-width4-pins {
527		samsung,pins = "gpc3-3", "gpc3-4", "gpc3-5", "gpc3-6";
528		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
529		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
530		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
531	};
532
533	sd2_bus8: sd2-bus-width8-pins {
534		samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6";
535		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
536		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
537		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
538	};
539
540	sd3_clk: sd3-clk-pins {
541		samsung,pins = "gpc4-0";
542		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
543		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
544		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
545	};
546
547	sd3_cmd: sd3-cmd-pins {
548		samsung,pins = "gpc4-1";
549		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
550		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
551		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
552	};
553
554	sd3_cd: sd3-cd-pins {
555		samsung,pins = "gpc4-2";
556		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
557		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
558		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
559	};
560
561	sd3_bus1: sd3-bus-width1-pins {
562		samsung,pins = "gpc4-3";
563		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
564		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
565		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
566	};
567
568	sd3_bus4: sd3-bus-width4-pins {
569		samsung,pins = "gpc4-3", "gpc4-4", "gpc4-5", "gpc4-6";
570		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
571		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
572		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
573	};
574
575	uart1_data: uart1-data-pins {
576		samsung,pins = "gpd0-0", "gpd0-1";
577		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
578		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
579		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
580	};
581
582	uart1_fctl: uart1-fctl-pins {
583		samsung,pins = "gpd0-2", "gpd0-3";
584		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
585		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
586		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
587	};
588
589	dp_hpd: dp-hpd-pins {
590		samsung,pins = "gpx0-7";
591		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
592		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
593		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
594	};
595
596	hdmi_cec: hdmi-cec-pins {
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	};
602
603	hdmi_hpd: hdmi-hpd-pins {
604		samsung,pins = "gpx3-7";
605		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
606	};
607};
608
609&pinctrl_1 {
610	gpe0: gpe0-gpio-bank {
611		gpio-controller;
612		#gpio-cells = <2>;
613
614		interrupt-controller;
615		#interrupt-cells = <2>;
616	};
617
618	gpe1: gpe1-gpio-bank {
619		gpio-controller;
620		#gpio-cells = <2>;
621
622		interrupt-controller;
623		#interrupt-cells = <2>;
624	};
625
626	gpf0: gpf0-gpio-bank {
627		gpio-controller;
628		#gpio-cells = <2>;
629
630		interrupt-controller;
631		#interrupt-cells = <2>;
632	};
633
634	gpf1: gpf1-gpio-bank {
635		gpio-controller;
636		#gpio-cells = <2>;
637
638		interrupt-controller;
639		#interrupt-cells = <2>;
640	};
641
642	gpg0: gpg0-gpio-bank {
643		gpio-controller;
644		#gpio-cells = <2>;
645
646		interrupt-controller;
647		#interrupt-cells = <2>;
648	};
649
650	gpg1: gpg1-gpio-bank {
651		gpio-controller;
652		#gpio-cells = <2>;
653
654		interrupt-controller;
655		#interrupt-cells = <2>;
656	};
657
658	gpg2: gpg2-gpio-bank {
659		gpio-controller;
660		#gpio-cells = <2>;
661
662		interrupt-controller;
663		#interrupt-cells = <2>;
664	};
665
666	gph0: gph0-gpio-bank {
667		gpio-controller;
668		#gpio-cells = <2>;
669
670		interrupt-controller;
671		#interrupt-cells = <2>;
672	};
673
674	gph1: gph1-gpio-bank {
675		gpio-controller;
676		#gpio-cells = <2>;
677
678		interrupt-controller;
679		#interrupt-cells = <2>;
680	};
681
682	cam_gpio_a: cam-gpio-a-pins {
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";
686		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
687		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
688		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
689	};
690
691	cam_gpio_b: cam-gpio-b-pins {
692		samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
693			       "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
694		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
695		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
696		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
697	};
698
699	cam_i2c2_bus: cam-i2c2-bus-pins {
700		samsung,pins = "gpe0-6", "gpe1-0";
701		samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
702		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
703		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
704	};
705
706	cam_spi1_bus: cam-spi1-bus-pins {
707		samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3";
708		samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
709		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
710		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
711	};
712
713	cam_i2c1_bus: cam-i2c1-bus-pins {
714		samsung,pins = "gpf0-2", "gpf0-3";
715		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
716		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
717		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
718	};
719
720	cam_i2c0_bus: cam-i2c0-bus-pins {
721		samsung,pins = "gpf0-0", "gpf0-1";
722		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
723		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
724		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
725	};
726
727	cam_spi0_bus: cam-spi0-bus-pins {
728		samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
729		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
730		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
731		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
732	};
733
734	cam_bayrgb_bus: cam-bayrgb-bus-pins {
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";
740		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
741		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
742		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
743	};
744
745	cam_port_a: cam-port-a-pins {
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";
749		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
750		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
751		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
752	};
753};
754
755&pinctrl_2 {
756	gpv0: gpv0-gpio-bank {
757		gpio-controller;
758		#gpio-cells = <2>;
759
760		interrupt-controller;
761		#interrupt-cells = <2>;
762	};
763
764	gpv1: gpv1-gpio-bank {
765		gpio-controller;
766		#gpio-cells = <2>;
767
768		interrupt-controller;
769		#interrupt-cells = <2>;
770	};
771
772	gpv2: gpv2-gpio-bank {
773		gpio-controller;
774		#gpio-cells = <2>;
775
776		interrupt-controller;
777		#interrupt-cells = <2>;
778	};
779
780	gpv3: gpv3-gpio-bank {
781		gpio-controller;
782		#gpio-cells = <2>;
783
784		interrupt-controller;
785		#interrupt-cells = <2>;
786	};
787
788	gpv4: gpv4-gpio-bank {
789		gpio-controller;
790		#gpio-cells = <2>;
791
792		interrupt-controller;
793		#interrupt-cells = <2>;
794	};
795
796	c2c_rxd: c2c-rxd-pins {
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";
801		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
802		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
803		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
804	};
805
806	c2c_txd: c2c-txd-pins {
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";
811		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
812		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
813		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
814	};
815};
816
817&pinctrl_3 {
818	gpz: gpz-gpio-bank {
819		gpio-controller;
820		#gpio-cells = <2>;
821
822		interrupt-controller;
823		#interrupt-cells = <2>;
824	};
825
826	i2s0_bus: i2s0-bus-pins {
827		samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
828				"gpz-4", "gpz-5", "gpz-6";
829		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
830		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
831		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
832	};
833};
834