Skip to content

Commit f767656

Browse files
committed
soc: Add Renesas RA6M5 series R7FA6M5BH3CFC
Signed-off-by: Piotr Rak <[email protected]>
1 parent ca304fa commit f767656

File tree

7 files changed

+69
-0
lines changed

7 files changed

+69
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright (c) 2023 TOKITA Hiroshi <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
zephyr_include_directories(.)
5+
6+
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")

soc/renesas/ra/ra6m5/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copyright (c) 2024 Piotr Rak <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config SOC_SERIES_RA6M5
5+
select ARM
6+
select CPU_CORTEX_M33
7+
select CPU_HAS_ARM_MPU
8+
select CPU_CORTEX_M_HAS_SYSTICK
9+
select DYNAMIC_INTERRUPTS
10+
select TIMER_READS_ITS_FREQUENCY_AT_RUNTIME
11+
select XIP
12+
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copyright (c) 2024 Piotr Rak <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
if SOC_SERIES_RA6M5
5+
6+
# Ref: Renesas RA6M5 Group: UM: Hardware (R01UH0891EJ0130 Rev.1.30)
7+
# - 13.1 Interrupt Controller Unit (ICU) - Overview
8+
# - Table 14.1 ICU - Interrupt sources for NVIC (96)
9+
config NUM_IRQS
10+
default 96
11+
12+
endif # SOC_SERIES_RA6M5

soc/renesas/ra/ra6m5/Kconfig.soc

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright (c) 2024 Piotr Rak <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config SOC_SERIES_RA6M5
5+
bool
6+
select SOC_FAMILY_RENESAS_RA
7+
help
8+
Renesas RA6M5
9+
10+
config SOC_R7FA6M5BH3CFC
11+
bool
12+
select SOC_SERIES_RA6M5
13+
help
14+
R7FA6M5BH3CFC
15+
16+
config SOC_SERIES
17+
default "ra6m5" if SOC_SERIES_RA6M5
18+
19+
config SOC
20+
default "r7fa6m5bh3cfc" if SOC_R7FA6M5BH3CFC
21+
22+

soc/renesas/ra/ra6m5/pinctrl_soc.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2023 TOKITA Hiroshi <[email protected]>
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include "../common/pinctrl_ra.h"

soc/renesas/ra/ra6m5/soc.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2023 TOKITA Hiroshi <[email protected]>
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include "../common/ra_common_soc.h"

soc/renesas/ra/soc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ family:
44
- name: ra4m1
55
socs:
66
- name: r7fa4m1ab3cfm
7+
- name: ra6m5
8+
socs:
9+
- name: r7fa6m5bh3cfc

0 commit comments

Comments
 (0)