blob: 34bb121919556dcf569b1c804a0a60bfd60daa08 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Samsung Exynos7885 SoC pin-mux and pin-config device tree source
4 *
5 * Copyright (c) 2017 Samsung Electronics Co., Ltd.
6 * Copyright (c) 2021 Dávid Virág
7 *
8 * Samsung's Exynos7885 SoC pin-mux and pin-config options are listed as
9 * device tree nodes in this file.
10 */
11
12#include <dt-bindings/interrupt-controller/arm-gic.h>
13#include "exynos-pinctrl.h"
14
15&pinctrl_alive {
16 etc0: etc0-gpio-bank {
17 gpio-controller;
18 #gpio-cells = <2>;
19
20 interrupt-controller;
21 #interrupt-cells = <2>;
22 };
23
24 etc1: etc1-gpio-bank {
25 gpio-controller;
26 #gpio-cells = <2>;
27
28 interrupt-controller;
29 #interrupt-cells = <2>;
30 };
31
32 gpa0: gpa0-gpio-bank {
33 gpio-controller;
34 #gpio-cells = <2>;
35
36 interrupt-controller;
37 #interrupt-cells = <2>;
38 interrupt-parent = <&gic>;
39 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
40 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
41 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
42 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
43 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
44 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
45 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
46 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
47 };
48
49 gpa1: gpa1-gpio-bank {
50 gpio-controller;
51 #gpio-cells = <2>;
52
53 interrupt-controller;
54 #interrupt-cells = <2>;
55 interrupt-parent = <&gic>;
56 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
57 <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
58 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
59 <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
60 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
61 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
62 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
63 <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
64 };
65
66 gpa2: gpa2-gpio-bank {
67 gpio-controller;
68 #gpio-cells = <2>;
69
70 interrupt-controller;
71 #interrupt-cells = <2>;
72 };
73
74 gpq0: gpq0-gpio-bank {
75 gpio-controller;
76 #gpio-cells = <2>;
77
78 interrupt-controller;
79 #interrupt-cells = <2>;
80 };
81
82 sim1_det_gpio: sim1-det-gpio-pins {
83 samsung,pins = "gpa2-5";
84 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
85 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
86 };
87
88 sim0_det_gpio: sim0-det-gpio-pins {
89 samsung,pins = "gpa2-6";
90 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
91 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
92 };
93
94 speedy_bus: speedy-bus-pins {
95 samsung,pins = "gpq0-2";
96 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
97 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>;
98 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
99 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
100 };
101
102 /* UART_DEBUG */
103 uart2_bus: uart2-bus-pins {
104 samsung,pins = "gpq0-4", "gpq0-3";
105 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
106 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
107 };
108};
109
110&pinctrl_dispaud {
111 gpb0: gpb0-gpio-bank {
112 gpio-controller;
113 #gpio-cells = <2>;
114
115 interrupt-controller;
116 #interrupt-cells = <2>;
117 };
118
119 gpb1: gpb1-gpio-bank {
120 gpio-controller;
121 #gpio-cells = <2>;
122
123 interrupt-controller;
124 #interrupt-cells = <2>;
125 };
126
127 gpb2: gpb2-gpio-bank {
128 gpio-controller;
129 #gpio-cells = <2>;
130
131 interrupt-controller;
132 #interrupt-cells = <2>;
133 };
134
135 aud_codec_mclk: aud-codec-mclk-pins {
136 samsung,pins = "gpb0-0";
137 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
138 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
139 };
140
141 aud_codec_mclk_idle: aud-codec-mclk-idle-pins {
142 samsung,pins = "gpb0-0";
143 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
144 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
145 };
146
147 aud_codec_bus: aud-codec-bus-pins {
148 samsung,pins = "gpb0-1", "gpb0-2", "gpb0-3", "gpb0-4";
149 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
150 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
151 };
152
153 aud_codec_bus_idle: aud-codec-bus-idle-pins {
154 samsung,pins = "gpb0-1", "gpb0-2", "gpb0-3", "gpb0-4";
155 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
156 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
157 };
158
159 aud_loopback_bus: aud-loopback-bus-pins {
160 samsung,pins = "gpb1-0";
161 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
162 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
163 };
164
165 aud_loopback_bus_idle: aud-loopback-bus-idle-pins {
166 samsung,pins = "gpb1-0";
167 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
168 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
169 };
170
171 aud_fm_bus: aud-fm-bus-pins {
172 samsung,pins = "gpb1-1", "gpb1-2", "gpb1-3";
173 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
174 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
175 };
176
177 aud_fm_bus_idle: aud-fm-bus-idle-pins {
178 samsung,pins = "gpb1-1", "gpb1-2", "gpb1-3";
179 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
180 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
181 };
182
183 aud_spk_bus: aud-spk-bus-pins {
184 samsung,pins = "gpb2-0", "gpb2-1", "gpb2-2", "gpb2-3";
185 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
186 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
187 };
188
189 aud_spk_bus_idle: aud-spk-bus-idle-pins {
190 samsung,pins = "gpb2-0", "gpb2-1", "gpb2-2", "gpb2-3";
191 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
192 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
193 };
194};
195
196&pinctrl_fsys {
197 gpf0: gpf0-gpio-bank {
198 gpio-controller;
199 #gpio-cells = <2>;
200
201 interrupt-controller;
202 #interrupt-cells = <2>;
203 };
204
205 gpf2: gpf2-gpio-bank {
206 gpio-controller;
207 #gpio-cells = <2>;
208
209 interrupt-controller;
210 #interrupt-cells = <2>;
211 };
212
213 gpf3: gpf3-gpio-bank {
214 gpio-controller;
215 #gpio-cells = <2>;
216
217 interrupt-controller;
218 #interrupt-cells = <2>;
219 };
220
221 gpf4: gpf4-gpio-bank {
222 gpio-controller;
223 #gpio-cells = <2>;
224
225 interrupt-controller;
226 #interrupt-cells = <2>;
227 };
228
229 sd0_clk: sd0-clk-pins {
230 samsung,pins = "gpf0-0";
231 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
232 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
233 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
234 };
235
236 sd0_clk_fast_slew_rate_1x: sd0-clk-fast-slew-rate-1x-pins {
237 samsung,pins = "gpf0-0";
238 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
239 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
240 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
241 };
242
243 sd0_clk_fast_slew_rate_2x: sd0-clk-fast-slew-rate-2x-pins {
244 samsung,pins = "gpf0-0";
245 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
246 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
247 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV2>;
248 };
249
250 sd0_clk_fast_slew_rate_3x: sd0-clk-fast-slew-rate-3x-pins {
251 samsung,pins = "gpf0-0";
252 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
253 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
254 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
255 };
256
257 sd0_clk_fast_slew_rate_4x: sd0-clk-fast-slew-rate-4x-pins {
258 samsung,pins = "gpf0-0";
259 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
260 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
261 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
262 };
263
264 sd0_cmd: sd0-cmd-pins {
265 samsung,pins = "gpf0-1";
266 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
267 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
268 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
269 };
270
271 sd0_rdqs: sd0-rdqs-pins {
272 samsung,pins = "gpf0-2";
273 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
274 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
275 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
276 };
277
278 sd0_bus1: sd0-bus-width1-pins {
279 samsung,pins = "gpf2-0";
280 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
281 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
282 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
283 };
284
285 sd0_bus4: sd0-bus-width4-pins {
286 samsung,pins = "gpf2-1", "gpf2-2", "gpf2-3";
287 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
288 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
289 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
290 };
291
292 sd0_bus8: sd0-bus-width8-pins {
293 samsung,pins = "gpf2-4", "gpf2-5", "gpf2-6", "gpf2-7";
294 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
295 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
296 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
297 };
298
299 sd1_clk: sd1-clk-pins {
300 samsung,pins = "gpf3-0";
301 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
302 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
303 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
304 };
305
306 sd1_clk_fast_slew_rate_1x: sd1-clk-fast-slew-rate-1x-pins {
307 samsung,pins = "gpf3-0";
308 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
309 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
310 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
311 };
312
313 sd1_clk_fast_slew_rate_2x: sd1-clk-fast-slew-rate-2x-pins {
314 samsung,pins = "gpf3-0";
315 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
316 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
317 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV2>;
318 };
319
320 sd1_clk_fast_slew_rate_3x: sd1-clk-fast-slew-rate-3x-pins {
321 samsung,pins = "gpf3-0";
322 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
323 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
324 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
325 };
326
327 sd1_clk_fast_slew_rate_4x: sd1-clk-fast-slew-rate-4x-pins {
328 samsung,pins = "gpf3-0";
329 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
330 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
331 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
332 };
333
334 sd1_cmd: sd1-cmd-pins {
335 samsung,pins = "gpf3-1";
336 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
337 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
338 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
339 };
340
341 sd1_bus1: sd1-bus-width1-pins {
342 samsung,pins = "gpf3-2";
343 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
344 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
345 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
346 };
347
348 sd1_bus4: sd1-bus-width4-pins {
349 samsung,pins = "gpf3-3", "gpf3-5";
350 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
351 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
352 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
353 };
354
355 sd2_clk: sd2-clk-pins {
356 samsung,pins = "gpf4-0";
357 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
358 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
359 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
360 };
361
362 sd2_clk_fast_slew_rate_1x: sd2-clk-fast-slew-rate-1x-pins {
363 samsung,pins = "gpf4-0";
364 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
365 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
366 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
367 };
368
369 sd2_clk_fast_slew_rate_2x: sd2-clk-fast-slew-rate-2x-pins {
370 samsung,pins = "gpf4-0";
371 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
372 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
373 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV2>;
374 };
375
376 sd2_clk_fast_slew_rate_3x: sd2-clk-fast-slew-rate-3x-pins {
377 samsung,pins = "gpf4-0";
378 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
379 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
380 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
381 };
382
383 sd2_clk_fast_slew_rate_4x: sd2-clk-fast-slew-rate-4x-pins {
384 samsung,pins = "gpf4-0";
385 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
386 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
387 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
388 };
389
390 sd2_cmd: sd2-cmd-pins {
391 samsung,pins = "gpf4-1";
392 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
393 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
394 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
395 };
396
397 sd2_bus1: sd2-bus-width1-pins {
398 samsung,pins = "gpf4-2";
399 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
400 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
401 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
402 };
403
404 sd2_bus4: sd2-bus-width4-pins {
405 samsung,pins = "gpf4-3", "gpf4-4", "gpf4-5";
406 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
407 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
408 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
409 };
410};
411
412&pinctrl_top {
413 gpc0: gpc0-gpio-bank {
414 gpio-controller;
415 #gpio-cells = <2>;
416
417 interrupt-controller;
418 #interrupt-cells = <2>;
419 };
420
421 gpc1: gpc1-gpio-bank {
422 gpio-controller;
423 #gpio-cells = <2>;
424
425 interrupt-controller;
426 #interrupt-cells = <2>;
427 };
428
429 gpc2: gpc2-gpio-bank {
430 gpio-controller;
431 #gpio-cells = <2>;
432
433 interrupt-controller;
434 #interrupt-cells = <2>;
435 };
436
437 gpg0: gpg0-gpio-bank {
438 gpio-controller;
439 #gpio-cells = <2>;
440
441 interrupt-controller;
442 #interrupt-cells = <2>;
443 };
444
445 gpg1: gpg1-gpio-bank {
446 gpio-controller;
447 #gpio-cells = <2>;
448
449 interrupt-controller;
450 #interrupt-cells = <2>;
451 };
452
453 gpg2: gpg2-gpio-bank {
454 gpio-controller;
455 #gpio-cells = <2>;
456
457 interrupt-controller;
458 #interrupt-cells = <2>;
459 };
460
461 gpg3: gpg3-gpio-bank {
462 gpio-controller;
463 #gpio-cells = <2>;
464
465 interrupt-controller;
466 #interrupt-cells = <2>;
467 };
468
469 gpg4: gpg4-gpio-bank {
470 gpio-controller;
471 #gpio-cells = <2>;
472
473 interrupt-controller;
474 #interrupt-cells = <2>;
475 };
476
477 gpp0: gpp0-gpio-bank {
478 gpio-controller;
479 #gpio-cells = <2>;
480
481 interrupt-controller;
482 #interrupt-cells = <2>;
483 };
484
485 gpp1: gpp1-gpio-bank {
486 gpio-controller;
487 #gpio-cells = <2>;
488
489 interrupt-controller;
490 #interrupt-cells = <2>;
491 };
492
493 gpp2: gpp2-gpio-bank {
494 gpio-controller;
495 #gpio-cells = <2>;
496
497 interrupt-controller;
498 #interrupt-cells = <2>;
499 };
500
501 gpp3: gpp3-gpio-bank {
502 gpio-controller;
503 #gpio-cells = <2>;
504
505 interrupt-controller;
506 #interrupt-cells = <2>;
507 };
508
509 gpp4: gpp4-gpio-bank {
510 gpio-controller;
511 #gpio-cells = <2>;
512
513 interrupt-controller;
514 #interrupt-cells = <2>;
515 };
516
517 gpp5: gpp5-gpio-bank {
518 gpio-controller;
519 #gpio-cells = <2>;
520
521 interrupt-controller;
522 #interrupt-cells = <2>;
523 };
524
525 gpp6: gpp6-gpio-bank {
526 gpio-controller;
527 #gpio-cells = <2>;
528
529 interrupt-controller;
530 #interrupt-cells = <2>;
531 };
532
533 gpp7: gpp7-gpio-bank {
534 gpio-controller;
535 #gpio-cells = <2>;
536
537 interrupt-controller;
538 #interrupt-cells = <2>;
539 };
540
541 gpp8: gpp8-gpio-bank {
542 gpio-controller;
543 #gpio-cells = <2>;
544
545 interrupt-controller;
546 #interrupt-cells = <2>;
547 };
548
549 hs_i2c0_bus: hs-i2c0-bus-pins {
550 samsung,pins = "gpc1-1", "gpc1-0";
551 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
552 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT1>;
553 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_UP>;
554 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
555 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
556 };
557
558 hs_i2c1_bus: hs-i2c1-bus-pins {
559 samsung,pins = "gpc1-3", "gpc1-2";
560 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
561 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
562 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
563 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT1>;
564 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_UP>;
565 };
566
567 hs_i2c2_bus: hs-i2c2-bus-pins {
568 samsung,pins = "gpc1-5", "gpc1-4";
569 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
570 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
571 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
572 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT1>;
573 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_UP>;
574 };
575
576 hs_i2c3_bus: hs-i2c3-bus-pins {
577 samsung,pins = "gpc1-7", "gpc1-6";
578 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
579 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
580 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
581 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT1>;
582 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_UP>;
583 };
584
585 /* USI0 UART */
586 uart3_bus_single: uart3-bus-single-pins {
587 samsung,pins = "gpc2-3", "gpc2-2", "gpc2-1", "gpc2-0";
588 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
589 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
590 };
591
592 /* USI0 UART_HSI2C1 */
593 uart3_bus_dual: uart3-bus-dual-pins {
594 samsung,pins = "gpc2-1", "gpc2-0";
595 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
596 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
597 };
598
599 /* USI0 HSI2C0 */
600 hs_i2c4_bus: hs-i2c4-bus-pins {
601 samsung,pins = "gpc2-1", "gpc2-0";
602 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
603 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
604 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
605 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT1>;
606 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_UP>;
607 };
608
609 /* USI0 HSI2C1 */
610 hs_i2c5_bus: hs-i2c5-bus-pins {
611 samsung,pins = "gpc2-3", "gpc2-2";
612 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
613 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
614 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
615 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT1>;
616 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_UP>;
617 };
618
619 /* USI0 SPI */
620 spi2_bus: spi2-bus-pins {
621 samsung,pins = "gpc2-1", "gpc2-0", "gpc2-3";
622 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
623 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
624 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
625 };
626
627 spi2_cs: spi2-cs-pins {
628 samsung,pins = "gpc2-2";
629 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
630 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
631 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
632 };
633
634 /* USI1 UART */
635 uart4_bus_single: uart4-bus-single-pins {
636 samsung,pins = "gpc2-7", "gpc2-6", "gpc2-5", "gpc2-4";
637 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
638 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
639 };
640
641 /* USI1 UART_HSI2C1*/
642 uart4_bus_dual: uart4-bus-dual-pins {
643 samsung,pins = "gpc2-5", "gpc2-4";
644 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
645 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
646 };
647
648 /* USI1 HSI2C0 */
649 hs_i2c6_bus: hs-i2c6-bus-pins {
650 samsung,pins = "gpc2-5", "gpc2-4";
651 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
652 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
653 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
654 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT1>;
655 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_UP>;
656 };
657
658 /* USI1 HSI2C1 */
659 hs_i2c7_bus: hs-i2c7-bus-pins {
660 samsung,pins = "gpc2-7", "gpc2-6";
661 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
662 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
663 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
664 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT1>;
665 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_UP>;
666 };
667
668 /* USI1 SPI */
669 spi3_bus: spi3-bus-pins {
670 samsung,pins = "gpc2-5", "gpc2-4", "gpc2-7";
671 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
672 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
673 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
674 };
675
676 spi3_cs: spi3-cs-pins {
677 samsung,pins = "gpc2-6";
678 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
679 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
680 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
681 };
682
683 fm_lna_en: fm-lna-en-pins {
684 samsung,pins = "gpg0-2";
685 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
686 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
687 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>;
688 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_UP>;
689 samsung,pin-val = <1>;
690 };
691
692 uart1_bus: uart1-bus-pins {
693 samsung,pins = "gpg1-3", "gpg1-2", "gpg1-1", "gpg1-0";
694 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
695 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
696 };
697
698 i2c7_bus: i2c7-bus-pins {
699 samsung,pins = "gpg1-5", "gpg1-4";
700 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
701 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
702 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
703 };
704
705 aud_dmic_on: aud-dmic-on-pins {
706 samsung,pins = "gpg2-1";
707 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
708 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>;
709 samsung,pin-val = <1>;
710 };
711
712 aud_dmic_off: aud-dmic-off-pins {
713 samsung,pins = "gpg2-1";
714 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
715 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>;
716 samsung,pin-val = <0>;
717 };
718
719 /* UART_HEALTH */
720 uart0_bus: uart0-bus-pins {
721 samsung,pins = "gpp0-3", "gpp0-2", "gpp0-1", "gpp0-0";
722 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
723 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
724 };
725
726 i2c0_bus: i2c0-bus-pins {
727 samsung,pins = "gpp1-1", "gpp1-0";
728 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
729 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>;
730 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
731 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
732 };
733
734 i2c1_bus: i2c1-bus-pins {
735 samsung,pins = "gpp1-3", "gpp1-2";
736 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
737 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>;
738 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
739 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
740 };
741
742 i2c2_bus: i2c2-bus-pins {
743 samsung,pins = "gpp2-1", "gpp2-0";
744 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
745 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
746 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
747 };
748
749 i2c3_bus: i2c3-bus-pins {
750 samsung,pins = "gpp3-1", "gpp3-0";
751 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
752 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
753 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
754 };
755
756 i2c4_bus: i2c4-bus-pins {
757 samsung,pins = "gpp4-1", "gpp4-0";
758 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
759 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
760 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
761 };
762
763 i2c5_bus: i2c5-bus-pins {
764 samsung,pins = "gpp4-3", "gpp4-2";
765 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
766 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
767 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
768 };
769
770 i2c6_bus: i2c6-bus-pins {
771 samsung,pins = "gpp4-5", "gpp4-4";
772 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
773 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
774 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
775 };
776
777 /* SPI_ESE */
778 spi0_bus: spi0-bus-pins {
779 samsung,pins = "gpp5-3", "gpp5-2", "gpp5-0";
780 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
781 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
782 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
783 };
784
785 spi0_cs: spi0-cs-pins {
786 samsung,pins = "gpp5-1";
787 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
788 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
789 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
790 };
791
792 /* SPI_FP */
793 spi1_bus: spi1-bus-pins {
794 samsung,pins = "gpp6-3", "gpp6-2", "gpp6-0";
795 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
796 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
797 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
798 };
799
800 spi1_cs: spi1-cs-pins {
801 samsung,pins = "gpp6-1";
802 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
803 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
804 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
805 };
806
807 /* USI2 UART */
808 uart5_bus_single: uart5-bus-single-pins {
809 samsung,pins = "gpp8-1", "gpp8-0", "gpp7-1", "gpp7-0";
810 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
811 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
812 };
813
814 /* USI2 UART_HSI2C1 */
815 uart5_bus_dual: uart5-bus-dual-pins {
816 samsung,pins = "gpp7-1", "gpp7-0";
817 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
818 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
819 };
820
821 /* USI2 HSI2C0 */
822 hs_i2c8_bus: hs-i2c8-bus-pins {
823 samsung,pins = "gpp7-1", "gpp7-0";
824 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
825 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
826 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
827 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT1>;
828 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_UP>;
829 };
830
831 /* USI2 HSI2C1 */
832 hs_i2c9_bus: hs-i2c9-bus-pins {
833 samsung,pins = "gpp8-1", "gpp8-0";
834 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
835 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
836 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
837 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT1>;
838 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_UP>;
839 };
840
841 /* USI2 SPI */
842 spi4_bus: spi4-bus-pins {
843 samsung,pins = "gpp7-1", "gpp7-0", "gpp8-1";
844 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
845 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
846 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
847 };
848
849 spi4_cs: spi4-cs-pins {
850 samsung,pins = "gpp8-0";
851 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
852 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
853 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
854 };
855};