1 #ifndef __ASM_ARM_PLATFORMS_VEXPRESS_H
2 #define __ASM_ARM_PLATFORMS_VEXPRESS_H
3 
4 /* V2M */
5 #define V2M_SYS_MMIO_BASE     (0x1c010000)
6 #define V2M_SYS_FLAGSSET      (0x30)
7 #define V2M_SYS_FLAGSCLR      (0x34)
8 
9 #define V2M_SYS_CFGDATA       (0x00A0)
10 #define V2M_SYS_CFGCTRL       (0x00A4)
11 #define V2M_SYS_CFGSTAT       (0x00A8)
12 
13 #define V2M_SYS_CFG_START     (1<<31)
14 #define V2M_SYS_CFG_WRITE     (1<<30)
15 #define V2M_SYS_CFG_ERROR     (1<<1)
16 #define V2M_SYS_CFG_COMPLETE  (1<<0)
17 
18 #define V2M_SYS_CFG_OSC_FUNC  1
19 #define V2M_SYS_CFG_OSC0      0
20 #define V2M_SYS_CFG_OSC1      1
21 #define V2M_SYS_CFG_OSC2      2
22 #define V2M_SYS_CFG_OSC3      3
23 #define V2M_SYS_CFG_OSC4      4
24 #define V2M_SYS_CFG_OSC5      5
25 
26 /* Board-specific: base address of system controller */
27 #define SP810_ADDRESS 0x1C020000
28 
29 #endif /* __ASM_ARM_PLATFORMS_VEXPRESS_H */
30 /*
31  * Local variables:
32  * mode: C
33  * c-file-style: "BSD"
34  * c-basic-offset: 4
35  * indent-tabs-mode: nil
36  * End:
37  */
38