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

Biju Das biju.das.jz at bp.renesas.com
Wed Sep 16 12:38:02 CEST 2020


Add CPU and PRR IDs for R8A774E1(a.k.a RZ/G2H) 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 9b777cabee..752e89bee2 100644
--- a/arch/arm/mach-rmobile/cpu_info.c
+++ b/arch/arm/mach-rmobile/cpu_info.c
@@ -66,6 +66,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 },
+	{ .compatible = "renesas,r8a774e1", .data = SOC_RZG2 },
 	{ },
 };
 
@@ -79,6 +80,7 @@ static const struct {
 	{ RMOBILE_CPU_TYPE_R8A7740, "R8A7740", SOC_RMOBILE },
 	{ RMOBILE_CPU_TYPE_R8A774A1, "R8A774A1", SOC_RZG2 },
 	{ RMOBILE_CPU_TYPE_R8A774B1, "R8A774B1", SOC_RZG2 },
+	{ RMOBILE_CPU_TYPE_R8A774E1, "R8A774E1", 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 97853cda38..c54b0f1618 100644
--- a/arch/arm/mach-rmobile/include/mach/rmobile.h
+++ b/arch/arm/mach-rmobile/include/mach/rmobile.h
@@ -29,6 +29,7 @@
 #define RMOBILE_CPU_TYPE_R8A7740	0x40
 #define RMOBILE_CPU_TYPE_R8A774A1	0x52
 #define RMOBILE_CPU_TYPE_R8A774B1	0x55
+#define RMOBILE_CPU_TYPE_R8A774E1	0x4F
 #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