soc: stm32f4: complete uart7's dts
Complete definitions for UART7 on STM32F4 SoCs. Signed-off-by: Jun Li <jun.r.li@intel.com>
This commit is contained in:
parent
cb39e4abb5
commit
9f21b09d9e
|
@ -69,6 +69,18 @@
|
|||
tx = <STM32_PIN_PG14 (STM32_PINMUX_ALT_FUNC_8 | STM32_PUSHPULL_NOPULL)>;
|
||||
};
|
||||
};
|
||||
uart7_pins_a: uart7_a {
|
||||
rx_tx {
|
||||
rx = <STM32_PIN_PE7 (STM32_PINMUX_ALT_FUNC_8 | STM32_PUPDR_NO_PULL)>;
|
||||
tx = <STM32_PIN_PE8 (STM32_PINMUX_ALT_FUNC_8 | STM32_PUSHPULL_NOPULL)>;
|
||||
};
|
||||
};
|
||||
uart7_pins_b: uart7_b {
|
||||
rx_tx {
|
||||
rx = <STM32_PIN_PF6 (STM32_PINMUX_ALT_FUNC_8 | STM32_PUPDR_NO_PULL)>;
|
||||
tx = <STM32_PIN_PF7 (STM32_PINMUX_ALT_FUNC_8 | STM32_PUSHPULL_NOPULL)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue