2019-11-01 20:45:29 +08:00
|
|
|
# RV32M1 INTMUX config
|
|
|
|
|
2018-11-25 17:41:38 +08:00
|
|
|
# Copyright (c) 2018 Foundries.io
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config RV32M1_INTMUX
|
|
|
|
bool "OpenISA RV32M1 INTMUX interrupt controller support"
|
2022-07-22 14:46:51 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_OPENISA_RV32M1_INTMUX_ENABLED
|
|
|
|
depends on MULTI_LEVEL_INTERRUPTS
|
2018-11-25 17:41:38 +08:00
|
|
|
help
|
|
|
|
Select this option to enable support for the RV32M1 INTMUX
|
|
|
|
driver. This provides a level 2 interrupt controller for the SoC.
|
|
|
|
The INTMUX peripheral combines level 2 interrupts into
|
|
|
|
eight channels; each channel has its own level 1 interrupt to
|
|
|
|
the core.
|
|
|
|
|
|
|
|
if RV32M1_INTMUX
|
|
|
|
|
|
|
|
config RV32M1_INTMUX_INIT_PRIORITY
|
|
|
|
int "INTMUX driver initialization priority"
|
2019-04-09 03:26:06 +08:00
|
|
|
default 40
|
2018-11-25 17:41:38 +08:00
|
|
|
help
|
|
|
|
Boot time initialization priority for INTMUX driver.
|
|
|
|
Don't change the default unless you know what you are doing.
|
|
|
|
|
|
|
|
config RV32M1_INTMUX_CHANNEL_0
|
|
|
|
bool "INTMUX channel 0"
|
|
|
|
help
|
|
|
|
Enable support for INTMUX channel 0.
|
|
|
|
|
|
|
|
config RV32M1_INTMUX_CHANNEL_1
|
|
|
|
bool "INTMUX channel 1"
|
|
|
|
help
|
|
|
|
Enable support for INTMUX channel 1.
|
2019-09-19 18:35:00 +08:00
|
|
|
if !BT
|
2018-11-25 17:41:38 +08:00
|
|
|
config RV32M1_INTMUX_CHANNEL_2
|
|
|
|
bool "INTMUX channel 2"
|
|
|
|
help
|
|
|
|
Enable support for INTMUX channel 2.
|
|
|
|
|
|
|
|
config RV32M1_INTMUX_CHANNEL_3
|
|
|
|
bool "INTMUX channel 3"
|
|
|
|
help
|
|
|
|
Enable support for INTMUX channel 3.
|
2019-09-19 18:35:00 +08:00
|
|
|
endif # BT
|
2018-11-25 17:41:38 +08:00
|
|
|
config RV32M1_INTMUX_CHANNEL_4
|
|
|
|
bool "INTMUX channel 4"
|
|
|
|
help
|
|
|
|
Enable support for INTMUX channel 4.
|
|
|
|
|
|
|
|
config RV32M1_INTMUX_CHANNEL_5
|
|
|
|
bool "INTMUX channel 5"
|
|
|
|
help
|
|
|
|
Enable support for INTMUX channel 5.
|
|
|
|
|
|
|
|
config RV32M1_INTMUX_CHANNEL_6
|
|
|
|
bool "INTMUX channel 6"
|
|
|
|
help
|
|
|
|
Enable support for INTMUX channel 6.
|
|
|
|
|
|
|
|
config RV32M1_INTMUX_CHANNEL_7
|
|
|
|
bool "INTMUX channel 7"
|
|
|
|
help
|
|
|
|
Enable support for INTMUX channel 7.
|
|
|
|
|
|
|
|
endif # RV32M1_INTMUX
|