1
2 #ifndef __ASM_MACH_REGS_OST_H
3 #define __ASM_MACH_REGS_OST_H
4
5 #include <mach/hardware.h>
6
7
8
9
10
11 #define OSMR0 io_p2v(0x40A00000)
12 #define OSMR1 io_p2v(0x40A00004)
13 #define OSMR2 io_p2v(0x40A00008)
14 #define OSMR3 io_p2v(0x40A0000C)
15 #define OSMR4 io_p2v(0x40A00080)
16 #define OSCR io_p2v(0x40A00010)
17 #define OSCR4 io_p2v(0x40A00040)
18 #define OMCR4 io_p2v(0x40A000C0)
19 #define OSSR io_p2v(0x40A00014)
20 #define OWER io_p2v(0x40A00018)
21 #define OIER io_p2v(0x40A0001C)
22
23 #define OSSR_M3 (1 << 3)
24 #define OSSR_M2 (1 << 2)
25 #define OSSR_M1 (1 << 1)
26 #define OSSR_M0 (1 << 0)
27
28 #define OWER_WME (1 << 0)
29
30 #define OIER_E3 (1 << 3)
31 #define OIER_E2 (1 << 2)
32 #define OIER_E1 (1 << 1)
33 #define OIER_E0 (1 << 0)
34
35 #endif