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