drivers/interrupt-controller: Make irqs DT configured in DW
DesignWare driver can manage different amount of irqs so let's make it configurable via DTS. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
251141567f
commit
8d10e66371
4 changed files with 8 additions and 1 deletions
|
@ -43,6 +43,7 @@
|
|||
DT_SNPS_DESIGNWARE_INTC_81800_IRQ_0_PRIORITY
|
||||
#define DT_INTC_DW_0_IRQ_FLAGS \
|
||||
DT_SNPS_DESIGNWARE_INTC_81800_IRQ_0_SENSE
|
||||
#define DT_INTC_DW_0_NUM_IRQS DT_SNPS_DESIGNWARE_INTC_81800_NUM_IRQS
|
||||
|
||||
#define DT_SPI_DW_0_BASE_ADDRESS \
|
||||
DT_SNPS_DESIGNWARE_SPI_E000_BASE_ADDRESS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue