Go to the documentation of this file.
26 #ifndef __ASM_ARCH_OMAP_AMS_DELTA_H
27 #define __ASM_ARCH_OMAP_AMS_DELTA_H
29 #if defined (CONFIG_MACH_AMS_DELTA)
31 #define AMD_DELTA_LATCH2_SCARD_RSTIN 0x0400
32 #define AMD_DELTA_LATCH2_SCARD_CMDVCC 0x0800
33 #define AMS_DELTA_LATCH2_MODEM_CODEC 0x2000
35 #define AMS_DELTA_GPIO_PIN_KEYBRD_DATA 0
36 #define AMS_DELTA_GPIO_PIN_KEYBRD_CLK 1
37 #define AMS_DELTA_GPIO_PIN_MODEM_IRQ 2
38 #define AMS_DELTA_GPIO_PIN_HOOK_SWITCH 4
39 #define AMS_DELTA_GPIO_PIN_SCARD_NOFF 6
40 #define AMS_DELTA_GPIO_PIN_SCARD_IO 7
41 #define AMS_DELTA_GPIO_PIN_CONFIG 11
42 #define AMS_DELTA_GPIO_PIN_NAND_RB 12
44 #define AMS_DELTA_GPIO_PIN_LCD_VBLEN 240
45 #define AMS_DELTA_GPIO_PIN_LCD_NDISP 241
46 #define AMS_DELTA_GPIO_PIN_NAND_NCE 242
47 #define AMS_DELTA_GPIO_PIN_NAND_NRE 243
48 #define AMS_DELTA_GPIO_PIN_NAND_NWP 244
49 #define AMS_DELTA_GPIO_PIN_NAND_NWE 245
50 #define AMS_DELTA_GPIO_PIN_NAND_ALE 246
51 #define AMS_DELTA_GPIO_PIN_NAND_CLE 247
52 #define AMS_DELTA_GPIO_PIN_KEYBRD_PWR 248
53 #define AMS_DELTA_GPIO_PIN_KEYBRD_DATAOUT 249
54 #define AMS_DELTA_GPIO_PIN_SCARD_RSTIN 250
55 #define AMS_DELTA_GPIO_PIN_SCARD_CMDVCC 251
56 #define AMS_DELTA_GPIO_PIN_MODEM_NRESET 252
57 #define AMS_DELTA_GPIO_PIN_MODEM_CODEC 253
59 #define AMS_DELTA_LATCH2_GPIO_BASE AMS_DELTA_GPIO_PIN_LCD_VBLEN
60 #define AMS_DELTA_LATCH2_NGPIO 16
64 #define ams_delta_latch2_write(mask, value) \
65 ams_delta_latch_write(AMS_DELTA_LATCH2_GPIO_BASE, \
66 AMS_DELTA_LATCH2_NGPIO, (mask), (value))