1 
   2 #ifndef _INCLUDE_SHANNON_H
   3 #define _INCLUDE_SHANNON_H
   4 
   5 
   6 
   7 
   8 #define SHANNON_GPIO_SPI_FLASH          GPIO_GPIO (0)   
   9 #define SHANNON_GPIO_SPI_DSP            GPIO_GPIO (1)   
  10 
  11 #define SHANNON_GPIO_SPI_OUTPUT         GPIO_GPIO (10)  
  12 #define SHANNON_GPIO_SPI_INPUT          GPIO_GPIO (11)  
  13 #define SHANNON_GPIO_SPI_CLOCK          GPIO_GPIO (12)  
  14 #define SHANNON_GPIO_SPI_FRAME          GPIO_GPIO (13)  
  15 #define SHANNON_GPIO_SPI_RTS            GPIO_GPIO (14)  
  16 #define SHANNON_IRQ_GPIO_SPI_RTS        IRQ_GPIO14
  17 #define SHANNON_GPIO_SPI_CTS            GPIO_GPIO (15)  
  18 #define SHANNON_GPIO_IRQ_CODEC          GPIO_GPIO (16)  
  19 #define SHANNON_IRQ_GPIO_IRQ_CODEC      IRQ_GPIO16
  20 #define SHANNON_GPIO_DSP_RESET          GPIO_GPIO (17)  
  21 #define SHANNON_GPIO_CODEC_RESET        GPIO_GPIO (18)  
  22 #define SHANNON_GPIO_U3_RTS             GPIO_GPIO (19)  
  23 #define SHANNON_GPIO_U3_CTS             GPIO_GPIO (20)  
  24 #define SHANNON_GPIO_SENSE_12V          GPIO_GPIO (21)  
  25 #define SHANNON_GPIO_DISP_EN            22              
  26 
  27 #define SHANNON_GPIO_EJECT_0            24              
  28 #define SHANNON_GPIO_EJECT_1            25              
  29 #define SHANNON_GPIO_RDY_0              26              
  30 #define SHANNON_GPIO_RDY_1              27              
  31 
  32 
  33 
  34 #define SHANNON_UCB_GPIO_BACKLIGHT      9
  35 #define SHANNON_UCB_GPIO_BRIGHT_MASK    7
  36 #define SHANNON_UCB_GPIO_BRIGHT         6
  37 #define SHANNON_UCB_GPIO_CONTRAST_MASK  0x3f
  38 #define SHANNON_UCB_GPIO_CONTRAST       0
  39 
  40 #endif