Skip to content

Commit 3d109d6

Browse files
yangbolu1991kartben
authored andcommitted
soc: nxp: imx95: enable multi-level interrupts for m7
Enabled multi-level interrupts for m7 since IRQSTEER is used. Signed-off-by: Yangbo Lu <[email protected]>
1 parent 95b638f commit 3d109d6

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

soc/nxp/imx/imx9/imx95/Kconfig.defconfig.mimx95.m7

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,36 @@ config FLASH_SIZE
1111
config FLASH_BASE_ADDRESS
1212
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
1313

14+
# multi-level interrupts
15+
config MULTI_LEVEL_INTERRUPTS
16+
default y
17+
18+
config 1ST_LEVEL_INTERRUPT_BITS
19+
default 8
20+
21+
config MAX_IRQ_PER_AGGREGATOR
22+
default 16
23+
24+
config 2ND_LEVEL_INTERRUPTS
25+
default y
26+
27+
config 2ND_LVL_ISR_TBL_OFFSET
28+
default 234
29+
30+
config NUM_2ND_LEVEL_AGGREGATORS
31+
default 1
32+
33+
config 2ND_LEVEL_INTERRUPT_BITS
34+
default 8
35+
36+
config 2ND_LVL_INTR_00_OFFSET
37+
default 224
38+
39+
config 3RD_LEVEL_INTERRUPTS
40+
default n
41+
1442
config NUM_IRQS
15-
default 230
43+
default 250 # 2ND_LVL_ISR_TBL_OFFSET + MAX_IRQ_PER_AGGREGATOR * NUM_2ND_LEVEL_AGGREGATORS
1644

1745
config SYS_CLOCK_HW_CYCLES_PER_SEC
1846
default 800000000

0 commit comments

Comments
 (0)