summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-omap5
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2016-07-18 09:40:57 (GMT)
committerHeiko Schocher <hs@denx.de>2016-07-26 06:39:23 (GMT)
commit7fb825f5b112713f572917fa7e89aac2b5b9c7b4 (patch)
treec5f7b67227ac5d60d15e31ae42469ee93c093f5c /arch/arm/include/asm/arch-omap5
parent3465f807d4b90378d86b3904ce2db196462ddd4e (diff)
downloadu-boot-fsl-qoriq-7fb825f5b112713f572917fa7e89aac2b5b9c7b4.tar.xz
omap5/dra7: i2c: correct register offset for sync register
The register offset of i2c_sysc offset is not correct as per omap5[1]/dra7[2] TRM, correct the offsets as per the documentation. [1] - http://www.ti.com/lit/pdf/swpu249 [2] - http://www.ti.com/lit/pdf/spruhz6 Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap5')
-rw-r--r--arch/arm/include/asm/arch-omap5/i2c.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/include/asm/arch-omap5/i2c.h b/arch/arm/include/asm/arch-omap5/i2c.h
index d875cfe..2b55edf 100644
--- a/arch/arm/include/asm/arch-omap5/i2c.h
+++ b/arch/arm/include/asm/arch-omap5/i2c.h
@@ -14,9 +14,9 @@ struct i2c {
unsigned short revnb_lo; /* 0x00 */
unsigned short res1;
unsigned short revnb_hi; /* 0x04 */
- unsigned short res2[13];
- unsigned short sysc; /* 0x20 */
- unsigned short res3;
+ unsigned short res2[5];
+ unsigned short sysc; /* 0x10 */
+ unsigned short res3[9];
unsigned short irqstatus_raw; /* 0x24 */
unsigned short res4;
unsigned short stat; /* 0x28 */