soc: stm32mp157: add I2c support
Add I2C support and I2C5 configuration for arduino connector. Signed-off-by: Christophe Priouzeau <christophe.priouzeau@linaro.org> Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@linaro.org>
This commit is contained in:
parent
0e0444af02
commit
83fb969cfb
4 changed files with 37 additions and 1 deletions
|
@ -313,4 +313,16 @@
|
|||
DT_ST_STM32_UART_40019000_CLOCK_BUS
|
||||
#define DT_UART_STM32_UART_8_HW_FLOW_CONTROL \
|
||||
DT_ST_STM32_UART_40019000_HW_FLOW_CONTROL
|
||||
|
||||
#define DT_I2C_5_BASE_ADDRESS DT_ST_STM32_I2C_V2_40015000_BASE_ADDRESS
|
||||
#define DT_I2C_5_EVENT_IRQ_PRI DT_ST_STM32_I2C_V2_40015000_IRQ_EVENT_PRIORITY
|
||||
#define DT_I2C_5_ERROR_IRQ_PRI DT_ST_STM32_I2C_V2_40015000_IRQ_ERROR_PRIORITY
|
||||
#define CONFIG_I2C_5_NAME DT_ST_STM32_I2C_V2_40015000_LABEL
|
||||
#define DT_I2C_5_EVENT_IRQ DT_ST_STM32_I2C_V2_40015000_IRQ_EVENT
|
||||
#define DT_I2C_5_ERROR_IRQ DT_ST_STM32_I2C_V2_40015000_IRQ_ERROR
|
||||
#define DT_I2C_5_BITRATE DT_ST_STM32_I2C_V2_40015000_CLOCK_FREQUENCY
|
||||
#define DT_I2C_5_CLOCK_BITS DT_ST_STM32_I2C_V2_40015000_CLOCK_BITS
|
||||
#define DT_I2C_5_CLOCK_BUS DT_ST_STM32_I2C_V2_40015000_CLOCK_BUS
|
||||
|
||||
|
||||
/* End of SoC Level DTS fixup file */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue