Skip to content

Commit f3c5af5

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 d982c42 commit f3c5af5

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
@@ -108,6 +108,16 @@ nrfx_uart_num = 22
108108
rsource "Kconfig.nrfx_uart_instance"
109109
endif
110110

111+
if HAS_HW_NRF_UARTE23
112+
nrfx_uart_num = 23
113+
rsource "Kconfig.nrfx_uart_instance"
114+
endif
115+
116+
if HAS_HW_NRF_UARTE24
117+
nrfx_uart_num = 24
118+
rsource "Kconfig.nrfx_uart_instance"
119+
endif
120+
111121
if HAS_HW_NRF_UARTE30
112122
nrfx_uart_num = 30
113123
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)