Skip to content

Commit 22ffe4f

Browse files
kl-cruzkartben
authored andcommitted
soc: drivers: nrf: Add support for UARTE23 and UARTE24
Extends configuration to support instances used in new SOCs. Signed-off-by: Karol Lasończyk <[email protected]>
1 parent 31e38c8 commit 22ffe4f

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

drivers/serial/Kconfig.nrfx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,16 @@ nrfx_uart_num = 22
111111
rsource "Kconfig.nrfx_uart_instance"
112112
endif
113113

114+
if HAS_HW_NRF_UARTE23
115+
nrfx_uart_num = 23
116+
rsource "Kconfig.nrfx_uart_instance"
117+
endif
118+
119+
if HAS_HW_NRF_UARTE24
120+
nrfx_uart_num = 24
121+
rsource "Kconfig.nrfx_uart_instance"
122+
endif
123+
114124
if HAS_HW_NRF_UARTE30
115125
nrfx_uart_num = 30
116126
rsource "Kconfig.nrfx_uart_instance"

soc/nordic/common/Kconfig.peripherals

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,12 @@ config HAS_HW_NRF_UARTE21
597597
config HAS_HW_NRF_UARTE22
598598
def_bool $(dt_nodelabel_enabled_with_compat,uart22,$(DT_COMPAT_NORDIC_NRF_UARTE))
599599

600+
config HAS_HW_NRF_UARTE23
601+
def_bool $(dt_nodelabel_enabled_with_compat,uart23,$(DT_COMPAT_NORDIC_NRF_UARTE))
602+
603+
config HAS_HW_NRF_UARTE24
604+
def_bool $(dt_nodelabel_enabled_with_compat,uart24,$(DT_COMPAT_NORDIC_NRF_UARTE))
605+
600606
config HAS_HW_NRF_UARTE30
601607
def_bool $(dt_nodelabel_enabled_with_compat,uart30,$(DT_COMPAT_NORDIC_NRF_UARTE))
602608

0 commit comments

Comments
 (0)