summaryrefslogtreecommitdiff
path: root/include/configs/mgsuvd.h
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2008-10-15 09:38:07 +0200
committerWolfgang Denk <wd@denx.de>2008-10-18 21:54:02 +0200
commite5e4edd9f1f76210a09c34ee835f6cff60fdbbd1 (patch)
tree902db9179704c7a4ac7f7588512c1d7b448ca019 /include/configs/mgsuvd.h
parent8e442df438ab677057571e3ac01846bff7719bce (diff)
downloadu-boot-imx-e5e4edd9f1f76210a09c34ee835f6cff60fdbbd1.zip
u-boot-imx-e5e4edd9f1f76210a09c34ee835f6cff60fdbbd1.tar.gz
u-boot-imx-e5e4edd9f1f76210a09c34ee835f6cff60fdbbd1.tar.bz2
mgcoge, mgsuvd: add DTT (LM75) support.
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/configs/mgsuvd.h')
-rw-r--r--include/configs/mgsuvd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/mgsuvd.h b/include/configs/mgsuvd.h
index 85c6ac9..c569c81 100644
--- a/include/configs/mgsuvd.h
+++ b/include/configs/mgsuvd.h
@@ -113,6 +113,7 @@
#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DHCP
+#define CONFIG_CMD_DTT
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_I2C
#define CONFIG_CMD_NFS
@@ -380,4 +381,12 @@
#define CFG_EEPROM_PAGE_WRITE_BITS 3
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10
+/* I2C SYSMON (LM75, AD7414 is almost compatible) */
+#define CONFIG_DTT_LM75 1 /* ON Semi's LM75 */
+#define CONFIG_DTT_SENSORS {0, 2, 4, 6} /* Sensor addresses */
+#define CFG_DTT_MAX_TEMP 70
+#define CFG_DTT_LOW_TEMP -30
+#define CFG_DTT_HYSTERESIS 3
+#define CFG_DTT_BUS_NUM (CFG_MAX_I2C_BUS)
+
#endif /* __CONFIG_H */