| From 35ca57209a3101afff85bc3890fabd9b13ac62b2 Mon Sep 17 00:00:00 2001 |
| From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> |
| Date: Sat, 5 Nov 2016 00:49:55 +0300 |
| Subject: [PATCH 236/299] ARM: shmobile: r8a7745: basic SoC support |
| |
| Add minimal support for the RZ/G1E (R8A7745) SoC. |
| |
| Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> |
| Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> |
| Acked-by: Rob Herring <robh@kernel.org> |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| (cherry picked from commit 47802fd7c7c4735ddaf004e0f61371dcaa86f4ad) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| Documentation/devicetree/bindings/arm/shmobile.txt | 2 ++ |
| arch/arm/mach-shmobile/Kconfig | 4 ++++ |
| arch/arm/mach-shmobile/setup-rcar-gen2.c | 1 + |
| 3 files changed, 7 insertions(+) |
| |
| --- a/Documentation/devicetree/bindings/arm/shmobile.txt |
| +++ b/Documentation/devicetree/bindings/arm/shmobile.txt |
| @@ -15,6 +15,8 @@ SoCs: |
| compatible = "renesas,r8a7740" |
| - RZ/G1M (R8A77430) |
| compatible = "renesas,r8a7743" |
| + - RZ/G1E (R8A77450) |
| + compatible = "renesas,r8a7745" |
| - R-Car M1A (R8A77781) |
| compatible = "renesas,r8a7778" |
| - R-Car H1 (R8A77790) |
| --- a/arch/arm/mach-shmobile/Kconfig |
| +++ b/arch/arm/mach-shmobile/Kconfig |
| @@ -74,6 +74,10 @@ config ARCH_R8A7743 |
| select ARCH_RCAR_GEN2 |
| select ARM_ERRATA_798181 if SMP |
| |
| +config ARCH_R8A7745 |
| + bool "RZ/G1E (R8A77450)" |
| + select ARCH_RCAR_GEN2 |
| + |
| config ARCH_R8A7778 |
| bool "R-Car M1A (R8A77781)" |
| select ARCH_RCAR_GEN1 |
| --- a/arch/arm/mach-shmobile/setup-rcar-gen2.c |
| +++ b/arch/arm/mach-shmobile/setup-rcar-gen2.c |
| @@ -225,6 +225,7 @@ MACHINE_END |
| |
| static const char * const rz_g1_boards_compat_dt[] __initconst = { |
| "renesas,r8a7743", |
| + "renesas,r8a7745", |
| NULL, |
| }; |
| |