Lines Matching +full:brcmstb +full:- +full:reset

1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2013-2014 Broadcom Corporation
22 #include <asm/mach-types.h>
116 return -ETIMEDOUT; in pwr_ctrl_wait_tmout()
143 * Set the reset vector to point to the secondary_startup in brcmstb_cpu_boot()
156 * power-on initialization. in brcmstb_cpu_power_on()
159 pwr_ctrl_set(cpu, ZONE_MANUAL_CONTROL_MASK, -1); in brcmstb_cpu_power_on()
160 pwr_ctrl_set(cpu, ZONE_RESERVED_1_MASK, -1); in brcmstb_cpu_power_on()
162 pwr_ctrl_set(cpu, ZONE_MAN_MEM_PWR_MASK, -1); in brcmstb_cpu_power_on()
167 pwr_ctrl_set(cpu, ZONE_MAN_CLKEN_MASK, -1); in brcmstb_cpu_power_on()
172 pwr_ctrl_clr(cpu, ZONE_MAN_ISO_CNTL_MASK, -1); in brcmstb_cpu_power_on()
173 pwr_ctrl_set(cpu, ZONE_MAN_RESET_CNTL_MASK, -1); in brcmstb_cpu_power_on()
201 * Ordinarily, the hardware forbids power-down of CPU0 (which is good in brcmstb_cpu_kill()
204 * ensure that TI2C master reset will work. in brcmstb_cpu_kill()
214 pwr_ctrl_set(cpu, ZONE_MANUAL_CONTROL_MASK, -1); in brcmstb_cpu_kill()
215 pwr_ctrl_clr(cpu, ZONE_MAN_RESET_CNTL_MASK, -1); in brcmstb_cpu_kill()
216 pwr_ctrl_clr(cpu, ZONE_MAN_CLKEN_MASK, -1); in brcmstb_cpu_kill()
217 pwr_ctrl_set(cpu, ZONE_MAN_ISO_CNTL_MASK, -1); in brcmstb_cpu_kill()
218 pwr_ctrl_clr(cpu, ZONE_MAN_MEM_PWR_MASK, -1); in brcmstb_cpu_kill()
223 pwr_ctrl_clr(cpu, ZONE_RESERVED_1_MASK, -1); in brcmstb_cpu_kill()
231 /* Assert reset on the CPU */ in brcmstb_cpu_kill()
245 name = "syscon-cpu"; in setup_hifcpubiuctrl_regs()
250 rc = -EINVAL; in setup_hifcpubiuctrl_regs()
257 rc = -EINVAL; in setup_hifcpubiuctrl_regs()
266 rc = -EINVAL; in setup_hifcpubiuctrl_regs()
275 rc = -EINVAL; in setup_hifcpubiuctrl_regs()
290 name = "syscon-cont"; in setup_hifcont_regs()
295 rc = -EINVAL; in setup_hifcont_regs()
302 rc = -EINVAL; in setup_hifcont_regs()
320 name = "brcm,brcmstb-smpboot"; in brcmstb_cpu_ctrl_setup()
341 /* Missing the brcm,brcmstb-smpboot DT node? */ in brcmstb_boot_secondary()
343 return -ENODEV; in brcmstb_boot_secondary()
363 CPU_METHOD_OF_DECLARE(brcmstb_smp, "brcm,brahma-b15", &brcmstb_smp_ops);