Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
regs-resetc.h
Go to the documentation of this file.
1 /*
2  * PKUnity Reset Controller (RC) Registers
3  */
4 /*
5  * Software Reset Register
6  */
7 #define RESETC_SWRR (PKUNITY_RESETC_BASE + 0x0000)
8 /*
9  * Reset Status Register
10  */
11 #define RESETC_RSSR (PKUNITY_RESETC_BASE + 0x0004)
12 
13 /*
14  * Software Reset Bit
15  */
16 #define RESETC_SWRR_SRB FIELD(1, 1, 0)
17 
18 /*
19  * Hardware Reset
20  */
21 #define RESETC_RSSR_HWR FIELD(1, 1, 0)
22 /*
23  * Software Reset
24  */
25 #define RESETC_RSSR_SWR FIELD(1, 1, 1)
26 /*
27  * Watchdog Reset
28  */
29 #define RESETC_RSSR_WDR FIELD(1, 1, 2)
30 /*
31  * Sleep Mode Reset
32  */
33 #define RESETC_RSSR_SMR FIELD(1, 1, 3)
34