Skip to content

Interrupts

Jonathan Neuschäfer edited this page Dec 15, 2021 · 21 revisions

The SoC has 32 interrupt lines:

IRQ description IRQ description
0 reserved 16 Ethernet MAC 1 TX
1 WDT 17 Ethernet MAC 2 RX
2 GPIO 0 18 Ethernet MAC 2 TX
3 GPIO 1 19 reserved
4 GPIO 2 20 USB 2.0 device controller
5 GPIO 3 21 USB 1.1 device controller
6 PECI 22 VCD
7 UART0 23 I2C 3
8 UART1 24 tachometer 0
9 KCS 25 tachometer 1
10 FIU 26 I2C 0/1/2
11 SHM 27 I2C 4
12 timer 0 28 PWM
13 timer 1 29 I2C 5
14 timer 2/3/4 30 reserved
15 Ethernet MAC 1 RX 31 ADC

Interrupt controller

The advanced interrupt controller (AIC) is configured through an MMIO block at 0xb8002000.

A very similar interrupt controller is found in the Winbond W90N745 SoC.

Offset type name description
0000 u32 SCR0 Source control register 0
0004 u32 SCR1 Source control register 1
... ... ...
007c u32 SCR31 Source control register 31
0084 u32 GEN Interrupt group enable control register
0088 u32 GRSR Interrupt group raw status register
0100 u32 IRSR Interrupt raw status register
0104 u32 IASR Interrupt active status register
0108 u32 ISR Interrupt status register
010c u32 IPER Interrupt priority encoding register
0110 u32 ISNR Interrupt source number register
0114 u32 IMR Interrupt mask register
0118 u32 OISR Output interrupt status register
0120 u32 MECR Mask enable command register
0124 u32 MDCR Mask disable command register
0128 u32 SSCR Source set command register
012c u32 SCCR Source clear command register
0130 u32 EOSCR End of service command register

References

Clone this wiki locally