Skip to content
  • maxims@google.com's avatar
    aspeed: Add drivers common to all Aspeed SoCs · 4697abea
    maxims@google.com authored
    
    
    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: default avatarSimon Glass <sjg@chromium.org>
    4697abea