提交 1d7592f8 编写于 作者: J Joel Stanley 提交者: Philipp Zabel

reset: simple: Enable for ASPEED systems

ASPEED BMC SoCs have a reset controller in the LPC IP that can be
controlled using this driver to release the UARTs from reset.

No special configuration is required, so only the compatible string is
added.
Signed-off-by: NJoel Stanley <joel@jms.id.au>
Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
上级 14b5057a
...@@ -83,14 +83,18 @@ config RESET_PISTACHIO ...@@ -83,14 +83,18 @@ config RESET_PISTACHIO
config RESET_SIMPLE config RESET_SIMPLE
bool "Simple Reset Controller Driver" if COMPILE_TEST bool "Simple Reset Controller Driver" if COMPILE_TEST
default ARCH_SOCFPGA || ARCH_STM32 || ARCH_STRATIX10 || ARCH_SUNXI || ARCH_ZX default ARCH_SOCFPGA || ARCH_STM32 || ARCH_STRATIX10 || ARCH_SUNXI || ARCH_ZX || ARCH_ASPEED
help help
This enables a simple reset controller driver for reset lines that This enables a simple reset controller driver for reset lines that
that can be asserted and deasserted by toggling bits in a contiguous, that can be asserted and deasserted by toggling bits in a contiguous,
exclusive register space. exclusive register space.
Currently this driver supports Altera SoCFPGAs, the RCC reset Currently this driver supports:
controller in STM32 MCUs, Allwinner SoCs, and ZTE's zx2967 family. - Altera SoCFPGAs
- ASPEED BMC SoCs
- RCC reset controller in STM32 MCUs
- Allwinner SoCs
- ZTE's zx2967 family
config RESET_SUNXI config RESET_SUNXI
bool "Allwinner SoCs Reset Driver" if COMPILE_TEST && !ARCH_SUNXI bool "Allwinner SoCs Reset Driver" if COMPILE_TEST && !ARCH_SUNXI
......
...@@ -125,6 +125,8 @@ static const struct of_device_id reset_simple_dt_ids[] = { ...@@ -125,6 +125,8 @@ static const struct of_device_id reset_simple_dt_ids[] = {
.data = &reset_simple_active_low }, .data = &reset_simple_active_low },
{ .compatible = "zte,zx296718-reset", { .compatible = "zte,zx296718-reset",
.data = &reset_simple_active_low }, .data = &reset_simple_active_low },
{ .compatible = "aspeed,ast2400-lpc-reset" },
{ .compatible = "aspeed,ast2500-lpc-reset" },
{ /* sentinel */ }, { /* sentinel */ },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册