Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
trizeps4.h File Reference

Go to the source code of this file.

Macros

#define TRIZEPS4_FLASH_PHYS   (PXA_CS0_PHYS) /* Flash region */
 
#define TRIZEPS4_DISK_PHYS   (PXA_CS1_PHYS) /* Disk On Chip region */
 
#define TRIZEPS4_ETH_PHYS   (PXA_CS2_PHYS) /* Ethernet DM9000 region */
 
#define TRIZEPS4_PIC_PHYS   (PXA_CS3_PHYS) /* Logic chip on ConXS-Board */
 
#define TRIZEPS4_SDRAM_BASE   0xa0000000 /* SDRAM region */
 
#define TRIZEPS4_CFSR_PHYS   (PXA_CS3_PHYS)
 
#define TRIZEPS4_BOCR_PHYS   (PXA_CS3_PHYS+0x02000000)
 
#define TRIZEPS4_IRCR_PHYS   (PXA_CS3_PHYS+0x02400000)
 
#define TRIZEPS4_UPSR_PHYS   (PXA_CS3_PHYS+0x02800000)
 
#define TRIZEPS4_DICR_PHYS   (PXA_CS3_PHYS+0x03800000)
 
#define TRIZEPS4_DISK_VIRT   0xF0000000 /* Disk On Chip region */
 
#define TRIZEPS4_PIC_VIRT   0xF0100000 /* not used */
 
#define TRIZEPS4_CFSR_VIRT   0xF0100000
 
#define TRIZEPS4_BOCR_VIRT   0xF0200000
 
#define TRIZEPS4_DICR_VIRT   0xF0300000
 
#define TRIZEPS4_IRCR_VIRT   0xF0400000
 
#define TRIZEPS4_UPSR_VIRT   0xF0500000
 
#define TRIZEPS4_FLASH_SIZE   0x02000000 /* Flash size 32 MB */
 
#define GPIO_DM9000   101
 
#define TRIZEPS4_ETH_IRQ   PXA_GPIO_TO_IRQ(GPIO_DM9000)
 
#define GPIO_UCB1400   1
 
#define TRIZEPS4_UCB1400_IRQ   PXA_GPIO_TO_IRQ(GPIO_UCB1400)
 
#define GPIO_PCD   11 /* PCMCIA Card Detect */
 
#define TRIZEPS4_CD_IRQ   PXA_GPIO_TO_IRQ(GPIO_PCD)
 
#define GPIO_PRDY   13 /* READY / nINT */
 
#define TRIZEPS4_READY_NINT   PXA_GPIO_TO_IRQ(GPIO_PRDY)
 
#define GPIO_MMC_DET   12
 
#define TRIZEPS4_MMC_IRQ   PXA_GPIO_TO_IRQ(GPIO_MMC_DET)
 
#define GPIO_DOC_LOCK   94
 
#define GPIO_DOC_IRQ   93
 
#define TRIZEPS4_DOC_IRQ   PXA_GPIO_TO_IRQ(GPIO_DOC_IRQ)
 
#define GPIO_SPI   53
 
#define TRIZEPS4_SPI_IRQ   PXA_GPIO_TO_IRQ(GPIO_SPI)
 
#define GPIO_SYS_BUSY_LED   46
 
#define GPIO_HEARTBEAT_LED   47
 
#define GPIO_PIC   0
 
#define TRIZEPS4_PIC_IRQ   PXA_GPIO_TO_IRQ(GPIO_PIC)
 
#define ConXS_CFSR_BVD_MASK   0x0003
 
#define ConXS_CFSR_BVD1   (1 << 0)
 
#define ConXS_CFSR_BVD2   (1 << 1)
 
#define ConXS_CFSR_VS_MASK   0x000C
 
#define ConXS_CFSR_VS1   (1 << 2)
 
#define ConXS_CFSR_VS2   (1 << 3)
 
#define ConXS_CFSR_VS_5V   (0x3 << 2)
 
#define ConXS_CFSR_VS_3V3   0x0
 
#define ConXS_BCR_S0_POW_EN0   (1 << 0)
 
#define ConXS_BCR_S0_POW_EN1   (1 << 1)
 
#define ConXS_BCR_L_DISP   (1 << 4)
 
#define ConXS_BCR_CF_BUF_EN   (1 << 5)
 
#define ConXS_BCR_CF_RESET   (1 << 7)
 
#define ConXS_BCR_S0_VCC_3V3   0x1
 
#define ConXS_BCR_S0_VCC_5V0   0x2
 
#define ConXS_BCR_S0_VPP_12V   0x4
 
#define ConXS_BCR_S0_VPP_3V3   0x8
 
#define ConXS_IRCR_MODE   (1 << 0)
 
#define ConXS_IRCR_SD   (1 << 1)
 

Macro Definition Documentation

#define ConXS_BCR_CF_BUF_EN   (1 << 5)

Definition at line 152 of file trizeps4.h.

#define ConXS_BCR_CF_RESET   (1 << 7)

Definition at line 153 of file trizeps4.h.

#define ConXS_BCR_L_DISP   (1 << 4)

Definition at line 151 of file trizeps4.h.

#define ConXS_BCR_S0_POW_EN0   (1 << 0)

Definition at line 149 of file trizeps4.h.

#define ConXS_BCR_S0_POW_EN1   (1 << 1)

Definition at line 150 of file trizeps4.h.

#define ConXS_BCR_S0_VCC_3V3   0x1

Definition at line 154 of file trizeps4.h.

#define ConXS_BCR_S0_VCC_5V0   0x2

Definition at line 155 of file trizeps4.h.

#define ConXS_BCR_S0_VPP_12V   0x4

Definition at line 156 of file trizeps4.h.

#define ConXS_BCR_S0_VPP_3V3   0x8

Definition at line 157 of file trizeps4.h.

#define ConXS_CFSR_BVD1   (1 << 0)

Definition at line 141 of file trizeps4.h.

#define ConXS_CFSR_BVD2   (1 << 1)

Definition at line 142 of file trizeps4.h.

#define ConXS_CFSR_BVD_MASK   0x0003

Definition at line 140 of file trizeps4.h.

#define ConXS_CFSR_VS1   (1 << 2)

Definition at line 144 of file trizeps4.h.

#define ConXS_CFSR_VS2   (1 << 3)

Definition at line 145 of file trizeps4.h.

#define ConXS_CFSR_VS_3V3   0x0

Definition at line 147 of file trizeps4.h.

#define ConXS_CFSR_VS_5V   (0x3 << 2)

Definition at line 146 of file trizeps4.h.

#define ConXS_CFSR_VS_MASK   0x000C

Definition at line 143 of file trizeps4.h.

#define ConXS_IRCR_MODE   (1 << 0)

Definition at line 159 of file trizeps4.h.

#define ConXS_IRCR_SD   (1 << 1)

Definition at line 160 of file trizeps4.h.

#define GPIO_DM9000   101

Definition at line 45 of file trizeps4.h.

#define GPIO_DOC_IRQ   93

Definition at line 64 of file trizeps4.h.

#define GPIO_DOC_LOCK   94

Definition at line 63 of file trizeps4.h.

#define GPIO_HEARTBEAT_LED   47

Definition at line 73 of file trizeps4.h.

#define GPIO_MMC_DET   12

Definition at line 59 of file trizeps4.h.

#define GPIO_PCD   11 /* PCMCIA Card Detect */

Definition at line 53 of file trizeps4.h.

#define GPIO_PIC   0

Definition at line 76 of file trizeps4.h.

#define GPIO_PRDY   13 /* READY / nINT */

Definition at line 55 of file trizeps4.h.

#define GPIO_SPI   53

Definition at line 68 of file trizeps4.h.

#define GPIO_SYS_BUSY_LED   46

Definition at line 72 of file trizeps4.h.

#define GPIO_UCB1400   1

Definition at line 49 of file trizeps4.h.

#define TRIZEPS4_BOCR_PHYS   (PXA_CS3_PHYS+0x02000000)

Definition at line 23 of file trizeps4.h.

#define TRIZEPS4_BOCR_VIRT   0xF0200000

Definition at line 36 of file trizeps4.h.

#define TRIZEPS4_CD_IRQ   PXA_GPIO_TO_IRQ(GPIO_PCD)

Definition at line 54 of file trizeps4.h.

#define TRIZEPS4_CFSR_PHYS   (PXA_CS3_PHYS)

Definition at line 21 of file trizeps4.h.

#define TRIZEPS4_CFSR_VIRT   0xF0100000

Definition at line 35 of file trizeps4.h.

#define TRIZEPS4_DICR_PHYS   (PXA_CS3_PHYS+0x03800000)

Definition at line 29 of file trizeps4.h.

#define TRIZEPS4_DICR_VIRT   0xF0300000

Definition at line 37 of file trizeps4.h.

#define TRIZEPS4_DISK_PHYS   (PXA_CS1_PHYS) /* Disk On Chip region */

Definition at line 15 of file trizeps4.h.

#define TRIZEPS4_DISK_VIRT   0xF0000000 /* Disk On Chip region */

Definition at line 32 of file trizeps4.h.

#define TRIZEPS4_DOC_IRQ   PXA_GPIO_TO_IRQ(GPIO_DOC_IRQ)

Definition at line 65 of file trizeps4.h.

#define TRIZEPS4_ETH_IRQ   PXA_GPIO_TO_IRQ(GPIO_DM9000)

Definition at line 46 of file trizeps4.h.

#define TRIZEPS4_ETH_PHYS   (PXA_CS2_PHYS) /* Ethernet DM9000 region */

Definition at line 16 of file trizeps4.h.

#define TRIZEPS4_FLASH_PHYS   (PXA_CS0_PHYS) /* Flash region */

Definition at line 14 of file trizeps4.h.

#define TRIZEPS4_FLASH_SIZE   0x02000000 /* Flash size 32 MB */

Definition at line 42 of file trizeps4.h.

#define TRIZEPS4_IRCR_PHYS   (PXA_CS3_PHYS+0x02400000)

Definition at line 25 of file trizeps4.h.

#define TRIZEPS4_IRCR_VIRT   0xF0400000

Definition at line 38 of file trizeps4.h.

#define TRIZEPS4_MMC_IRQ   PXA_GPIO_TO_IRQ(GPIO_MMC_DET)

Definition at line 60 of file trizeps4.h.

#define TRIZEPS4_PIC_IRQ   PXA_GPIO_TO_IRQ(GPIO_PIC)

Definition at line 77 of file trizeps4.h.

#define TRIZEPS4_PIC_PHYS   (PXA_CS3_PHYS) /* Logic chip on ConXS-Board */

Definition at line 17 of file trizeps4.h.

#define TRIZEPS4_PIC_VIRT   0xF0100000 /* not used */

Definition at line 34 of file trizeps4.h.

#define TRIZEPS4_READY_NINT   PXA_GPIO_TO_IRQ(GPIO_PRDY)

Definition at line 56 of file trizeps4.h.

#define TRIZEPS4_SDRAM_BASE   0xa0000000 /* SDRAM region */

Definition at line 18 of file trizeps4.h.

#define TRIZEPS4_SPI_IRQ   PXA_GPIO_TO_IRQ(GPIO_SPI)

Definition at line 69 of file trizeps4.h.

#define TRIZEPS4_UCB1400_IRQ   PXA_GPIO_TO_IRQ(GPIO_UCB1400)

Definition at line 50 of file trizeps4.h.

#define TRIZEPS4_UPSR_PHYS   (PXA_CS3_PHYS+0x02800000)

Definition at line 27 of file trizeps4.h.

#define TRIZEPS4_UPSR_VIRT   0xF0500000

Definition at line 39 of file trizeps4.h.