summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAyman Chaudhry <ayman.chaudhry.kc@renesas.com>2026-08-21 15:03:26 +0000
committerGeert Uytterhoeven <geert+renesas@glider.be>2026-09-07 10:53:27 +0200
commit4822cac9ea17399fea1ea192cf8b7d98066c0076 (patch)
treeedf006bda82acb862e0b5259ec644f330abfd9b0
parent504e3ae911d1398c2941063fcbe979a2e6aa90cd (diff)
downloadlinux-next-4822cac9ea17399fea1ea192cf8b7d98066c0076.tar.gz
linux-next-4822cac9ea17399fea1ea192cf8b7d98066c0076.zip
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 <ayman.chaudhry.kc@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://patch.msgid.link/20260821150408.73829-2-ayman.chaudhry.kc@renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
-rw-r--r--drivers/soc/renesas/Kconfig7
-rw-r--r--drivers/soc/renesas/renesas-soc.c3
2 files changed, 10 insertions, 0 deletions
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