diff --git a/dts/arm/st/f4/stm32f4-pinctrl.dtsi b/dts/arm/st/f4/stm32f4-pinctrl.dtsi index 54796f25dfe..fa0f88b4d2b 100644 --- a/dts/arm/st/f4/stm32f4-pinctrl.dtsi +++ b/dts/arm/st/f4/stm32f4-pinctrl.dtsi @@ -69,6 +69,18 @@ tx = ; }; }; + uart7_pins_a: uart7_a { + rx_tx { + rx = ; + tx = ; + }; + }; + uart7_pins_b: uart7_b { + rx_tx { + rx = ; + tx = ; + }; + }; }; }; }; diff --git a/soc/arm/st_stm32/stm32f4/dts_fixup.h b/soc/arm/st_stm32/stm32f4/dts_fixup.h index 1d31916175c..4a3c55b4d02 100644 --- a/soc/arm/st_stm32/stm32f4/dts_fixup.h +++ b/soc/arm/st_stm32/stm32f4/dts_fixup.h @@ -157,6 +157,15 @@ #define DT_UART_STM32_USART_6_CLOCK_BUS DT_ST_STM32_USART_40011400_CLOCK_BUS #define DT_UART_STM32_USART_6_HW_FLOW_CONTROL DT_ST_STM32_USART_40011400_HW_FLOW_CONTROL +#define DT_UART_STM32_UART_7_BASE_ADDRESS DT_ST_STM32_UART_40007800_BASE_ADDRESS +#define DT_UART_STM32_UART_7_BAUD_RATE DT_ST_STM32_UART_40007800_CURRENT_SPEED +#define DT_UART_STM32_UART_7_IRQ_PRI DT_ST_STM32_UART_40007800_IRQ_0_PRIORITY +#define DT_UART_STM32_UART_7_NAME DT_ST_STM32_UART_40007800_LABEL +#define DT_UART_7_IRQ DT_ST_STM32_UART_40007800_IRQ_0 +#define DT_UART_STM32_UART_7_CLOCK_BITS DT_ST_STM32_UART_40007800_CLOCK_BITS +#define DT_UART_STM32_UART_7_CLOCK_BUS DT_ST_STM32_UART_40007800_CLOCK_BUS +#define DT_UART_STM32_UART_7_HW_FLOW_CONTROL DT_ST_STM32_UART_40007800_HW_FLOW_CONTROL + #define DT_I2C_1_BASE_ADDRESS DT_ST_STM32_I2C_V1_40005400_BASE_ADDRESS #define DT_I2C_1_EVENT_IRQ_PRI DT_ST_STM32_I2C_V1_40005400_IRQ_EVENT_PRIORITY #define DT_I2C_1_ERROR_IRQ_PRI DT_ST_STM32_I2C_V1_40005400_IRQ_ERROR_PRIORITY