]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - arch/unicore32/include/mach/regs-resetc.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / arch / unicore32 / include / mach / regs-resetc.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
b08b4f8e
G
2/*
3 * PKUnity Reset Controller (RC) Registers
4 */
5/*
6 * Software Reset Register
7 */
1cf46c42 8#define RESETC_SWRR (PKUNITY_RESETC_BASE + 0x0000)
b08b4f8e
G
9/*
10 * Reset Status Register
11 */
1cf46c42 12#define RESETC_RSSR (PKUNITY_RESETC_BASE + 0x0004)
b08b4f8e
G
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