Lines Matching +full:pinctrl +full:-

1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012-2013 Linaro Ltd.
7 /dts-v1/;
13 compatible = "hisilicon,hi3620-hi4511";
17 stdout-path = "serial0:115200n8";
25 amba-bus {
31 pinctrl-names = "default", "sleep";
32 pinctrl-0 = <&uart0_pmx_func &uart0_cfg_func>;
33 pinctrl-1 = <&uart0_pmx_idle &uart0_cfg_idle>;
38 pinctrl-names = "default", "sleep";
39 pinctrl-0 = <&uart1_pmx_func &uart1_cfg_func>;
40 pinctrl-1 = <&uart1_pmx_idle &uart1_cfg_idle>;
45 pinctrl-names = "default", "sleep";
46 pinctrl-0 = <&uart2_pmx_func &uart2_cfg_func>;
47 pinctrl-1 = <&uart2_pmx_idle &uart2_cfg_idle>;
52 pinctrl-names = "default", "sleep";
53 pinctrl-0 = <&uart3_pmx_func &uart3_cfg_func>;
54 pinctrl-1 = <&uart3_pmx_idle &uart3_cfg_idle>;
59 pinctrl-names = "default", "sleep";
60 pinctrl-0 = <&uart4_pmx_func &uart4_cfg_func>;
61 pinctrl-1 = <&uart4_pmx_idle &uart4_cfg_func>;
66 pinctrl-names = "default";
67 pinctrl-0 = <&board_pmx_pins>;
69 board_pmx_pins: board-pins {
70 pinctrl-single,pins = <
71 0x008 0x0 /* GPIO -- eFUSE_DOUT */
75 uart0_pmx_func: uart0-pins {
76 pinctrl-single,pins = <
81 uart0_pmx_idle: uart0-idle-pins {
82 pinctrl-single,pins = <
87 uart1_pmx_func: uart1-pins {
88 pinctrl-single,pins = <
93 uart1_pmx_idle: uart1-idle-pins {
94 pinctrl-single,pins = <
99 uart2_pmx_func: uart2-pins {
100 pinctrl-single,pins = <
105 uart2_pmx_idle: uart2-idle-pins {
106 pinctrl-single,pins = <
111 uart3_pmx_func: uart3-pins {
112 pinctrl-single,pins = <
117 uart3_pmx_idle: uart3-idle-pins {
118 pinctrl-single,pins = <
123 uart4_pmx_func: uart4-pins {
124 pinctrl-single,pins = <
130 uart4_pmx_idle: uart4-idle-pins {
131 pinctrl-single,pins = <
137 i2c0_pmx_func: i2c0-pins {
138 pinctrl-single,pins = <
142 i2c0_pmx_idle: i2c0-idle-pins {
143 pinctrl-single,pins = <
147 i2c1_pmx_func: i2c1-pins {
148 pinctrl-single,pins = <
152 i2c1_pmx_idle: i2c1-idle-pins {
153 pinctrl-single,pins = <
157 i2c2_pmx_func: i2c2-pins {
158 pinctrl-single,pins = <
163 i2c2_pmx_idle: i2c2-idle-pins {
164 pinctrl-single,pins = <
169 i2c3_pmx_func: i2c3-pins {
170 pinctrl-single,pins = <
175 i2c3_pmx_idle: i2c3-idle-pins {
176 pinctrl-single,pins = <
181 spi0_pmx_func: spi0-pins {
182 pinctrl-single,pins = <
190 spi0_pmx_idle: spi0-idle-pins {
191 pinctrl-single,pins = <
199 spi1_pmx_func: spi1-pins {
200 pinctrl-single,pins = <
206 spi1_pmx_idle: spi1-idle-pins {
207 pinctrl-single,pins = <
213 kpc_pmx_func: kpc-pins {
214 pinctrl-single,pins = <
223 kpc_pmx_idle: kpc-idle-pins {
224 pinctrl-single,pins = <
233 gpio_key_func: gpio-key-pins {
234 pinctrl-single,pins = <
239 emmc_pmx_func: emmc-pins {
240 pinctrl-single,pins = <
248 emmc_pmx_idle: emmc-idle-pins {
249 pinctrl-single,pins = <
257 sd_pmx_func: sd-pins {
258 pinctrl-single,pins = <
263 sd_pmx_idle: sd-idle-pins {
264 pinctrl-single,pins = <
269 nand_pmx_func: nand-pins {
270 pinctrl-single,pins = <
282 nand_pmx_idle: nand-idle-pins {
283 pinctrl-single,pins = <
295 sdio_pmx_func: sdio-pins {
296 pinctrl-single,pins = <
300 sdio_pmx_idle: sdio-idle-pins {
301 pinctrl-single,pins = <
305 audio_out_pmx_func: audio-out-pins {
306 pinctrl-single,pins = <
313 pinctrl-names = "default";
314 pinctrl-0 = < &board_pu_pins &board_pd_pins &board_pd_ps_pins
317 board_pu_pins: board-pu-pins {
318 pinctrl-single,pins = <
324 pinctrl-single,bias-pulldown = <0 2 0 2>;
325 pinctrl-single,bias-pullup = <1 1 0 1>;
327 board_pd_pins: board-pd-pins {
328 pinctrl-single,pins = <
333 pinctrl-single,bias-pulldown = <2 2 0 2>;
334 pinctrl-single,bias-pullup = <0 1 0 1>;
336 board_pd_ps_pins: board-pd-ps-pins {
337 pinctrl-single,pins = <
341 pinctrl-single,bias-pulldown = <2 2 0 2>;
342 pinctrl-single,bias-pullup = <0 1 0 1>;
343 pinctrl-single,drive-strength = <0x30 0xf0>;
345 board_np_pins: board-np-pins {
346 pinctrl-single,pins = <
349 pinctrl-single,bias-pulldown = <0 2 0 2>;
350 pinctrl-single,bias-pullup = <0 1 0 1>;
352 board_ps_pins: board-ps-pins {
353 pinctrl-single,pins = <
357 pinctrl-single,drive-strength = <0x30 0xf0>;
359 uart0_cfg_func: uart0-cfg-pins {
360 pinctrl-single,pins = <
364 pinctrl-single,bias-pulldown = <0 2 0 2>;
365 pinctrl-single,bias-pullup = <0 1 0 1>;
367 uart0_cfg_idle: uart0-cfg-idle-pins {
368 pinctrl-single,pins = <
372 pinctrl-single,bias-pulldown = <2 2 0 2>;
373 pinctrl-single,bias-pullup = <0 1 0 1>;
375 uart1_cfg_func: uart1-cfg-pins {
376 pinctrl-single,pins = <
382 pinctrl-single,bias-pulldown = <0 2 0 2>;
383 pinctrl-single,bias-pullup = <0 1 0 1>;
385 uart1_cfg_idle: uart1-cfg-idle-pins {
386 pinctrl-single,pins = <
392 pinctrl-single,bias-pulldown = <2 2 0 2>;
393 pinctrl-single,bias-pullup = <0 1 0 1>;
395 uart2_cfg_func: uart2-cfg-pins {
396 pinctrl-single,pins = <
402 pinctrl-single,bias-pulldown = <0 2 0 2>;
403 pinctrl-single,bias-pullup = <0 1 0 1>;
405 uart2_cfg_idle: uart2-cfg-idle-pins {
406 pinctrl-single,pins = <
412 pinctrl-single,bias-pulldown = <2 2 0 2>;
413 pinctrl-single,bias-pullup = <0 1 0 1>;
415 uart3_cfg_func: uart3-cfg-pins {
416 pinctrl-single,pins = <
422 pinctrl-single,bias-pulldown = <0 2 0 2>;
423 pinctrl-single,bias-pullup = <0 1 0 1>;
425 uart3_cfg_idle: uart3-cfg-idle-pins {
426 pinctrl-single,pins = <
432 pinctrl-single,bias-pulldown = <2 2 0 2>;
433 pinctrl-single,bias-pullup = <0 1 0 1>;
435 uart4_cfg_func: uart4-cfg-pins {
436 pinctrl-single,pins = <
442 pinctrl-single,bias-pulldown = <0 2 0 2>;
443 pinctrl-single,bias-pullup = <0 1 0 1>;
445 i2c0_cfg_func: i2c0-cfg-pins {
446 pinctrl-single,pins = <
450 pinctrl-single,bias-pulldown = <0 2 0 2>;
451 pinctrl-single,bias-pullup = <0 1 0 1>;
452 pinctrl-single,drive-strength = <0x30 0xf0>;
454 i2c1_cfg_func: i2c1-cfg-pins {
455 pinctrl-single,pins = <
459 pinctrl-single,bias-pulldown = <0 2 0 2>;
460 pinctrl-single,bias-pullup = <0 1 0 1>;
461 pinctrl-single,drive-strength = <0x30 0xf0>;
463 i2c2_cfg_func: i2c2-cfg-pins {
464 pinctrl-single,pins = <
468 pinctrl-single,bias-pulldown = <0 2 0 2>;
469 pinctrl-single,bias-pullup = <0 1 0 1>;
470 pinctrl-single,drive-strength = <0x30 0xf0>;
472 i2c3_cfg_func: i2c3-cfg-pins {
473 pinctrl-single,pins = <
477 pinctrl-single,bias-pulldown = <0 2 0 2>;
478 pinctrl-single,bias-pullup = <0 1 0 1>;
479 pinctrl-single,drive-strength = <0x30 0xf0>;
481 spi0_cfg_func1: spi0-cfg-func1-pins {
482 pinctrl-single,pins = <
487 pinctrl-single,bias-pulldown = <2 2 0 2>;
488 pinctrl-single,bias-pullup = <0 1 0 1>;
489 pinctrl-single,drive-strength = <0x30 0xf0>;
491 spi0_cfg_func2: spi0-cfg-func2-pins {
492 pinctrl-single,pins = <
498 pinctrl-single,bias-pulldown = <0 2 0 2>;
499 pinctrl-single,bias-pullup = <1 1 0 1>;
500 pinctrl-single,drive-strength = <0x30 0xf0>;
502 spi1_cfg_func1: spi1-cfg-func1-pins {
503 pinctrl-single,pins = <
508 pinctrl-single,bias-pulldown = <2 2 0 2>;
509 pinctrl-single,bias-pullup = <0 1 0 1>;
510 pinctrl-single,drive-strength = <0x30 0xf0>;
512 spi1_cfg_func2: spi1-cfg-func2-pins {
513 pinctrl-single,pins = <
516 pinctrl-single,bias-pulldown = <0 2 0 2>;
517 pinctrl-single,bias-pullup = <1 1 0 1>;
518 pinctrl-single,drive-strength = <0x30 0xf0>;
520 kpc_cfg_func: kpc-cfg-pins {
521 pinctrl-single,pins = <
529 pinctrl-single,bias-pulldown = <2 2 0 2>;
530 pinctrl-single,bias-pullup = <0 1 0 1>;
532 emmc_cfg_func: emmc-cfg-pins {
533 pinctrl-single,pins = <
548 pinctrl-single,bias-pulldown = <0 2 0 2>;
549 pinctrl-single,bias-pullup = <1 1 0 1>;
550 pinctrl-single,drive-strength = <0x30 0xf0>;
552 sd_cfg_func1: sd-cfg-func1-pins {
553 pinctrl-single,pins = <
557 pinctrl-single,bias-pulldown = <2 2 0 2>;
558 pinctrl-single,bias-pullup = <0 1 0 1>;
559 pinctrl-single,drive-strength = <0x30 0xf0>;
561 sd_cfg_func2: sd-cfg-func2-pins {
562 pinctrl-single,pins = <
568 pinctrl-single,bias-pulldown = <2 2 0 2>;
569 pinctrl-single,bias-pullup = <0 1 0 1>;
570 pinctrl-single,drive-strength = <0x70 0xf0>;
572 nand_cfg_func1: nand-cfg-func1-pins {
573 pinctrl-single,pins = <
593 pinctrl-single,bias-pulldown = <2 2 0 2>;
594 pinctrl-single,bias-pullup = <0 1 0 1>;
595 pinctrl-single,drive-strength = <0x30 0xf0>;
597 nand_cfg_func2: nand-cfg-func2-pins {
598 pinctrl-single,pins = <
610 pinctrl-single,bias-pulldown = <0 2 0 2>;
611 pinctrl-single,bias-pullup = <1 1 0 1>;
612 pinctrl-single,drive-strength = <0x30 0xf0>;
614 sdio_cfg_func: sdio-cfg-pins {
615 pinctrl-single,pins = <
623 pinctrl-single,bias-pulldown = <2 2 0 2>;
624 pinctrl-single,bias-pullup = <0 1 0 1>;
625 pinctrl-single,drive-strength = <0x30 0xf0>;
627 audio_out_cfg_func: audio-out-cfg-pins {
628 pinctrl-single,pins = <
632 pinctrl-single,bias-pulldown = <2 2 0 2>;
633 pinctrl-single,bias-pullup = <0 1 0 1>;
638 gpio-keys {
639 compatible = "gpio-keys";