From: Hai Pham <hai.pham...@renesas.com>

Add platform code to support R8A779A0 V3U SoC.

Signed-off-by: Hai Pham <hai.pham...@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+rene...@gmail.com>
---
 arch/arm/mach-rmobile/Kconfig.64             | 5 +++++
 arch/arm/mach-rmobile/cpu_info.c             | 1 +
 arch/arm/mach-rmobile/include/mach/rmobile.h | 1 +
 3 files changed, 7 insertions(+)

diff --git a/arch/arm/mach-rmobile/Kconfig.64 b/arch/arm/mach-rmobile/Kconfig.64
index 3f7ec05379..e22012e3b8 100644
--- a/arch/arm/mach-rmobile/Kconfig.64
+++ b/arch/arm/mach-rmobile/Kconfig.64
@@ -57,6 +57,11 @@ config R8A77995
        imply CLK_R8A77995
        imply PINCTRL_PFC_R8A77995
 
+config R8A779A0
+       bool "Renesas SoC R8A779A0"
+       imply CLK_R8A779A0
+       imply PINCTRL_PFC_R8A779A0
+
 config RZ_G2
        bool "Renesas ARM SoCs RZ/G2 (64bit)"
 
diff --git a/arch/arm/mach-rmobile/cpu_info.c b/arch/arm/mach-rmobile/cpu_info.c
index 9ec622bdb5..2bb6d502b8 100644
--- a/arch/arm/mach-rmobile/cpu_info.c
+++ b/arch/arm/mach-rmobile/cpu_info.c
@@ -76,6 +76,7 @@ static const struct {
        { RMOBILE_CPU_TYPE_R8A77980, "R8A77980" },
        { RMOBILE_CPU_TYPE_R8A77990, "R8A77990" },
        { RMOBILE_CPU_TYPE_R8A77995, "R8A77995" },
+       { RMOBILE_CPU_TYPE_R8A779A0, "R8A779A0" },
        { 0x0, "CPU" },
 };
 
diff --git a/arch/arm/mach-rmobile/include/mach/rmobile.h 
b/arch/arm/mach-rmobile/include/mach/rmobile.h
index a688636141..dc6f87631b 100644
--- a/arch/arm/mach-rmobile/include/mach/rmobile.h
+++ b/arch/arm/mach-rmobile/include/mach/rmobile.h
@@ -39,6 +39,7 @@
 #define RMOBILE_CPU_TYPE_R8A77980      0x56
 #define RMOBILE_CPU_TYPE_R8A77990      0x57
 #define RMOBILE_CPU_TYPE_R8A77995      0x58
+#define RMOBILE_CPU_TYPE_R8A779A0      0x59
 
 #ifndef __ASSEMBLY__
 const u8 *rzg_get_cpu_name(void);
-- 
2.30.2

Reply via email to