summaryrefslogtreecommitdiff
path: root/board/LaCie/net2big_v2/net2big_v2.h
diff options
context:
space:
mode:
authorSimon Guinot <simon.guinot@sequanux.org>2013-06-18 13:14:48 (GMT)
committerPrafulla Wadaskar <prafulla@marvell.com>2013-06-20 08:31:23 (GMT)
commit2af4d0f49f80a52d50191f0ec451944b1853113e (patch)
tree7fe8fdfaf244cd4830d647a76ab16989446331d8 /board/LaCie/net2big_v2/net2big_v2.h
parentc2543a21df335484fa86bd652b5564d0ca90d5f6 (diff)
downloadu-boot-2af4d0f49f80a52d50191f0ec451944b1853113e.tar.xz
net2big_v2: initialize I2C fan at startup
This patch ensures minimal cooling for the net2big_v2 by automatically starting the I2C fan (GMT G762) at low speed (2800 RPM). Signed-off-by: Simon Guinot <simon.guinot@sequanux.org> Acked-by: Prafulla Wadaskar <prafulla@marvell.com>
Diffstat (limited to 'board/LaCie/net2big_v2/net2big_v2.h')
-rw-r--r--board/LaCie/net2big_v2/net2big_v2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/LaCie/net2big_v2/net2big_v2.h b/board/LaCie/net2big_v2/net2big_v2.h
index f9778f4..83537d6 100644
--- a/board/LaCie/net2big_v2/net2big_v2.h
+++ b/board/LaCie/net2big_v2/net2big_v2.h
@@ -32,4 +32,9 @@
/* Buttons */
#define NET2BIG_V2_GPIO_PUSH_BUTTON 34
+/* GMT G762 registers (I2C fan controller) */
+#define G762_REG_SET_CNT 0x00
+#define G762_REG_SET_OUT 0x03
+#define G762_REG_FAN_CMD1 0x04
+
#endif /* NET2BIG_V2_H */