drivers: spi: spi_stm32: convert to DT_INST defines
Convert driver to use DT_INST_ defines. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
d3664b063e
commit
c2f19dc52e
12 changed files with 22 additions and 317 deletions
|
@ -109,20 +109,6 @@
|
|||
#define DT_I2C_2_CLOCK_BITS DT_ST_STM32_I2C_V1_40005800_CLOCK_BITS
|
||||
#define DT_I2C_2_CLOCK_BUS DT_ST_STM32_I2C_V1_40005800_CLOCK_BUS
|
||||
|
||||
#define DT_SPI_1_BASE_ADDRESS DT_ST_STM32_SPI_40013000_BASE_ADDRESS
|
||||
#define DT_SPI_1_IRQ_PRI DT_ST_STM32_SPI_40013000_IRQ_0_PRIORITY
|
||||
#define DT_SPI_1_NAME DT_ST_STM32_SPI_40013000_LABEL
|
||||
#define DT_SPI_1_IRQ DT_ST_STM32_SPI_40013000_IRQ_0
|
||||
#define DT_SPI_1_CLOCK_BITS DT_ST_STM32_SPI_40013000_CLOCK_BITS
|
||||
#define DT_SPI_1_CLOCK_BUS DT_ST_STM32_SPI_40013000_CLOCK_BUS
|
||||
|
||||
#define DT_SPI_2_BASE_ADDRESS DT_ST_STM32_SPI_40003800_BASE_ADDRESS
|
||||
#define DT_SPI_2_IRQ_PRI DT_ST_STM32_SPI_40003800_IRQ_0_PRIORITY
|
||||
#define DT_SPI_2_NAME DT_ST_STM32_SPI_40003800_LABEL
|
||||
#define DT_SPI_2_IRQ DT_ST_STM32_SPI_40003800_IRQ_0
|
||||
#define DT_SPI_2_CLOCK_BITS DT_ST_STM32_SPI_40003800_CLOCK_BITS
|
||||
#define DT_SPI_2_CLOCK_BUS DT_ST_STM32_SPI_40003800_CLOCK_BUS
|
||||
|
||||
#define DT_WDT_0_NAME DT_INST_0_ST_STM32_WATCHDOG_LABEL
|
||||
|
||||
#define DT_RTC_0_NAME DT_INST_0_ST_STM32_RTC_LABEL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue