Lines Matching +full:gpio +full:- +full:2

1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos850 SoC pin-mux and pin-config device tree source
8 * Samsung's Exynos850 SoC pin-mux and pin-config options are listed as device
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include "exynos-pinctrl.h"
16 gpa0: gpa0-gpio-bank {
17 gpio-controller;
18 #gpio-cells = <2>;
20 interrupt-controller;
21 #interrupt-cells = <2>;
22 interrupt-parent = <&gic>;
24 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
33 gpa1: gpa1-gpio-bank {
34 gpio-controller;
35 #gpio-cells = <2>;
37 interrupt-controller;
38 #interrupt-cells = <2>;
39 interrupt-parent = <&gic>;
50 gpa2: gpa2-gpio-bank {
51 gpio-controller;
52 #gpio-cells = <2>;
54 interrupt-controller;
55 #interrupt-cells = <2>;
56 interrupt-parent = <&gic>;
67 gpa3: gpa3-gpio-bank {
68 gpio-controller;
69 #gpio-cells = <2>;
71 interrupt-controller;
72 #interrupt-cells = <2>;
73 interrupt-parent = <&gic>;
84 gpa4: gpa4-gpio-bank {
85 gpio-controller;
86 #gpio-cells = <2>;
88 interrupt-controller;
89 #interrupt-cells = <2>;
90 interrupt-parent = <&gic>;
97 gpq0: gpq0-gpio-bank {
98 gpio-controller;
99 #gpio-cells = <2>;
101 interrupt-controller;
102 #interrupt-cells = <2>;
106 i2c5_pins: i2c5-pins {
107 samsung,pins = "gpa3-5", "gpa3-6";
108 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
109 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
110 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
114 i2c6_pins: i2c6-pins {
115 samsung,pins = "gpa3-7", "gpa4-0";
116 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
117 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
118 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
122 uart0_pins: uart0-pins {
123 samsung,pins = "gpq0-0", "gpq0-1";
124 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
125 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
129 uart1_pins: uart1-pins {
130 samsung,pins = "gpa3-7", "gpa4-0";
131 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
132 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
137 gpm0: gpm0-gpio-bank {
138 gpio-controller;
139 #gpio-cells = <2>;
141 interrupt-controller;
142 #interrupt-cells = <2>;
143 interrupt-parent = <&gic>;
147 gpm1: gpm1-gpio-bank {
148 gpio-controller;
149 #gpio-cells = <2>;
151 interrupt-controller;
152 #interrupt-cells = <2>;
153 interrupt-parent = <&gic>;
157 gpm2: gpm2-gpio-bank {
158 gpio-controller;
159 #gpio-cells = <2>;
161 interrupt-controller;
162 #interrupt-cells = <2>;
163 interrupt-parent = <&gic>;
167 gpm3: gpm3-gpio-bank {
168 gpio-controller;
169 #gpio-cells = <2>;
171 interrupt-controller;
172 #interrupt-cells = <2>;
173 interrupt-parent = <&gic>;
177 gpm4: gpm4-gpio-bank {
178 gpio-controller;
179 #gpio-cells = <2>;
181 interrupt-controller;
182 #interrupt-cells = <2>;
183 interrupt-parent = <&gic>;
187 gpm5: gpm5-gpio-bank {
188 gpio-controller;
189 #gpio-cells = <2>;
191 interrupt-controller;
192 #interrupt-cells = <2>;
193 interrupt-parent = <&gic>;
197 gpm6: gpm6-gpio-bank {
198 gpio-controller;
199 #gpio-cells = <2>;
201 interrupt-controller;
202 #interrupt-cells = <2>;
203 interrupt-parent = <&gic>;
207 gpm7: gpm7-gpio-bank {
208 gpio-controller;
209 #gpio-cells = <2>;
211 interrupt-controller;
212 #interrupt-cells = <2>;
213 interrupt-parent = <&gic>;
218 hsi2c3_pins: hsi2c3-pins {
219 samsung,pins = "gpm0-0", "gpm1-0";
220 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
221 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
222 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
226 uart1_single_pins: uart1-single-pins {
227 samsung,pins = "gpm0-0", "gpm1-0", "gpm2-0", "gpm3-0";
228 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
229 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
232 /* USI_CMGP0: UART function (2 pins, Non-Auto Flow Control) */
233 uart1_dual_pins: uart1-dual-pins {
234 samsung,pins = "gpm0-0", "gpm1-0";
235 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
236 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
240 spi1_pins: spi1-pins {
241 samsung,pins = "gpm0-0", "gpm1-0", "gpm2-0", "gpm3-0";
242 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
243 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
244 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
248 hsi2c4_pins: hsi2c4-pins {
249 samsung,pins = "gpm4-0", "gpm5-0";
250 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
251 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
252 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
256 uart2_single_pins: uart2-single-pins {
257 samsung,pins = "gpm4-0", "gpm5-0", "gpm6-0", "gpm7-0";
258 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
259 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
262 /* USI_CMGP1: UART function (2 pins, Non-Auto Flow Control) */
263 uart2_dual_pins: uart2-dual-pins {
264 samsung,pins = "gpm4-0", "gpm5-0";
265 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
266 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
270 spi2_pins: spi2-pins {
271 samsung,pins = "gpm4-0", "gpm5-0", "gpm6-0", "gpm7-0";
272 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
273 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
274 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
279 gpb0: gpb0-gpio-bank {
280 gpio-controller;
281 #gpio-cells = <2>;
283 interrupt-controller;
284 #interrupt-cells = <2>;
287 gpb1: gpb1-gpio-bank {
288 gpio-controller;
289 #gpio-cells = <2>;
291 interrupt-controller;
292 #interrupt-cells = <2>;
295 aud_codec_mclk_pins: aud-codec-mclk-pins {
296 samsung,pins = "gpb0-0";
297 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
298 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
301 aud_codec_mclk_idle_pins: aud-codec-mclk-idle-pins {
302 samsung,pins = "gpb0-0";
303 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
304 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
307 aud_i2s0_pins: aud-i2s0-pins {
308 samsung,pins = "gpb0-1", "gpb0-2", "gpb0-3", "gpb0-4";
309 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
310 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
313 aud_i2s0_idle_pins: aud-i2s0-idle-pins {
314 samsung,pins = "gpb0-1", "gpb0-2", "gpb0-3", "gpb0-4";
315 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
316 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
319 aud_i2s1_pins: aud-i2s1-pins {
320 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3";
321 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
322 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
325 aud_i2s1_idle_pins: aud-i2s1-idle-pins {
326 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3";
327 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
328 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
331 aud_fm_pins: aud-fm-pins {
332 samsung,pins = "gpb1-4";
333 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
334 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
337 aud_fm_idle_pins: aud-fm-idle-pins {
338 samsung,pins = "gpb1-4";
339 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
340 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
345 gpf2: gpf2-gpio-bank {
346 gpio-controller;
347 #gpio-cells = <2>;
349 interrupt-controller;
350 #interrupt-cells = <2>;
353 sd2_clk_pins: sd2-clk-pins {
354 samsung,pins = "gpf2-0";
355 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
356 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
357 samsung,pin-drv = <EXYNOS850_HSI_PIN_DRV_LV2>;
360 sd2_cmd_pins: sd2-cmd-pins {
361 samsung,pins = "gpf2-1";
362 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
363 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
364 samsung,pin-drv = <EXYNOS850_HSI_PIN_DRV_LV2>;
367 sd2_bus1_pins: sd2-bus1-pins {
368 samsung,pins = "gpf2-2";
369 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
370 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
371 samsung,pin-drv = <EXYNOS850_HSI_PIN_DRV_LV2>;
374 sd2_bus4_pins: sd2-bus4-pins {
375 samsung,pins = "gpf2-3", "gpf2-4", "gpf2-5";
376 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
377 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
378 samsung,pin-drv = <EXYNOS850_HSI_PIN_DRV_LV2>;
381 sd2_pdn_pins: sd2-pdn-pins {
382 samsung,pins = "gpf2-0", "gpf2-1", "gpf2-2", "gpf2-3",
383 "gpf2-4", "gpf2-5";
384 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
385 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
390 gpf0: gpf0-gpio-bank {
391 gpio-controller;
392 #gpio-cells = <2>;
394 interrupt-controller;
395 #interrupt-cells = <2>;
398 gpf1: gpf1-gpio-bank {
399 gpio-controller;
400 #gpio-cells = <2>;
402 interrupt-controller;
403 #interrupt-cells = <2>;
406 sd0_clk_pins: sd0-clk-pins {
407 samsung,pins = "gpf0-0";
408 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
409 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
410 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
413 sd0_cmd_pins: sd0-cmd-pins {
414 samsung,pins = "gpf0-1";
415 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
416 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
417 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
420 sd0_rdqs_pins: sd0-rdqs-pins {
421 samsung,pins = "gpf0-2";
422 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
423 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
424 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
427 sd0_nreset_pins: sd0-nreset-pins {
428 samsung,pins = "gpf0-3";
429 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
430 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
431 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
434 sd0_bus1_pins: sd0-bus1-pins {
435 samsung,pins = "gpf1-0";
436 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
437 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
438 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
441 sd0_bus4_pins: sd0-bus4-pins {
442 samsung,pins = "gpf1-1", "gpf1-2", "gpf1-3";
443 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
444 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
445 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
448 sd0_bus8_pins: sd0-bus8-pins {
449 samsung,pins = "gpf1-4", "gpf1-5", "gpf1-6", "gpf1-7";
450 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
451 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
452 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
457 gpc0: gpc0-gpio-bank {
458 gpio-controller;
459 #gpio-cells = <2>;
461 interrupt-controller;
462 #interrupt-cells = <2>;
465 gpc1: gpc1-gpio-bank {
466 gpio-controller;
467 #gpio-cells = <2>;
469 interrupt-controller;
470 #interrupt-cells = <2>;
473 gpg0: gpg0-gpio-bank {
474 gpio-controller;
475 #gpio-cells = <2>;
477 interrupt-controller;
478 #interrupt-cells = <2>;
481 gpg1: gpg1-gpio-bank {
482 gpio-controller;
483 #gpio-cells = <2>;
485 interrupt-controller;
486 #interrupt-cells = <2>;
489 gpg2: gpg2-gpio-bank {
490 gpio-controller;
491 #gpio-cells = <2>;
493 interrupt-controller;
494 #interrupt-cells = <2>;
497 gpg3: gpg3-gpio-bank {
498 gpio-controller;
499 #gpio-cells = <2>;
501 interrupt-controller;
502 #interrupt-cells = <2>;
505 gpp0: gpp0-gpio-bank {
506 gpio-controller;
507 #gpio-cells = <2>;
509 interrupt-controller;
510 #interrupt-cells = <2>;
512 gpp1: gpp1-gpio-bank {
513 gpio-controller;
514 #gpio-cells = <2>;
516 interrupt-controller;
517 #interrupt-cells = <2>;
520 gpp2: gpp2-gpio-bank {
521 gpio-controller;
522 #gpio-cells = <2>;
524 interrupt-controller;
525 #interrupt-cells = <2>;
528 sensor_mclk0_in_pins: sensor-mclk0-in-pins {
529 samsung,pins = "gpc0-0";
530 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
531 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
532 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
535 sensor_mclk0_out_pins: sensor-mclk0-out-pins {
536 samsung,pins = "gpc0-0";
537 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
538 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
539 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
542 sensor_mclk0_fn_pins: sensor-mclk0-fn-pins {
543 samsung,pins = "gpc0-0";
544 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
545 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
546 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
549 sensor_mclk1_in_pins: sensor-mclk1-in-pins {
550 samsung,pins = "gpc0-1";
551 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
552 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
553 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
556 sensor_mclk1_out_pins: sensor-mclk1-out-pins {
557 samsung,pins = "gpc0-1";
558 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
559 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
560 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
563 sensor_mclk1_fn_pins: sensor-mclk1-fn-pins {
564 samsung,pins = "gpc0-1";
565 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
566 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
567 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
570 sensor_mclk2_in_pins: sensor-mclk2-in-pins {
571 samsung,pins = "gpc0-2";
572 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
573 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
574 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
577 sensor_mclk2_out_pins: sensor-mclk2-out-pins {
578 samsung,pins = "gpc0-2";
579 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
580 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
581 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
584 sensor_mclk2_fn_pins: sensor-mclk2-fn-pins {
585 samsung,pins = "gpc0-2";
586 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
587 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
588 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
592 hsi2c0_pins: hsi2c0-pins {
593 samsung,pins = "gpc1-0", "gpc1-1";
594 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
595 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
596 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
600 hsi2c1_pins: hsi2c1-pins {
601 samsung,pins = "gpc1-2", "gpc1-3";
602 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
603 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
604 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
608 hsi2c2_pins: hsi2c2-pins {
609 samsung,pins = "gpc1-4", "gpc1-5";
610 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
611 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
612 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
616 spi0_pins: spi0-pins {
617 samsung,pins = "gpp2-0", "gpp2-1", "gpp2-2", "gpp2-3";
618 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
619 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
620 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
623 i2c0_pins: i2c0-pins {
624 samsung,pins = "gpp0-0", "gpp0-1";
625 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
626 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
627 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
630 i2c1_pins: i2c1-pins {
631 samsung,pins = "gpp0-2", "gpp0-3";
632 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
633 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
634 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
637 i2c2_pins: i2c2-pins {
638 samsung,pins = "gpp0-4", "gpp0-5";
639 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
640 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
641 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
644 i2c3_pins: i2c3-pins {
645 samsung,pins = "gpp1-0", "gpp1-1";
646 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
647 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
648 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
651 i2c4_pins: i2c4-pins {
652 samsung,pins = "gpp1-2", "gpp1-3";
653 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
654 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
655 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
658 xclkout_pins: xclkout-pins {
659 samsung,pins = "gpq0-2";
660 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
661 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;