Go to the documentation of this file.
22 #define at91_rstc_read(field) \
23 __raw_readl(at91_rstc_base + field)
25 #define at91_rstc_write(field, value) \
26 __raw_writel(value, at91_rstc_base + field);
31 #define AT91_RSTC_CR 0x00
32 #define AT91_RSTC_PROCRST (1 << 0)
33 #define AT91_RSTC_PERRST (1 << 2)
34 #define AT91_RSTC_EXTRST (1 << 3)
35 #define AT91_RSTC_KEY (0xa5 << 24)
37 #define AT91_RSTC_SR 0x04
38 #define AT91_RSTC_URSTS (1 << 0)
39 #define AT91_RSTC_RSTTYP (7 << 8)
40 #define AT91_RSTC_RSTTYP_GENERAL (0 << 8)
41 #define AT91_RSTC_RSTTYP_WAKEUP (1 << 8)
42 #define AT91_RSTC_RSTTYP_WATCHDOG (2 << 8)
43 #define AT91_RSTC_RSTTYP_SOFTWARE (3 << 8)
44 #define AT91_RSTC_RSTTYP_USER (4 << 8)
45 #define AT91_RSTC_NRSTL (1 << 16)
46 #define AT91_RSTC_SRCMP (1 << 17)
48 #define AT91_RSTC_MR 0x08
49 #define AT91_RSTC_URSTEN (1 << 0)
50 #define AT91_RSTC_URSTIEN (1 << 4)
51 #define AT91_RSTC_ERSTL (0xf << 8)