]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
soc: renesas: Identify RZ/G1H
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 10 Mar 2017 13:48:29 +0000 (14:48 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 13 Mar 2017 09:25:49 +0000 (10:25 +0100)
Add support for identifying the RZ/G1H (r8a7742) SoC.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/soc/renesas/renesas-soc.c

index 330960312296f603075fbcd0296f2693df8889aa..f0172e59c0402d10268cec1676bc53cb53e190b8 100644 (file)
@@ -80,6 +80,11 @@ static const struct renesas_soc soc_rmobile_a1 __initconst __maybe_unused = {
        .id     = 0x40,
 };
 
+static const struct renesas_soc soc_rz_g1h __initconst __maybe_unused = {
+       .family = &fam_rzg,
+       .id     = 0x45,
+};
+
 static const struct renesas_soc soc_rz_g1m __initconst __maybe_unused = {
        .family = &fam_rzg,
        .id     = 0x47,
@@ -150,6 +155,9 @@ static const struct of_device_id renesas_socs[] __initconst = {
 #ifdef CONFIG_ARCH_R8A7740
        { .compatible = "renesas,r8a7740",      .data = &soc_rmobile_a1 },
 #endif
+#ifdef CONFIG_ARCH_R8A7742
+       { .compatible = "renesas,r8a7742",      .data = &soc_rz_g1h },
+#endif
 #ifdef CONFIG_ARCH_R8A7743
        { .compatible = "renesas,r8a7743",      .data = &soc_rz_g1m },
 #endif