Lines Matching +full:pinctrl +full:- +full:0
1 // SPDX-License-Identifier: GPL-2.0
3 * Pinctrl dts file for HiSilicon HiKey970 development board
6 #include <dt-bindings/pinctrl/hisi.h>
10 range: gpio-range {
11 #pinctrl-single,gpio-range-cells = <3>;
15 compatible = "pinctrl-single";
16 reg = <0x0 0xe896c000 0x0 0x72c>;
17 #pinctrl-cells = <1>;
18 #gpio-range-cells = <0x3>;
19 pinctrl-single,register-width = <0x20>;
20 pinctrl-single,function-mask = <0x7>;
22 pinctrl-single,gpio-range = <&range 0 82 0>;
25 pinctrl-single,pins = <
26 0x054 MUX_M2 /* UART0_RXD */
27 0x058 MUX_M2 /* UART0_TXD */
32 pinctrl-single,pins = <
33 0x700 MUX_M2 /* UART2_CTS_N */
34 0x704 MUX_M2 /* UART2_RTS_N */
35 0x708 MUX_M2 /* UART2_RXD */
36 0x70c MUX_M2 /* UART2_TXD */
41 pinctrl-single,pins = <
42 0x064 MUX_M1 /* UART3_CTS_N */
43 0x068 MUX_M1 /* UART3_RTS_N */
44 0x06c MUX_M1 /* UART3_RXD */
45 0x070 MUX_M1 /* UART3_TXD */
50 pinctrl-single,pins = <
51 0x074 MUX_M1 /* UART4_CTS_N */
52 0x078 MUX_M1 /* UART4_RTS_N */
53 0x07c MUX_M1 /* UART4_RXD */
54 0x080 MUX_M1 /* UART4_TXD */
59 pinctrl-single,pins = <
60 0x05c MUX_M1 /* UART6_RXD */
61 0x060 MUX_M1 /* UART6_TXD */
66 pinctrl-single,pins = <
67 0x010 MUX_M1 /* I2C3_SCL */
68 0x014 MUX_M1 /* I2C3_SDA */
73 pinctrl-single,pins = <
74 0x03c MUX_M1 /* I2C4_SCL */
75 0x040 MUX_M1 /* I2C4_SDA */
80 pinctrl-single,pins = <
81 0x714 MUX_M0 /* CAM0_RST */
86 pinctrl-single,pins = <
87 0x048 MUX_M0 /* CAM1_RST */
92 pinctrl-single,pins = <
93 0x098 MUX_M0 /* CAM0_PWD_N */
98 pinctrl-single,pins = <
99 0x044 MUX_M0 /* CAM1_PWD_N */
104 pinctrl-single,pins = <
105 0x018 MUX_M1 /* ISP_CLK0 */
106 0x024 MUX_M1 /* ISP_SCL0 */
107 0x028 MUX_M1 /* ISP_SDA0 */
112 pinctrl-single,pins = <
113 0x01c MUX_M1 /* ISP_CLK1 */
114 0x02c MUX_M1 /* ISP_SCL1 */
115 0x030 MUX_M1 /* ISP_SDA1 */
121 compatible = "pinctrl-single";
122 reg = <0x0 0xfff11000 0x0 0x73c>;
123 #gpio-range-cells = <0x3>;
124 #pinctrl-cells = <1>;
125 pinctrl-single,register-width = <0x20>;
126 pinctrl-single,function-mask = <0x7>;
128 pinctrl-single,gpio-range = <&range 0 46 0>;
131 pinctrl-single,pins = <
132 0x064 MUX_M0 /* GPIO_203 */
137 pinctrl-single,pins = <
138 0x080 MUX_M0 /* GPIO_221 */
143 pinctrl-single,pins = <
144 0x050 MUX_M1 /* I2S2_DI */
145 0x054 MUX_M1 /* I2S2_DO */
146 0x058 MUX_M1 /* I2S2_XCLK */
147 0x05c MUX_M1 /* I2S2_XFS */
152 pinctrl-single,pins = <
153 0x094 MUX_M1 /* SPI0_CLK */
154 0x098 MUX_M1 /* SPI0_DI */
155 0x09c MUX_M1 /* SPI0_DO */
156 0x0a0 MUX_M1 /* SPI0_CS0_N */
161 pinctrl-single,pins = <
162 0x710 MUX_M1 /* SPI2_CLK */
163 0x714 MUX_M1 /* SPI2_DI */
164 0x718 MUX_M1 /* SPI2_DO */
165 0x71c MUX_M1 /* SPI2_CS0_N */
170 pinctrl-single,pins = <
171 0x72c MUX_M1 /* SPI3_CLK */
172 0x730 MUX_M1 /* SPI3_DI */
173 0x734 MUX_M1 /* SPI3_DO */
174 0x738 MUX_M1 /* SPI3_CS0_N */
179 pinctrl-single,pins = <
180 0x020 MUX_M1 /* I2C0_SCL */
181 0x024 MUX_M1 /* I2C0_SDA */
186 pinctrl-single,pins = <
187 0x028 MUX_M1 /* I2C1_SCL */
188 0x02c MUX_M1 /* I2C1_SDA */
192 pinctrl-single,pins = <
193 0x030 MUX_M1 /* I2C2_SCL */
194 0x034 MUX_M1 /* I2C2_SDA */
199 pinctrl-single,pins = <
200 0x084 MUX_M1 /* PCIE0_CLKREQ_N */
205 pinctrl-single,pins = <0x01C 0x1>;
209 pinctrl-single,pins = <0x01C 0x0>;
214 compatible = "pinconf-single";
215 reg = <0x0 0xe896c800 0x0 0x72c>;
216 #pinctrl-cells = <1>;
217 pinctrl-single,register-width = <0x20>;
220 pinctrl-single,pins = <
221 0x058 0x0 /* UART0_RXD */
222 0x05c 0x0 /* UART0_TXD */
224 pinctrl-single,bias-pulldown = <
230 pinctrl-single,bias-pullup = <
236 pinctrl-single,drive-strength = <
242 pinctrl-single,pins = <
243 0x700 0x0 /* UART2_CTS_N */
244 0x704 0x0 /* UART2_RTS_N */
245 0x708 0x0 /* UART2_RXD */
246 0x70c 0x0 /* UART2_TXD */
248 pinctrl-single,bias-pulldown = <
254 pinctrl-single,bias-pullup = <
260 pinctrl-single,drive-strength = <
266 pinctrl-single,pins = <
267 0x068 0x0 /* UART3_CTS_N */
268 0x06c 0x0 /* UART3_RTS_N */
269 0x070 0x0 /* UART3_RXD */
270 0x074 0x0 /* UART3_TXD */
272 pinctrl-single,bias-pulldown = <
278 pinctrl-single,bias-pullup = <
284 pinctrl-single,drive-strength = <
290 pinctrl-single,pins = <
291 0x078 0x0 /* UART4_CTS_N */
292 0x07c 0x0 /* UART4_RTS_N */
293 0x080 0x0 /* UART4_RXD */
294 0x084 0x0 /* UART4_TXD */
296 pinctrl-single,bias-pulldown = <
302 pinctrl-single,bias-pullup = <
308 pinctrl-single,drive-strength = <
314 pinctrl-single,pins = <
315 0x060 0x0 /* UART6_RXD */
316 0x064 0x0 /* UART6_TXD */
318 pinctrl-single,bias-pulldown = <
324 pinctrl-single,bias-pullup = <
330 pinctrl-single,drive-strength = <
336 pinctrl-single,pins = <
337 0x014 0x0 /* I2C3_SCL */
338 0x018 0x0 /* I2C3_SDA */
340 pinctrl-single,bias-pulldown = <
346 pinctrl-single,bias-pullup = <
352 pinctrl-single,drive-strength = <
358 pinctrl-single,pins = <
359 0x040 0x0 /* I2C4_SCL */
360 0x044 0x0 /* I2C4_SDA */
362 pinctrl-single,bias-pulldown = <
368 pinctrl-single,bias-pullup = <
374 pinctrl-single,drive-strength = <
380 pinctrl-single,pins = <
381 0x714 0x0 /* CAM0_RST */
383 pinctrl-single,bias-pulldown = <
389 pinctrl-single,bias-pullup = <
395 pinctrl-single,drive-strength = <
401 pinctrl-single,pins = <
402 0x04C 0x0 /* CAM1_RST */
404 pinctrl-single,bias-pulldown = <
410 pinctrl-single,bias-pullup = <
416 pinctrl-single,drive-strength = <
422 pinctrl-single,pins = <
423 0x09C 0x0 /* CAM0_PWD_N */
425 pinctrl-single,bias-pulldown = <
431 pinctrl-single,bias-pullup = <
437 pinctrl-single,drive-strength = <
443 pinctrl-single,pins = <
444 0x048 0x0 /* CAM1_PWD_N */
446 pinctrl-single,bias-pulldown = <
452 pinctrl-single,bias-pullup = <
458 pinctrl-single,drive-strength = <
464 pinctrl-single,pins = <
465 0x01C 0x0 /* ISP_CLK0 */
466 0x028 0x0 /* ISP_SCL0 */
467 0x02C 0x0 /* ISP_SDA0 */
469 pinctrl-single,bias-pulldown = <
475 pinctrl-single,bias-pullup = <
481 pinctrl-single,drive-strength = <
487 pinctrl-single,pins = <
488 0x020 0x0 /* ISP_CLK1 */
489 0x030 0x0 /* ISP_SCL1 */
490 0x034 0x0 /* ISP_SDA1 */
492 pinctrl-single,bias-pulldown = <
498 pinctrl-single,bias-pullup = <
504 pinctrl-single,drive-strength = <
511 compatible = "pinctrl-single";
512 reg = <0x0 0xfc182000 0x0 0x028>;
513 #gpio-range-cells = <3>;
514 #pinctrl-cells = <1>;
515 pinctrl-single,register-width = <0x20>;
516 pinctrl-single,function-mask = <0x7>;
518 pinctrl-single,gpio-range = <&range 0 10 0>;
521 pinctrl-single,pins = <
522 0x000 MUX_M1 /* SDIO_CLK */
523 0x004 MUX_M1 /* SDIO_CMD */
524 0x008 MUX_M1 /* SDIO_DATA0 */
525 0x00c MUX_M1 /* SDIO_DATA1 */
526 0x010 MUX_M1 /* SDIO_DATA2 */
527 0x014 MUX_M1 /* SDIO_DATA3 */
533 compatible = "pinconf-single";
534 reg = <0x0 0xfc182800 0x0 0x028>;
535 #pinctrl-cells = <1>;
536 pinctrl-single,register-width = <0x20>;
539 pinctrl-single,pins = <
540 0x000 0x0 /* SDIO_CLK */
542 pinctrl-single,bias-pulldown = <
548 pinctrl-single,bias-pullup = <
554 pinctrl-single,drive-strength = <
560 pinctrl-single,pins = <
561 0x004 0x0 /* SDIO_CMD */
562 0x008 0x0 /* SDIO_DATA0 */
563 0x00c 0x0 /* SDIO_DATA1 */
564 0x010 0x0 /* SDIO_DATA2 */
565 0x014 0x0 /* SDIO_DATA3 */
567 pinctrl-single,bias-pulldown = <
573 pinctrl-single,bias-pullup = <
579 pinctrl-single,drive-strength = <
586 compatible = "pinctrl-single";
587 reg = <0x0 0xff37e000 0x0 0x030>;
588 #gpio-range-cells = <3>;
589 #pinctrl-cells = <1>;
590 pinctrl-single,register-width = <0x20>;
591 pinctrl-single,function-mask = <7>;
593 pinctrl-single,gpio-range = <&range 0 12 0>;
596 pinctrl-single,pins = <
597 0x000 MUX_M1 /* SD_CLK */
598 0x004 MUX_M1 /* SD_CMD */
599 0x008 MUX_M1 /* SD_DATA0 */
600 0x00c MUX_M1 /* SD_DATA1 */
601 0x010 MUX_M1 /* SD_DATA2 */
602 0x014 MUX_M1 /* SD_DATA3 */
608 compatible = "pinconf-single";
609 reg = <0x0 0xff37e800 0x0 0x030>;
610 #pinctrl-cells = <1>;
611 pinctrl-single,register-width = <0x20>;
614 pinctrl-single,pins = <
615 0x000 0x0 /* SD_CLK */
617 pinctrl-single,bias-pulldown = <
623 pinctrl-single,bias-pullup = <
629 pinctrl-single,drive-strength = <
636 pinctrl-single,pins = <
637 0x004 0x0 /* SD_CMD */
638 0x008 0x0 /* SD_DATA0 */
639 0x00c 0x0 /* SD_DATA1 */
640 0x010 0x0 /* SD_DATA2 */
641 0x014 0x0 /* SD_DATA3 */
643 pinctrl-single,bias-pulldown = <
649 pinctrl-single,bias-pullup = <
655 pinctrl-single,drive-strength = <
663 compatible = "pinconf-single";
664 reg = <0x0 0xfff11800 0x0 0x73c>;
665 #pinctrl-cells = <1>;
666 pinctrl-single,register-width = <0x20>;
669 pinctrl-single,pins = <
670 0x090 0x0 /* GPIO_203 */
672 pinctrl-single,bias-pulldown = <
678 pinctrl-single,bias-pullup = <
684 pinctrl-single,drive-strength = <
690 pinctrl-single,pins = <
691 0x0AC 0x0 /* GPIO_221 */
693 pinctrl-single,bias-pulldown = <
699 pinctrl-single,bias-pullup = <
705 pinctrl-single,drive-strength = <
711 pinctrl-single,pins = <
712 0x0c8 0x0 /* SPI0_DI */
713 0x0cc 0x0 /* SPI0_DO */
714 0x0d0 0x0 /* SPI0_CS0_N */
716 pinctrl-single,bias-pulldown = <
722 pinctrl-single,bias-pullup = <
728 pinctrl-single,drive-strength = <
734 pinctrl-single,pins = <
735 0x714 0x0 /* SPI2_DI */
736 0x718 0x0 /* SPI2_DO */
737 0x71c 0x0 /* SPI2_CS0_N */
739 pinctrl-single,bias-pulldown = <
745 pinctrl-single,bias-pullup = <
751 pinctrl-single,drive-strength = <
757 pinctrl-single,pins = <
758 0x730 0x0 /* SPI3_DI */
759 0x734 0x0 /* SPI3_DO */
760 0x738 0x0 /* SPI3_CS0_N */
762 pinctrl-single,bias-pulldown = <
768 pinctrl-single,bias-pullup = <
774 pinctrl-single,drive-strength = <
780 pinctrl-single,pins = <
781 0x0c4 0x0 /* SPI0_CLK */
783 pinctrl-single,bias-pulldown = <
789 pinctrl-single,bias-pullup = <
795 pinctrl-single,drive-strength = <
801 pinctrl-single,pins = <
802 0x710 0x0 /* SPI2_CLK */
804 pinctrl-single,bias-pulldown = <
810 pinctrl-single,bias-pullup = <
816 pinctrl-single,drive-strength = <
822 pinctrl-single,pins = <
823 0x72c 0x0 /* SPI3_CLK */
825 pinctrl-single,bias-pulldown = <
831 pinctrl-single,bias-pullup = <
837 pinctrl-single,drive-strength = <
843 pinctrl-single,pins = <
844 0x04c 0x0 /* I2C0_SCL */
845 0x050 0x0 /* I2C0_SDA */
847 pinctrl-single,bias-pulldown = <
853 pinctrl-single,bias-pullup = <
859 pinctrl-single,drive-strength = <
865 pinctrl-single,pins = <
866 0x054 0x0 /* I2C1_SCL */
867 0x058 0x0 /* I2C1_SDA */
869 pinctrl-single,bias-pulldown = <
875 pinctrl-single,bias-pullup = <
881 pinctrl-single,drive-strength = <
887 pinctrl-single,pins = <
888 0x05c 0x0 /* I2C2_SCL */
889 0x060 0x0 /* I2C2_SDA */
891 pinctrl-single,bias-pulldown = <
897 pinctrl-single,bias-pullup = <
903 pinctrl-single,drive-strength = <
909 pinctrl-single,pins = <
910 0x0b0 0x0
912 pinctrl-single,bias-pulldown = <
918 pinctrl-single,bias-pullup = <
924 pinctrl-single,drive-strength = <
929 pinctrl-single,pins = <
930 0x07c 0x0 /* I2S2_DI */
931 0x080 0x0 /* I2S2_DO */
932 0x084 0x0 /* I2S2_XCLK */
933 0x088 0x0 /* I2S2_XFS */
935 pinctrl-single,bias-pulldown = <
941 pinctrl-single,bias-pullup = <
947 pinctrl-single,drive-strength = <
953 pinctrl-single,pins = <0x048 0>;
954 pinctrl-single,bias-pulldown = <0 2 0 2>;
955 pinctrl-single,bias-pullup = <0 1 0 1>;
956 pinctrl-single,drive-strength = <0x00 0x70>;
957 pinctrl-single,slew-rate = <0x0 0x80>;
961 pinctrl-single,pins = <0x048 0>;
962 pinctrl-single,bias-pulldown = <2 2 0 2>;
963 pinctrl-single,bias-pullup = <0 1 0 1>;
964 pinctrl-single,drive-strength = <0x00 0x70>;
965 pinctrl-single,slew-rate = <0x0 0x80>;