Skip to content

Commit 0773a3b

Browse files
committed
[nrf fromlist] soc: drivers: nrf: Add support for UARTE23 and UARTE24
Extends configuration to support instances used in new SOCs. Upstream PR #: 90373 Signed-off-by: Karol Lasończyk <[email protected]>
1 parent 5b20260 commit 0773a3b

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
@@ -608,6 +608,12 @@ config HAS_HW_NRF_UARTE21
608608
config HAS_HW_NRF_UARTE22
609609
def_bool $(dt_nodelabel_enabled_with_compat,uart22,$(DT_COMPAT_NORDIC_NRF_UARTE))
610610

611+
config HAS_HW_NRF_UARTE23
612+
def_bool $(dt_nodelabel_enabled_with_compat,uart23,$(DT_COMPAT_NORDIC_NRF_UARTE))
613+
614+
config HAS_HW_NRF_UARTE24
615+
def_bool $(dt_nodelabel_enabled_with_compat,uart24,$(DT_COMPAT_NORDIC_NRF_UARTE))
616+
611617
config HAS_HW_NRF_UARTE30
612618
def_bool $(dt_nodelabel_enabled_with_compat,uart30,$(DT_COMPAT_NORDIC_NRF_UARTE))
613619

0 commit comments

Comments
 (0)