|
6 | 6 | #include <dt-bindings/pinctrl/stm32-pinfunc.h>
|
7 | 7 |
|
8 | 8 | &pinctrl {
|
| 9 | + eth2_rgmii_pins_a: eth2-rgmii-0 { |
| 10 | + pins1 { |
| 11 | + pinmux = <STM32_PINMUX('C', 7, AF10)>, /* ETH_RGMII_TXD0 */ |
| 12 | + <STM32_PINMUX('C', 8, AF10)>, /* ETH_RGMII_TXD1 */ |
| 13 | + <STM32_PINMUX('C', 9, AF10)>, /* ETH_RGMII_TXD2 */ |
| 14 | + <STM32_PINMUX('C', 10, AF10)>, /* ETH_RGMII_TXD3 */ |
| 15 | + <STM32_PINMUX('C', 4, AF10)>; /* ETH_RGMII_TX_CTL */ |
| 16 | + bias-disable; |
| 17 | + drive-push-pull; |
| 18 | + slew-rate = <3>; |
| 19 | + }; |
| 20 | + pins2 { |
| 21 | + pinmux = <STM32_PINMUX('F', 8, AF10)>, /* ETH_RGMII_CLK125 */ |
| 22 | + <STM32_PINMUX('F', 7, AF10)>, /* ETH_RGMII_GTX_CLK */ |
| 23 | + <STM32_PINMUX('C', 6, AF10)>; /* ETH_MDC */ |
| 24 | + bias-disable; |
| 25 | + drive-push-pull; |
| 26 | + slew-rate = <3>; |
| 27 | + }; |
| 28 | + pins3 { |
| 29 | + pinmux = <STM32_PINMUX('C', 5, AF10)>; /* ETH_MDIO */ |
| 30 | + bias-disable; |
| 31 | + drive-push-pull; |
| 32 | + slew-rate = <0>; |
| 33 | + }; |
| 34 | + pins4 { |
| 35 | + pinmux = <STM32_PINMUX('G', 0, AF10)>, /* ETH_RGMII_RXD0 */ |
| 36 | + <STM32_PINMUX('C', 12, AF10)>, /* ETH_RGMII_RXD1 */ |
| 37 | + <STM32_PINMUX('F', 9, AF10)>, /* ETH_RGMII_RXD2 */ |
| 38 | + <STM32_PINMUX('C', 11, AF10)>, /* ETH_RGMII_RXD3 */ |
| 39 | + <STM32_PINMUX('C', 3, AF10)>; /* ETH_RGMII_RX_CTL */ |
| 40 | + bias-disable; |
| 41 | + }; |
| 42 | + pins5 { |
| 43 | + pinmux = <STM32_PINMUX('F', 6, AF10)>; /* ETH_RGMII_RX_CLK */ |
| 44 | + bias-disable; |
| 45 | + }; |
| 46 | + }; |
| 47 | + |
| 48 | + eth2_rgmii_sleep_pins_a: eth2-rgmii-sleep-0 { |
| 49 | + pins { |
| 50 | + pinmux = <STM32_PINMUX('C', 7, ANALOG)>, /* ETH_RGMII_TXD0 */ |
| 51 | + <STM32_PINMUX('C', 8, ANALOG)>, /* ETH_RGMII_TXD1 */ |
| 52 | + <STM32_PINMUX('C', 9, ANALOG)>, /* ETH_RGMII_TXD2 */ |
| 53 | + <STM32_PINMUX('C', 10, ANALOG)>, /* ETH_RGMII_TXD3 */ |
| 54 | + <STM32_PINMUX('C', 4, ANALOG)>, /* ETH_RGMII_TX_CTL */ |
| 55 | + <STM32_PINMUX('F', 8, ANALOG)>, /* ETH_RGMII_CLK125 */ |
| 56 | + <STM32_PINMUX('F', 7, ANALOG)>, /* ETH_RGMII_GTX_CLK */ |
| 57 | + <STM32_PINMUX('C', 6, ANALOG)>, /* ETH_MDC */ |
| 58 | + <STM32_PINMUX('C', 5, ANALOG)>, /* ETH_MDIO */ |
| 59 | + <STM32_PINMUX('G', 0, ANALOG)>, /* ETH_RGMII_RXD0 */ |
| 60 | + <STM32_PINMUX('C', 12, ANALOG)>, /* ETH_RGMII_RXD1 */ |
| 61 | + <STM32_PINMUX('F', 9, ANALOG)>, /* ETH_RGMII_RXD2 */ |
| 62 | + <STM32_PINMUX('C', 11, ANALOG)>, /* ETH_RGMII_RXD3 */ |
| 63 | + <STM32_PINMUX('C', 3, ANALOG)>, /* ETH_RGMII_RX_CTL */ |
| 64 | + <STM32_PINMUX('F', 6, ANALOG)>; /* ETH_RGMII_RX_CLK */ |
| 65 | + }; |
| 66 | + }; |
| 67 | + |
9 | 68 | i2c2_pins_a: i2c2-0 {
|
10 | 69 | pins {
|
11 | 70 | pinmux = <STM32_PINMUX('B', 5, AF9)>, /* I2C2_SCL */
|
|
0 commit comments