Skip to content

Commit 5b83cc4

Browse files
marian-c-rotariugeertu
authored andcommitted
soc: renesas: Identify RZ/G2H
This patch adds support for identifying the RZ/G2H (r8a774e1) SoC. Signed-off-by: Marian-Cristian Rotariu <[email protected]> Signed-off-by: Lad Prabhakar <[email protected]> Link: https://lore.kernel.org/r/1594138692-16816-2-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent b88fc41 commit 5b83cc4

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
@@ -126,6 +126,11 @@ static const struct renesas_soc soc_rz_g2e __initconst __maybe_unused = {
126126
.id = 0x57,
127127
};
128128

129+
static const struct renesas_soc soc_rz_g2h __initconst __maybe_unused = {
130+
.family = &fam_rzg2,
131+
.id = 0x4f,
132+
};
133+
129134
static const struct renesas_soc soc_rcar_m1a __initconst __maybe_unused = {
130135
.family = &fam_rcar_gen1,
131136
};
@@ -238,6 +243,9 @@ static const struct of_device_id renesas_socs[] __initconst = {
238243
#ifdef CONFIG_ARCH_R8A774C0
239244
{ .compatible = "renesas,r8a774c0", .data = &soc_rz_g2e },
240245
#endif
246+
#ifdef CONFIG_ARCH_R8A774E1
247+
{ .compatible = "renesas,r8a774e1", .data = &soc_rz_g2h },
248+
#endif
241249
#ifdef CONFIG_ARCH_R8A7778
242250
{ .compatible = "renesas,r8a7778", .data = &soc_rcar_m1a },
243251
#endif

0 commit comments

Comments
 (0)