Merge remote-tracking branch 'moduleh/module.h-split'
[linux-2.6/next.git] / arch / unicore32 / include / mach / regs-resetc.h
blob39900cf4c936d40136063d0eaf07db704e4d7d9a
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
11 #define RESETC_RSSR (PKUNITY_RESETC_BASE + 0x0004)
14 * Software Reset Bit
16 #define RESETC_SWRR_SRB FIELD(1, 1, 0)
19 * Hardware Reset
21 #define RESETC_RSSR_HWR FIELD(1, 1, 0)
23 * Software Reset
25 #define RESETC_RSSR_SWR FIELD(1, 1, 1)
27 * Watchdog Reset
29 #define RESETC_RSSR_WDR FIELD(1, 1, 2)
31 * Sleep Mode Reset
33 #define RESETC_RSSR_SMR FIELD(1, 1, 3)