soc: renesas: identify R-Car V3H
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 2 Feb 2018 18:22:14 +0000 (21:22 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 12 Feb 2018 12:50:37 +0000 (13:50 +0100)
Add support for identifying the R-Car V3H (R8A77980) SoC.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/soc/renesas/renesas-soc.c

index 926b7fd6db2d08c4ff1b762c2b1ff2e1e05fb324..00083432177480085cf6bbc93ce87a3eb7823d7f 100644 (file)
@@ -149,6 +149,11 @@ static const struct renesas_soc soc_rcar_v3m __initconst __maybe_unused = {
        .id     = 0x54,
 };
 
+static const struct renesas_soc soc_rcar_v3h __initconst __maybe_unused = {
+       .family = &fam_rcar_gen3,
+       .id     = 0x56,
+};
+
 static const struct renesas_soc soc_rcar_d3 __initconst __maybe_unused = {
        .family = &fam_rcar_gen3,
        .id     = 0x58,
@@ -212,6 +217,9 @@ static const struct of_device_id renesas_socs[] __initconst = {
 #ifdef CONFIG_ARCH_R8A77970
        { .compatible = "renesas,r8a77970",     .data = &soc_rcar_v3m },
 #endif
+#ifdef CONFIG_ARCH_R8A77980
+       { .compatible = "renesas,r8a77980",     .data = &soc_rcar_v3h },
+#endif
 #ifdef CONFIG_ARCH_R8A77995
        { .compatible = "renesas,r8a77995",     .data = &soc_rcar_d3 },
 #endif