Skip to content

Commit 4401938

Browse files
prabhakarladgeertu
authored andcommitted
clk: renesas: r9a07g043: Add clock and reset entry for PLIC
Add the missing clock and reset entry for PLIC. Also add R9A07G043_NCEPLIC_ACLK to the critical clocks list. Fixes: 95d48d2 ("clk: renesas: r9a07g043: Add support for RZ/Five SoC") Signed-off-by: Lad Prabhakar <[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 ef9916d commit 4401938

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

drivers/clk/renesas/r9a07g043-cpg.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,10 @@ static const struct rzg2l_mod_clk r9a07g043_mod_clks[] = {
280280
0x5a8, 1),
281281
DEF_MOD("tsu_pclk", R9A07G043_TSU_PCLK, R9A07G043_CLK_TSU,
282282
0x5ac, 0),
283+
#ifdef CONFIG_RISCV
284+
DEF_MOD("nceplic_aclk", R9A07G043_NCEPLIC_ACLK, R9A07G043_CLK_P1,
285+
0x608, 0),
286+
#endif
283287
};
284288

285289
static const struct rzg2l_reset r9a07g043_resets[] = {
@@ -338,6 +342,10 @@ static const struct rzg2l_reset r9a07g043_resets[] = {
338342
DEF_RST(R9A07G043_ADC_PRESETN, 0x8a8, 0),
339343
DEF_RST(R9A07G043_ADC_ADRST_N, 0x8a8, 1),
340344
DEF_RST(R9A07G043_TSU_PRESETN, 0x8ac, 0),
345+
#ifdef CONFIG_RISCV
346+
DEF_RST(R9A07G043_NCEPLIC_ARESETN, 0x908, 0),
347+
#endif
348+
341349
};
342350

343351
static const unsigned int r9a07g043_crit_mod_clks[] __initconst = {
@@ -347,6 +355,7 @@ static const unsigned int r9a07g043_crit_mod_clks[] __initconst = {
347355
#endif
348356
#ifdef CONFIG_RISCV
349357
MOD_CLK_BASE + R9A07G043_IAX45_CLK,
358+
MOD_CLK_BASE + R9A07G043_NCEPLIC_ACLK,
350359
#endif
351360
MOD_CLK_BASE + R9A07G043_DMAC_ACLK,
352361
};

0 commit comments

Comments
 (0)