]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/arch-omap3/i2c.h
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / arch / arm / include / asm / arch-omap3 / i2c.h
index 7a4a73aa913a6a1686a391f7dce4816e2d20e3e3..5ddaa0d48508159a679e9615037abf1828b41b2f 100644 (file)
@@ -1,29 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * (C) Copyright 2004-2008
  * Texas Instruments, <www.ti.com>
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
  */
 #ifndef _OMAP3_I2C_H_
 #define _OMAP3_I2C_H_
 
-#define I2C_BUS_MAX    3
 #define I2C_DEFAULT_BASE       I2C_BASE1
 
 struct i2c {
@@ -33,8 +15,10 @@ struct i2c {
        unsigned short res2;
        unsigned short stat;    /* 0x08 */
        unsigned short res3;
-       unsigned short iv;      /* 0x0C */
-       unsigned short res4[3];
+       unsigned short we;      /* 0x0C */
+       unsigned short res4;
+       unsigned short syss;    /* 0x10 */
+       unsigned short res4a;
        unsigned short buf;     /* 0x14 */
        unsigned short res5;
        unsigned short cnt;     /* 0x18 */
@@ -57,6 +41,18 @@ struct i2c {
        unsigned short res14;
        unsigned short systest; /* 0x3c */
        unsigned short res15;
+       unsigned short bufstat; /* 0x40 */
+       unsigned short res16;
+       unsigned short oa1;     /* 0x44 */
+       unsigned short res17;
+       unsigned short oa2;     /* 0x48 */
+       unsigned short res18;
+       unsigned short oa3;     /* 0x4c */
+       unsigned short res19;
+       unsigned short actoa;   /* 0x50 */
+       unsigned short res20;
+       unsigned short sblock;  /* 0x54 */
+       unsigned short res21;
 };
 
 #endif /* _OMAP3_I2C_H_ */