home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-sh / harp / harp.h next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  1.2 KB  |  44 lines

  1. /* 
  2.  * Copyright (C) 2001 David J. Mckay (david.mckay@st.com)
  3.  *
  4.  * May be copied or modified under the terms of the GNU General Public
  5.  * License.  See linux/COPYING for more information.                            
  6.  *
  7.  * Defintions applicable to the STMicroelectronics ST40STB1 HARP and
  8.  * compatible boards.
  9.  */
  10.  
  11. #if defined(CONFIG_SH_STB1_HARP)
  12.  
  13. #define EPLD_BASE     0xa0800000
  14.  
  15. #define EPLD_LED      (EPLD_BASE+0x000c0000)
  16. #define EPLD_INTSTAT0 (EPLD_BASE+0x00200000)
  17. #define EPLD_INTSTAT1 (EPLD_BASE+0x00240000)
  18. #define EPLD_INTMASK0 (EPLD_BASE+0x00280000)
  19. #define EPLD_INTMASK1 (EPLD_BASE+0x002c0000)
  20. #define EPLD_PAGEADDR (EPLD_BASE+0x00300000)
  21. #define EPLD_REVID1   (EPLD_BASE+0x00380000)
  22. #define EPLD_REVID2   (EPLD_BASE+0x003c0000)
  23.  
  24. #define EPLD_LED_ON  1
  25. #define EPLD_LED_OFF 0
  26.  
  27. #elif defined(CONFIG_SH_STB1_OVERDRIVE)
  28.  
  29. #define EPLD_BASE     0xa7000000
  30.  
  31. #define EPLD_REVID    (EPLD_BASE+0x00000000)
  32. #define EPLD_LED      (EPLD_BASE+0x00040000)
  33. #define EPLD_INTMASK0 (EPLD_BASE+0x001c0000)
  34. #define EPLD_INTMASK1 (EPLD_BASE+0x00200000)
  35. #define EPLD_INTSTAT0 (EPLD_BASE+0x00240000)
  36. #define EPLD_INTSTAT1 (EPLD_BASE+0x00280000)
  37.  
  38. #define EPLD_LED_ON  0
  39. #define EPLD_LED_OFF 1
  40.  
  41. #else
  42. #error Unknown board
  43. #endif
  44.