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

Go to the source code of this file.

Macros

#define ZEUS_NR_IRQS   (IRQ_BOARD_START + 48)
 
#define ZEUS_FLASH_PHYS   PXA_CS0_PHYS
 
#define ZEUS_ETH0_PHYS   PXA_CS1_PHYS
 
#define ZEUS_ETH1_PHYS   PXA_CS2_PHYS
 
#define ZEUS_CPLD_PHYS   (PXA_CS4_PHYS+0x2000000)
 
#define ZEUS_SRAM_PHYS   PXA_CS5_PHYS
 
#define ZEUS_PC104IO_PHYS   (0x30000000)
 
#define ZEUS_CPLD_VERSION_PHYS   (ZEUS_CPLD_PHYS + 0x00000000)
 
#define ZEUS_CPLD_ISA_IRQ_PHYS   (ZEUS_CPLD_PHYS + 0x00800000)
 
#define ZEUS_CPLD_CONTROL_PHYS   (ZEUS_CPLD_PHYS + 0x01000000)
 
#define ZEUS_CPLD_EXTWDOG_PHYS   (ZEUS_CPLD_PHYS + 0x01800000)
 
#define ZEUS_AC97_GPIO   0
 
#define ZEUS_WAKEUP_GPIO   1
 
#define ZEUS_UARTA_GPIO   9
 
#define ZEUS_UARTB_GPIO   10
 
#define ZEUS_UARTC_GPIO   12
 
#define ZEUS_UARTD_GPIO   11
 
#define ZEUS_ETH0_GPIO   14
 
#define ZEUS_ISA_GPIO   17
 
#define ZEUS_BKLEN_GPIO   19
 
#define ZEUS_USB2_PWREN_GPIO   22
 
#define ZEUS_PTT_GPIO   27
 
#define ZEUS_CF_CD_GPIO   35
 
#define ZEUS_MMC_WP_GPIO   52
 
#define ZEUS_MMC_CD_GPIO   53
 
#define ZEUS_EXTGPIO_GPIO   91
 
#define ZEUS_CF_PWEN_GPIO   97
 
#define ZEUS_CF_RDY_GPIO   99
 
#define ZEUS_LCD_EN_GPIO   101
 
#define ZEUS_ETH1_GPIO   113
 
#define ZEUS_CAN_GPIO   116
 
#define ZEUS_EXT0_GPIO_BASE   128
 
#define ZEUS_EXT1_GPIO_BASE   160
 
#define ZEUS_USER_GPIO_BASE   192
 
#define ZEUS_EXT0_GPIO(x)   (ZEUS_EXT0_GPIO_BASE + (x))
 
#define ZEUS_EXT1_GPIO(x)   (ZEUS_EXT1_GPIO_BASE + (x))
 
#define ZEUS_USER_GPIO(x)   (ZEUS_USER_GPIO_BASE + (x))
 
#define ZEUS_CAN_SHDN_GPIO   ZEUS_EXT1_GPIO(2)
 
#define ZEUS_CPLD   IOMEM(0xf0000000)
 
#define ZEUS_CPLD_VERSION   (ZEUS_CPLD + 0x0000)
 
#define ZEUS_CPLD_ISA_IRQ   (ZEUS_CPLD + 0x1000)
 
#define ZEUS_CPLD_CONTROL   (ZEUS_CPLD + 0x2000)
 
#define ZEUS_CPLD_CONTROL_CF_RST   0x01
 
#define ZEUS_PC104IO   IOMEM(0xf1000000)
 
#define ZEUS_SRAM_SIZE   (256 * 1024)
 

Macro Definition Documentation

#define ZEUS_AC97_GPIO   0

Definition at line 34 of file zeus.h.

#define ZEUS_BKLEN_GPIO   19

Definition at line 42 of file zeus.h.

#define ZEUS_CAN_GPIO   116

Definition at line 53 of file zeus.h.

#define ZEUS_CAN_SHDN_GPIO   ZEUS_EXT1_GPIO(2)

Definition at line 63 of file zeus.h.

#define ZEUS_CF_CD_GPIO   35

Definition at line 45 of file zeus.h.

#define ZEUS_CF_PWEN_GPIO   97

Definition at line 49 of file zeus.h.

#define ZEUS_CF_RDY_GPIO   99

Definition at line 50 of file zeus.h.

#define ZEUS_CPLD   IOMEM(0xf0000000)

Definition at line 71 of file zeus.h.

#define ZEUS_CPLD_CONTROL   (ZEUS_CPLD + 0x2000)

Definition at line 74 of file zeus.h.

#define ZEUS_CPLD_CONTROL_CF_RST   0x01

Definition at line 77 of file zeus.h.

#define ZEUS_CPLD_CONTROL_PHYS   (ZEUS_CPLD_PHYS + 0x01000000)

Definition at line 30 of file zeus.h.

#define ZEUS_CPLD_EXTWDOG_PHYS   (ZEUS_CPLD_PHYS + 0x01800000)

Definition at line 31 of file zeus.h.

#define ZEUS_CPLD_ISA_IRQ   (ZEUS_CPLD + 0x1000)

Definition at line 73 of file zeus.h.

#define ZEUS_CPLD_ISA_IRQ_PHYS   (ZEUS_CPLD_PHYS + 0x00800000)

Definition at line 29 of file zeus.h.

#define ZEUS_CPLD_PHYS   (PXA_CS4_PHYS+0x2000000)

Definition at line 24 of file zeus.h.

#define ZEUS_CPLD_VERSION   (ZEUS_CPLD + 0x0000)

Definition at line 72 of file zeus.h.

#define ZEUS_CPLD_VERSION_PHYS   (ZEUS_CPLD_PHYS + 0x00000000)

Definition at line 28 of file zeus.h.

#define ZEUS_ETH0_GPIO   14

Definition at line 40 of file zeus.h.

#define ZEUS_ETH0_PHYS   PXA_CS1_PHYS

Definition at line 22 of file zeus.h.

#define ZEUS_ETH1_GPIO   113

Definition at line 52 of file zeus.h.

#define ZEUS_ETH1_PHYS   PXA_CS2_PHYS

Definition at line 23 of file zeus.h.

#define ZEUS_EXT0_GPIO (   x)    (ZEUS_EXT0_GPIO_BASE + (x))

Definition at line 59 of file zeus.h.

#define ZEUS_EXT0_GPIO_BASE   128

Definition at line 55 of file zeus.h.

#define ZEUS_EXT1_GPIO (   x)    (ZEUS_EXT1_GPIO_BASE + (x))

Definition at line 60 of file zeus.h.

#define ZEUS_EXT1_GPIO_BASE   160

Definition at line 56 of file zeus.h.

#define ZEUS_EXTGPIO_GPIO   91

Definition at line 48 of file zeus.h.

#define ZEUS_FLASH_PHYS   PXA_CS0_PHYS

Definition at line 21 of file zeus.h.

#define ZEUS_ISA_GPIO   17

Definition at line 41 of file zeus.h.

#define ZEUS_LCD_EN_GPIO   101

Definition at line 51 of file zeus.h.

#define ZEUS_MMC_CD_GPIO   53

Definition at line 47 of file zeus.h.

#define ZEUS_MMC_WP_GPIO   52

Definition at line 46 of file zeus.h.

#define ZEUS_NR_IRQS   (IRQ_BOARD_START + 48)

Definition at line 18 of file zeus.h.

#define ZEUS_PC104IO   IOMEM(0xf1000000)

Definition at line 79 of file zeus.h.

#define ZEUS_PC104IO_PHYS   (0x30000000)

Definition at line 26 of file zeus.h.

#define ZEUS_PTT_GPIO   27

Definition at line 44 of file zeus.h.

#define ZEUS_SRAM_PHYS   PXA_CS5_PHYS

Definition at line 25 of file zeus.h.

#define ZEUS_SRAM_SIZE   (256 * 1024)

Definition at line 81 of file zeus.h.

#define ZEUS_UARTA_GPIO   9

Definition at line 36 of file zeus.h.

#define ZEUS_UARTB_GPIO   10

Definition at line 37 of file zeus.h.

#define ZEUS_UARTC_GPIO   12

Definition at line 38 of file zeus.h.

#define ZEUS_UARTD_GPIO   11

Definition at line 39 of file zeus.h.

#define ZEUS_USB2_PWREN_GPIO   22

Definition at line 43 of file zeus.h.

#define ZEUS_USER_GPIO (   x)    (ZEUS_USER_GPIO_BASE + (x))

Definition at line 61 of file zeus.h.

#define ZEUS_USER_GPIO_BASE   192

Definition at line 57 of file zeus.h.

#define ZEUS_WAKEUP_GPIO   1

Definition at line 35 of file zeus.h.