[PATCH v3 0/9] RZ/A1 Genmai, RZ/A2 GR-Mango and RZA2MBTC support

Magnus Damm damm at opensource.se
Sun Jul 6 13:28:36 CEST 2025


RZ/A1 Genmai, RZ/A2 GR-Mango and RZA2MBTC support

[PATCH v3 1/9] ARM: renesas: Put common RZ/A1 code in board/renesas/common
[PATCH v3 2/9] ARM: renesas: Add RZ/A1 Genmai board support
[PATCH v3 3/9] ARM: renesas: Add RZ/A2 support
[PATCH v3 4/9] pinctrl: renesas: Add RZ/A2 pinctrl support
[PATCH v3 5/9] serial: sh: Add RZ/A2 SCIF support
[PATCH v3 6/9] spi: renesas_rpc_spi: Add RZ/A2 SPI Multi I/O support
[PATCH v3 7/9] net: sh_eth: Adjust RZ/A1, add RZ/A2 support
[PATCH v3 8/9] ARM: renesas: Add RZ/A2 GR-Mango board support
[PATCH v3 9/9] ARM: renesas: Add RZ/A2 RZA2MBTC board support

These patches for U-Boot aim at adding initial support for:
- Genmai: (RZ/A1 SoC) Serial Console, SPI flash, Ethernet
- GR-Mango: (RZ/A2 SoC) Serial Console, Ethernet
- RZA2MBTC: (RZ/A2 SoC) Serial Console, SPI flash, Ethernet

Please get DT source files from the following series:
[PATCH 0/6] Add rpc-if to RZ/A1, RZ/A2 and update/add board support
https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=979368

On-chip memory is currently utilized for all the boards in this series.
Support for on-board SDRAM will eventually be added as incremental patches.

Thanks to Chris and Marek for their efforts. I've taken the [5/9] SCIF patch
with code initially from Chris and reworked it. Also the [7/9] sh_eth code is
written on top of recent cleanup patches from Marek but adds code for RZ/A1
and RZ/A2 to take the base address of the ethernet controller from DT. Multi
port seems to work on RZ/A2 since RZA2MBTC is using Ethernet #1 via RMII and
GR-Peach is using Ethernet #0 and MII. The PFENET register is setup in low
level board init for RZA2MBTC to switch to RMII, maybe this should be done
in the pinctrl driver instead?

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

 The first few patches in this series were earlier submitted as
 [PATCH v2 0/2] Initial r7s72100 Genmai board support

 Makefile                                  |    2 
 arch/arm/dts/Makefile                     |    7 +
 arch/arm/dts/r7s72100-genmai-u-boot.dtsi  |   32 ++++++
 arch/arm/dts/r7s9210-gr-mango-u-boot.dtsi |   28 +++++
 arch/arm/dts/r7s9210-rza2mbtc-u-boot.dtsi |   28 +++++
 arch/arm/mach-renesas/Kconfig             |    5 +
 arch/arm/mach-renesas/Kconfig.rza1        |    4 
 arch/arm/mach-renesas/Kconfig.rza2        |   24 +++++
 board/aprg/rza2mbtc/Kconfig               |   15 +++
 board/aprg/rza2mbtc/MAINTAINERS           |    5 +
 board/aprg/rza2mbtc/Makefile              |    1 
 board/aprg/rza2mbtc/rza2mbtc.c            |   34 +++++++
 board/renesas/common/Makefile             |   16 +++
 board/renesas/common/rza1-common.c        |   27 +++++
 board/renesas/common/rza1-lowlevel_init.S |  106 ++++++++++++++++++++++
 board/renesas/common/rza2-common.c        |   28 +++++
 board/renesas/common/rza2-lowlevel_init.S |  130 +++++++++++++++++++++++++++
 board/renesas/genmai/Kconfig              |   12 ++
 board/renesas/genmai/MAINTAINERS          |    5 +
 board/renesas/genmai/Makefile             |    7 +
 board/renesas/genmai/genmai.c             |   49 ++++++++++
 board/renesas/grmango/Kconfig             |   12 ++
 board/renesas/grmango/MAINTAINERS         |    5 +
 board/renesas/grmango/Makefile            |    7 +
 board/renesas/grmango/grmango.c           |   40 ++++++++
 board/renesas/grpeach/Makefile            |    1 
 board/renesas/grpeach/grpeach.c           |   22 ----
 board/renesas/grpeach/lowlevel_init.S     |  106 ----------------------
 configs/genmai_defconfig                  |   17 +++
 configs/grmango_defconfig                 |   10 ++
 configs/renesas_rza2.config               |   53 +++++++++++
 configs/rza2mbtc_defconfig                |   17 +++
 drivers/net/sh_eth.c                      |   16 ++-
 drivers/net/sh_eth.h                      |   31 +++---
 drivers/pinctrl/renesas/Kconfig           |    9 +
 drivers/pinctrl/renesas/Makefile          |    1 
 drivers/pinctrl/renesas/pinctrl-rza2.c    |  136 +++++++++++++++++++++++++++++
 drivers/serial/serial_sh.c                |   26 ++++-
 drivers/serial/serial_sh.h                |   15 +++
 drivers/spi/Kconfig                       |    8 -
 drivers/spi/renesas_rpc_spi.c             |    3 
 include/configs/genmai.h                  |   15 +++
 include/configs/grmango.h                 |   15 +++
 include/configs/rza2mbtc.h                |   27 +++++
 44 files changed, 997 insertions(+), 160 deletions(-)


More information about the U-Boot mailing list