1 /* 2 * (C) Copyright 2010 3 * Matt Waddel, <matt.waddel@linaro.org> 4 * 5 * SPDX-License-Identifier: GPL-2.0+ 6 */ 7 #ifndef _WDT_H_ 8 #define _WDT_H_ 9 10 /* Watchdog timer (SP805) register base address */ 11 #define WDT_BASE 0x100E5000 12 13 #define WDT_EN 0x2 14 #define WDT_RESET_LOAD 0x0 15 16 struct wdt { 17 u32 wdogload; /* 0x000 */ 18 u32 wdogvalue; 19 u32 wdogcontrol; 20 u32 wdogintclr; 21 u32 wdogris; 22 u32 wdogmis; 23 u32 res1[0x2F9]; 24 u32 wdoglock; /* 0xC00 */ 25 u32 res2[0xBE]; 26 u32 wdogitcr; /* 0xF00 */ 27 u32 wdogitop; 28 u32 res3[0x35]; 29 u32 wdogperiphid0; /* 0xFE0 */ 30 u32 wdogperiphid1; 31 u32 wdogperiphid2; 32 u32 wdogperiphid3; 33 u32 wdogpcellid0; 34 u32 wdogpcellid1; 35 u32 wdogpcellid2; 36 u32 wdogpcellid3; 37 }; 38 39 #endif /* _WDT_H_ */ 40