]> git.ipfire.org Git - thirdparty/u-boot.git/blob - arch/arm/mach-at91/include/mach/at91_st.h
kbuild: prepare for moving headers into mach-*/include/mach
[thirdparty/u-boot.git] / arch / arm / mach-at91 / include / mach / at91_st.h
1 /*
2 * Copyright (C) 2009 Jens Scharsig (js_at_ng@scharsoft.de)
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7 #ifndef AT91_ST_H
8 #define AT91_ST_H
9
10 typedef struct at91_st {
11
12 u32 cr;
13 u32 pimr;
14 u32 wdmr;
15 u32 rtmr;
16 u32 sr;
17 u32 ier;
18 u32 idr;
19 u32 imr;
20 u32 rtar;
21 u32 crtr;
22 } at91_st_t ;
23
24 #define AT91_ST_CR_WDRST 1
25
26 #define AT91_ST_WDMR_WDV(x) (x & 0xFFFF)
27 #define AT91_ST_WDMR_RSTEN 0x00010000
28 #define AT91_ST_WDMR_EXTEN 0x00020000
29
30 #endif