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