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 * 95628fb75SSimon Guinot * See file CREDITS for list of people who contributed to this 105628fb75SSimon Guinot * project. 115628fb75SSimon Guinot * 125628fb75SSimon Guinot * This program is free software; you can redistribute it and/or 135628fb75SSimon Guinot * modify it under the terms of the GNU General Public License as 145628fb75SSimon Guinot * published by the Free Software Foundation; either version 2 of 155628fb75SSimon Guinot * the License, or (at your option) any later version. 165628fb75SSimon Guinot * 175628fb75SSimon Guinot * This program is distributed in the hope that it will be useful, 185628fb75SSimon Guinot * but WITHOUT ANY WARRANTY; without even the implied warranty of 195628fb75SSimon Guinot * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 205628fb75SSimon Guinot * GNU General Public License for more details. 215628fb75SSimon Guinot */ 225628fb75SSimon Guinot 235628fb75SSimon Guinot #ifndef NET2BIG_V2_H 245628fb75SSimon Guinot #define NET2BIG_V2_H 255628fb75SSimon Guinot 265628fb75SSimon Guinot /* GPIO configuration */ 275628fb75SSimon Guinot #define NET2BIG_V2_OE_LOW 0x0600E000 285628fb75SSimon Guinot #define NET2BIG_V2_OE_HIGH 0x00000134 295628fb75SSimon Guinot #define NET2BIG_V2_OE_VAL_LOW 0x10030000 305628fb75SSimon Guinot #define NET2BIG_V2_OE_VAL_HIGH 0x00000000 315628fb75SSimon Guinot 325628fb75SSimon Guinot /* Buttons */ 335628fb75SSimon Guinot #define NET2BIG_V2_GPIO_PUSH_BUTTON 34 345628fb75SSimon Guinot 35*2af4d0f4SSimon Guinot /* GMT G762 registers (I2C fan controller) */ 36*2af4d0f4SSimon Guinot #define G762_REG_SET_CNT 0x00 37*2af4d0f4SSimon Guinot #define G762_REG_SET_OUT 0x03 38*2af4d0f4SSimon Guinot #define G762_REG_FAN_CMD1 0x04 39*2af4d0f4SSimon Guinot 405628fb75SSimon Guinot #endif /* NET2BIG_V2_H */ 41