Linux 3.11-rc3
[cris-mirror.git] / arch / arm / mach-integrator / include / mach / impd1.h
blobd75de4b142378099283391a6d19131bc0bc5256c
1 #define IMPD1_OSC1 0x00
2 #define IMPD1_OSC2 0x04
3 #define IMPD1_LOCK 0x08
4 #define IMPD1_LEDS 0x0c
5 #define IMPD1_INT 0x10
6 #define IMPD1_SW 0x14
7 #define IMPD1_CTRL 0x18
9 #define IMPD1_CTRL_DISP_LCD (0 << 0)
10 #define IMPD1_CTRL_DISP_VGA (1 << 0)
11 #define IMPD1_CTRL_DISP_LCD1 (2 << 0)
12 #define IMPD1_CTRL_DISP_ENABLE (1 << 2)
13 #define IMPD1_CTRL_DISP_MASK (7 << 0)
15 struct device;
17 void impd1_tweak_control(struct device *dev, u32 mask, u32 val);