Lines Matching +full:enable +full:- +full:soft +full:- +full:reset

1 // SPDX-License-Identifier: GPL-2.0-only
8 * Gregory CLEMENT <gregory.clement@free-electrons.com>
9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 * but rather provide system-level features. This basic
14 * system-controller driver provides a device tree binding for those
19 * soft-reset, but it might be extended in the future.
28 #include "mvebu-soc-id.h"
79 .compatible = "marvell,orion-system-controller",
82 .compatible = "marvell,armada-370-xp-system-controller",
85 .compatible = "marvell,armada-375-system-controller",
94 pr_err("Cannot restart, system-controller not available: check the device tree\n"); in mvebu_restart()
97 * Enable soft reset to assert RSTOUTn. in mvebu_restart()
99 writel(mvebu_sc->rstoutn_mask_reset_out_en, in mvebu_restart()
101 mvebu_sc->rstoutn_mask_offset); in mvebu_restart()
103 * Assert soft reset. in mvebu_restart()
105 writel(mvebu_sc->system_soft_reset, in mvebu_restart()
107 mvebu_sc->system_soft_reset_offset); in mvebu_restart()
118 *dev = readl(system_controller_base + mvebu_sc->dev_id) >> 16; in mvebu_system_controller_get_soc_id()
119 *rev = (readl(system_controller_base + mvebu_sc->rev_id) >> 8) in mvebu_system_controller_get_soc_id()
123 return -ENODEV; in mvebu_system_controller_get_soc_id()
139 mvebu_sc->resume_boot_addr; in mvebu_armada375_smp_wa_init()
148 BUG_ON(mvebu_sc->resume_boot_addr == 0); in mvebu_system_controller_set_cpu_boot_addr()
154 mvebu_sc->resume_boot_addr); in mvebu_system_controller_set_cpu_boot_addr()
170 mvebu_sc = (struct mvebu_system_controller *)match->data; in mvebu_system_controller_init()