Commit 574cb721 authored by Biju Das's avatar Biju Das Committed by Geert Uytterhoeven

soc: renesas: Identify RZ/G2N

This patch adds support for identifying the RZ/G2N (r8a774b1) SoC.
Signed-off-by: default avatarBiju Das <biju.das@bp.renesas.com>
Link: https://lore.kernel.org/r/1567675844-19247-3-git-send-email-biju.das@bp.renesas.comSigned-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent d634055c
...@@ -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_g2n __initconst __maybe_unused = {
.family = &fam_rzg2,
.id = 0x55,
};
static const struct renesas_soc soc_rz_g2e __initconst __maybe_unused = { static const struct renesas_soc soc_rz_g2e __initconst __maybe_unused = {
.family = &fam_rzg2, .family = &fam_rzg2,
.id = 0x57, .id = 0x57,
...@@ -227,6 +232,9 @@ static const struct of_device_id renesas_socs[] __initconst = { ...@@ -227,6 +232,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_R8A774B1
{ .compatible = "renesas,r8a774b1", .data = &soc_rz_g2n },
#endif
#ifdef CONFIG_ARCH_R8A774C0 #ifdef CONFIG_ARCH_R8A774C0
{ .compatible = "renesas,r8a774c0", .data = &soc_rz_g2e }, { .compatible = "renesas,r8a774c0", .data = &soc_rz_g2e },
#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