[PATCH v2 06/11] ARM: renesas: Add R8A779H0 V4M Kconfig entry and PRR ID

Marek Vasut marek.vasut+renesas at mailbox.org
Sun Jan 28 16:52:04 CET 2024


From: Hai Pham <hai.pham.ud at renesas.com>

Add Kconfig entry and PRR ID to support R8A779H0 V4M SoC.

Reviewed-by: Paul Barker <paul.barker.ct at bp.renesas.com>
Signed-off-by: Hai Pham <hai.pham.ud at renesas.com>
---
Cc: Paul Barker <paul.barker.ct at bp.renesas.com>
---
V2: - Move the patch before PRR ID patch to satisfy macro dependency
    - Add RB from Paul
---
 arch/arm/mach-rmobile/Kconfig.rcar4          | 6 ++++++
 arch/arm/mach-rmobile/cpu_info.c             | 1 +
 arch/arm/mach-rmobile/include/mach/rmobile.h | 1 +
 3 files changed, 8 insertions(+)

diff --git a/arch/arm/mach-rmobile/Kconfig.rcar4 b/arch/arm/mach-rmobile/Kconfig.rcar4
index d4f93c89cac..3c8d683974c 100644
--- a/arch/arm/mach-rmobile/Kconfig.rcar4
+++ b/arch/arm/mach-rmobile/Kconfig.rcar4
@@ -20,6 +20,12 @@ config R8A779G0
 	imply CLK_R8A779G0
 	imply PINCTRL_PFC_R8A779G0
 
+config R8A779H0
+	bool "Renesas SoC R8A779H0"
+	select GICV3
+	imply CLK_R8A779H0
+	imply PINCTRL_PFC_R8A779H0
+
 endmenu
 
 choice
diff --git a/arch/arm/mach-rmobile/cpu_info.c b/arch/arm/mach-rmobile/cpu_info.c
index 895c0f5336b..3d5d5ba79a9 100644
--- a/arch/arm/mach-rmobile/cpu_info.c
+++ b/arch/arm/mach-rmobile/cpu_info.c
@@ -78,6 +78,7 @@ static const struct {
 	{ RMOBILE_CPU_TYPE_R8A779A0, "R8A779A0" },
 	{ RMOBILE_CPU_TYPE_R8A779F0, "R8A779F0" },
 	{ RMOBILE_CPU_TYPE_R8A779G0, "R8A779G0" },
+	{ RMOBILE_CPU_TYPE_R8A779H0, "R8A779H0" },
 	{ 0x0, "CPU" },
 };
 
diff --git a/arch/arm/mach-rmobile/include/mach/rmobile.h b/arch/arm/mach-rmobile/include/mach/rmobile.h
index 88b8b78671b..f0216210ba9 100644
--- a/arch/arm/mach-rmobile/include/mach/rmobile.h
+++ b/arch/arm/mach-rmobile/include/mach/rmobile.h
@@ -43,6 +43,7 @@
 #define RMOBILE_CPU_TYPE_R8A779A0	0x59
 #define RMOBILE_CPU_TYPE_R8A779F0	0x5A
 #define RMOBILE_CPU_TYPE_R8A779G0	0x5C
+#define RMOBILE_CPU_TYPE_R8A779H0	0x5D
 #define RMOBILE_CPU_TYPE_R9A07G044L	0x9A070440
 
 #ifndef __ASSEMBLY__
-- 
2.43.0



More information about the U-Boot mailing list