Skip to content

Commit 292d307

Browse files
claudiubezneageertu
authored andcommitted
clk: renesas: r9a08g045: Add clock and reset support for watchdog
RZ/G3S has a watchdog module accessible by the Cortex-A core. Add clock and reset support for it. Signed-off-by: Claudiu Beznea <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 4ae2c99 commit 292d307

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/clk/renesas/r9a08g045-cpg.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ static const struct rzg2l_mod_clk r9a08g045_mod_clks[] = {
193193
DEF_MOD("ia55_pclk", R9A08G045_IA55_PCLK, R9A08G045_CLK_P2, 0x518, 0),
194194
DEF_MOD("ia55_clk", R9A08G045_IA55_CLK, R9A08G045_CLK_P1, 0x518, 1),
195195
DEF_MOD("dmac_aclk", R9A08G045_DMAC_ACLK, R9A08G045_CLK_P3, 0x52c, 0),
196+
DEF_MOD("wdt0_pclk", R9A08G045_WDT0_PCLK, R9A08G045_CLK_P0, 0x548, 0),
197+
DEF_MOD("wdt0_clk", R9A08G045_WDT0_CLK, R9A08G045_OSCCLK, 0x548, 1),
196198
DEF_MOD("sdhi0_imclk", R9A08G045_SDHI0_IMCLK, CLK_SD0_DIV4, 0x554, 0),
197199
DEF_MOD("sdhi0_imclk2", R9A08G045_SDHI0_IMCLK2, CLK_SD0_DIV4, 0x554, 1),
198200
DEF_MOD("sdhi0_clk_hs", R9A08G045_SDHI0_CLK_HS, R9A08G045_CLK_SD0, 0x554, 2),
@@ -219,6 +221,7 @@ static const struct rzg2l_reset r9a08g045_resets[] = {
219221
DEF_RST(R9A08G045_GIC600_GICRESET_N, 0x814, 0),
220222
DEF_RST(R9A08G045_GIC600_DBG_GICRESET_N, 0x814, 1),
221223
DEF_RST(R9A08G045_IA55_RESETN, 0x818, 0),
224+
DEF_RST(R9A08G045_WDT0_PRESETN, 0x848, 0),
222225
DEF_RST(R9A08G045_SDHI0_IXRST, 0x854, 0),
223226
DEF_RST(R9A08G045_SDHI1_IXRST, 0x854, 1),
224227
DEF_RST(R9A08G045_SDHI2_IXRST, 0x854, 2),

0 commit comments

Comments
 (0)