Skip to content

Commit 2bab3d8

Browse files
Fabrizio Castrohorms
authored andcommitted
soc: renesas: Identify RZ/G2E
Add support for identifying the RZ/G2E (r8a774c0) SoC. Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
1 parent 41c4567 commit 2bab3d8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

drivers/soc/renesas/renesas-soc.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@ static const struct renesas_soc soc_rz_g2m __initconst __maybe_unused = {
116116
.id = 0x52,
117117
};
118118

119+
static const struct renesas_soc soc_rz_g2e __initconst __maybe_unused = {
120+
.family = &fam_rzg2,
121+
.id = 0x57,
122+
};
123+
119124
static const struct renesas_soc soc_rcar_m1a __initconst __maybe_unused = {
120125
.family = &fam_rcar_gen1,
121126
};
@@ -222,6 +227,9 @@ static const struct of_device_id renesas_socs[] __initconst = {
222227
#ifdef CONFIG_ARCH_R8A774A1
223228
{ .compatible = "renesas,r8a774a1", .data = &soc_rz_g2m },
224229
#endif
230+
#ifdef CONFIG_ARCH_R8A774C0
231+
{ .compatible = "renesas,r8a774c0", .data = &soc_rz_g2e },
232+
#endif
225233
#ifdef CONFIG_ARCH_R8A7778
226234
{ .compatible = "renesas,r8a7778", .data = &soc_rcar_m1a },
227235
#endif

0 commit comments

Comments
 (0)