[cip-dev] [PATCH 58/86] ARM: shmobile: Add pm support for r8a7745

Fabrizio Castro
2018-06-29T14:38:59Z

This patch adds pm support for r8a7745 SoC.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
---
arch/arm/mach-shmobile/pm-rcar-gen2.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-shmobile/pm-rcar-gen2.c b/arch/arm/mach-shmobile/pm-rcar-gen2.c
index 94a2759..f1bee67 100644
--- a/arch/arm/mach-shmobile/pm-rcar-gen2.c
+++ b/arch/arm/mach-shmobile/pm-rcar-gen2.c
@@ -85,6 +85,9 @@ void __init rcar_gen2_pm_init(void)
} else if (of_machine_is_compatible("renesas,r8a7743")) {
boot_vector_addr = RAM;
syscier = 0x00101003;
+ } else if (of_machine_is_compatible("renesas,r8a7745")) {
+ boot_vector_addr = RAM;
+ syscier = 0x00300060;
}

/* RAM for jump stub, because BAR requires 256KB aligned address */
--
2.7.4