|
|
@ -6,6 +6,7 @@ |
|
|
|
#include <dt-bindings/pinctrl/stm32-pinfunc.h> |
|
|
|
|
|
|
|
&pinctrl { |
|
|
|
/omit-if-no-ref/ |
|
|
|
fmc_pins_a: fmc-0 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('D', 4, AF12)>, /* FMC_NOE */ |
|
|
@ -31,6 +32,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
i2c2_pins_a: i2c2-0 { |
|
|
|
pins { |
|
|
|
pinmux = <STM32_PINMUX('H', 4, AF4)>, /* I2C2_SCL */ |
|
|
@ -41,6 +43,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
qspi_clk_pins_a: qspi-clk-0 { |
|
|
|
pins { |
|
|
|
pinmux = <STM32_PINMUX('F', 10, AF9)>; /* QSPI_CLK */ |
|
|
@ -50,8 +53,9 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
qspi_bk1_pins_a: qspi-bk1-0 { |
|
|
|
pins1 { |
|
|
|
pins { |
|
|
|
pinmux = <STM32_PINMUX('F', 8, AF10)>, /* QSPI_BK1_IO0 */ |
|
|
|
<STM32_PINMUX('F', 9, AF10)>, /* QSPI_BK1_IO1 */ |
|
|
|
<STM32_PINMUX('F', 7, AF9)>, /* QSPI_BK1_IO2 */ |
|
|
@ -60,16 +64,11 @@ |
|
|
|
drive-push-pull; |
|
|
|
slew-rate = <1>; |
|
|
|
}; |
|
|
|
pins2 { |
|
|
|
pinmux = <STM32_PINMUX('B', 6, AF10)>; /* QSPI_BK1_NCS */ |
|
|
|
bias-pull-up; |
|
|
|
drive-push-pull; |
|
|
|
slew-rate = <1>; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
qspi_bk2_pins_a: qspi-bk2-0 { |
|
|
|
pins1 { |
|
|
|
pins { |
|
|
|
pinmux = <STM32_PINMUX('H', 2, AF9)>, /* QSPI_BK2_IO0 */ |
|
|
|
<STM32_PINMUX('H', 3, AF9)>, /* QSPI_BK2_IO1 */ |
|
|
|
<STM32_PINMUX('G', 10, AF11)>, /* QSPI_BK2_IO2 */ |
|
|
@ -78,7 +77,21 @@ |
|
|
|
drive-push-pull; |
|
|
|
slew-rate = <1>; |
|
|
|
}; |
|
|
|
pins2 { |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
qspi_cs1_pins_a: qspi-cs1-0 { |
|
|
|
pins { |
|
|
|
pinmux = <STM32_PINMUX('B', 6, AF10)>; /* QSPI_BK1_NCS */ |
|
|
|
bias-pull-up; |
|
|
|
drive-push-pull; |
|
|
|
slew-rate = <1>; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
qspi_cs2_pins_a: qspi-cs2-0 { |
|
|
|
pins { |
|
|
|
pinmux = <STM32_PINMUX('C', 0, AF10)>; /* QSPI_BK2_NCS */ |
|
|
|
bias-pull-up; |
|
|
|
drive-push-pull; |
|
|
@ -86,6 +99,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
sdmmc1_b4_pins_a: sdmmc1-b4-0 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('C', 8, AF12)>, /* SDMMC1_D0 */ |
|
|
@ -105,6 +119,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
sdmmc1_dir_pins_a: sdmmc1-dir-0 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('F', 2, AF11)>, /* SDMMC1_D0DIR */ |
|
|
@ -120,6 +135,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
sdmmc1_dir_pins_b: sdmmc1-dir-1 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('F', 2, AF11)>, /* SDMMC1_D0DIR */ |
|
|
@ -135,6 +151,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
sdmmc2_b4_pins_a: sdmmc2-b4-0 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('B', 14, AF9)>, /* SDMMC2_D0 */ |
|
|
@ -154,6 +171,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
sdmmc2_b4_pins_b: sdmmc2-b4-1 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('B', 14, AF9)>, /* SDMMC2_D0 */ |
|
|
@ -173,6 +191,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
sdmmc2_d47_pins_a: sdmmc2-d47-0 { |
|
|
|
pins { |
|
|
|
pinmux = <STM32_PINMUX('A', 8, AF9)>, /* SDMMC2_D4 */ |
|
|
@ -185,6 +204,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
sdmmc2_d47_pins_b: sdmmc2-d47-1 { |
|
|
|
pins { |
|
|
|
pinmux = <STM32_PINMUX('A', 8, AF9)>, /* SDMMC2_D4 */ |
|
|
@ -197,6 +217,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
sdmmc2_d47_pins_c: sdmmc2-d47-2 { |
|
|
|
pins { |
|
|
|
pinmux = <STM32_PINMUX('A', 8, AF9)>, /* SDMMC2_D4 */ |
|
|
@ -209,6 +230,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
sdmmc2_d47_pins_d: sdmmc2-d47-3 { |
|
|
|
pins { |
|
|
|
pinmux = <STM32_PINMUX('A', 8, AF9)>, /* SDMMC2_D4 */ |
|
|
@ -218,6 +240,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
uart4_pins_a: uart4-0 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('G', 11, AF6)>; /* UART4_TX */ |
|
|
@ -231,6 +254,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
uart4_pins_b: uart4-1 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('D', 1, AF8)>; /* UART4_TX */ |
|
|
@ -244,6 +268,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
uart7_pins_a: uart7-0 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('E', 8, AF7)>; /* UART7_TX */ |
|
|
@ -259,6 +284,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
uart7_pins_b: uart7-1 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('F', 7, AF7)>; /* UART7_TX */ |
|
|
@ -272,6 +298,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
uart7_pins_c: uart7-2 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('E', 8, AF7)>; /* UART7_TX */ |
|
|
@ -281,10 +308,11 @@ |
|
|
|
}; |
|
|
|
pins2 { |
|
|
|
pinmux = <STM32_PINMUX('E', 7, AF7)>; /* UART7_RX */ |
|
|
|
bias-disable; |
|
|
|
bias-pull-up; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
uart8_pins_a: uart8-0 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('E', 1, AF8)>; /* UART8_TX */ |
|
|
@ -298,6 +326,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
usart2_pins_a: usart2-0 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('F', 5, AF7)>, /* USART2_TX */ |
|
|
@ -313,6 +342,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
usart2_pins_b: usart2-1 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('F', 5, AF7)>, /* USART2_TX */ |
|
|
@ -328,13 +358,14 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
usart2_pins_c: usart2-2 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('D', 5, AF7)>, /* USART2_TX */ |
|
|
|
<STM32_PINMUX('D', 4, AF7)>; /* USART2_RTS */ |
|
|
|
bias-disable; |
|
|
|
drive-push-pull; |
|
|
|
slew-rate = <3>; |
|
|
|
slew-rate = <0>; |
|
|
|
}; |
|
|
|
pins2 { |
|
|
|
pinmux = <STM32_PINMUX('D', 6, AF7)>, /* USART2_RX */ |
|
|
@ -343,6 +374,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
usart3_pins_a: usart3-0 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('B', 10, AF7)>; /* USART3_TX */ |
|
|
@ -356,6 +388,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
usart3_pins_b: usart3-1 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('B', 10, AF7)>, /* USART3_TX */ |
|
|
@ -371,6 +404,7 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
usart3_pins_c: usart3-2 { |
|
|
|
pins1 { |
|
|
|
pinmux = <STM32_PINMUX('B', 10, AF7)>, /* USART3_TX */ |
|
|
@ -386,12 +420,14 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
usbotg_hs_pins_a: usbotg-hs-0 { |
|
|
|
pins { |
|
|
|
pinmux = <STM32_PINMUX('A', 10, ANALOG)>; /* OTG_ID */ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
/omit-if-no-ref/ |
|
|
|
usbotg_fs_dp_dm_pins_a: usbotg-fs-dp-dm-0 { |
|
|
|
pins { |
|
|
|
pinmux = <STM32_PINMUX('A', 11, ANALOG)>, /* OTG_FS_DM */ |
|
|
@ -401,6 +437,7 @@ |
|
|
|
}; |
|
|
|
|
|
|
|
&pinctrl_z { |
|
|
|
/omit-if-no-ref/ |
|
|
|
i2c4_pins_a: i2c4-0 { |
|
|
|
pins { |
|
|
|
pinmux = <STM32_PINMUX('Z', 4, AF6)>, /* I2C4_SCL */ |
|
|
|