]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
soc: renesas: Identify R-Car M3-N
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Tue, 20 Feb 2018 15:12:05 +0000 (16:12 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 21 Feb 2018 16:48:07 +0000 (17:48 +0100)
Add support for indentifying R-Car M3-N (R8A77965) SoC.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
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 00083432177480085cf6bbc93ce87a3eb7823d7f..ea71c413c9267d94adabe1f3465c0c4cee53b089 100644 (file)
@@ -144,6 +144,11 @@ static const struct renesas_soc soc_rcar_m3_w __initconst __maybe_unused = {
        .id     = 0x52,
 };
 
+static const struct renesas_soc soc_rcar_m3_n __initconst __maybe_unused = {
+       .family = &fam_rcar_gen3,
+       .id     = 0x55,
+};
+
 static const struct renesas_soc soc_rcar_v3m __initconst __maybe_unused = {
        .family = &fam_rcar_gen3,
        .id     = 0x54,
@@ -214,6 +219,9 @@ static const struct of_device_id renesas_socs[] __initconst = {
 #ifdef CONFIG_ARCH_R8A7796
        { .compatible = "renesas,r8a7796",      .data = &soc_rcar_m3_w },
 #endif
+#ifdef CONFIG_ARCH_R8A77965
+       { .compatible = "renesas,r8a77965",     .data = &soc_rcar_m3_n },
+#endif
 #ifdef CONFIG_ARCH_R8A77970
        { .compatible = "renesas,r8a77970",     .data = &soc_rcar_v3m },
 #endif