1
2
3
4
5
6
7#ifndef _OMAP4_I2C_H_
8#define _OMAP4_I2C_H_
9
10#define I2C_DEFAULT_BASE I2C_BASE1
11
12struct i2c {
13 unsigned short revnb_lo;
14 unsigned short res1;
15 unsigned short revnb_hi;
16 unsigned short res2[5];
17 unsigned short sysc;
18 unsigned short res3[9];
19 unsigned short irqstatus_raw;
20 unsigned short res4;
21 unsigned short stat;
22 unsigned short res5;
23 unsigned short ie;
24 unsigned short res6;
25 unsigned short irqenable_clr;
26 unsigned short res7;
27 unsigned short iv;
28 unsigned short res8[45];
29 unsigned short syss;
30 unsigned short res9;
31 unsigned short buf;
32 unsigned short res10;
33 unsigned short cnt;
34 unsigned short res11;
35 unsigned short data;
36 unsigned short res13;
37 unsigned short res14;
38 unsigned short res15;
39 unsigned short con;
40 unsigned short res16;
41 unsigned short oa;
42 unsigned short res17;
43 unsigned short sa;
44 unsigned short res18;
45 unsigned short psc;
46 unsigned short res19;
47 unsigned short scll;
48 unsigned short res20;
49 unsigned short sclh;
50 unsigned short res21;
51 unsigned short systest;
52 unsigned short res22;
53 unsigned short bufstat;
54 unsigned short res23;
55};
56
57#endif
58