Lines Matching +full:smp +full:- +full:sram
1 // SPDX-License-Identifier: GPL-2.0
3 * R-Car Generation 2 Power management support
5 * Copyright (C) 2013 - 2015 Renesas Electronics Corporation
14 #include <linux/smp.h>
18 #include "rcar-gen2.h"
33 #define CA15RESCNT_CPUS 0xf /* CPU0-3 */
35 #define CA7RESCNT_CPUS 0xf /* CPU0-3 */
37 /* On-chip RAM */
60 if (of_device_is_compatible(np, "arm,cortex-a15")) in rcar_gen2_pm_init()
62 else if (of_device_is_compatible(np, "arm,cortex-a7")) in rcar_gen2_pm_init()
66 np = of_find_compatible_node(NULL, NULL, "renesas,smp-sram"); in rcar_gen2_pm_init()
68 /* No smp-sram in DT, fall back to hardcoded address */ in rcar_gen2_pm_init()
77 pr_err("Failed to get smp-sram address: %d\n", error); in rcar_gen2_pm_init()
83 if (res.start & (256 * 1024 - 1) || in rcar_gen2_pm_init()
85 pr_err("Invalid smp-sram region\n"); in rcar_gen2_pm_init()
112 /* de-assert reset for CA15 CPUs */ in rcar_gen2_pm_init()
121 /* de-assert reset for CA7 CPUs */ in rcar_gen2_pm_init()