1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
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>
9  */
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 
23 /* 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 
28 #endif /* NET2BIG_V2_H */
29