Lines Matching +full:system +full:- +full:reboot +full:- +full:controller
2 * System controller support for Armada 370, 375 and XP platforms.
7 * Gregory CLEMENT <gregory.clement@free-electrons.com>
8 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 * but rather provide system-level features. This basic
17 * system-controller driver provides a device tree binding for those
22 * soft-reset, but it might be extended in the future.
29 #include <linux/reboot.h>
31 #include "mvebu-soc-id.h"
82 .compatible = "marvell,orion-system-controller",
85 .compatible = "marvell,armada-370-xp-system-controller",
88 .compatible = "marvell,armada-375-system-controller",
97 pr_err("Cannot restart, system-controller not available: check the device tree\n"); in mvebu_restart()
102 writel(mvebu_sc->rstoutn_mask_reset_out_en, in mvebu_restart()
104 mvebu_sc->rstoutn_mask_offset); in mvebu_restart()
108 writel(mvebu_sc->system_soft_reset, in mvebu_restart()
110 mvebu_sc->system_soft_reset_offset); in mvebu_restart()
121 *dev = readl(system_controller_base + mvebu_sc->dev_id) >> 16; in mvebu_system_controller_get_soc_id()
122 *rev = (readl(system_controller_base + mvebu_sc->rev_id) >> 8) in mvebu_system_controller_get_soc_id()
126 return -ENODEV; in mvebu_system_controller_get_soc_id()
142 mvebu_sc->resume_boot_addr; in mvebu_armada375_smp_wa_init()
151 BUG_ON(mvebu_sc->resume_boot_addr == 0); in mvebu_system_controller_set_cpu_boot_addr()
157 mvebu_sc->resume_boot_addr); in mvebu_system_controller_set_cpu_boot_addr()
173 mvebu_sc = (struct mvebu_system_controller *)match->data; in mvebu_system_controller_init()