blob: d61dd0e998ae1e56d850db792b2ed3eca9c6f073 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Simon Guinot72198a32011-11-21 19:25:46 +05302/*
3 * Copyright (C) 2011 Simon Guinot <sguinot@lacie.com>
4 *
5 * Based on Kirkwood support:
6 * (C) Copyright 2009
7 * Marvell Semiconductor <www.marvell.com>
8 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
Simon Guinot72198a32011-11-21 19:25:46 +05309 */
10
11#ifndef NET2BIG_V2_H
12#define NET2BIG_V2_H
13
14/* GPIO configuration */
15#define NET2BIG_V2_OE_LOW 0x0600E000
16#define NET2BIG_V2_OE_HIGH 0x00000134
17#define NET2BIG_V2_OE_VAL_LOW 0x10030000
18#define NET2BIG_V2_OE_VAL_HIGH 0x00000000
19
20/* Buttons */
21#define NET2BIG_V2_GPIO_PUSH_BUTTON 34
22
Simon Guinot1dd67e62013-06-18 15:14:48 +020023/* GMT G762 registers (I2C fan controller) */
24#define G762_REG_SET_CNT 0x00
25#define G762_REG_SET_OUT 0x03
26#define G762_REG_FAN_CMD1 0x04
27
Simon Guinot72198a32011-11-21 19:25:46 +053028#endif /* NET2BIG_V2_H */