From 4822cac9ea17399fea1ea192cf8b7d98066c0076 Mon Sep 17 00:00:00 2001 From: Ayman Chaudhry Date: Fri, 21 Aug 2026 15:03:26 +0000 Subject: [PATCH] soc: renesas: Identify RZ/G2M v3.0 SoC Add support to identify the Renesas RZ/G2M v3.0 (a.k.a. R8A774A3) SoC. The RZ/G2M v3.0 is assigned the same Product ID Number in the Product Register as the Renesas RZ/G2M v1.3 (a.k.a. R8A774A1), so use the same SoC data. Signed-off-by: Ayman Chaudhry Reviewed-by: Geert Uytterhoeven Link: https://patch.msgid.link/20260821150408.73829-2-ayman.chaudhry.kc@renesas.com Signed-off-by: Geert Uytterhoeven --- drivers/soc/renesas/Kconfig | 7 +++++++ drivers/soc/renesas/renesas-soc.c | 3 +++ 2 files changed, 10 insertions(+) diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig index 64f9e4be2f63..0f6d53abd86c 100644 --- a/drivers/soc/renesas/Kconfig +++ b/drivers/soc/renesas/Kconfig @@ -227,6 +227,13 @@ config ARCH_R8A774A1 help This enables support for the Renesas RZ/G2M SoC. +config ARCH_R8A774A3 + bool "ARM64 Platform support for R8A774A3 (RZ/G2M v3.0)" + default y if ARCH_RENESAS + select ARCH_RCAR_GEN3 + help + This enables support for the Renesas RZ/G2M SoC (version 3.0). + config ARCH_R8A774B1 bool "ARM64 Platform support for R8A774B1 (RZ/G2N)" default y if ARCH_RENESAS diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c index 18acca73064c..5a5d05013eb7 100644 --- a/drivers/soc/renesas/renesas-soc.c +++ b/drivers/soc/renesas/renesas-soc.c @@ -312,6 +312,9 @@ static const struct of_device_id renesas_socs[] __initconst __maybe_unused = { #ifdef CONFIG_ARCH_R8A774A1 { .compatible = "renesas,r8a774a1", .data = &soc_rz_g2m }, #endif +#ifdef CONFIG_ARCH_R8A774A3 + { .compatible = "renesas,r8a774a3", .data = &soc_rz_g2m }, +#endif #ifdef CONFIG_ARCH_R8A774B1 { .compatible = "renesas,r8a774b1", .data = &soc_rz_g2n }, #endif