rtl8712_gp_regdef.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /******************************************************************************
  2. *
  3. * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
  4. *
  5. * This program is free software; you can redistribute it and/or modify it
  6. * under the terms of version 2 of the GNU General Public License as
  7. * published by the Free Software Foundation.
  8. *
  9. * This program is distributed in the hope that it will be useful, but WITHOUT
  10. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  12. * more details.
  13. *
  14. * You should have received a copy of the GNU General Public License along with
  15. * this program; if not, write to the Free Software Foundation, Inc.,
  16. * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
  17. *
  18. * Modifications for inclusion into the Linux staging tree are
  19. * Copyright(c) 2010 Larry Finger. All rights reserved.
  20. *
  21. * Contact information:
  22. * WLAN FAE <wlanfae@realtek.com>
  23. * Larry Finger <Larry.Finger@lwfinger.net>
  24. *
  25. ******************************************************************************/
  26. #ifndef __RTL8712_GP_REGDEF_H__
  27. #define __RTL8712_GP_REGDEF_H__
  28. #define PSTIMER (RTL8712_GP_ + 0x00)
  29. #define TIMER1 (RTL8712_GP_ + 0x04)
  30. #define TIMER2 (RTL8712_GP_ + 0x08)
  31. #define GPIO_CTRL (RTL8712_GP_ + 0x0C)
  32. #define GPIO_IO_SEL (RTL8712_GP_ + 0x0E)
  33. #define GPIO_INTCTRL (RTL8712_GP_ + 0x10)
  34. #define MAC_PINMUX_CTRL (RTL8712_GP_ + 0x11)
  35. #define LEDCFG (RTL8712_GP_ + 0x12)
  36. #define PHY_REG_RPT (RTL8712_GP_ + 0x13)
  37. #define PHY_REG_DATA (RTL8712_GP_ + 0x14)
  38. #endif /*__RTL8712_GP_REGDEF_H__ */