Skip to content

Commit 7f07a70

Browse files
rugeGerritsenrlubos
authored andcommitted
[nrf fromtree] modules: hal_nordic: Support EGU130 driver instance
Adds the glue code to enable this. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 078aceea0a1cb8a5764bfe566d8555a13f21bdff)
1 parent 17e06d7 commit 7f07a70

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

dts/common/nordic/nrf54h20.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,13 @@
651651
clocks = <&lfclk>;
652652
};
653653

654+
egu130: egu@92d000 {
655+
compatible = "nordic,nrf-egu";
656+
reg = <0x92d000 0x1000>;
657+
status = "disabled";
658+
interrupts = <301 NRF_DEFAULT_IRQ_PRIORITY>;
659+
};
660+
654661
gpiote130: gpiote@934000 {
655662
compatible = "nordic,nrf-gpiote";
656663
reg = <0x934000 0x1000>;

modules/hal_nordic/nrfx/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ config NRFX_EGU020
8181
depends on $(dt_nodelabel_has_compat,egu020,$(DT_COMPAT_NORDIC_NRF_EGU))
8282
select NRFX_EGU
8383

84+
config NRFX_EGU130
85+
bool "EGU130 driver instance"
86+
depends on $(dt_nodelabel_has_compat,egu130,$(DT_COMPAT_NORDIC_NRF_EGU))
87+
select NRFX_EGU
88+
8489
config NRFX_GPIOTE
8590
bool
8691

modules/hal_nordic/nrfx/nrfx_config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@
118118
#ifdef CONFIG_NRFX_EGU020
119119
#define NRFX_EGU020_ENABLED 1
120120
#endif
121+
#ifdef CONFIG_NRFX_EGU130
122+
#define NRFX_EGU130_ENABLED 1
123+
#endif
121124

122125
#ifdef CONFIG_NRFX_GRTC
123126
#define NRFX_GRTC_ENABLED 1

soc/nordic/validate_base_addresses.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ CHECK_DT_REG(egu5, NRF_EGU5);
173173
CHECK_DT_REG(egu10, NRF_EGU10);
174174
CHECK_DT_REG(egu20, NRF_EGU20);
175175
CHECK_DT_REG(egu020, NRF_RADIOCORE_EGU020);
176+
CHECK_DT_REG(egu130, NRF_EGU130);
176177
CHECK_DT_REG(ficr, NRF_FICR);
177178
CHECK_DT_REG(flash_controller, NRF_NVMC);
178179
CHECK_DT_REG(gpio0, NRF_P0);

0 commit comments

Comments
 (0)