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