From 643c4ee97a285eb0b0be5d8fd693b2eb6fccd4b0 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Tue, 13 Jun 2017 21:55:54 +0200 Subject: [PATCH] Add watchdog timer control register bit fields for QCA --- u-boot/include/soc/qca_soc_common.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.25.1