soc: renesas: Identify R-Car V3U
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 7 Sep 2020 09:19:45 +0000 (18:19 +0900)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 10 Sep 2020 15:01:38 +0000 (17:01 +0200)
Add support for identifying the R-Car V3U (R8A779A0) SoC.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/1599470390-29719-10-git-send-email-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 9954acd..6efa9d0 100644 (file)
@@ -244,6 +244,12 @@ config ARCH_R8A77970
        help
          This enables support for the Renesas R-Car V3M SoC.
 
+config ARCH_R8A779A0
+       bool "ARM64 Platform support for R-Car V3U"
+       select ARCH_RCAR_GEN3
+       help
+         This enables support for the Renesas R-Car V3U SoC.
+
 config ARCH_R8A774C0
        bool "ARM64 Platform support for RZ/G2E"
        select ARCH_RCAR_GEN3
index f815a6a..0f8eff4 100644 (file)
@@ -200,6 +200,11 @@ static const struct renesas_soc soc_rcar_d3 __initconst __maybe_unused = {
        .id     = 0x58,
 };
 
+static const struct renesas_soc soc_rcar_v3u __initconst __maybe_unused = {
+       .family = &fam_rcar_gen3,
+       .id     = 0x59,
+};
+
 static const struct renesas_soc soc_shmobile_ag5 __initconst __maybe_unused = {
        .family = &fam_shmobile,
        .id     = 0x37,
@@ -291,6 +296,9 @@ static const struct of_device_id renesas_socs[] __initconst = {
 #ifdef CONFIG_ARCH_R8A77995
        { .compatible = "renesas,r8a77995",     .data = &soc_rcar_d3 },
 #endif
+#ifdef CONFIG_ARCH_R8A779A0
+       { .compatible = "renesas,r8a779a0",     .data = &soc_rcar_v3u },
+#endif
 #ifdef CONFIG_ARCH_SH73A0
        { .compatible = "renesas,sh73a0",       .data = &soc_shmobile_ag5 },
 #endif