summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDirk Eibach <dirk.eibach@gdsys.cc>2015-10-28 11:46:22 +0100
committerTom Rini <trini@konsulko.com>2015-11-12 15:59:01 -0500
commit071be896947a2b6ab791657e250da6fc995360a8 (patch)
tree56d3ab5c5ae926e3e9197fa75d296c1b089ee172 /include
parent5b47d407e477b9995127aacca2d9a4665e2fde23 (diff)
downloadu-boot-071be896947a2b6ab791657e250da6fc995360a8.tar.gz
u-boot-071be896947a2b6ab791657e250da6fc995360a8.tar.bz2
u-boot-071be896947a2b6ab791657e250da6fc995360a8.zip
i2c: ihs_i2c: Dual channel support
Support two i2c masters per FPGA. Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc> Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/gdsys_fpga.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/gdsys_fpga.h b/include/gdsys_fpga.h
index 8a5efe732a..f8d8322d59 100644
--- a/include/gdsys_fpga.h
+++ b/include/gdsys_fpga.h
@@ -143,7 +143,7 @@ struct ihs_fpga {
u16 reserved_2[2]; /* 0x001c */
struct ihs_io_ep ep; /* 0x0020 */
u16 reserved_3[9]; /* 0x002e */
- struct ihs_i2c i2c; /* 0x0040 */
+ struct ihs_i2c i2c0; /* 0x0040 */
u16 reserved_4[10]; /* 0x004c */
u16 mc_int; /* 0x0060 */
u16 mc_int_en; /* 0x0062 */
@@ -177,7 +177,7 @@ struct ihs_fpga {
u16 reserved_2[2]; /* 0x001c */
struct ihs_io_ep ep; /* 0x0020 */
u16 reserved_3[9]; /* 0x002e */
- struct ihs_i2c i2c; /* 0x0040 */
+ struct ihs_i2c i2c0; /* 0x0040 */
u16 reserved_4[10]; /* 0x004c */
u16 mc_int; /* 0x0060 */
u16 mc_int_en; /* 0x0062 */
@@ -208,10 +208,12 @@ struct ihs_fpga {
u16 reserved_1[29]; /* 0x001e */
u16 mpc3w_control; /* 0x0058 */
u16 reserved_2[3]; /* 0x005a */
- struct ihs_i2c i2c; /* 0x0060 */
- u16 reserved_3[205]; /* 0x0066 */
+ struct ihs_i2c i2c0; /* 0x0060 */
+ u16 reserved_3[2]; /* 0x006c */
+ struct ihs_i2c i2c1; /* 0x0070 */
+ u16 reserved_4[194]; /* 0x007c */
struct ihs_osd osd; /* 0x0200 */
- u16 reserved_4[761]; /* 0x020e */
+ u16 reserved_5[761]; /* 0x020e */
u16 videomem[31736]; /* 0x0800 */
};
#endif