summaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2017-06-26 21:03:30 +0930
committerJoel Stanley <joel@jms.id.au>2017-06-26 22:20:03 +0930
commitf8161aba476e554680285c177caceb90bf3d2f2a (patch)
tree49a9b442f284044ac8c4bfc11bf3a7982a47e22f /arch/arm/include
parented9e4abbf3f0aab348bc64d5439aadda03f42e4c (diff)
downloadtalos-obmc-uboot-f8161aba476e554680285c177caceb90bf3d2f2a.tar.gz
talos-obmc-uboot-f8161aba476e554680285c177caceb90bf3d2f2a.zip
aspeed: Add defines for all watchdogs
This adds defines for WDT2 (and WDT3 for the ast2500), and renames the existing one to WDT1. Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-aspeed/ast2400_platform.h3
-rw-r--r--arch/arm/include/asm/arch-aspeed/ast_g5_platform.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-aspeed/ast2400_platform.h b/arch/arm/include/asm/arch-aspeed/ast2400_platform.h
index 5c00bb60ea..33c559eb1f 100644
--- a/arch/arm/include/asm/arch-aspeed/ast2400_platform.h
+++ b/arch/arm/include/asm/arch-aspeed/ast2400_platform.h
@@ -57,7 +57,8 @@
#define AST_TIMER_BASE 0x1E782000 /* TIMER #0~7*/
#define AST_UART1_BASE 0x1E783000 /* UART1 */
#define AST_UART0_BASE 0x1E784000 /* UART5 */
-#define AST_WDT_BASE 0x1E785000 /* WDT */
+#define AST_WDT1_BASE 0x1E785000 /* WDT1 */
+#define AST_WDT2_BASE 0x1E785020 /* WDT2 */
#define AST_PWM_BASE 0x1E786000 /* PWM */
#define AST_VUART0_BASE 0x1E787000 /* VUART1 */
#define AST_PUART_BASE 0x1E788000 /* PUART */
diff --git a/arch/arm/include/asm/arch-aspeed/ast_g5_platform.h b/arch/arm/include/asm/arch-aspeed/ast_g5_platform.h
index 3b178cdbe2..42108733f3 100644
--- a/arch/arm/include/asm/arch-aspeed/ast_g5_platform.h
+++ b/arch/arm/include/asm/arch-aspeed/ast_g5_platform.h
@@ -96,7 +96,9 @@
#define AST_TIMER_BASE 0x1E782000 /* TIMER #0~2*/
#define AST_UART1_BASE 0x1E783000 /* UART1 */
#define AST_UART0_BASE 0x1E784000 /* UART5 */
-#define AST_WDT_BASE 0x1E785000 /* WDT */
+#define AST_WDT1_BASE 0x1E785000 /* WDT1 */
+#define AST_WDT2_BASE 0x1E785020 /* WDT2 */
+#define AST_WDT3_BASE 0x1E785040 /* WDT3 */
#define AST_PWM_BASE 0x1E786000 /* PWM */
#define AST_VUART0_BASE 0x1E787000 /* VUART1 */
#define AST_PUART_BASE 0x1E788000 /* PUART */
OpenPOWER on IntegriCloud