From f295a5697e0aa14e3409d4d0ea49f11acb4f60c6 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Mon, 26 Feb 2018 10:35:15 +0100 Subject: [PATCH] ARM: rmobile: Add R8A77965 M3N IDs Add CPU and PRR IDs for R8A77965 M3N SoC. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/cpu_info.c | 1 + arch/arm/mach-rmobile/include/mach/rmobile.h | 1 + arch/arm/mach-rmobile/memmap-gen3.c | 1 + 3 files changed, 3 insertions(+) diff --git a/arch/arm/mach-rmobile/cpu_info.c b/arch/arm/mach-rmobile/cpu_info.c index ad9f86c5b8..ba87d21b73 100644 --- a/arch/arm/mach-rmobile/cpu_info.c +++ b/arch/arm/mach-rmobile/cpu_info.c @@ -61,6 +61,7 @@ static const struct { { RMOBILE_CPU_TYPE_R8A7794, "R8A7794" }, { RMOBILE_CPU_TYPE_R8A7795, "R8A7795" }, { RMOBILE_CPU_TYPE_R8A7796, "R8A7796" }, + { RMOBILE_CPU_TYPE_R8A77965, "R8A77965" }, { RMOBILE_CPU_TYPE_R8A77970, "R8A77970" }, { RMOBILE_CPU_TYPE_R8A77995, "R8A77995" }, { 0x0, "CPU" }, diff --git a/arch/arm/mach-rmobile/include/mach/rmobile.h b/arch/arm/mach-rmobile/include/mach/rmobile.h index f4db42c34b..ff0ca63f02 100644 --- a/arch/arm/mach-rmobile/include/mach/rmobile.h +++ b/arch/arm/mach-rmobile/include/mach/rmobile.h @@ -33,6 +33,7 @@ #define RMOBILE_CPU_TYPE_R8A7794 0x4C #define RMOBILE_CPU_TYPE_R8A7795 0x4F #define RMOBILE_CPU_TYPE_R8A7796 0x52 +#define RMOBILE_CPU_TYPE_R8A77965 0x55 #define RMOBILE_CPU_TYPE_R8A77970 0x54 #define RMOBILE_CPU_TYPE_R8A77995 0x58 diff --git a/arch/arm/mach-rmobile/memmap-gen3.c b/arch/arm/mach-rmobile/memmap-gen3.c index 199c2c2aea..801e392425 100644 --- a/arch/arm/mach-rmobile/memmap-gen3.c +++ b/arch/arm/mach-rmobile/memmap-gen3.c @@ -100,6 +100,7 @@ void rcar_gen3_memmap_fixup(void) mem_map = r8a7795_mem_map; break; case RMOBILE_CPU_TYPE_R8A7796: + case RMOBILE_CPU_TYPE_R8A77965: mem_map = r8a7796_mem_map; break; case RMOBILE_CPU_TYPE_R8A77970: -- 2.25.1