From 73ec3467e7cb43016e205e159649663e5c694889 Mon Sep 17 00:00:00 2001 From: Rubin Gerritsen Date: Mon, 15 Jul 2024 09:01:57 +0200 Subject: [PATCH] modules: hal_nordic: Support nRF54L15 EGU driver instances Adds the glue code to enable those. Signed-off-by: Rubin Gerritsen --- modules/hal_nordic/nrfx/Kconfig | 10 ++++++++++ modules/hal_nordic/nrfx/nrfx_config.h | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/modules/hal_nordic/nrfx/Kconfig b/modules/hal_nordic/nrfx/Kconfig index 10ecd585ef3..76afc65fd6e 100644 --- a/modules/hal_nordic/nrfx/Kconfig +++ b/modules/hal_nordic/nrfx/Kconfig @@ -62,6 +62,16 @@ config NRFX_EGU5 depends on $(dt_nodelabel_has_compat,egu5,$(DT_COMPAT_NORDIC_NRF_EGU)) select NRFX_EGU +config NRFX_EGU10 + bool "EGU10 driver instance" + depends on $(dt_nodelabel_has_compat,egu10,$(DT_COMPAT_NORDIC_NRF_EGU)) + select NRFX_EGU + +config NRFX_EGU20 + bool "EGU20 driver instance" + depends on $(dt_nodelabel_has_compat,egu20,$(DT_COMPAT_NORDIC_NRF_EGU)) + select NRFX_EGU + config NRFX_EGU020 bool "EGU020 driver instance" depends on $(dt_nodelabel_has_compat,egu020,$(DT_COMPAT_NORDIC_NRF_EGU)) diff --git a/modules/hal_nordic/nrfx/nrfx_config.h b/modules/hal_nordic/nrfx/nrfx_config.h index d1f9314954a..f8f311691bd 100644 --- a/modules/hal_nordic/nrfx/nrfx_config.h +++ b/modules/hal_nordic/nrfx/nrfx_config.h @@ -109,6 +109,12 @@ #ifdef CONFIG_NRFX_EGU5 #define NRFX_EGU5_ENABLED 1 #endif +#ifdef CONFIG_NRFX_EGU10 +#define NRFX_EGU10_ENABLED 1 +#endif +#ifdef CONFIG_NRFX_EGU20 +#define NRFX_EGU20_ENABLED 1 +#endif #ifdef CONFIG_NRFX_EGU020 #define NRFX_EGU020_ENABLED 1 #endif