1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */
25628fb75SSimon Guinot /*
35628fb75SSimon Guinot  * Copyright (C) 2011 Simon Guinot <sguinot@lacie.com>
45628fb75SSimon Guinot  *
55628fb75SSimon Guinot  * Based on Kirkwood support:
65628fb75SSimon Guinot  * (C) Copyright 2009
75628fb75SSimon Guinot  * Marvell Semiconductor <www.marvell.com>
85628fb75SSimon Guinot  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
95628fb75SSimon Guinot  */
105628fb75SSimon Guinot 
115628fb75SSimon Guinot #ifndef NET2BIG_V2_H
125628fb75SSimon Guinot #define NET2BIG_V2_H
135628fb75SSimon Guinot 
145628fb75SSimon Guinot /* GPIO configuration */
155628fb75SSimon Guinot #define NET2BIG_V2_OE_LOW		0x0600E000
165628fb75SSimon Guinot #define NET2BIG_V2_OE_HIGH		0x00000134
175628fb75SSimon Guinot #define NET2BIG_V2_OE_VAL_LOW		0x10030000
185628fb75SSimon Guinot #define NET2BIG_V2_OE_VAL_HIGH		0x00000000
195628fb75SSimon Guinot 
205628fb75SSimon Guinot /* Buttons */
215628fb75SSimon Guinot #define NET2BIG_V2_GPIO_PUSH_BUTTON	34
225628fb75SSimon Guinot 
232af4d0f4SSimon Guinot /* GMT G762 registers (I2C fan controller) */
242af4d0f4SSimon Guinot #define G762_REG_SET_CNT		0x00
252af4d0f4SSimon Guinot #define G762_REG_SET_OUT		0x03
262af4d0f4SSimon Guinot #define G762_REG_FAN_CMD1		0x04
272af4d0f4SSimon Guinot 
285628fb75SSimon Guinot #endif /* NET2BIG_V2_H */
29