soc: renesas: rcar-rst: Add support for R-Car S4-8
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 1 Dec 2021 07:33:04 +0000 (16:33 +0900)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 7 Dec 2021 15:50:57 +0000 (16:50 +0100)
Add support for R-Car S4-8 (R8A779F0) to the R-Car RST driver.
The register map of R-Car S4-8 is the same as R-Car V3U so that
renames "V3U" and "r8a779a0" to "Gen4".

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20211201073308.1003945-11-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/soc/renesas/rcar-rst.c

index 1ad54e0c32e1c3b76280378d1fcea9e9dbcc3493..4d293eb2d8f315d9d5b62439bf3b929b17aa8fcc 100644 (file)
@@ -66,7 +66,7 @@ static const struct rst_config rcar_rst_gen3 __initconst = {
        .set_rproc_boot_addr = rcar_rst_set_gen3_rproc_boot_addr,
 };
 
-static const struct rst_config rcar_rst_r8a779a0 __initconst = {
+static const struct rst_config rcar_rst_gen4 __initconst = {
        .modemr = 0x00,         /* MODEMR0 and it has CPG related bits */
 };
 
@@ -100,8 +100,9 @@ static const struct of_device_id rcar_rst_matches[] __initconst = {
        { .compatible = "renesas,r8a77980-rst", .data = &rcar_rst_gen3 },
        { .compatible = "renesas,r8a77990-rst", .data = &rcar_rst_gen3 },
        { .compatible = "renesas,r8a77995-rst", .data = &rcar_rst_gen3 },
-       /* R-Car V3U */
-       { .compatible = "renesas,r8a779a0-rst", .data = &rcar_rst_r8a779a0 },
+       /* R-Car Gen4 */
+       { .compatible = "renesas,r8a779a0-rst", .data = &rcar_rst_gen4 },
+       { .compatible = "renesas,r8a779f0-rst", .data = &rcar_rst_gen4 },
        { /* sentinel */ }
 };