License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[sfrench/cifs-2.6.git] / arch / unicore32 / include / mach / regs-resetc.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * PKUnity Reset Controller (RC) Registers
4  */
5 /*
6  * Software Reset Register
7  */
8 #define RESETC_SWRR     (PKUNITY_RESETC_BASE + 0x0000)
9 /*
10  * Reset Status Register
11  */
12 #define RESETC_RSSR     (PKUNITY_RESETC_BASE + 0x0004)
13
14 /*
15  * Software Reset Bit
16  */
17 #define RESETC_SWRR_SRB         FIELD(1, 1, 0)
18
19 /*
20  * Hardware Reset
21  */
22 #define RESETC_RSSR_HWR         FIELD(1, 1, 0)
23 /*
24  * Software Reset
25  */
26 #define RESETC_RSSR_SWR         FIELD(1, 1, 1)
27 /*
28  * Watchdog Reset
29  */
30 #define RESETC_RSSR_WDR         FIELD(1, 1, 2)
31 /*
32  * Sleep Mode Reset
33  */
34 #define RESETC_RSSR_SMR         FIELD(1, 1, 3)
35