summaryrefslogtreecommitdiff
path: root/drivers/soc/renesas/rcar-rst.c
diff options
context:
space:
mode:
authorBiju Das <biju.das@bp.renesas.com>2018-08-02 15:55:04 +0100
committerSimon Horman <horms+renesas@verge.net.au>2018-09-12 10:19:51 +0200
commit3116d859e7b15d3740afd44c975cdb34a4c1246e (patch)
tree87ffaed4608ccb4487615596410c7ca909b9d86c /drivers/soc/renesas/rcar-rst.c
parent7f0e99cc916933ecd7fd407e2eb42448198e0404 (diff)
downloadlwn-3116d859e7b15d3740afd44c975cdb34a4c1246e.tar.gz
lwn-3116d859e7b15d3740afd44c975cdb34a4c1246e.zip
soc: renesas: rcar-rst: Add support for RZ/G2M
Signed-off-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Chris Paterson <chris.paterson2@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/soc/renesas/rcar-rst.c')
-rw-r--r--drivers/soc/renesas/rcar-rst.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/soc/renesas/rcar-rst.c b/drivers/soc/renesas/rcar-rst.c
index d9c1034e70e9..a447873ce182 100644
--- a/drivers/soc/renesas/rcar-rst.c
+++ b/drivers/soc/renesas/rcar-rst.c
@@ -41,10 +41,12 @@ static const struct rst_config rcar_rst_gen3 __initconst = {
};
static const struct of_device_id rcar_rst_matches[] __initconst = {
- /* RZ/G is handled like R-Car Gen2 */
+ /* RZ/G1 is handled like R-Car Gen2 */
{ .compatible = "renesas,r8a7743-rst", .data = &rcar_rst_gen2 },
{ .compatible = "renesas,r8a7745-rst", .data = &rcar_rst_gen2 },
{ .compatible = "renesas,r8a77470-rst", .data = &rcar_rst_gen2 },
+ /* RZ/G2 is handled like R-Car Gen3 */
+ { .compatible = "renesas,r8a774a1-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 },