Lines Matching +full:smi +full:- +full:mdio
1 // SPDX-License-Identifier: GPL-2.0-only
6 #include "st-pincfg.h"
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 /* 0-5: PIO_SBC */
18 /* 10-19: PIO_FRONT0 */
31 /* 30-35: PIO_REAR */
38 /* 40-42: PIO_FLASH */
45 pin-controller-sbc@961f080 {
46 #address-cells = <1>;
47 #size-cells = <1>;
48 compatible = "st,stih407-sbc-pinctrl";
51 reg-names = "irqmux";
53 interrupt-names = "irqmux";
57 gpio-controller;
58 #gpio-cells = <2>;
59 interrupt-controller;
60 #interrupt-cells = <2>;
62 st,bank-name = "PIO0";
65 gpio-controller;
66 #gpio-cells = <2>;
67 interrupt-controller;
68 #interrupt-cells = <2>;
70 st,bank-name = "PIO1";
73 gpio-controller;
74 #gpio-cells = <2>;
75 interrupt-controller;
76 #interrupt-cells = <2>;
78 st,bank-name = "PIO2";
81 gpio-controller;
82 #gpio-cells = <2>;
83 interrupt-controller;
84 #interrupt-cells = <2>;
86 st,bank-name = "PIO3";
89 gpio-controller;
90 #gpio-cells = <2>;
91 interrupt-controller;
92 #interrupt-cells = <2>;
94 st,bank-name = "PIO4";
98 gpio-controller;
99 #gpio-cells = <2>;
100 interrupt-controller;
101 #interrupt-cells = <2>;
103 st,bank-name = "PIO5";
104 st,retime-pin-mask = <0x3f>;
108 pinctrl_cec0_default: cec0-default {
141 /* SBC_ASC0 - UART10 */
143 pinctrl_sbc_serial0: sbc_serial0-0 {
150 /* SBC_ASC1 - UART11 */
152 pinctrl_sbc_serial1: sbc_serial1-0 {
161 pinctrl_i2c10_default: i2c10-default {
170 pinctrl_i2c11_default: i2c11-default {
197 * switch where the mdio/mdc have been used for managing the SMI
200 * standard PHY transceiver on-board).
202 pinctrl_rgmii1: rgmii1-0 {
222 pinctrl_rgmii1_mdio: rgmii1-mdio {
224 mdio = <&pio1 0 ALT1 OUT BYPASS 0>;
230 pinctrl_rgmii1_mdio_1: rgmii1-mdio-1 {
232 mdio = <&pio1 0 ALT1 OUT BYPASS 0>;
248 mdio = <&pio1 0 ALT1 OUT BYPASS 1500>;
264 pinctrl_rmii1: rmii1-0 {
269 mdio = <&pio1 0 ALT1 OUT BYPASS 0>;
293 pinctrl_pwm1_chan0_default: pwm1-0-default {
295 pwm-out = <&pio3 0 ALT1 OUT>;
296 pwm-capturein = <&pio3 2 ALT1 IN>;
299 pinctrl_pwm1_chan1_default: pwm1-1-default {
301 pwm-capturein = <&pio4 3 ALT1 IN>;
302 pwm-out = <&pio4 4 ALT1 OUT>;
305 pinctrl_pwm1_chan2_default: pwm1-2-default {
307 pwm-out = <&pio4 6 ALT3 OUT>;
310 pinctrl_pwm1_chan3_default: pwm1-3-default {
312 pwm-out = <&pio4 7 ALT3 OUT>;
318 pinctrl_spi10_default: spi10-4w-alt1-0 {
326 pinctrl_spi10_3w_alt1_0: spi10-3w-alt1-0 {
335 pinctrl_spi11_default: spi11-4w-alt2-0 {
343 pinctrl_spi11_3w_alt2_0: spi11-3w-alt2-0 {
352 pinctrl_spi12_default: spi12-4w-alt2-0 {
360 pinctrl_spi12_3w_alt2_0: spi12-3w-alt2-0 {
369 pin-controller-front0@920f080 {
370 #address-cells = <1>;
371 #size-cells = <1>;
372 compatible = "st,stih407-front-pinctrl";
375 reg-names = "irqmux";
377 interrupt-names = "irqmux";
381 gpio-controller;
382 #gpio-cells = <2>;
383 interrupt-controller;
384 #interrupt-cells = <2>;
386 st,bank-name = "PIO10";
389 gpio-controller;
390 #gpio-cells = <2>;
391 interrupt-controller;
392 #interrupt-cells = <2>;
394 st,bank-name = "PIO11";
397 gpio-controller;
398 #gpio-cells = <2>;
399 interrupt-controller;
400 #interrupt-cells = <2>;
402 st,bank-name = "PIO12";
405 gpio-controller;
406 #gpio-cells = <2>;
407 interrupt-controller;
408 #interrupt-cells = <2>;
410 st,bank-name = "PIO13";
413 gpio-controller;
414 #gpio-cells = <2>;
415 interrupt-controller;
416 #interrupt-cells = <2>;
418 st,bank-name = "PIO14";
421 gpio-controller;
422 #gpio-cells = <2>;
423 interrupt-controller;
424 #interrupt-cells = <2>;
426 st,bank-name = "PIO15";
429 gpio-controller;
430 #gpio-cells = <2>;
431 interrupt-controller;
432 #interrupt-cells = <2>;
434 st,bank-name = "PIO16";
437 gpio-controller;
438 #gpio-cells = <2>;
439 interrupt-controller;
440 #interrupt-cells = <2>;
442 st,bank-name = "PIO17";
445 gpio-controller;
446 #gpio-cells = <2>;
447 interrupt-controller;
448 #interrupt-cells = <2>;
450 st,bank-name = "PIO18";
453 gpio-controller;
454 #gpio-cells = <2>;
455 interrupt-controller;
456 #interrupt-cells = <2>;
458 st,bank-name = "PIO19";
463 pinctrl_serial0: serial0-0 {
469 pinctrl_serial0_hw_flowctrl: serial0-0_hw_flowctrl {
480 pinctrl_serial1: serial1-0 {
489 pinctrl_serial2: serial2-0 {
498 pinctrl_sd1: sd1-0 {
516 pinctrl_i2c0_default: i2c0-default {
525 pinctrl_i2c1_default: i2c1-default {
534 pinctrl_i2c2_default: i2c2-default {
541 pinctrl_i2c2_alt2_1: i2c2-alt2-1 {
550 pinctrl_i2c3_default: i2c3-alt1-0 {
556 pinctrl_i2c3_alt1_1: i2c3-alt1-1 {
562 pinctrl_i2c3_alt3_0: i2c3-alt3-0 {
571 pinctrl_spi0_default: spi0-4w-alt2-0 {
579 pinctrl_spi0_3w_alt2_0: spi0-3w-alt2-0 {
586 pinctrl_spi0_4w_alt1_0: spi0-4w-alt1-0 {
594 pinctrl_spi0_3w_alt1_0: spi0-3w-alt1-0 {
603 pinctrl_spi1_default: spi1-4w-alt2-0 {
611 pinctrl_spi1_3w_alt2_0: spi1-3w-alt2-0 {
618 pinctrl_spi1_4w_alt1_0: spi1-4w-alt1-0 {
626 pinctrl_spi1_3w_alt1_0: spi1-3w-alt1-0 {
635 pinctrl_spi2_default: spi2-4w-alt2-0 {
643 pinctrl_spi2_3w_alt2_0: spi2-3w-alt2-0 {
650 pinctrl_spi2_4w_alt1_0: spi2-4w-alt1-0 {
658 pinctrl_spi2_3w_alt1_0: spi2-3w-alt1-0 {
665 pinctrl_spi2_4w_alt2_1: spi2-4w-alt2-1 {
673 pinctrl_spi2_3w_alt2_1: spi2-3w-alt2-1 {
682 pinctrl_spi3_default: spi3-4w-alt3-0 {
690 pinctrl_spi3_3w_alt3_0: spi3-3w-alt3-0 {
697 pinctrl_spi3_4w_alt1_0: spi3-4w-alt1-0 {
705 pinctrl_spi3_3w_alt1_0: spi3-3w-alt1-0 {
712 pinctrl_spi3_4w_alt1_1: spi3-4w-alt1-1 {
720 pinctrl_spi3_3w_alt1_1: spi3-3w-alt1-1 {
917 pinctrl_systrace_default: systrace-default {
929 pin-controller-front1@921f080 {
930 #address-cells = <1>;
931 #size-cells = <1>;
932 compatible = "st,stih407-front-pinctrl";
935 reg-names = "irqmux";
937 interrupt-names = "irqmux";
941 gpio-controller;
942 #gpio-cells = <2>;
943 interrupt-controller;
944 #interrupt-cells = <2>;
946 st,bank-name = "PIO20";
962 pin-controller-rear@922f080 {
963 #address-cells = <1>;
964 #size-cells = <1>;
965 compatible = "st,stih407-rear-pinctrl";
968 reg-names = "irqmux";
970 interrupt-names = "irqmux";
974 gpio-controller;
975 #gpio-cells = <2>;
976 interrupt-controller;
977 #interrupt-cells = <2>;
979 st,bank-name = "PIO30";
982 gpio-controller;
983 #gpio-cells = <2>;
984 interrupt-controller;
985 #interrupt-cells = <2>;
987 st,bank-name = "PIO31";
990 gpio-controller;
991 #gpio-cells = <2>;
992 interrupt-controller;
993 #interrupt-cells = <2>;
995 st,bank-name = "PIO32";
998 gpio-controller;
999 #gpio-cells = <2>;
1000 interrupt-controller;
1001 #interrupt-cells = <2>;
1003 st,bank-name = "PIO33";
1006 gpio-controller;
1007 #gpio-cells = <2>;
1008 interrupt-controller;
1009 #interrupt-cells = <2>;
1011 st,bank-name = "PIO34";
1014 gpio-controller;
1015 #gpio-cells = <2>;
1016 interrupt-controller;
1017 #interrupt-cells = <2>;
1019 st,bank-name = "PIO35";
1020 st,retime-pin-mask = <0x7f>;
1024 pinctrl_i2c4_default: i2c4-default {
1033 pinctrl_i2c5_default: i2c5-default {
1042 pinctrl_usb3: usb3-2 {
1044 usb-oc-detect = <&pio35 4 ALT1 IN>;
1045 usb-pwr-enable = <&pio35 5 ALT1 OUT>;
1046 usb-vbus-valid = <&pio35 6 ALT1 IN>;
1052 pinctrl_pwm0_chan0_default: pwm0-0-default {
1054 pwm-capturein = <&pio31 0 ALT1 IN>;
1055 pwm-out = <&pio31 1 ALT1 OUT>;
1061 pinctrl_spi4_default: spi4-4w-alt1-0 {
1069 pinctrl_spi4_3w_alt1_0: spi4-3w-alt1-0 {
1076 pinctrl_spi4_4w_alt3_0: spi4-4w-alt3-0 {
1084 pinctrl_spi4_3w_alt3_0: spi4-3w-alt3-0 {
1148 pinctrl_serial3: serial3-0 {
1157 pin-controller-flash@923f080 {
1158 #address-cells = <1>;
1159 #size-cells = <1>;
1160 compatible = "st,stih407-flash-pinctrl";
1163 reg-names = "irqmux";
1165 interrupt-names = "irqmux";
1169 gpio-controller;
1170 #gpio-cells = <2>;
1171 interrupt-controller;
1172 #interrupt-cells = <2>;
1174 st,bank-name = "PIO40";
1177 gpio-controller;
1178 #gpio-cells = <2>;
1179 interrupt-controller;
1180 #interrupt-cells = <2>;
1182 st,bank-name = "PIO41";
1185 gpio-controller;
1186 #gpio-cells = <2>;
1187 interrupt-controller;
1188 #interrupt-cells = <2>;
1190 st,bank-name = "PIO42";
1194 pinctrl_mmc0: mmc0-0 {
1208 pinctrl_sd0: sd0-0 {
1228 spi-fsm-clk = <&pio40 1 ALT1 OUT>;
1229 spi-fsm-cs = <&pio40 0 ALT1 OUT>;
1230 spi-fsm-mosi = <&pio40 2 ALT1 OUT>;
1231 spi-fsm-miso = <&pio40 3 ALT1 IN>;
1232 spi-fsm-hol = <&pio40 5 ALT1 OUT>;
1233 spi-fsm-wp = <&pio40 4 ALT1 OUT>;