1 /*
2  * Copyright (C) 2011 Simon Guinot <sguinot@lacie.com>
3  *
4  * Based on Kirkwood support:
5  * (C) Copyright 2009
6  * Marvell Semiconductor <www.marvell.com>
7  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
8  *
9  * SPDX-License-Identifier:	GPL-2.0+
10  */
11 
12 #ifndef NET2BIG_V2_H
13 #define NET2BIG_V2_H
14 
15 /* GPIO configuration */
16 #define NET2BIG_V2_OE_LOW		0x0600E000
17 #define NET2BIG_V2_OE_HIGH		0x00000134
18 #define NET2BIG_V2_OE_VAL_LOW		0x10030000
19 #define NET2BIG_V2_OE_VAL_HIGH		0x00000000
20 
21 /* Buttons */
22 #define NET2BIG_V2_GPIO_PUSH_BUTTON	34
23 
24 /* GMT G762 registers (I2C fan controller) */
25 #define G762_REG_SET_CNT		0x00
26 #define G762_REG_SET_OUT		0x03
27 #define G762_REG_FAN_CMD1		0x04
28 
29 #endif /* NET2BIG_V2_H */
30