aboutsummaryrefslogtreecommitdiff
path: root/include/dtt.h
diff options
context:
space:
mode:
authorJohn Otken <john@softadvances.com>2007-07-26 17:49:11 +0200
committerStefan Roese <sr@denx.de>2007-07-26 17:49:11 +0200
commitd4024bb72dd81695ec099b2199eda0d27c623e62 (patch)
tree401db21bb0c6665bb10ef70ece49a1479836483d /include/dtt.h
parent9f24a808f17fc0f37b7fb4805f734741335caecc (diff)
ppc4xx: Add support for AMCC 405EP Taihu board
Signed-off-by: John Otken <john@softadvances.com>
Diffstat (limited to 'include/dtt.h')
-rw-r--r--include/dtt.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dtt.h b/include/dtt.h
index 842a761c9..2e8c69015 100644
--- a/include/dtt.h
+++ b/include/dtt.h
@@ -29,6 +29,7 @@
#if defined(CONFIG_DTT_LM75) || \
defined(CONFIG_DTT_DS1621) || \
+ defined(CONFIG_DTT_DS1775) || \
defined(CONFIG_DTT_LM81) || \
defined(CONFIG_DTT_ADM1021)
@@ -78,6 +79,13 @@ extern int dtt_get_temp(int sensor);
#define DTT_CONFIG 0xAC
#endif
+#if defined(CONFIG_DTT_DS1775)
+#define DTT_READ_TEMP 0x0
+#define DTT_CONFIG 0x1
+#define DTT_TEMP_HYST 0x2
+#define DTT_TEMP_OS 0x3
+#endif
+
#if defined(CONFIG_DTT_ADM1021)
#define DTT_READ_LOC_VALUE 0x00
#define DTT_READ_REM_VALUE 0x01