driver/spi: Make DT aliases consistent for the DW drivers
And apply it on all existing fixups. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
ab72e3478f
commit
f5a9d5d1a5
4 changed files with 139 additions and 94 deletions
|
@ -40,13 +40,18 @@
|
|||
#define DT_DW_ICTL_IRQ_PRI DT_SNPS_DESIGNWARE_INTC_81800_IRQ_0_PRIORITY
|
||||
#define DT_DW_ICTL_IRQ_FLAGS DT_SNPS_DESIGNWARE_INTC_81800_IRQ_0_SENSE
|
||||
|
||||
#define DT_SPI_0_BASE_ADDRESS DT_SNPS_DESIGNWARE_SPI_E000_BASE_ADDRESS
|
||||
#define DT_SPI_0_CLOCK_FREQUENCY DT_SNPS_DESIGNWARE_SPI_E000_CLOCKS_CLOCK_FREQUENCY
|
||||
#define DT_SPI_0_NAME DT_SNPS_DESIGNWARE_SPI_E000_LABEL
|
||||
#define DT_SPI_0_IRQ DT_SNPS_DESIGNWARE_SPI_E000_IRQ_0
|
||||
#define DT_SPI_DW_IRQ_FLAGS DT_SNPS_DESIGNWARE_SPI_E000_IRQ_0_SENSE
|
||||
|
||||
#define DT_SPI_0_IRQ_PRI DT_SNPS_DESIGNWARE_SPI_E000_IRQ_0_PRIORITY
|
||||
#define DT_SPI_DW_0_BASE_ADDRESS \
|
||||
DT_SNPS_DESIGNWARE_SPI_E000_BASE_ADDRESS
|
||||
#define DT_SPI_DW_0_CLOCK_FREQUENCY \
|
||||
DT_SNPS_DESIGNWARE_SPI_E000_CLOCKS_CLOCK_FREQUENCY
|
||||
#define DT_SPI_DW_0_NAME \
|
||||
DT_SNPS_DESIGNWARE_SPI_E000_LABEL
|
||||
#define DT_SPI_DW_0_IRQ \
|
||||
DT_SNPS_DESIGNWARE_SPI_E000_IRQ_0
|
||||
#define DT_SPI_DW_0_IRQ_FLAGS \
|
||||
DT_SNPS_DESIGNWARE_SPI_E000_IRQ_0_SENSE
|
||||
#define DT_SPI_DW_0_IRQ_PRI \
|
||||
DT_SNPS_DESIGNWARE_SPI_E000_IRQ_0_PRIORITY
|
||||
|
||||
#define DT_GPIO_DW_0_BASE_ADDR \
|
||||
DT_SNPS_DESIGNWARE_GPIO_80C00_BASE_ADDRESS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue