ti: wdt: omap5: Define WDT_BASE for omap5+ SoC
authorLukasz Majewski <lukma@denx.de>
Sun, 19 Feb 2017 22:24:37 +0000 (23:24 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 9 Apr 2017 01:32:49 +0000 (21:32 -0400)
Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/include/asm/arch-omap5/cpu.h

index d7c46605ddd6d11506e9a996d950892c3d33df64..26e741745920569d86b835f52120529f2806b5c3 100644 (file)
@@ -46,6 +46,7 @@ struct gptimer {
 /* enable sys_clk NO-prescale /1 */
 #define GPT_EN                 ((0x0 << 2) | (0x1 << 1) | (0x1 << 0))
 
+#define WDT_BASE                (OMAP54XX_L4_WKUP_BASE + 0x14000)
 /* Watchdog */
 #ifndef __KERNEL_STRICT_NAMES
 #ifndef __ASSEMBLY__