]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/configs/TQM85xx.h
Converted all 85xx boards to use a common FSL I2C driver.
[people/ms/u-boot.git] / include / configs / TQM85xx.h
index bc3b9aa1d0a3483230eaba5d375d3b68884c3c7a..cce4624904824b2016dbceeeffe97c2729ad2d06 100644 (file)
 #define CFG_PROMPT_HUSH_PS2 "> "
 #endif
 
-/* I2C */
+
+/*
+ * I2C
+ */
+#define CONFIG_FSL_I2C         /* Use FSL common I2C driver */
 #define CONFIG_HARD_I2C                        /* I2C with hardware support    */
 #undef CONFIG_SOFT_I2C                 /* I2C bit-banged               */
 #define CFG_I2C_SPEED          400000  /* I2C speed and slave address  */
 #define CFG_I2C_SLAVE          0x7F
 #define CFG_I2C_NOPROBES       {0x48}  /* Don't probe these addrs      */
+#define CFG_I2C_OFFSET         0x3000
 
 /* I2C RTC */
 #define CONFIG_RTC_DS1337              /* Use ds1337 rtc via i2c       */