Browse Source

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>
pull/69687/head
Torsten Rasmussen 2 years ago committed by Jamie McCrae
parent
commit
3abb792073
  1. 6
      soc/arm/renesas_rzt2m/CMakeLists.txt
  2. 12
      soc/arm/renesas_rzt2m/Kconfig.soc
  3. 10
      soc/v2/renesas_rzt2m/CMakeLists.txt
  4. 8
      soc/v2/renesas_rzt2m/Kconfig
  5. 3
      soc/v2/renesas_rzt2m/Kconfig.defconfig
  6. 9
      soc/v2/renesas_rzt2m/Kconfig.soc
  7. 0
      soc/v2/renesas_rzt2m/linker.ld
  8. 0
      soc/v2/renesas_rzt2m/pinctrl_soc.h
  9. 0
      soc/v2/renesas_rzt2m/soc.c
  10. 0
      soc/v2/renesas_rzt2m/soc.h
  11. 2
      soc/v2/renesas_rzt2m/soc.yml

6
soc/arm/renesas_rzt2m/CMakeLists.txt

@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
# Copyright (c) 2023 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0
zephyr_sources(
soc.c
)

12
soc/arm/renesas_rzt2m/Kconfig.soc

@ -1,12 +0,0 @@ @@ -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

@ -0,0 +1,10 @@ @@ -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 "")

8
soc/arm/renesas_rzt2m/Kconfig → soc/v2/renesas_rzt2m/Kconfig

@ -2,7 +2,13 @@ @@ -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
soc/arm/renesas_rzt2m/Kconfig.defconfig → soc/v2/renesas_rzt2m/Kconfig.defconfig

@ -3,9 +3,6 @@ @@ -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

@ -0,0 +1,9 @@ @@ -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

0
soc/arm/renesas_rzt2m/linker.ld → soc/v2/renesas_rzt2m/linker.ld

0
soc/arm/renesas_rzt2m/pinctrl_soc.h → soc/v2/renesas_rzt2m/pinctrl_soc.h

0
soc/arm/renesas_rzt2m/soc.c → soc/v2/renesas_rzt2m/soc.c

0
soc/arm/renesas_rzt2m/soc.h → soc/v2/renesas_rzt2m/soc.h

2
soc/v2/renesas_rzt2m/soc.yml

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
socs:
- name: renesas_rzt2m
Loading…
Cancel
Save