u-boot-brain/arch/arm/mach-aspeed/Kconfig
maxims@google.com 4697abea62 aspeed: Add drivers common to all Aspeed SoCs
Add support for Watchdog Timer, which is compatible with AST2400 and
AST2500 watchdogs. There is no uclass for Watchdog yet, so the driver
does not follow the driver model. It also uses fixed clock, so no clock
driver is needed.

Add support for timer for Aspeed ast2400/ast2500 devices.
The driver actually controls several devices, but because all devices
share the same Control Register, it is somewhat difficult to completely
decouple them. Since only one timer is needed at the moment, this should
be OK. The timer uses fixed clock, so does not rely on a clock driver.

Add sysreset driver, which uses watchdog timer to do resets and particular
watchdog device to use is hardcoded (0)
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-01-28 14:04:27 -05:00

28 lines
591 B
Plaintext

if ARCH_ASPEED
config SYS_ARCH
default "arm"
config SYS_SOC
default "aspeed"
config SYS_TEXT_BASE
default 0x00000000
config ASPEED_AST2500
bool "Support Aspeed AST2500 SoC"
select CPU_ARM1176
help
The Aspeed AST2500 is a ARM-based SoC with arm1176 CPU.
It is used as Board Management Controller on many server boards,
which is enabled by support of LPC and eSPI peripherals.
config WDT_NUM
int "Number of Watchdog Timers"
default 3 if ASPEED_AST2500
help
The number of Watchdot Timers on a SoC.
AST2500 has three WDTsk earlier versions have two or fewer.
endif