soc: renesas: Add support for RX62N MCU
The qemu-system-rx is based on RX62N, this commit added support for the RX62N SOC layer. MCU is using RXv1 core and system timer running at 6MHz Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
This commit is contained in:
parent
dc470f782a
commit
d4d2b09cac
7 changed files with 171 additions and 0 deletions
6
soc/renesas/rx/rx62n/CMakeLists.txt
Normal file
6
soc/renesas/rx/rx62n/CMakeLists.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
zephyr_include_directories(.)
|
||||
|
||||
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/rx/linker.ld CACHE INTERNAL "")
|
8
soc/renesas/rx/rx62n/Kconfig
Normal file
8
soc/renesas/rx/rx62n/Kconfig
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config SOC_SERIES_RX62N
|
||||
select RX
|
||||
select CPU_RXV1
|
||||
select XIP
|
||||
select CLOCK_CONTROL
|
9
soc/renesas/rx/rx62n/Kconfig.defconfig
Normal file
9
soc/renesas/rx/rx62n/Kconfig.defconfig
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_SERIES_RX62N
|
||||
|
||||
config INITIALIZATION_STACK_SIZE
|
||||
default 512
|
||||
|
||||
endif # SOC_SERIES_RX62N
|
20
soc/renesas/rx/rx62n/Kconfig.soc
Normal file
20
soc/renesas/rx/rx62n/Kconfig.soc
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config SOC_SERIES_RX62N
|
||||
bool
|
||||
select SOC_FAMILY_RENESAS_RX
|
||||
help
|
||||
Renesas RX62N series
|
||||
|
||||
config SOC_R5F562N8
|
||||
bool
|
||||
select SOC_SERIES_RX62N
|
||||
help
|
||||
R5F562N8
|
||||
|
||||
config SOC_SERIES
|
||||
default "rx62n" if SOC_SERIES_RX62N
|
||||
|
||||
config SOC
|
||||
default "r5f562n8" if SOC_R5F562N8
|
12
soc/renesas/rx/rx62n/soc.h
Normal file
12
soc/renesas/rx/rx62n/soc.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Renesas Electronics Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef __RX62N_SOC_H__
|
||||
#define __RX62N_SOC_H__
|
||||
|
||||
#include "reg_protection.h"
|
||||
|
||||
#endif /* __RX62N_SOC_H__ */
|
|
@ -4,3 +4,6 @@ family:
|
|||
- name: rx130
|
||||
socs:
|
||||
- name: r5f513083xfb
|
||||
- name: rx62n
|
||||
socs:
|
||||
- name: r5f562n8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue