summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2017-04-08 22:34:29 (GMT)
committerTom Rini <trini@konsulko.com>2017-04-27 12:13:47 (GMT)
commit71e48c26a6ec386f330eae3f8c5e002e95d864b9 (patch)
tree0c2eb51fdf2021f6104e63b5b7043e3b576dcac7 /arch/arm
parent6f008a2e16ec3b618363800e414023569007cd89 (diff)
downloadu-boot-fsl-qoriq-71e48c26a6ec386f330eae3f8c5e002e95d864b9.tar.xz
omap3: i2c: correct register
The register names and offset were not correct as per the TRM for OMAP3530 and OMAP3630. Correct the naing and offsets per the documentation Signed-off-by: Adam Ford <aford173@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/arch-omap3/i2c.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-omap3/i2c.h b/arch/arm/include/asm/arch-omap3/i2c.h
index b370290..6b3a3da 100644
--- a/arch/arm/include/asm/arch-omap3/i2c.h
+++ b/arch/arm/include/asm/arch-omap3/i2c.h
@@ -17,7 +17,7 @@ struct i2c {
unsigned short res2;
unsigned short stat; /* 0x08 */
unsigned short res3;
- unsigned short iv; /* 0x0C */
+ unsigned short we; /* 0x0C */
unsigned short res4;
unsigned short syss; /* 0x10 */
unsigned short res4a;
@@ -43,6 +43,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_ */