Linux Kernel
3.7.1
|
Go to the source code of this file.
#define DECLARE_MSM_IOMAP |
Definition at line 43 of file board-trout.h.
#define MSM_EBI_BASE 0x10000000 |
Definition at line 12 of file board-trout.h.
#define MSM_EBI_SIZE 0x06e00000 |
Definition at line 13 of file board-trout.h.
#define MSM_FB_BASE 0x03800000 |
Definition at line 27 of file board-trout.h.
#define MSM_FB_SIZE 0x00100000 |
Definition at line 28 of file board-trout.h.
#define MSM_LINUX_BASE MSM_EBI_BASE |
Definition at line 30 of file board-trout.h.
#define MSM_LINUX_SIZE 0x06500000 |
Definition at line 31 of file board-trout.h.
#define MSM_PMEM_ADSP_BASE 0x02800000 |
Definition at line 21 of file board-trout.h.
#define MSM_PMEM_ADSP_SIZE 0x00800000 |
Definition at line 22 of file board-trout.h.
#define MSM_PMEM_CAMERA_BASE 0x03000000 |
Definition at line 24 of file board-trout.h.
#define MSM_PMEM_CAMERA_SIZE 0x00800000 |
Definition at line 25 of file board-trout.h.
#define MSM_PMEM_GPU0_BASE 0x00000000 |
Definition at line 15 of file board-trout.h.
#define MSM_PMEM_GPU0_SIZE 0x00700000 |
Definition at line 16 of file board-trout.h.
#define MSM_PMEM_GPU1_BASE (MSM_RAM_CONSOLE_BASE - MSM_PMEM_GPU1_SIZE) |
Definition at line 34 of file board-trout.h.
#define MSM_PMEM_GPU1_SIZE 0x800000 |
Definition at line 33 of file board-trout.h.
#define MSM_PMEM_MDP_BASE 0x02000000 |
Definition at line 18 of file board-trout.h.
#define MSM_PMEM_MDP_SIZE 0x00800000 |
Definition at line 19 of file board-trout.h.
#define MSM_RAM_CONSOLE_BASE (MSM_EBI_BASE + 0x6d00000) |
Definition at line 36 of file board-trout.h.
#define MSM_RAM_CONSOLE_SIZE (128 * SZ_1K) |
Definition at line 37 of file board-trout.h.
#define MSM_SMI_BASE 0x00000000 |
Definition at line 9 of file board-trout.h.
#define MSM_SMI_SIZE 0x00800000 |
Definition at line 10 of file board-trout.h.
#define TROUT_4_BALL_DOWN_0 57 |
Definition at line 48 of file board-trout.h.
#define TROUT_4_BALL_LEFT_0 18 |
Definition at line 47 of file board-trout.h.
#define TROUT_4_BALL_RIGHT_0 91 |
Definition at line 49 of file board-trout.h.
#define TROUT_4_BALL_UP_0 1 |
Definition at line 46 of file board-trout.h.
#define TROUT_4_TP_LS_EN 19 |
Definition at line 58 of file board-trout.h.
#define TROUT_5_BALL_DOWN_0 90 |
Definition at line 53 of file board-trout.h.
#define TROUT_5_BALL_LEFT_0 18 |
Definition at line 52 of file board-trout.h.
#define TROUT_5_BALL_RIGHT_0 19 |
Definition at line 54 of file board-trout.h.
#define TROUT_5_BALL_UP_0 94 |
Definition at line 51 of file board-trout.h.
#define TROUT_5_TP_LS_EN 1 |
Definition at line 59 of file board-trout.h.
#define TROUT_BANK_TO_MASK_REG | ( | bank | ) | (bank ? TROUT_GPIO_INT_MASK1_REG : TROUT_GPIO_INT_MASK0_REG) |
Definition at line 157 of file board-trout.h.
#define TROUT_BANK_TO_STAT_REG | ( | bank | ) | (bank ? TROUT_GPIO_INT_STAT1_REG : TROUT_GPIO_INT_STAT0_REG) |
Definition at line 159 of file board-trout.h.
#define TROUT_CPLD_BASE 0xE8100000 |
Definition at line 61 of file board-trout.h.
#define TROUT_CPLD_SIZE SZ_4K |
Definition at line 63 of file board-trout.h.
#define TROUT_CPLD_START 0x98000000 |
Definition at line 62 of file board-trout.h.
#define TROUT_GPIO_AUD_HSMIC_DET_N (TROUT_GPIO_INT2_BASE + 3) |
Definition at line 122 of file board-trout.h.
#define TROUT_GPIO_BANK0_FIRST_INT_SOURCE (TROUT_GPIO_NAVI_ACT_N) |
Definition at line 127 of file board-trout.h.
#define TROUT_GPIO_BANK0_LAST_INT_SOURCE (TROUT_GPIO_TP_ATT_N) |
Definition at line 128 of file board-trout.h.
#define TROUT_GPIO_BANK1_FIRST_INT_SOURCE (TROUT_GPIO_SDMC_CD_N) |
Definition at line 139 of file board-trout.h.
#define TROUT_GPIO_BANK1_LAST_INT_SOURCE (TROUT_GPIO_SDMC_CD_N) |
Definition at line 140 of file board-trout.h.
#define TROUT_GPIO_BT_32K_EN (TROUT_GPIO_MISC5_BASE + 0) |
Definition at line 114 of file board-trout.h.
#define TROUT_GPIO_CABLE_IN1 (83) |
Definition at line 65 of file board-trout.h.
#define TROUT_GPIO_CABLE_IN2 (49) |
Definition at line 66 of file board-trout.h.
#define TROUT_GPIO_CAM_BTN_STEP1_N (TROUT_GPIO_INT2_BASE + 5) |
Definition at line 124 of file board-trout.h.
#define TROUT_GPIO_CAM_BTN_STEP2_N (TROUT_GPIO_INT2_BASE + 6) |
Definition at line 125 of file board-trout.h.
#define TROUT_GPIO_CHARGER_EN (TROUT_GPIO_MISC2_BASE + 0) |
Definition at line 87 of file board-trout.h.
#define TROUT_GPIO_COMPASS_32K_EN (TROUT_GPIO_MISC5_BASE + 3) |
Definition at line 117 of file board-trout.h.
#define TROUT_GPIO_COMPASS_IRQ (TROUT_GPIO_INT2_BASE + 1) |
Definition at line 120 of file board-trout.h.
#define TROUT_GPIO_COMPASS_RST_N (TROUT_GPIO_MISC4_BASE + 2) |
Definition at line 107 of file board-trout.h.
#define TROUT_GPIO_CPLD128_VER_0 (TROUT_GPIO_MISC1_BASE + 4) |
Definition at line 132 of file board-trout.h.
#define TROUT_GPIO_CPLD128_VER_1 (TROUT_GPIO_MISC1_BASE + 5) |
Definition at line 133 of file board-trout.h.
#define TROUT_GPIO_CPLD128_VER_2 (TROUT_GPIO_MISC1_BASE + 6) |
Definition at line 134 of file board-trout.h.
#define TROUT_GPIO_CPLD128_VER_3 (TROUT_GPIO_MISC1_BASE + 7) |
Definition at line 135 of file board-trout.h.
#define TROUT_GPIO_END (TROUT_GPIO_SDMC_CD_N) |
Definition at line 138 of file board-trout.h.
#define TROUT_GPIO_FLASH_EN (TROUT_GPIO_MISC3_BASE + 1) |
Definition at line 97 of file board-trout.h.
#define TROUT_GPIO_H2W_CLK_DIR (TROUT_GPIO_MISC2_BASE + 3) |
Definition at line 90 of file board-trout.h.
#define TROUT_GPIO_H2W_CLK_GPI (TROUT_GPIO_MISC1_BASE + 1) |
Definition at line 131 of file board-trout.h.
#define TROUT_GPIO_H2W_CLK_GPO (TROUT_GPIO_MISC2_BASE + 5) |
Definition at line 92 of file board-trout.h.
#define TROUT_GPIO_H2W_DAT_DIR (TROUT_GPIO_MISC2_BASE + 2) |
Definition at line 89 of file board-trout.h.
#define TROUT_GPIO_H2W_DAT_GPI (TROUT_GPIO_MISC1_BASE + 0) |
Definition at line 130 of file board-trout.h.
#define TROUT_GPIO_H2W_DAT_GPO (TROUT_GPIO_MISC2_BASE + 4) |
Definition at line 91 of file board-trout.h.
#define TROUT_GPIO_H2W_SEL0 (TROUT_GPIO_MISC2_BASE + 6) |
Definition at line 93 of file board-trout.h.
#define TROUT_GPIO_H2W_SEL1 (TROUT_GPIO_MISC2_BASE + 7) |
Definition at line 94 of file board-trout.h.
#define TROUT_GPIO_HAPTIC_EN_MAIN (TROUT_GPIO_MISC4_BASE + 4) |
Definition at line 109 of file board-trout.h.
#define TROUT_GPIO_HAPTIC_EN_UP (TROUT_GPIO_MISC4_BASE + 3) |
Definition at line 108 of file board-trout.h.
#define TROUT_GPIO_HAPTIC_PWM (28) |
Definition at line 75 of file board-trout.h.
#define TROUT_GPIO_I2C_PULL (TROUT_GPIO_MISC3_BASE + 2) |
Definition at line 98 of file board-trout.h.
#define TROUT_GPIO_INT2_BASE (TROUT_GPIO_START + 0x20) |
Definition at line 82 of file board-trout.h.
#define TROUT_GPIO_INT5_BASE (TROUT_GPIO_START + 0x48) |
Definition at line 85 of file board-trout.h.
#define TROUT_GPIO_INT_MASK0_REG (0x0c) |
Definition at line 70 of file board-trout.h.
#define TROUT_GPIO_INT_MASK1_REG (0x14) |
Definition at line 72 of file board-trout.h.
#define TROUT_GPIO_INT_STAT0_REG (0x0e) |
Definition at line 71 of file board-trout.h.
#define TROUT_GPIO_INT_STAT1_REG (0x10) |
Definition at line 73 of file board-trout.h.
#define TROUT_GPIO_ISET (TROUT_GPIO_MISC2_BASE + 1) |
Definition at line 88 of file board-trout.h.
#define TROUT_GPIO_JOG_EN (TROUT_GPIO_MISC3_BASE + 5) |
Definition at line 101 of file board-trout.h.
#define TROUT_GPIO_MAC_32K_EN (TROUT_GPIO_MISC5_BASE + 1) |
Definition at line 115 of file board-trout.h.
#define TROUT_GPIO_MDDI_32K_EN (TROUT_GPIO_MISC5_BASE + 2) |
Definition at line 116 of file board-trout.h.
#define TROUT_GPIO_MISC1_BASE (TROUT_GPIO_START + 0x28) |
Definition at line 83 of file board-trout.h.
#define TROUT_GPIO_MISC2_BASE (TROUT_GPIO_START + 0x00) |
Definition at line 78 of file board-trout.h.
#define TROUT_GPIO_MISC3_BASE (TROUT_GPIO_START + 0x08) |
Definition at line 79 of file board-trout.h.
#define TROUT_GPIO_MISC4_BASE (TROUT_GPIO_START + 0x10) |
Definition at line 80 of file board-trout.h.
#define TROUT_GPIO_MISC5_BASE (TROUT_GPIO_START + 0x18) |
Definition at line 81 of file board-trout.h.
#define TROUT_GPIO_NAVI_ACT_N (TROUT_GPIO_INT2_BASE + 0) |
Definition at line 119 of file board-trout.h.
#define TROUT_GPIO_PS_HOLD (25) |
Definition at line 76 of file board-trout.h.
#define TROUT_GPIO_QTKEY_LED_EN (TROUT_GPIO_MISC3_BASE + 7) |
Definition at line 103 of file board-trout.h.
#define TROUT_GPIO_SD_DOOR_N (TROUT_GPIO_INT2_BASE + 4) |
Definition at line 123 of file board-trout.h.
#define TROUT_GPIO_SDMC_CD_N (TROUT_GPIO_VIRTUAL_BASE + 0) |
Definition at line 137 of file board-trout.h.
#define TROUT_GPIO_SLIDING_DET (TROUT_GPIO_INT2_BASE + 2) |
Definition at line 121 of file board-trout.h.
#define TROUT_GPIO_SPOTLIGHT_EN (TROUT_GPIO_MISC3_BASE + 0) |
Definition at line 96 of file board-trout.h.
#define TROUT_GPIO_START (128) |
Definition at line 68 of file board-trout.h.
#define TROUT_GPIO_TO_INT | ( | n | ) |
Definition at line 151 of file board-trout.h.
#define TROUT_GPIO_TP_ATT_N (TROUT_GPIO_INT2_BASE + 7) |
Definition at line 126 of file board-trout.h.
#define TROUT_GPIO_TP_EN (TROUT_GPIO_MISC3_BASE + 4) |
Definition at line 100 of file board-trout.h.
#define TROUT_GPIO_TP_I2C_PULL (TROUT_GPIO_MISC3_BASE + 3) |
Definition at line 99 of file board-trout.h.
#define TROUT_GPIO_UI_LED_EN (TROUT_GPIO_MISC3_BASE + 6) |
Definition at line 102 of file board-trout.h.
#define TROUT_GPIO_USB_H2W_SW (TROUT_GPIO_MISC4_BASE + 1) |
Definition at line 106 of file board-trout.h.
#define TROUT_GPIO_USB_PHY_RST_N (TROUT_GPIO_MISC4_BASE + 5) |
Definition at line 110 of file board-trout.h.
#define TROUT_GPIO_VCM_PWDN (TROUT_GPIO_MISC4_BASE + 0) |
Definition at line 105 of file board-trout.h.
#define TROUT_GPIO_VIRTUAL_BASE (TROUT_GPIO_START + 0x30) |
Definition at line 84 of file board-trout.h.
#define TROUT_GPIO_VIRTUAL_TO_REAL_OFFSET (TROUT_GPIO_INT5_BASE - TROUT_GPIO_VIRTUAL_BASE) |
Definition at line 142 of file board-trout.h.
#define TROUT_GPIO_WIFI_EN (TROUT_GPIO_MISC4_BASE + 7) |
Definition at line 112 of file board-trout.h.
#define TROUT_GPIO_WIFI_PA_RESETX (TROUT_GPIO_MISC4_BASE + 6) |
Definition at line 111 of file board-trout.h.
#define TROUT_INT_BANK0_COUNT (8) |
Definition at line 146 of file board-trout.h.
#define TROUT_INT_BANK1_COUNT (1) |
Definition at line 148 of file board-trout.h.
#define TROUT_INT_BANK1_START (TROUT_INT_START + TROUT_INT_BANK0_COUNT) |
Definition at line 147 of file board-trout.h.
#define TROUT_INT_END |
Definition at line 149 of file board-trout.h.
#define TROUT_INT_START (NR_MSM_IRQS + NR_GPIO_IRQS) |
Definition at line 145 of file board-trout.h.
#define TROUT_INT_TO_BANK | ( | n | ) | ((n - TROUT_INT_START) / TROUT_INT_BANK0_COUNT) |
Definition at line 155 of file board-trout.h.
#define TROUT_INT_TO_MASK | ( | n | ) | (1U << ((n - TROUT_INT_START) & 7)) |
Definition at line 156 of file board-trout.h.
#define TROUT_POWER_KEY 20 |
Definition at line 56 of file board-trout.h.