|
@@ -29,6 +29,11 @@
|
|
#define CA7RESCNT 0x0044
|
|
#define CA7RESCNT 0x0044
|
|
#define MERAM 0xe8080000
|
|
#define MERAM 0xe8080000
|
|
|
|
|
|
|
|
+static struct rcar_sysc_ch r8a7790_ca15_scu = {
|
|
|
|
+ .chan_offs = 0x180, /* PWRSR5 .. PWRER5 */
|
|
|
|
+ .isr_bit = 12, /* CA15-SCU */
|
|
|
|
+};
|
|
|
|
+
|
|
static struct rcar_sysc_ch r8a7790_ca7_scu = {
|
|
static struct rcar_sysc_ch r8a7790_ca7_scu = {
|
|
.chan_offs = 0x100, /* PWRSR3 .. PWRER3 */
|
|
.chan_offs = 0x100, /* PWRSR3 .. PWRER3 */
|
|
.isr_bit = 21, /* CA7-SCU */
|
|
.isr_bit = 21, /* CA7-SCU */
|
|
@@ -64,6 +69,7 @@ static void __init r8a7790_smp_prepare_cpus(unsigned int max_cpus)
|
|
|
|
|
|
/* turn on power to SCU */
|
|
/* turn on power to SCU */
|
|
r8a7790_pm_init();
|
|
r8a7790_pm_init();
|
|
|
|
+ rcar_sysc_power_up(&r8a7790_ca15_scu);
|
|
rcar_sysc_power_up(&r8a7790_ca7_scu);
|
|
rcar_sysc_power_up(&r8a7790_ca7_scu);
|
|
}
|
|
}
|
|
|
|
|