Commit 8848e1b1 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Simon Horman

soc: renesas: Identify RZ/G1H

Add support for identifying the RZ/G1H (r8a7742) SoC.
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent c1ae3cfa
...@@ -80,6 +80,11 @@ static const struct renesas_soc soc_rmobile_a1 __initconst __maybe_unused = { ...@@ -80,6 +80,11 @@ static const struct renesas_soc soc_rmobile_a1 __initconst __maybe_unused = {
.id = 0x40, .id = 0x40,
}; };
static const struct renesas_soc soc_rz_g1h __initconst __maybe_unused = {
.family = &fam_rzg,
.id = 0x45,
};
static const struct renesas_soc soc_rz_g1m __initconst __maybe_unused = { static const struct renesas_soc soc_rz_g1m __initconst __maybe_unused = {
.family = &fam_rzg, .family = &fam_rzg,
.id = 0x47, .id = 0x47,
...@@ -150,6 +155,9 @@ static const struct of_device_id renesas_socs[] __initconst = { ...@@ -150,6 +155,9 @@ static const struct of_device_id renesas_socs[] __initconst = {
#ifdef CONFIG_ARCH_R8A7740 #ifdef CONFIG_ARCH_R8A7740
{ .compatible = "renesas,r8a7740", .data = &soc_rmobile_a1 }, { .compatible = "renesas,r8a7740", .data = &soc_rmobile_a1 },
#endif #endif
#ifdef CONFIG_ARCH_R8A7742
{ .compatible = "renesas,r8a7742", .data = &soc_rz_g1h },
#endif
#ifdef CONFIG_ARCH_R8A7743 #ifdef CONFIG_ARCH_R8A7743
{ .compatible = "renesas,r8a7743", .data = &soc_rz_g1m }, { .compatible = "renesas,r8a7743", .data = &soc_rz_g1m },
#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