1*5628fb75SSimon Guinot /* 2*5628fb75SSimon Guinot * Copyright (C) 2011 Simon Guinot <sguinot@lacie.com> 3*5628fb75SSimon Guinot * 4*5628fb75SSimon Guinot * Based on Kirkwood support: 5*5628fb75SSimon Guinot * (C) Copyright 2009 6*5628fb75SSimon Guinot * Marvell Semiconductor <www.marvell.com> 7*5628fb75SSimon Guinot * Written-by: Prafulla Wadaskar <prafulla@marvell.com> 8*5628fb75SSimon Guinot * 9*5628fb75SSimon Guinot * See file CREDITS for list of people who contributed to this 10*5628fb75SSimon Guinot * project. 11*5628fb75SSimon Guinot * 12*5628fb75SSimon Guinot * This program is free software; you can redistribute it and/or 13*5628fb75SSimon Guinot * modify it under the terms of the GNU General Public License as 14*5628fb75SSimon Guinot * published by the Free Software Foundation; either version 2 of 15*5628fb75SSimon Guinot * the License, or (at your option) any later version. 16*5628fb75SSimon Guinot * 17*5628fb75SSimon Guinot * This program is distributed in the hope that it will be useful, 18*5628fb75SSimon Guinot * but WITHOUT ANY WARRANTY; without even the implied warranty of 19*5628fb75SSimon Guinot * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20*5628fb75SSimon Guinot * GNU General Public License for more details. 21*5628fb75SSimon Guinot */ 22*5628fb75SSimon Guinot 23*5628fb75SSimon Guinot #ifndef NET2BIG_V2_H 24*5628fb75SSimon Guinot #define NET2BIG_V2_H 25*5628fb75SSimon Guinot 26*5628fb75SSimon Guinot /* GPIO configuration */ 27*5628fb75SSimon Guinot #define NET2BIG_V2_OE_LOW 0x0600E000 28*5628fb75SSimon Guinot #define NET2BIG_V2_OE_HIGH 0x00000134 29*5628fb75SSimon Guinot #define NET2BIG_V2_OE_VAL_LOW 0x10030000 30*5628fb75SSimon Guinot #define NET2BIG_V2_OE_VAL_HIGH 0x00000000 31*5628fb75SSimon Guinot 32*5628fb75SSimon Guinot /* Buttons */ 33*5628fb75SSimon Guinot #define NET2BIG_V2_GPIO_PUSH_BUTTON 34 34*5628fb75SSimon Guinot 35*5628fb75SSimon Guinot /* PHY related */ 36*5628fb75SSimon Guinot #define MV88E1116_LED_FCTRL_REG 10 37*5628fb75SSimon Guinot #define MV88E1116_CPRSP_CR3_REG 21 38*5628fb75SSimon Guinot #define MV88E1116_MAC_CTRL_REG 21 39*5628fb75SSimon Guinot #define MV88E1116_PGADR_REG 22 40*5628fb75SSimon Guinot #define MV88E1116_RGMII_TXTM_CTRL (1 << 4) 41*5628fb75SSimon Guinot #define MV88E1116_RGMII_RXTM_CTRL (1 << 5) 42*5628fb75SSimon Guinot 43*5628fb75SSimon Guinot #endif /* NET2BIG_V2_H */ 44