0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef _INCLUDE_TREO_H_
0015 #define _INCLUDE_TREO_H_
0016
0017
0018 #define GPIO_NR_TREO_POWER_DETECT 0
0019 #define GPIO_NR_TREO_AMP_EN 27
0020 #define GPIO_NR_TREO_GREEN_LED 20
0021 #define GPIO_NR_TREO_RED_LED 79
0022 #define GPIO_NR_TREO_SD_DETECT_N 113
0023 #define GPIO_NR_TREO_EP_DETECT_N 116
0024 #define GPIO_NR_TREO_USB_DETECT 1
0025 #define GPIO_NR_TREO_USB_PULLUP 114
0026 #define GPIO_NR_TREO_GSM_POWER 40
0027 #define GPIO_NR_TREO_GSM_RESET 87
0028 #define GPIO_NR_TREO_GSM_WAKE 57
0029 #define GPIO_NR_TREO_GSM_HOST_WAKE 14
0030 #define GPIO_NR_TREO_GSM_TRIGGER 10
0031 #define GPIO_NR_TREO_IR_EN 115
0032 #define GPIO_NR_TREO_IR_TXD 47
0033 #define GPIO_NR_TREO_BL_POWER 38
0034 #define GPIO_NR_TREO_LCD_POWER 25
0035
0036
0037 #define GPIO_NR_TREO680_SD_READONLY 33
0038 #define GPIO_NR_TREO680_SD_POWER 42
0039 #define GPIO_NR_TREO680_VIBRATE_EN 44
0040 #define GPIO_NR_TREO680_KEYB_BL 24
0041 #define GPIO_NR_TREO680_BT_EN 43
0042 #define GPIO_NR_TREO680_LCD_POWER 77
0043 #define GPIO_NR_TREO680_LCD_EN 86
0044 #define GPIO_NR_TREO680_LCD_EN_N 25
0045
0046
0047 #define GPIO_NR_CENTRO_SD_POWER 21
0048 #define GPIO_NR_CENTRO_VIBRATE_EN 22
0049 #define GPIO_NR_CENTRO_KEYB_BL 33
0050 #define GPIO_NR_CENTRO_BT_EN 80
0051
0052
0053 #define TREO_PHYS_RAM_START 0xa0000000
0054 #define TREO_PHYS_IO_START 0x40000000
0055 #define TREO_STR_BASE 0xa2000000
0056
0057
0058 #define TREO_MAX_INTENSITY 254
0059 #define TREO_DEFAULT_INTENSITY 160
0060 #define TREO_LIMIT_MASK 0x7F
0061 #define TREO_PRESCALER 63
0062 #define TREO_PERIOD_NS 3500
0063
0064 #endif