modules: hal_nordic: Support EGU130 driver instance
Adds the glue code to enable this. Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
This commit is contained in:
parent
73ec3467e7
commit
893c4ed4f9
4 changed files with 16 additions and 0 deletions
|
@ -584,6 +584,13 @@
|
|||
interrupts = <300 NRF_DEFAULT_IRQ_PRIORITY>;
|
||||
};
|
||||
|
||||
egu130: egu@92d000 {
|
||||
compatible = "nordic,nrf-egu";
|
||||
reg = <0x92d000 0x1000>;
|
||||
status = "disabled";
|
||||
interrupts = <301 NRF_DEFAULT_IRQ_PRIORITY>;
|
||||
};
|
||||
|
||||
gpiote130: gpiote@934000 {
|
||||
compatible = "nordic,nrf-gpiote";
|
||||
reg = <0x934000 0x1000>;
|
||||
|
|
|
@ -77,6 +77,11 @@ config NRFX_EGU020
|
|||
depends on $(dt_nodelabel_has_compat,egu020,$(DT_COMPAT_NORDIC_NRF_EGU))
|
||||
select NRFX_EGU
|
||||
|
||||
config NRFX_EGU130
|
||||
bool "EGU130 driver instance"
|
||||
depends on $(dt_nodelabel_has_compat,egu130,$(DT_COMPAT_NORDIC_NRF_EGU))
|
||||
select NRFX_EGU
|
||||
|
||||
config NRFX_GPIOTE
|
||||
bool
|
||||
|
||||
|
|
|
@ -118,6 +118,9 @@
|
|||
#ifdef CONFIG_NRFX_EGU020
|
||||
#define NRFX_EGU020_ENABLED 1
|
||||
#endif
|
||||
#ifdef CONFIG_NRFX_EGU130
|
||||
#define NRFX_EGU130_ENABLED 1
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NRFX_GRTC
|
||||
#define NRFX_GRTC_ENABLED 1
|
||||
|
|
|
@ -173,6 +173,7 @@ CHECK_DT_REG(egu5, NRF_EGU5);
|
|||
CHECK_DT_REG(egu10, NRF_EGU10);
|
||||
CHECK_DT_REG(egu20, NRF_EGU20);
|
||||
CHECK_DT_REG(egu020, NRF_RADIOCORE_EGU020);
|
||||
CHECK_DT_REG(egu130, NRF_EGU130);
|
||||
CHECK_DT_REG(ficr, NRF_FICR);
|
||||
CHECK_DT_REG(flash_controller, NRF_NVMC);
|
||||
CHECK_DT_REG(gpio0, NRF_P0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue