Skip to content

Commit 59f22eb

Browse files
Hieu Nguyenbinhnguyen2434
Hieu Nguyen
authored andcommitted
drivers: serial: Add support for RZ/A2M
Add serial support for RZ/A2M Signed-off-by: Hieu Nguyen <[email protected]> Signed-off-by: Binh Nguyen <[email protected]>
1 parent 5d3a886 commit 59f22eb

File tree

6 files changed

+889
-2
lines changed

6 files changed

+889
-2
lines changed

boards/renesas/rza2m_evk/rza2m_evk.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ toolchain:
66
- zephyr
77
- gnuarmemb
88
supported:
9-
9+
- uart
1010
vendor: renesas

drivers/serial/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ zephyr_library_sources_ifdef(CONFIG_UART_PSOC6 uart_psoc6.c)
6363
zephyr_library_sources_ifdef(CONFIG_UART_QUICKLOGIC_USBSERIALPORT_S3B uart_ql_usbserialport_s3b.c)
6464
zephyr_library_sources_ifdef(CONFIG_UART_RA8_SCI_B uart_renesas_ra8_sci_b.c)
6565
zephyr_library_sources_ifdef(CONFIG_UART_RCAR uart_rcar.c)
66+
zephyr_library_sources_ifdef(CONFIG_UART_RENESAS_RZA2M_SCIF uart_renesas_rza2m_scif.c)
6667
zephyr_library_sources_ifdef(CONFIG_UART_RENESAS_RZ_SCI uart_renesas_rz_sci.c)
6768
zephyr_library_sources_ifdef(CONFIG_UART_RENESAS_RZ_SCIF uart_renesas_rz_scif.c)
6869
zephyr_library_sources_ifdef(CONFIG_UART_RPI_PICO_PIO uart_rpi_pico_pio.c)

drivers/serial/Kconfig.renesas_rz

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024 Renesas Electronics Corporation
1+
# Copyright (c) 2024-2025 Renesas Electronics Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

44
config UART_RENESAS_RZ_SCIF
@@ -33,3 +33,13 @@ config UART_RENESAS_RZG_INIT_DELAY_MS
3333
before UART initialization of M33.
3434

3535
endif
36+
37+
config UART_RENESAS_RZA2M_SCIF
38+
bool "Renesas A2M SCIF UART Driver"
39+
default y
40+
depends on DT_HAS_RENESAS_RZA2M_SCIF_UART_ENABLED
41+
select SERIAL_HAS_DRIVER
42+
select SERIAL_SUPPORT_INTERRUPT
43+
select PINCTRL
44+
help
45+
Enable Renesas SCIF UART Driver.

0 commit comments

Comments
 (0)