soc: use HWMv2 for renesas_rzt2m SoC
This commit move the renesas_rzt2m SoC to soc/v2 and adopt HWMv2. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
committed by
Jamie McCrae
parent
4f52bc646e
commit
3abb792073
@@ -1,6 +0,0 @@
|
||||
# Copyright (c) 2023 Antmicro <www.antmicro.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
zephyr_sources(
|
||||
soc.c
|
||||
)
|
||||
@@ -1,12 +0,0 @@
|
||||
# Copyright (c) 2023 Antmicro <www.antmicro.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config SOC_RENESAS_RZT2M
|
||||
bool "Renesas RZ/T2M MCU"
|
||||
select ARM
|
||||
select CPU_CORTEX_R52
|
||||
select CPU_HAS_ARM_MPU
|
||||
select GIC_V3
|
||||
select GIC_SINGLE_SECURITY_STATE
|
||||
select ARM_ARCH_TIMER
|
||||
select SYSCON
|
||||
10
soc/v2/renesas_rzt2m/CMakeLists.txt
Normal file
10
soc/v2/renesas_rzt2m/CMakeLists.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
# Copyright (c) 2023 Antmicro <www.antmicro.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
zephyr_sources(
|
||||
soc.c
|
||||
)
|
||||
|
||||
zephyr_include_directories(.)
|
||||
|
||||
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_r/scripts/linker.ld CACHE INTERNAL "")
|
||||
@@ -2,7 +2,13 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config SOC_RENESAS_RZT2M
|
||||
bool
|
||||
select ARM
|
||||
select CPU_CORTEX_R52
|
||||
select CPU_HAS_ARM_MPU
|
||||
select GIC_V3
|
||||
select GIC_SINGLE_SECURITY_STATE
|
||||
select ARM_ARCH_TIMER
|
||||
select SYSCON
|
||||
|
||||
if SOC_RENESAS_RZT2M
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
|
||||
if SOC_RENESAS_RZT2M
|
||||
|
||||
config SOC
|
||||
default "renesas_rzt2m"
|
||||
|
||||
config NUM_IRQS
|
||||
default 994
|
||||
|
||||
9
soc/v2/renesas_rzt2m/Kconfig.soc
Normal file
9
soc/v2/renesas_rzt2m/Kconfig.soc
Normal file
@@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2023 Antmicro <www.antmicro.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config SOC_RENESAS_RZT2M
|
||||
bool
|
||||
|
||||
config SOC
|
||||
default "renesas_rzt2m"
|
||||
depends on SOC_RENESAS_RZT2M
|
||||
2
soc/v2/renesas_rzt2m/soc.yml
Normal file
2
soc/v2/renesas_rzt2m/soc.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
socs:
|
||||
- name: renesas_rzt2m
|
||||
Reference in New Issue
Block a user