soc: renesas: Identify R-Car V4H
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 20 Apr 2022 08:42:50 +0000 (17:42 +0900)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 25 Apr 2022 08:58:58 +0000 (10:58 +0200)
Add support for identifying the R-Car V4H (R8A779G0) SoC.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20220420084255.375700-11-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/soc/renesas/Kconfig
drivers/soc/renesas/renesas-soc.c

index 4bdb8d9..4d89bf4 100644 (file)
@@ -268,6 +268,13 @@ config ARCH_R8A779A0
        help
          This enables support for the Renesas R-Car V3U SoC.
 
+config ARCH_R8A779G0
+       bool "ARM64 Platform support for R-Car V4H"
+       select ARCH_RCAR_GEN3
+       select SYSC_R8A779G0
+       help
+         This enables support for the Renesas R-Car V4H SoC.
+
 config ARCH_R8A774C0
        bool "ARM64 Platform support for RZ/G2E"
        select ARCH_RCAR_GEN3
index 30192a0..5b99595 100644 (file)
@@ -241,6 +241,11 @@ static const struct renesas_soc soc_rcar_s4 __initconst __maybe_unused = {
        .id     = 0x5a,
 };
 
+static const struct renesas_soc soc_rcar_v4h __initconst __maybe_unused = {
+       .family = &fam_rcar_gen4,
+       .id     = 0x5c,
+};
+
 static const struct renesas_soc soc_shmobile_ag5 __initconst __maybe_unused = {
        .family = &fam_shmobile,
        .id     = 0x37,
@@ -349,6 +354,9 @@ static const struct of_device_id renesas_socs[] __initconst = {
 #ifdef CONFIG_ARCH_R8A779F0
        { .compatible = "renesas,r8a779f0",     .data = &soc_rcar_s4 },
 #endif
+#ifdef CONFIG_ARCH_R8A779G0
+       { .compatible = "renesas,r8a779g0",     .data = &soc_rcar_v4h },
+#endif
 #if defined(CONFIG_ARCH_R9A07G043)
        { .compatible = "renesas,r9a07g043",    .data = &soc_rz_g2ul },
 #endif