diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-07-20 14:34:51 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2017-07-27 17:06:24 +0200 |
commit | 1b954784e0d47db184ccf0bc3b684520c508664f (patch) | |
tree | 9f7990a8f334f043d6037c58f9cd70900de75489 | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) | |
download | linux-1b954784e0d47db184ccf0bc3b684520c508664f.tar.gz linux-1b954784e0d47db184ccf0bc3b684520c508664f.tar.bz2 linux-1b954784e0d47db184ccf0bc3b684520c508664f.zip |
soc: renesas: Identify R-Car D3
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | drivers/soc/renesas/renesas-soc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c index ca26f13d399c..90d6b7a4340a 100644 --- a/drivers/soc/renesas/renesas-soc.c +++ b/drivers/soc/renesas/renesas-soc.c @@ -144,6 +144,11 @@ static const struct renesas_soc soc_rcar_m3_w __initconst __maybe_unused = { .id = 0x52, }; +static const struct renesas_soc soc_rcar_d3 __initconst __maybe_unused = { + .family = &fam_rcar_gen3, + .id = 0x58, +}; + static const struct renesas_soc soc_shmobile_ag5 __initconst __maybe_unused = { .family = &fam_shmobile, .id = 0x37, @@ -199,6 +204,9 @@ static const struct of_device_id renesas_socs[] __initconst = { #ifdef CONFIG_ARCH_R8A7796 { .compatible = "renesas,r8a7796", .data = &soc_rcar_m3_w }, #endif +#ifdef CONFIG_ARCH_R8A77995 + { .compatible = "renesas,r8a77995", .data = &soc_rcar_d3 }, +#endif #ifdef CONFIG_ARCH_SH73A0 { .compatible = "renesas,sh73a0", .data = &soc_shmobile_ag5 }, #endif |