From: Piotr Dymacz Date: Tue, 13 Jun 2017 19:55:54 +0000 (+0200) Subject: Add watchdog timer control register bit fields for QCA X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=643c4ee97a285eb0b0be5d8fd693b2eb6fccd4b0;p=oweals%2Fu-boot_mod.git Add watchdog timer control register bit fields for QCA --- diff --git a/u-boot/include/soc/qca_soc_common.h b/u-boot/include/soc/qca_soc_common.h index a6e8d4e..bed9519 100644 --- a/u-boot/include/soc/qca_soc_common.h +++ b/u-boot/include/soc/qca_soc_common.h @@ -1493,6 +1493,12 @@ * Reset control registers BIT fields */ +/* RST_WATCHDOG_TIMER_CTRL (Watchdog timer control) */ +#define QCA_RST_WATCHDOG_TIMER_CTRL_ACTION_SHIFT 0 +#define QCA_RST_WATCHDOG_TIMER_CTRL_ACTION_MASK BITS(QCA_RST_WATCHDOG_TIMER_CTRL_ACTION_SHIFT, 2) +#define QCA_RST_WATCHDOG_TIMER_CTRL_LAST_SHIFT 31 +#define QCA_RST_WATCHDOG_TIMER_CTRL_LAST_MASK BIT(QCA_RST_WATCHDOG_TIMER_CTRL_LAST_SHIFT) + /* RST_BOOTSTRAP (Reset bootstrap) */ #if (SOC_TYPE & QCA_AR933X_SOC) #define QCA_RST_BOOTSTRAP_REF_CLK_SHIFT 0