Lines Matching +full:r8a7795 +full:- +full:wdt
1 // SPDX-License-Identifier: GPL-2.0
3 * R-Car Gen1 RESET/WDT, R-Car Gen2, Gen3, and RZ/G RST Driver
11 #include <linux/soc/renesas/rcar-rst.h>
38 * Most of the R-Car Gen3 SoCs have an ARM Realtime Core.
47 return -EINVAL; in rcar_rst_set_gen3_rproc_boot_addr()
76 /* V3U firmware doesn't enable WDT reset and there won't be updates anymore */
87 /* RZ/G1 is handled like R-Car Gen2 */
88 { .compatible = "renesas,r8a7742-rst", .data = &rcar_rst_gen2 },
89 { .compatible = "renesas,r8a7743-rst", .data = &rcar_rst_gen2 },
90 { .compatible = "renesas,r8a7744-rst", .data = &rcar_rst_gen2 },
91 { .compatible = "renesas,r8a7745-rst", .data = &rcar_rst_gen2 },
92 { .compatible = "renesas,r8a77470-rst", .data = &rcar_rst_gen2 },
93 /* RZ/G2 is handled like R-Car Gen3 */
94 { .compatible = "renesas,r8a774a1-rst", .data = &rcar_rst_gen3 },
95 { .compatible = "renesas,r8a774b1-rst", .data = &rcar_rst_gen3 },
96 { .compatible = "renesas,r8a774c0-rst", .data = &rcar_rst_gen3 },
97 { .compatible = "renesas,r8a774e1-rst", .data = &rcar_rst_gen3 },
98 /* R-Car Gen1 */
99 { .compatible = "renesas,r8a7778-reset-wdt", .data = &rcar_rst_gen1 },
100 { .compatible = "renesas,r8a7779-reset-wdt", .data = &rcar_rst_gen1 },
101 /* R-Car Gen2 */
102 { .compatible = "renesas,r8a7790-rst", .data = &rcar_rst_gen2 },
103 { .compatible = "renesas,r8a7791-rst", .data = &rcar_rst_gen2 },
104 { .compatible = "renesas,r8a7792-rst", .data = &rcar_rst_gen2 },
105 { .compatible = "renesas,r8a7793-rst", .data = &rcar_rst_gen2 },
106 { .compatible = "renesas,r8a7794-rst", .data = &rcar_rst_gen2 },
107 /* R-Car Gen3 */
108 { .compatible = "renesas,r8a7795-rst", .data = &rcar_rst_gen3 },
109 { .compatible = "renesas,r8a7796-rst", .data = &rcar_rst_gen3 },
110 { .compatible = "renesas,r8a77961-rst", .data = &rcar_rst_gen3 },
111 { .compatible = "renesas,r8a77965-rst", .data = &rcar_rst_gen3 },
112 { .compatible = "renesas,r8a77970-rst", .data = &rcar_rst_gen3 },
113 { .compatible = "renesas,r8a77980-rst", .data = &rcar_rst_gen3 },
114 { .compatible = "renesas,r8a77990-rst", .data = &rcar_rst_gen3 },
115 { .compatible = "renesas,r8a77995-rst", .data = &rcar_rst_gen3 },
116 /* R-Car Gen4 */
117 { .compatible = "renesas,r8a779a0-rst", .data = &rcar_rst_v3u },
118 { .compatible = "renesas,r8a779f0-rst", .data = &rcar_rst_gen4 },
119 { .compatible = "renesas,r8a779g0-rst", .data = &rcar_rst_gen4 },
120 { .compatible = "renesas,r8a779h0-rst", .data = &rcar_rst_gen4 },
134 return -ENODEV; in rcar_rst_init()
139 error = -ENOMEM; in rcar_rst_init()
144 cfg = match->data; in rcar_rst_init()
145 rcar_rst_set_rproc_boot_addr_func = cfg->set_rproc_boot_addr; in rcar_rst_init()
147 saved_mode = ioread32(base + cfg->modemr); in rcar_rst_init()
148 if (cfg->configure) { in rcar_rst_init()
149 error = cfg->configure(base); in rcar_rst_init()
181 return -EIO; in rcar_rst_set_rproc_boot_addr()