soc: renesas: rcar-rst: Add support for RZ/G2E
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>
Mon, 10 Sep 2018 15:09:41 +0000 (16:09 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 17 Sep 2018 08:29:13 +0000 (10:29 +0200)
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/soc/renesas/Kconfig
drivers/soc/renesas/rcar-rst.c

index e7b7d9fcbc76c8e90b5c25d1e3f98b455f71cacd..05086ac2108b5fd4cfe7ecccfa2f101c6b6ce29e 100644 (file)
@@ -4,9 +4,9 @@ config SOC_RENESAS
        default y if ARCH_RENESAS
        select SOC_BUS
        select RST_RCAR if ARCH_RCAR_GEN1 || ARCH_RCAR_GEN2 || \
-                          ARCH_R8A774A1 || ARCH_R8A7795 || ARCH_R8A7796 || \
-                          ARCH_R8A77965 || ARCH_R8A77970 || ARCH_R8A77980 || \
-                          ARCH_R8A77990 || ARCH_R8A77995
+                          ARCH_R8A774A1 || ARCH_R8A774C0 || ARCH_R8A7795 || \
+                          ARCH_R8A7796 || ARCH_R8A77965 || ARCH_R8A77970 || \
+                          ARCH_R8A77980 || ARCH_R8A77990 || ARCH_R8A77995
        select SYSC_R8A7743 if ARCH_R8A7743
        select SYSC_R8A7745 if ARCH_R8A7745
        select SYSC_R8A77470 if ARCH_R8A77470
index 0f9f487ca6e229b94fc9371a74c2eab2bfcd59b8..69a3125ceaad17c34ce05cd741765bb3a48bfe21 100644 (file)
@@ -44,6 +44,7 @@ static const struct of_device_id rcar_rst_matches[] __initconst = {
        { .compatible = "renesas,r8a77470-rst", .data = &rcar_rst_gen2 },
        /* RZ/G2 is handled like R-Car Gen3 */
        { .compatible = "renesas,r8a774a1-rst", .data = &rcar_rst_gen3 },
+       { .compatible = "renesas,r8a774c0-rst", .data = &rcar_rst_gen3 },
        /* R-Car Gen1 */
        { .compatible = "renesas,r8a7778-reset-wdt", .data = &rcar_rst_gen1 },
        { .compatible = "renesas,r8a7779-reset-wdt", .data = &rcar_rst_gen1 },