driver: gpio: dw: convert to DT_INST defines
Convert driver to use DT_INST_ defines. The preferred defines for drivers are DT_INST_. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
5d332c974e
commit
bdcf87956b
8 changed files with 65 additions and 174 deletions
|
@ -58,17 +58,7 @@
|
|||
#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
|
||||
#define DT_GPIO_DW_0_BITS \
|
||||
DT_SNPS_DESIGNWARE_GPIO_80C00_BITS
|
||||
#define DT_GPIO_DW_0_IRQ \
|
||||
DT_SNPS_DESIGNWARE_GPIO_80C00_IRQ_0
|
||||
#define CONFIG_GPIO_DW_0_IRQ_PRI \
|
||||
DT_SNPS_DESIGNWARE_GPIO_80C00_IRQ_0_PRIORITY
|
||||
#define DT_GPIO_DW_0_IRQ_FLAGS 0
|
||||
#define CONFIG_GPIO_DW_0_NAME \
|
||||
DT_SNPS_DESIGNWARE_GPIO_80C00_LABEL
|
||||
#define DT_INST_0_SNPS_DESIGNWARE_GPIO_IRQ_0_FLAGS 0
|
||||
|
||||
#define DT_PINMUX_BASE_ADDR \
|
||||
DT_INTEL_S1000_PINMUX_81C30_BASE_ADDRESS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue