1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos7 SoC pin-mux and pin-config device tree source
5 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
8 * Samsung's Exynos7 SoC pin-mux and pin-config options are listed as
9 * device tree nodes in this file.
12 #include <dt-bindings/pinctrl/samsung.h>
20 interrupt-parent = <&gic>;
21 #interrupt-cells = <2>;
22 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
23 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
24 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
25 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
26 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
27 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
28 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
29 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
37 interrupt-parent = <&gic>;
38 #interrupt-cells = <2>;
39 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
40 <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
41 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
42 <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
43 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
44 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
45 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
46 <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
54 #interrupt-cells = <2>;
62 #interrupt-cells = <2>;
72 #interrupt-cells = <2>;
80 #interrupt-cells = <2>;
88 #interrupt-cells = <2>;
96 #interrupt-cells = <2>;
103 interrupt-controller;
104 #interrupt-cells = <2>;
111 interrupt-controller;
112 #interrupt-cells = <2>;
119 interrupt-controller;
120 #interrupt-cells = <2>;
127 interrupt-controller;
128 #interrupt-cells = <2>;
135 interrupt-controller;
136 #interrupt-cells = <2>;
143 interrupt-controller;
144 #interrupt-cells = <2>;
151 interrupt-controller;
152 #interrupt-cells = <2>;
159 interrupt-controller;
160 #interrupt-cells = <2>;
167 interrupt-controller;
168 #interrupt-cells = <2>;
175 interrupt-controller;
176 #interrupt-cells = <2>;
183 interrupt-controller;
184 #interrupt-cells = <2>;
187 hs_i2c10_bus: hs-i2c10-bus {
188 samsung,pins = "gpb0-1", "gpb0-0";
189 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
190 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
191 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
194 hs_i2c11_bus: hs-i2c11-bus {
195 samsung,pins = "gpb0-3", "gpb0-2";
196 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
197 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
198 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
201 hs_i2c2_bus: hs-i2c2-bus {
202 samsung,pins = "gpd0-3", "gpd0-2";
203 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
204 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
205 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
208 uart0_data: uart0-data {
209 samsung,pins = "gpd0-0", "gpd0-1";
210 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
211 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
212 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
215 uart0_fctl: uart0-fctl {
216 samsung,pins = "gpd0-2", "gpd0-3";
217 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
218 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
219 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
222 uart2_data: uart2-data {
223 samsung,pins = "gpd1-4", "gpd1-5";
224 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
225 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
226 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
229 hs_i2c3_bus: hs-i2c3-bus {
230 samsung,pins = "gpd1-3", "gpd1-2";
231 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
232 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
233 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
236 uart1_data: uart1-data {
237 samsung,pins = "gpd1-0", "gpd1-1";
238 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
239 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
240 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
243 uart1_fctl: uart1-fctl {
244 samsung,pins = "gpd1-2", "gpd1-3";
245 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
246 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
247 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
250 hs_i2c0_bus: hs-i2c0-bus {
251 samsung,pins = "gpd2-1", "gpd2-0";
252 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
253 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
254 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
257 hs_i2c1_bus: hs-i2c1-bus {
258 samsung,pins = "gpd2-3", "gpd2-2";
259 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
260 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
261 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
264 hs_i2c9_bus: hs-i2c9-bus {
265 samsung,pins = "gpd2-7", "gpd2-6";
266 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
267 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
268 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
272 samsung,pins = "gpd2-4";
273 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
274 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
275 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
279 samsung,pins = "gpd2-5";
280 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
281 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
282 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
286 samsung,pins = "gpd2-6";
287 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
288 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
289 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
293 samsung,pins = "gpd2-7";
294 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
295 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
296 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
299 hs_i2c8_bus: hs-i2c8-bus {
300 samsung,pins = "gpd5-3", "gpd5-2";
301 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
302 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
303 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
306 uart3_data: uart3-data {
307 samsung,pins = "gpd5-0", "gpd5-1";
308 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
309 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
310 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
314 samsung,pins = "gpd5-0", "gpd5-1", "gpd5-2", "gpd5-3";
315 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
316 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
317 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
321 samsung,pins = "gpd6-2", "gpd6-3", "gpd6-4", "gpd6-5";
322 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
323 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
324 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
328 samsung,pins = "gpd8-0", "gpd8-1", "gpd6-0", "gpd6-1";
329 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
330 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
331 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
334 hs_i2c4_bus: hs-i2c4-bus {
335 samsung,pins = "gpg3-1", "gpg3-0";
336 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
337 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
338 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
341 hs_i2c5_bus: hs-i2c5-bus {
342 samsung,pins = "gpg3-3", "gpg3-2";
343 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
344 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
345 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
354 interrupt-controller;
355 #interrupt-cells = <2>;
358 hs_i2c6_bus: hs-i2c6-bus {
359 samsung,pins = "gpj0-1", "gpj0-0";
360 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
361 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
362 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
371 interrupt-controller;
372 #interrupt-cells = <2>;
375 hs_i2c7_bus: hs-i2c7-bus {
376 samsung,pins = "gpj1-1", "gpj1-0";
377 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
378 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
379 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
388 interrupt-controller;
389 #interrupt-cells = <2>;
393 samsung,pins = "gpg4-0", "gpg4-1", "gpg4-2", "gpg4-3";
394 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
395 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
396 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
405 interrupt-controller;
406 #interrupt-cells = <2>;
410 samsung,pins = "gpv7-0", "gpv7-1", "gpv7-2", "gpv7-3";
411 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
412 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
413 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
422 interrupt-controller;
423 #interrupt-cells = <2>;
427 samsung,pins = "gpr4-0";
428 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
429 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
430 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
434 samsung,pins = "gpr4-1";
435 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
436 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
437 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
441 samsung,pins = "gpr4-2";
442 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
443 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
444 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
447 sd2_bus1: sd2-bus-width1 {
448 samsung,pins = "gpr4-3";
449 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
450 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
451 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
454 sd2_bus4: sd2-bus-width4 {
455 samsung,pins = "gpr4-4", "gpr4-5", "gpr4-6";
456 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
457 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
458 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
467 interrupt-controller;
468 #interrupt-cells = <2>;
475 interrupt-controller;
476 #interrupt-cells = <2>;
483 interrupt-controller;
484 #interrupt-cells = <2>;
491 interrupt-controller;
492 #interrupt-cells = <2>;
496 samsung,pins = "gpr0-0";
497 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
498 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
499 samsung,pin-drv = <EXYNOS7_FSYS1_PIN_DRV_LV2>;
503 samsung,pins = "gpr0-1";
504 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
505 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
506 samsung,pin-drv = <EXYNOS7_FSYS1_PIN_DRV_LV2>;
510 samsung,pins = "gpr0-2";
511 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
512 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
513 samsung,pin-drv = <EXYNOS7_FSYS1_PIN_DRV_LV2>;
517 samsung,pins = "gpr0-3";
518 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
519 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
520 samsung,pin-drv = <EXYNOS7_FSYS1_PIN_DRV_LV2>;
523 sd0_bus1: sd0-bus-width1 {
524 samsung,pins = "gpr1-0";
525 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
526 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
527 samsung,pin-drv = <EXYNOS7_FSYS1_PIN_DRV_LV2>;
530 sd0_bus4: sd0-bus-width4 {
531 samsung,pins = "gpr1-1", "gpr1-2", "gpr1-3";
532 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
533 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
534 samsung,pin-drv = <EXYNOS7_FSYS1_PIN_DRV_LV2>;
537 sd0_bus8: sd0-bus-width8 {
538 samsung,pins = "gpr1-4", "gpr1-5", "gpr1-6", "gpr1-7";
539 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
540 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
541 samsung,pin-drv = <EXYNOS7_FSYS1_PIN_DRV_LV2>;
545 samsung,pins = "gpr2-0";
546 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
547 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
548 samsung,pin-drv = <EXYNOS7_FSYS1_PIN_DRV_LV3>;
552 samsung,pins = "gpr2-1";
553 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
554 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
555 samsung,pin-drv = <EXYNOS7_FSYS1_PIN_DRV_LV3>;
559 samsung,pins = "gpr2-2";
560 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
561 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
562 samsung,pin-drv = <EXYNOS7_FSYS1_PIN_DRV_LV4>;
566 samsung,pins = "gpr2-3";
567 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
568 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
569 samsung,pin-drv = <EXYNOS7_FSYS1_PIN_DRV_LV4>;
573 samsung,pins = "gpr2-4";
574 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
575 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
576 samsung,pin-drv = <EXYNOS7_FSYS1_PIN_DRV_LV4>;
579 sd1_bus1: sd1-bus-width1 {
580 samsung,pins = "gpr3-0";
581 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
582 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
583 samsung,pin-drv = <EXYNOS7_FSYS1_PIN_DRV_LV3>;
586 sd1_bus4: sd1-bus-width4 {
587 samsung,pins = "gpr3-1", "gpr3-2", "gpr3-3";
588 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
589 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
590 samsung,pin-drv = <EXYNOS7_FSYS1_PIN_DRV_LV3>;
593 sd1_bus8: sd1-bus-width8 {
594 samsung,pins = "gpr3-4", "gpr3-5", "gpr3-6", "gpr3-7";
595 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
596 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
597 samsung,pin-drv = <EXYNOS7_FSYS1_PIN_DRV_LV3>;
606 interrupt-controller;
607 #interrupt-cells = <2>;
614 interrupt-controller;
615 #interrupt-cells = <2>;
622 interrupt-controller;
623 #interrupt-cells = <2>;
630 interrupt-controller;
631 #interrupt-cells = <2>;
638 interrupt-controller;
639 #interrupt-cells = <2>;
646 interrupt-controller;
647 #interrupt-cells = <2>;
654 interrupt-controller;
655 #interrupt-cells = <2>;
662 interrupt-controller;
663 #interrupt-cells = <2>;
670 interrupt-controller;
671 #interrupt-cells = <2>;
678 interrupt-controller;
679 #interrupt-cells = <2>;
683 samsung,pins = "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3";
684 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
685 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
686 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
689 ufs_refclk_out: ufs-refclk-out {
690 samsung,pins = "gpg2-4";
691 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
692 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
693 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV2>;
696 ufs_rst_n: ufs-rst-n {
697 samsung,pins = "gph1-5";
698 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
699 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
700 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;