Skip to content

Commit 1962dd3

Browse files
bijudasgeertu
authored andcommitted
clk: renesas: r9a07g044: Add I2C clocks/resets
Add I2C{0,1,2,3} clock and reset entries. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Link: https://lore.kernel.org/r/20210626081344.5783-9-biju.das.jz@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent c346ff5 commit 1962dd3

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

drivers/clk/renesas/r9a07g044-cpg.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,14 @@ static struct rzg2l_mod_clk r9a07g044_mod_clks[] = {
9090
0x518, 0),
9191
DEF_MOD("ia55_clk", R9A07G044_IA55_CLK, R9A07G044_CLK_P1,
9292
0x518, 1),
93+
DEF_MOD("i2c0", R9A07G044_I2C0_PCLK, R9A07G044_CLK_P0,
94+
0x580, 0),
95+
DEF_MOD("i2c1", R9A07G044_I2C1_PCLK, R9A07G044_CLK_P0,
96+
0x580, 1),
97+
DEF_MOD("i2c2", R9A07G044_I2C2_PCLK, R9A07G044_CLK_P0,
98+
0x580, 2),
99+
DEF_MOD("i2c3", R9A07G044_I2C3_PCLK, R9A07G044_CLK_P0,
100+
0x580, 3),
93101
DEF_MOD("scif0", R9A07G044_SCIF0_CLK_PCK, R9A07G044_CLK_P0,
94102
0x584, 0),
95103
DEF_MOD("scif1", R9A07G044_SCIF1_CLK_PCK, R9A07G044_CLK_P0,
@@ -108,6 +116,10 @@ static struct rzg2l_reset r9a07g044_resets[] = {
108116
DEF_RST(R9A07G044_GIC600_GICRESET_N, 0x814, 0),
109117
DEF_RST(R9A07G044_GIC600_DBG_GICRESET_N, 0x814, 1),
110118
DEF_RST(R9A07G044_IA55_RESETN, 0x818, 0),
119+
DEF_RST(R9A07G044_I2C0_MRST, 0x880, 0),
120+
DEF_RST(R9A07G044_I2C1_MRST, 0x880, 1),
121+
DEF_RST(R9A07G044_I2C2_MRST, 0x880, 2),
122+
DEF_RST(R9A07G044_I2C3_MRST, 0x880, 3),
111123
DEF_RST(R9A07G044_SCIF0_RST_SYSTEM_N, 0x884, 0),
112124
DEF_RST(R9A07G044_SCIF1_RST_SYSTEM_N, 0x884, 1),
113125
DEF_RST(R9A07G044_SCIF2_RST_SYSTEM_N, 0x884, 2),

0 commit comments

Comments
 (0)