summaryrefslogtreecommitdiffstats
path: root/drivers/soc
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo+renesas@jmondi.org>2018-02-20 10:12:05 -0500
committerSimon Horman <horms+renesas@verge.net.au>2018-02-21 11:48:07 -0500
commitbfd8398339ccd824a3c5dfaee2a2b489a85b132f (patch)
treea6e3b369cbbefe4da86a2997b155c913c8941538 /drivers/soc
parent41d6d8bd8ae94ca9ee53720cd530168aca557db7 (diff)
soc: renesas: Identify R-Car M3-N
Add support for indentifying R-Car M3-N (R8A77965) SoC. Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/renesas/renesas-soc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c
index 000834321774..ea71c413c926 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 = {
144 .id = 0x52, 144 .id = 0x52,
145}; 145};
146 146
147static const struct renesas_soc soc_rcar_m3_n __initconst __maybe_unused = {
148 .family = &fam_rcar_gen3,
149 .id = 0x55,
150};
151
147static const struct renesas_soc soc_rcar_v3m __initconst __maybe_unused = { 152static const struct renesas_soc soc_rcar_v3m __initconst __maybe_unused = {
148 .family = &fam_rcar_gen3, 153 .family = &fam_rcar_gen3,
149 .id = 0x54, 154 .id = 0x54,
@@ -214,6 +219,9 @@ static const struct of_device_id renesas_socs[] __initconst = {
214#ifdef CONFIG_ARCH_R8A7796 219#ifdef CONFIG_ARCH_R8A7796
215 { .compatible = "renesas,r8a7796", .data = &soc_rcar_m3_w }, 220 { .compatible = "renesas,r8a7796", .data = &soc_rcar_m3_w },
216#endif 221#endif
222#ifdef CONFIG_ARCH_R8A77965
223 { .compatible = "renesas,r8a77965", .data = &soc_rcar_m3_n },
224#endif
217#ifdef CONFIG_ARCH_R8A77970 225#ifdef CONFIG_ARCH_R8A77970
218 { .compatible = "renesas,r8a77970", .data = &soc_rcar_v3m }, 226 { .compatible = "renesas,r8a77970", .data = &soc_rcar_v3m },
219#endif 227#endif