[PATCH 1/6] arm: rmobile: Add RZ/G2N SoC

Biju Das biju.das.jz at bp.renesas.com
Wed Sep 16 10:05:05 CEST 2020


Add CPU and PRR IDs for R8A774B1(a.k.a RZ/G2N) SoC.

Signed-off-by: Biju Das <biju.das.jz at bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>
---
 arch/arm/mach-rmobile/cpu_info.c             | 2 ++
 arch/arm/mach-rmobile/include/mach/rmobile.h | 1 +
 2 files changed, 3 insertions(+)

diff --git a/arch/arm/mach-rmobile/cpu_info.c b/arch/arm/mach-rmobile/cpu_info.c
index 98403f8f8b..9b777cabee 100644
--- a/arch/arm/mach-rmobile/cpu_info.c
+++ b/arch/arm/mach-rmobile/cpu_info.c
@@ -65,6 +65,7 @@ u32 rmobile_get_cpu_rev_fraction(void)
 
 static const struct udevice_id soc_ids[] = {
 	{ .compatible = "renesas,r8a774a1", .data = SOC_RZG2 },
+	{ .compatible = "renesas,r8a774b1", .data = SOC_RZG2 },
 	{ },
 };
 
@@ -77,6 +78,7 @@ static const struct {
 	{ RMOBILE_CPU_TYPE_SH73A0, "SH73A0", SOC_SHMOBILE },
 	{ RMOBILE_CPU_TYPE_R8A7740, "R8A7740", SOC_RMOBILE },
 	{ RMOBILE_CPU_TYPE_R8A774A1, "R8A774A1", SOC_RZG2 },
+	{ RMOBILE_CPU_TYPE_R8A774B1, "R8A774B1", SOC_RZG2 },
 	{ RMOBILE_CPU_TYPE_R8A7790, "R8A7790", SOC_RCAR_GEN2 },
 	{ RMOBILE_CPU_TYPE_R8A7791, "R8A7791", SOC_RCAR_GEN2 },
 	{ RMOBILE_CPU_TYPE_R8A7792, "R8A7792", SOC_RCAR_GEN2 },
diff --git a/arch/arm/mach-rmobile/include/mach/rmobile.h b/arch/arm/mach-rmobile/include/mach/rmobile.h
index 8bb64f59dd..97853cda38 100644
--- a/arch/arm/mach-rmobile/include/mach/rmobile.h
+++ b/arch/arm/mach-rmobile/include/mach/rmobile.h
@@ -28,6 +28,7 @@
 #define RMOBILE_CPU_TYPE_SH73A0		0x37
 #define RMOBILE_CPU_TYPE_R8A7740	0x40
 #define RMOBILE_CPU_TYPE_R8A774A1	0x52
+#define RMOBILE_CPU_TYPE_R8A774B1	0x55
 #define RMOBILE_CPU_TYPE_R8A7790	0x45
 #define RMOBILE_CPU_TYPE_R8A7791	0x47
 #define RMOBILE_CPU_TYPE_R8A7792	0x4A
-- 
2.17.1



More information about the U-Boot mailing list