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