xref: /freebsd/sys/contrib/device-tree/src/arm/samsung/exynos4210-pinctrl.dtsi (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Samsung's Exynos4210 SoC pin-mux and pin-config device tree source
4 *
5 * Copyright (c) 2011-2012 Samsung Electronics Co., Ltd.
6 *		http://www.samsung.com
7 * Copyright (c) 2011-2012 Linaro Ltd.
8 *		www.linaro.org
9 *
10 * Samsung's Exynos4210 SoC pin-mux and pin-config options are listed as device
11 * tree nodes in this file.
12 */
13
14#include "exynos-pinctrl.h"
15
16&pinctrl_0 {
17	gpa0: gpa0-gpio-bank {
18		gpio-controller;
19		#gpio-cells = <2>;
20
21		interrupt-controller;
22		#interrupt-cells = <2>;
23	};
24
25	gpa1: gpa1-gpio-bank {
26		gpio-controller;
27		#gpio-cells = <2>;
28
29		interrupt-controller;
30		#interrupt-cells = <2>;
31	};
32
33	gpb: gpb-gpio-bank {
34		gpio-controller;
35		#gpio-cells = <2>;
36
37		interrupt-controller;
38		#interrupt-cells = <2>;
39	};
40
41	gpc0: gpc0-gpio-bank {
42		gpio-controller;
43		#gpio-cells = <2>;
44
45		interrupt-controller;
46		#interrupt-cells = <2>;
47	};
48
49	gpc1: gpc1-gpio-bank {
50		gpio-controller;
51		#gpio-cells = <2>;
52
53		interrupt-controller;
54		#interrupt-cells = <2>;
55	};
56
57	gpd0: gpd0-gpio-bank {
58		gpio-controller;
59		#gpio-cells = <2>;
60
61		interrupt-controller;
62		#interrupt-cells = <2>;
63	};
64
65	gpd1: gpd1-gpio-bank {
66		gpio-controller;
67		#gpio-cells = <2>;
68
69		interrupt-controller;
70		#interrupt-cells = <2>;
71	};
72
73	gpe0: gpe0-gpio-bank {
74		gpio-controller;
75		#gpio-cells = <2>;
76
77		interrupt-controller;
78		#interrupt-cells = <2>;
79	};
80
81	gpe1: gpe1-gpio-bank {
82		gpio-controller;
83		#gpio-cells = <2>;
84
85		interrupt-controller;
86		#interrupt-cells = <2>;
87	};
88
89	gpe2: gpe2-gpio-bank {
90		gpio-controller;
91		#gpio-cells = <2>;
92
93		interrupt-controller;
94		#interrupt-cells = <2>;
95	};
96
97	gpe3: gpe3-gpio-bank {
98		gpio-controller;
99		#gpio-cells = <2>;
100
101		interrupt-controller;
102		#interrupt-cells = <2>;
103	};
104
105	gpe4: gpe4-gpio-bank {
106		gpio-controller;
107		#gpio-cells = <2>;
108
109		interrupt-controller;
110		#interrupt-cells = <2>;
111	};
112
113	gpf0: gpf0-gpio-bank {
114		gpio-controller;
115		#gpio-cells = <2>;
116
117		interrupt-controller;
118		#interrupt-cells = <2>;
119	};
120
121	gpf1: gpf1-gpio-bank {
122		gpio-controller;
123		#gpio-cells = <2>;
124
125		interrupt-controller;
126		#interrupt-cells = <2>;
127	};
128
129	gpf2: gpf2-gpio-bank {
130		gpio-controller;
131		#gpio-cells = <2>;
132
133		interrupt-controller;
134		#interrupt-cells = <2>;
135	};
136
137	gpf3: gpf3-gpio-bank {
138		gpio-controller;
139		#gpio-cells = <2>;
140
141		interrupt-controller;
142		#interrupt-cells = <2>;
143	};
144
145	uart0_data: uart0-data-pins {
146		samsung,pins = "gpa0-0", "gpa0-1";
147		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
148		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
149		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
150	};
151
152	uart0_fctl: uart0-fctl-pins {
153		samsung,pins = "gpa0-2", "gpa0-3";
154		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
155		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
156		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
157	};
158
159	uart1_data: uart1-data-pins {
160		samsung,pins = "gpa0-4", "gpa0-5";
161		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
162		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
163		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
164	};
165
166	uart1_fctl: uart1-fctl-pins {
167		samsung,pins = "gpa0-6", "gpa0-7";
168		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
169		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
170		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
171	};
172
173	i2c2_bus: i2c2-bus-pins {
174		samsung,pins = "gpa0-6", "gpa0-7";
175		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
176		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
177		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
178	};
179
180	uart2_data: uart2-data-pins {
181		samsung,pins = "gpa1-0", "gpa1-1";
182		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
183		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
184		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
185	};
186
187	uart2_fctl: uart2-fctl-pins {
188		samsung,pins = "gpa1-2", "gpa1-3";
189		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
190		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
191		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
192	};
193
194	uart_audio_a: uart-audio-a-pins {
195		samsung,pins = "gpa1-0", "gpa1-1";
196		samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
197		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
198		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
199	};
200
201	i2c3_bus: i2c3-bus-pins {
202		samsung,pins = "gpa1-2", "gpa1-3";
203		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
204		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
205		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
206	};
207
208	uart3_data: uart3-data-pins {
209		samsung,pins = "gpa1-4", "gpa1-5";
210		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
211		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
212		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
213	};
214
215	uart_audio_b: uart-audio-b-pins {
216		samsung,pins = "gpa1-4", "gpa1-5";
217		samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
218		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
219		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
220	};
221
222	spi0_bus: spi0-bus-pins {
223		samsung,pins = "gpb-0", "gpb-2", "gpb-3";
224		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
225		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
226		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
227	};
228
229	i2c4_bus: i2c4-bus-pins {
230		samsung,pins = "gpb-2", "gpb-3";
231		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
232		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
233		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
234	};
235
236	spi1_bus: spi1-bus-pins {
237		samsung,pins = "gpb-4", "gpb-6", "gpb-7";
238		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
239		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
240		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
241	};
242
243	i2c5_bus: i2c5-bus-pins {
244		samsung,pins = "gpb-6", "gpb-7";
245		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
246		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
247		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
248	};
249
250	i2s1_bus: i2s1-bus-pins {
251		samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
252				"gpc0-4";
253		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
254		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
255		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
256	};
257
258	pcm1_bus: pcm1-bus-pins {
259		samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
260				"gpc0-4";
261		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
262		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
263		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
264	};
265
266	ac97_bus: ac97-bus-pins {
267		samsung,pins = "gpc0-0", "gpc0-1", "gpc0-2", "gpc0-3",
268				"gpc0-4";
269		samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
270		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
271		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
272	};
273
274	i2s2_bus: i2s2-bus-pins {
275		samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
276				"gpc1-4";
277		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
278		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
279		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
280	};
281
282	pcm2_bus: pcm2-bus-pins {
283		samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
284				"gpc1-4";
285		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
286		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
287		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
288	};
289
290	spdif_bus: spdif-bus-pins {
291		samsung,pins = "gpc1-0", "gpc1-1";
292		samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
293		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
294		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
295	};
296
297	i2c6_bus: i2c6-bus-pins {
298		samsung,pins = "gpc1-3", "gpc1-4";
299		samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
300		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
301		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
302	};
303
304	spi2_bus: spi2-bus-pins {
305		samsung,pins = "gpc1-1", "gpc1-2", "gpc1-3", "gpc1-4";
306		samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
307		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
308		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
309	};
310
311	i2c7_bus: i2c7-bus-pins {
312		samsung,pins = "gpd0-2", "gpd0-3";
313		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
314		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
315		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
316	};
317
318	i2c0_bus: i2c0-bus-pins {
319		samsung,pins = "gpd1-0", "gpd1-1";
320		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
321		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
322		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
323	};
324
325	i2c1_bus: i2c1-bus-pins {
326		samsung,pins = "gpd1-2", "gpd1-3";
327		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
328		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
329		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
330	};
331
332	pwm0_out: pwm0-out-pins {
333		samsung,pins = "gpd0-0";
334		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
335		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
336		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
337	};
338
339	pwm1_out: pwm1-out-pins {
340		samsung,pins = "gpd0-1";
341		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
342		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
343		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
344	};
345
346	pwm2_out: pwm2-out-pins {
347		samsung,pins = "gpd0-2";
348		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
349		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
350		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
351	};
352
353	pwm3_out: pwm3-out-pins {
354		samsung,pins = "gpd0-3";
355		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
356		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
357		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
358	};
359
360	lcd_ctrl: lcd-ctrl-pins {
361		samsung,pins = "gpd0-0", "gpd0-1";
362		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
363		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
364		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
365	};
366
367	lcd_sync: lcd-sync-pins {
368		samsung,pins = "gpf0-0", "gpf0-1";
369		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
370		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
371		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
372	};
373
374	lcd_en: lcd-en-pins {
375		samsung,pins = "gpe3-4";
376		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
377		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
378		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
379	};
380
381	lcd_clk: lcd-clk-pins {
382		samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3";
383		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
384		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
385		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
386	};
387
388	lcd_data16: lcd-data-width16-pins {
389		samsung,pins = "gpf0-7", "gpf1-0", "gpf1-1", "gpf1-2",
390				"gpf1-3", "gpf1-6", "gpf1-7", "gpf2-0",
391				"gpf2-1", "gpf2-2", "gpf2-3", "gpf2-7",
392				"gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
393		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
394		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
395		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
396	};
397
398	lcd_data18: lcd-data-width18-pins {
399		samsung,pins = "gpf0-6", "gpf0-7", "gpf1-0", "gpf1-1",
400				"gpf1-2", "gpf1-3", "gpf1-6", "gpf1-7",
401				"gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
402				"gpf2-6", "gpf2-7", "gpf3-0", "gpf3-1",
403				"gpf3-2", "gpf3-3";
404		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
405		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
406		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
407	};
408
409	lcd_data24: lcd-data-width24-pins {
410		samsung,pins = "gpf0-4", "gpf0-5", "gpf0-6", "gpf0-7",
411				"gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3",
412				"gpf1-4", "gpf1-5", "gpf1-6", "gpf1-7",
413				"gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
414				"gpf2-4", "gpf2-5", "gpf2-6", "gpf2-7",
415				"gpf3-0", "gpf3-1", "gpf3-2", "gpf3-3";
416		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
417		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
418		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
419	};
420};
421
422&pinctrl_1 {
423	gpj0: gpj0-gpio-bank {
424		gpio-controller;
425		#gpio-cells = <2>;
426
427		interrupt-controller;
428		#interrupt-cells = <2>;
429	};
430
431	gpj1: gpj1-gpio-bank {
432		gpio-controller;
433		#gpio-cells = <2>;
434
435		interrupt-controller;
436		#interrupt-cells = <2>;
437	};
438
439	gpk0: gpk0-gpio-bank {
440		gpio-controller;
441		#gpio-cells = <2>;
442
443		interrupt-controller;
444		#interrupt-cells = <2>;
445	};
446
447	gpk1: gpk1-gpio-bank {
448		gpio-controller;
449		#gpio-cells = <2>;
450
451		interrupt-controller;
452		#interrupt-cells = <2>;
453	};
454
455	gpk2: gpk2-gpio-bank {
456		gpio-controller;
457		#gpio-cells = <2>;
458
459		interrupt-controller;
460		#interrupt-cells = <2>;
461	};
462
463	gpk3: gpk3-gpio-bank {
464		gpio-controller;
465		#gpio-cells = <2>;
466
467		interrupt-controller;
468		#interrupt-cells = <2>;
469	};
470
471	gpl0: gpl0-gpio-bank {
472		gpio-controller;
473		#gpio-cells = <2>;
474
475		interrupt-controller;
476		#interrupt-cells = <2>;
477	};
478
479	gpl1: gpl1-gpio-bank {
480		gpio-controller;
481		#gpio-cells = <2>;
482
483		interrupt-controller;
484		#interrupt-cells = <2>;
485	};
486
487	gpl2: gpl2-gpio-bank {
488		gpio-controller;
489		#gpio-cells = <2>;
490
491		interrupt-controller;
492		#interrupt-cells = <2>;
493	};
494
495	gpy0: gpy0-gpio-bank {
496		gpio-controller;
497		#gpio-cells = <2>;
498	};
499
500	gpy1: gpy1-gpio-bank {
501		gpio-controller;
502		#gpio-cells = <2>;
503	};
504
505	gpy2: gpy2-gpio-bank {
506		gpio-controller;
507		#gpio-cells = <2>;
508	};
509
510	gpy3: gpy3-gpio-bank {
511		gpio-controller;
512		#gpio-cells = <2>;
513	};
514
515	gpy4: gpy4-gpio-bank {
516		gpio-controller;
517		#gpio-cells = <2>;
518	};
519
520	gpy5: gpy5-gpio-bank {
521		gpio-controller;
522		#gpio-cells = <2>;
523	};
524
525	gpy6: gpy6-gpio-bank {
526		gpio-controller;
527		#gpio-cells = <2>;
528	};
529
530	gpx0: gpx0-gpio-bank {
531		gpio-controller;
532		#gpio-cells = <2>;
533
534		interrupt-controller;
535		interrupt-parent = <&gic>;
536		interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
537			     <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>,
538			     <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
539			     <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
540			     <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>,
541			     <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
542			     <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
543			     <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
544		#interrupt-cells = <2>;
545	};
546
547	gpx1: gpx1-gpio-bank {
548		gpio-controller;
549		#gpio-cells = <2>;
550
551		interrupt-controller;
552		interrupt-parent = <&gic>;
553		interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
554			     <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
555			     <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
556			     <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>,
557			     <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>,
558			     <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
559			     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>,
560			     <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
561		#interrupt-cells = <2>;
562	};
563
564	gpx2: gpx2-gpio-bank {
565		gpio-controller;
566		#gpio-cells = <2>;
567
568		interrupt-controller;
569		#interrupt-cells = <2>;
570	};
571
572	gpx3: gpx3-gpio-bank {
573		gpio-controller;
574		#gpio-cells = <2>;
575
576		interrupt-controller;
577		#interrupt-cells = <2>;
578	};
579
580	sd0_clk: sd0-clk-pins {
581		samsung,pins = "gpk0-0";
582		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
583		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
584		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
585	};
586
587	sd0_cmd: sd0-cmd-pins {
588		samsung,pins = "gpk0-1";
589		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
590		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
591		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
592	};
593
594	sd0_cd: sd0-cd-pins {
595		samsung,pins = "gpk0-2";
596		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
597		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
598		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
599	};
600
601	sd0_bus1: sd0-bus-width1-pins {
602		samsung,pins = "gpk0-3";
603		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
604		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
605		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
606	};
607
608	sd0_bus4: sd0-bus-width4-pins {
609		samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
610		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
611		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
612		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
613	};
614
615	sd0_bus8: sd0-bus-width8-pins {
616		samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
617		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
618		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
619		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
620	};
621
622	sd4_clk: sd4-clk-pins {
623		samsung,pins = "gpk0-0";
624		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
625		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
626		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
627	};
628
629	sd4_cmd: sd4-cmd-pins {
630		samsung,pins = "gpk0-1";
631		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
632		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
633		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
634	};
635
636	sd4_cd: sd4-cd-pins {
637		samsung,pins = "gpk0-2";
638		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
639		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
640		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
641	};
642
643	sd4_bus1: sd4-bus-width1-pins {
644		samsung,pins = "gpk0-3";
645		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
646		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
647		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
648	};
649
650	sd4_bus4: sd4-bus-width4-pins {
651		samsung,pins = "gpk0-3", "gpk0-4", "gpk0-5", "gpk0-6";
652		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
653		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
654		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
655	};
656
657	sd4_bus8: sd4-bus-width8-pins {
658		samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
659		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
660		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
661		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
662	};
663
664	sd1_clk: sd1-clk-pins {
665		samsung,pins = "gpk1-0";
666		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
667		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
668		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
669	};
670
671	sd1_cmd: sd1-cmd-pins {
672		samsung,pins = "gpk1-1";
673		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
674		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
675		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
676	};
677
678	sd1_cd: sd1-cd-pins {
679		samsung,pins = "gpk1-2";
680		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
681		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
682		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
683	};
684
685	sd1_bus1: sd1-bus-width1-pins {
686		samsung,pins = "gpk1-3";
687		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
688		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
689		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
690	};
691
692	sd1_bus4: sd1-bus-width4-pins {
693		samsung,pins = "gpk1-3", "gpk1-4", "gpk1-5", "gpk1-6";
694		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
695		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
696		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
697	};
698
699	sd2_clk: sd2-clk-pins {
700		samsung,pins = "gpk2-0";
701		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
702		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
703		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
704	};
705
706	sd2_cmd: sd2-cmd-pins {
707		samsung,pins = "gpk2-1";
708		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
709		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
710		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
711	};
712
713	sd2_cd: sd2-cd-pins {
714		samsung,pins = "gpk2-2";
715		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
716		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
717		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
718	};
719
720	sd2_bus1: sd2-bus-width1-pins {
721		samsung,pins = "gpk2-3";
722		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
723		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
724		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
725	};
726
727	sd2_bus4: sd2-bus-width4-pins {
728		samsung,pins = "gpk2-3", "gpk2-4", "gpk2-5", "gpk2-6";
729		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
730		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
731		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
732	};
733
734	sd2_bus8: sd2-bus-width8-pins {
735		samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
736		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
737		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
738		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
739	};
740
741	sd3_clk: sd3-clk-pins {
742		samsung,pins = "gpk3-0";
743		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
744		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
745		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
746	};
747
748	sd3_cmd: sd3-cmd-pins {
749		samsung,pins = "gpk3-1";
750		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
751		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
752		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
753	};
754
755	sd3_cd: sd3-cd-pins {
756		samsung,pins = "gpk3-2";
757		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
758		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
759		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
760	};
761
762	sd3_bus1: sd3-bus-width1-pins {
763		samsung,pins = "gpk3-3";
764		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
765		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
766		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
767	};
768
769	sd3_bus4: sd3-bus-width4-pins {
770		samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
771		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
772		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
773		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
774	};
775
776	eint0: ext-int0-pins {
777		samsung,pins = "gpx0-0";
778		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
779		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
780		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
781	};
782
783	eint8: ext-int8-pins {
784		samsung,pins = "gpx1-0";
785		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
786		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
787		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
788	};
789
790	eint15: ext-int15-pins {
791		samsung,pins = "gpx1-7";
792		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
793		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
794		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
795	};
796
797	eint16: ext-int16-pins {
798		samsung,pins = "gpx2-0";
799		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
800		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
801		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
802	};
803
804	eint31: ext-int31-pins {
805		samsung,pins = "gpx3-7";
806		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
807		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
808		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
809	};
810
811	cam_port_a_io: cam-port-a-io-pins {
812		samsung,pins = "gpj0-0", "gpj0-1", "gpj0-2", "gpj0-3",
813				"gpj0-4", "gpj0-5", "gpj0-6", "gpj0-7",
814				"gpj1-0", "gpj1-1", "gpj1-2", "gpj1-4";
815		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
816		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
817		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
818	};
819
820	cam_port_a_clk_active: cam-port-a-clk-active-pins {
821		samsung,pins = "gpj1-3";
822		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
823		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
824		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
825	};
826
827	cam_port_a_clk_idle: cam-port-a-clk-idle-pins {
828		samsung,pins = "gpj1-3";
829		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
830		samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
831		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
832	};
833
834	hdmi_cec: hdmi-cec-pins {
835		samsung,pins = "gpx3-6";
836		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
837		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
838		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
839	};
840};
841
842&pinctrl_2 {
843	gpz: gpz-gpio-bank {
844		gpio-controller;
845		#gpio-cells = <2>;
846	};
847
848	i2s0_bus: i2s0-bus-pins {
849		samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
850				"gpz-4", "gpz-5", "gpz-6";
851		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
852		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
853		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
854	};
855
856	pcm0_bus: pcm0-bus-pins {
857		samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
858				"gpz-4";
859		samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
860		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
861		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
862	};
863};
864