1 /** 2 * Copyright (c) 2021 Raspberry Pi (Trading) Ltd. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 #ifndef _INTCTRL_H_ 7 #define _INTCTRL_H_ 8 9 #define TIMER_IRQ_0 0 10 #define TIMER_IRQ_1 1 11 #define TIMER_IRQ_2 2 12 #define TIMER_IRQ_3 3 13 #define PWM_IRQ_WRAP 4 14 #define USBCTRL_IRQ 5 15 #define XIP_IRQ 6 16 #define PIO0_IRQ_0 7 17 #define PIO0_IRQ_1 8 18 #define PIO1_IRQ_0 9 19 #define PIO1_IRQ_1 10 20 #define DMA_IRQ_0 11 21 #define DMA_IRQ_1 12 22 #define IO_IRQ_BANK0 13 23 #define IO_IRQ_QSPI 14 24 #define SIO_IRQ_PROC0 15 25 #define SIO_IRQ_PROC1 16 26 #define CLOCKS_IRQ 17 27 #define SPI0_IRQ 18 28 #define SPI1_IRQ 19 29 #define UART0_IRQ 20 30 #define UART1_IRQ 21 31 #define ADC_IRQ_FIFO 22 32 #define I2C0_IRQ 23 33 #define I2C1_IRQ 24 34 #define RTC_IRQ 25 35 36 #define isr_timer_0 isr_irq0 37 #define isr_timer_1 isr_irq1 38 #define isr_timer_2 isr_irq2 39 #define isr_timer_3 isr_irq3 40 #define isr_pwm_wrap isr_irq4 41 #define isr_usbctrl isr_irq5 42 #define isr_xip isr_irq6 43 #define isr_pio0_0 isr_irq7 44 #define isr_pio0_1 isr_irq8 45 #define isr_pio1_0 isr_irq9 46 #define isr_pio1_1 isr_irq10 47 #define isr_dma_0 isr_irq11 48 #define isr_dma_1 isr_irq12 49 #define isr_io_bank0 isr_irq13 50 #define isr_io_qspi isr_irq14 51 #define isr_sio_proc0 isr_irq15 52 #define isr_sio_proc1 isr_irq16 53 #define isr_clocks isr_irq17 54 #define isr_spi0 isr_irq18 55 #define isr_spi1 isr_irq19 56 #define isr_uart0 isr_irq20 57 #define isr_uart1 isr_irq21 58 #define isr_adc_fifo isr_irq22 59 #define isr_i2c0 isr_irq23 60 #define isr_i2c1 isr_irq24 61 #define isr_rtc isr_irq25 62 63 #endif // _INTCTRL_H_ 64