Skip to content

Commit 1005cd9

Browse files
Tri Nguyenkartben
authored andcommitted
drivers: flash: Initial support OSPI flash driver on RA8 boards
Support OSPI flash driver on EK-RA8M1 and EK-RA8D1 with ospi_b and S28HL512T flash. Signed-off-by: Tri Nguyen <[email protected]> Signed-off-by: Thao Luong <[email protected]>
1 parent c65100b commit 1005cd9

File tree

9 files changed

+1247
-0
lines changed

9 files changed

+1247
-0
lines changed

drivers/flash/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ zephyr_library_sources_ifdef(CONFIG_FLASH_MSPI_EMUL_DEVICE flash_mspi_emul_devic
3737
zephyr_library_sources_ifdef(CONFIG_FLASH_MSPI_NOR flash_mspi_nor.c)
3838
zephyr_library_sources_ifdef(CONFIG_FLASH_NPCX_FIU_NOR flash_npcx_fiu_nor.c)
3939
zephyr_library_sources_ifdef(CONFIG_FLASH_NPCX_FIU_QSPI flash_npcx_fiu_qspi.c)
40+
zephyr_library_sources_ifdef(CONFIG_FLASH_RENESAS_RA_OSPI_B flash_renesas_ra_ospi_b.c)
4041
zephyr_library_sources_ifdef(CONFIG_FLASH_RPI_PICO flash_rpi_pico.c)
4142
zephyr_library_sources_ifdef(CONFIG_FLASH_STM32_OSPI flash_stm32_ospi.c)
4243
zephyr_library_sources_ifdef(CONFIG_FLASH_STM32_QSPI flash_stm32_qspi.c)

drivers/flash/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ source "drivers/flash/Kconfig.numaker"
191191
source "drivers/flash/Kconfig.numaker_rmc"
192192
source "drivers/flash/Kconfig.nxp_s32"
193193
source "drivers/flash/Kconfig.renesas_ra"
194+
source "drivers/flash/Kconfig.renesas_ra_ospi"
194195
source "drivers/flash/Kconfig.rpi_pico"
195196
source "drivers/flash/Kconfig.rts5912"
196197
source "drivers/flash/Kconfig.rv32m1"

drivers/flash/Kconfig.renesas_ra_ospi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Renesas RA Family
2+
3+
# Copyright (c) 2024-2025 Renesas Electronics Corporation
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
config FLASH_RENESAS_RA_OSPI_B
7+
bool "Renesas RA Octal-SPI driver"
8+
default y
9+
depends on DT_HAS_RENESAS_RA_OSPI_B_NOR_ENABLED
10+
select FLASH_HAS_DRIVER_ENABLED
11+
select FLASH_HAS_PAGE_LAYOUT
12+
select FLASH_HAS_EXPLICIT_ERASE
13+
select USE_RA_FSP_OSPI_B_NOR_FLASH
14+
select FLASH_JESD216
15+
select FLASH_HAS_EX_OP
16+
select PINCTRL
17+
help
18+
Enable Octal-SPI Nor flash driver for RA series

0 commit comments

Comments
 (0)