|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Devicetree macros for the Microchip SmartFusion2 interrupt controller. More...
Files | |
| file | microchip-smartfusion2-irq.h |
| Microchip SmartFusion2 interrupt controller devicetree macros. | |
Devicetree macros for the Microchip SmartFusion2 interrupt controller.
This header provides the MSS interrupt numbers for the SmartFusion2 SoC. Interrupts are routed to the Cortex-M3 NVIC, so an interrupts entry takes two cells: the interrupt number, followed by the NVIC priority.
Interrupt numbers follow two naming conventions:
SMARTFUSION2_IRQ_UART0, SMARTFUSION2_IRQ_ETHERNET_MAC, or SMARTFUSION2_IRQ_TIMER1. Use these in new devicetree sources.SMARTFUSION2_IRQ_* counterpart, and several alias the same underlying interrupt: M2S_IRQ_I2C0_MAIN, M2S_IRQ_I2C0_ALERT and M2S_IRQ_I2C0_SUS all resolve to SMARTFUSION2_IRQ_I2C0.SMARTFUSION2_IRQ_WDOG_WAKEUP and SMARTFUSION2_IRQ_RTC_WAKEUP name wakeup sources that are not connected to the NVIC.