Commit 2bab3d80 authored by Fabrizio Castro's avatar Fabrizio Castro Committed by Simon Horman

soc: renesas: Identify RZ/G2E

Add support for identifying the RZ/G2E (r8a774c0) SoC.
Signed-off-by: default avatarFabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: default avatarBiju Das <biju.das@bp.renesas.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 41c4567c
...@@ -116,6 +116,11 @@ static const struct renesas_soc soc_rz_g2m __initconst __maybe_unused = { ...@@ -116,6 +116,11 @@ static const struct renesas_soc soc_rz_g2m __initconst __maybe_unused = {
.id = 0x52, .id = 0x52,
}; };
static const struct renesas_soc soc_rz_g2e __initconst __maybe_unused = {
.family = &fam_rzg2,
.id = 0x57,
};
static const struct renesas_soc soc_rcar_m1a __initconst __maybe_unused = { static const struct renesas_soc soc_rcar_m1a __initconst __maybe_unused = {
.family = &fam_rcar_gen1, .family = &fam_rcar_gen1,
}; };
...@@ -222,6 +227,9 @@ static const struct of_device_id renesas_socs[] __initconst = { ...@@ -222,6 +227,9 @@ static const struct of_device_id renesas_socs[] __initconst = {
#ifdef CONFIG_ARCH_R8A774A1 #ifdef CONFIG_ARCH_R8A774A1
{ .compatible = "renesas,r8a774a1", .data = &soc_rz_g2m }, { .compatible = "renesas,r8a774a1", .data = &soc_rz_g2m },
#endif #endif
#ifdef CONFIG_ARCH_R8A774C0
{ .compatible = "renesas,r8a774c0", .data = &soc_rz_g2e },
#endif
#ifdef CONFIG_ARCH_R8A7778 #ifdef CONFIG_ARCH_R8A7778
{ .compatible = "renesas,r8a7778", .data = &soc_rcar_m1a }, { .compatible = "renesas,r8a7778", .data = &soc_rcar_m1a },
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment