dts: stm32f1: add uart5
Add uart5 nodes to stm32f1 series dts. Provide matching dts_fixup add-on. Signed-off-by: Chen Han <qq1433255094@outlook.com> Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
e82e31e351
commit
7f4eda501a
3 changed files with 26 additions and 0 deletions
|
@ -97,6 +97,14 @@
|
|||
#define DT_UART_STM32_UART_4_CLOCK_BITS DT_ST_STM32_UART_40004C00_CLOCK_BITS
|
||||
#define DT_UART_STM32_UART_4_CLOCK_BUS DT_ST_STM32_UART_40004C00_CLOCK_BUS
|
||||
|
||||
#define DT_UART_STM32_UART_5_BASE_ADDRESS DT_ST_STM32_UART_40005000_BASE_ADDRESS
|
||||
#define DT_UART_STM32_UART_5_BAUD_RATE DT_ST_STM32_UART_40005000_CURRENT_SPEED
|
||||
#define DT_UART_STM32_UART_5_IRQ_PRI DT_ST_STM32_UART_40005000_IRQ_0_PRIORITY
|
||||
#define DT_UART_STM32_UART_5_NAME DT_ST_STM32_UART_40005000_LABEL
|
||||
#define DT_UART_5_IRQ DT_ST_STM32_UART_40005000_IRQ_0
|
||||
#define DT_UART_STM32_UART_5_CLOCK_BITS DT_ST_STM32_UART_40005000_CLOCK_BITS
|
||||
#define DT_UART_STM32_UART_5_CLOCK_BUS DT_ST_STM32_UART_40005000_CLOCK_BUS
|
||||
|
||||
#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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue