Blame view

kernel/linux-rt-4.4.41/arch/unicore32/include/mach/regs-resetc.h 552 Bytes
5113f6f70   김현기   kernel add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
  /*
   * PKUnity Reset Controller (RC) Registers
   */
  /*
   * Software Reset Register
   */
  #define RESETC_SWRR	(PKUNITY_RESETC_BASE + 0x0000)
  /*
   * Reset Status Register
   */
  #define RESETC_RSSR	(PKUNITY_RESETC_BASE + 0x0004)
  
  /*
   * Software Reset Bit
   */
  #define RESETC_SWRR_SRB		FIELD(1, 1, 0)
  
  /*
   * Hardware Reset
   */
  #define RESETC_RSSR_HWR		FIELD(1, 1, 0)
  /*
   * Software Reset
   */
  #define RESETC_RSSR_SWR		FIELD(1, 1, 1)
  /*
   * Watchdog Reset
   */
  #define RESETC_RSSR_WDR		FIELD(1, 1, 2)
  /*
   * Sleep Mode Reset
   */
  #define RESETC_RSSR_SMR		FIELD(1, 1, 3)