1 /*
2  * Copyright 2019 NXP
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 /* Needed for the DT_INST_* defines below */
7 #include <zephyr/devicetree.h>
8 
9 #define LL_SWI4_IRQn EMVSIM0_IRQn
10 #define LL_SWI5_IRQn MUA_IRQn
11 
12 /*
13  * LPTMR1 -> INTMUX_CH2. We expect it to be the only IRQ source for this channel
14  * We'll use the INTMUX ISR for channel 2 instead of LPTMR1 ISR
15  */
16 #define LL_RTC0_IRQn_1st_lvl DT_IRQN(DT_NODELABEL(intmux0_ch2))
17 #define LL_RTC0_IRQn_2nd_lvl DT_IRQN(DT_NODELABEL(lptmr1))
18 
19 /*
20  * radio -> INTMUX_CH3. We expect it to be the only IRQ source for this channel
21  * We'll use the INTMUX ISR for channel 3 instead of radio ISR
22  */
23 #define LL_RADIO_IRQn_1st_lvl DT_IRQN(DT_NODELABEL(intmux0_ch3))
24 #define LL_RADIO_IRQn_2nd_lvl DT_IRQN(DT_NODELABEL(generic_fsk))
25 
26 #define LL_RTC0_IRQn LL_RTC0_IRQn_1st_lvl
27 #define LL_RADIO_IRQn LL_RADIO_IRQn_1st_lvl
28