diff options
Diffstat (limited to 'drivers/staging/rtl8712/rtl8712_gp_regdef.h')
-rw-r--r-- | drivers/staging/rtl8712/rtl8712_gp_regdef.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/drivers/staging/rtl8712/rtl8712_gp_regdef.h b/drivers/staging/rtl8712/rtl8712_gp_regdef.h new file mode 100644 index 000000000..8fc68f6a2 --- /dev/null +++ b/drivers/staging/rtl8712/rtl8712_gp_regdef.h @@ -0,0 +1,42 @@ +/****************************************************************************** + * + * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of version 2 of the GNU General Public License as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along with + * this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA + * + * Modifications for inclusion into the Linux staging tree are + * Copyright(c) 2010 Larry Finger. All rights reserved. + * + * Contact information: + * WLAN FAE <wlanfae@realtek.com> + * Larry Finger <Larry.Finger@lwfinger.net> + * + ******************************************************************************/ +#ifndef __RTL8712_GP_REGDEF_H__ +#define __RTL8712_GP_REGDEF_H__ + +#define PSTIMER (RTL8712_GP_ + 0x00) +#define TIMER1 (RTL8712_GP_ + 0x04) +#define TIMER2 (RTL8712_GP_ + 0x08) +#define GPIO_CTRL (RTL8712_GP_ + 0x0C) +#define GPIO_IO_SEL (RTL8712_GP_ + 0x0E) +#define GPIO_INTCTRL (RTL8712_GP_ + 0x10) +#define MAC_PINMUX_CTRL (RTL8712_GP_ + 0x11) +#define LEDCFG (RTL8712_GP_ + 0x12) +#define PHY_REG_RPT (RTL8712_GP_ + 0x13) +#define PHY_REG_DATA (RTL8712_GP_ + 0x14) + + +#endif /*__RTL8712_GP_REGDEF_H__ */ + |