[PATCH v2 0/2] Initial r7s72100 Genmai board support

Magnus Damm damm at opensource.se
Wed Jul 2 19:13:38 CEST 2025


Initial r7s72100 Genmai board support (V2)

[PATCH v2 1/2] ARM: renesas: Put common r7s72100 code in board/renesas/common
[PATCH v2 2/2] ARM: renesas: Add support for the r7s72100 Genmai board

These two patches for U-Boot aim at adding initial support for the
Genmai board which is based on the r7s72100 (RZ/A1H) SoC from Renesas.

The first patch takes SoC specific code from the GR-Peach board and
breaks it out into the board/renesas/common directory so it can be
easily shared between GR-Peach and Genmai.

The second patch adds board specific details for the Genmai board.

There is nothing out of the ordinary with this board or this board code,
however please note that the external SDRAM (hooked up to CS2/CS3) to the
r7s72100 on the Genmai board remains unconfigured at this point. Because of
this the U-Boot Genmai board code is instead making use of the 10 MiB on-chip
RAM available in the r7s72100 SoC. The upstream DT for the Genmai board is
however describing the external SDRAM memory banks as expected from a Linux
point of view, and to "make it work" the memory bank configuration in U-Boot
today is not using DT to describe the memories.

Once SDRAM configuration code gets added as an incremental patch the memory
configuration code can be easily switched over to use DT by adjusting the
number of memory banks in the defconfig and updating the dram_*() functions.

Thanks to Chris Brandt for the older out of tree board code, Marek Vasut
for the upstream GR-Peach board code, the pinctrl-rza1.c driver and a bunch
of fixes and changes that have been rolled into these patches.

Signed-off-by: Magnus Damm <damm at opensource.se>
---

 Applies to u-boot git cbb5672790d400e9ec6e9fceaf89ece2660c0117 (origin/next)
  and
 https://patchwork.ozlabs.org/project/uboot/list/?series=463012
 https://patchwork.ozlabs.org/project/uboot/list/?series=463013

 arch/arm/dts/Makefile                     |    1 
 arch/arm/dts/r7s72100-genmai-u-boot.dtsi  |   32 ++++++++
 arch/arm/mach-renesas/Kconfig.rza1        |    4 +
 board/renesas/common/Makefile             |    8 ++
 board/renesas/common/rza1-common.c        |   27 +++++++
 board/renesas/common/rza1-lowlevel_init.S |  106 +++++++++++++++++++++++++++++
 board/renesas/genmai/Kconfig              |   12 +++
 board/renesas/genmai/MAINTAINERS          |    5 +
 board/renesas/genmai/Makefile             |    7 +
 board/renesas/genmai/genmai.c             |   49 +++++++++++++
 board/renesas/grpeach/Makefile            |    1 
 board/renesas/grpeach/grpeach.c           |   22 ------
 board/renesas/grpeach/lowlevel_init.S     |  106 -----------------------------
 configs/genmai_defconfig                  |   17 ++++
 include/configs/genmai.h                  |   15 ++++
 15 files changed, 283 insertions(+), 129 deletions(-)


More information about the U-Boot mailing list