From f8161aba476e554680285c177caceb90bf3d2f2a Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Mon, 26 Jun 2017 21:03:30 +0930 Subject: 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 --- arch/arm/include/asm/arch-aspeed/ast2400_platform.h | 3 ++- arch/arm/include/asm/arch-aspeed/ast_g5_platform.h | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'arch/arm/include') 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 */ -- cgit v1.2.1