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

Go to the source code of this file.

Macros

#define VERSATILE_BOOT_ROM_LO   0x30000000 /* DoC Base (64Mb)...*/
 
#define VERSATILE_BOOT_ROM_HI   0x30000000
 
#define VERSATILE_BOOT_ROM_BASE   VERSATILE_BOOT_ROM_HI /* Normal position */
 
#define VERSATILE_BOOT_ROM_SIZE   SZ_64M
 
#define VERSATILE_SSRAM_BASE   /* VERSATILE_SSMC_BASE ? */
 
#define VERSATILE_SSRAM_SIZE   SZ_2M
 
#define VERSATILE_FLASH_BASE   0x34000000
 
#define VERSATILE_FLASH_SIZE   SZ_64M
 
#define VERSATILE_SDRAM_BASE   0x00000000
 
#define VERSATILE_SYS_ID_OFFSET   0x00
 
#define VERSATILE_SYS_SW_OFFSET   0x04
 
#define VERSATILE_SYS_LED_OFFSET   0x08
 
#define VERSATILE_SYS_OSC0_OFFSET   0x0C
 
#define VERSATILE_SYS_OSCCLCD_OFFSET   0x1c
 
#define VERSATILE_SYS_LOCK_OFFSET   0x20
 
#define VERSATILE_SYS_100HZ_OFFSET   0x24
 
#define VERSATILE_SYS_CFGDATA1_OFFSET   0x28
 
#define VERSATILE_SYS_CFGDATA2_OFFSET   0x2C
 
#define VERSATILE_SYS_FLAGS_OFFSET   0x30
 
#define VERSATILE_SYS_FLAGSSET_OFFSET   0x30
 
#define VERSATILE_SYS_FLAGSCLR_OFFSET   0x34
 
#define VERSATILE_SYS_NVFLAGS_OFFSET   0x38
 
#define VERSATILE_SYS_NVFLAGSSET_OFFSET   0x38
 
#define VERSATILE_SYS_NVFLAGSCLR_OFFSET   0x3C
 
#define VERSATILE_SYS_RESETCTL_OFFSET   0x40
 
#define VERSATILE_SYS_PCICTL_OFFSET   0x44
 
#define VERSATILE_SYS_MCI_OFFSET   0x48
 
#define VERSATILE_SYS_FLASH_OFFSET   0x4C
 
#define VERSATILE_SYS_CLCD_OFFSET   0x50
 
#define VERSATILE_SYS_CLCDSER_OFFSET   0x54
 
#define VERSATILE_SYS_BOOTCS_OFFSET   0x58
 
#define VERSATILE_SYS_24MHz_OFFSET   0x5C
 
#define VERSATILE_SYS_MISC_OFFSET   0x60
 
#define VERSATILE_SYS_TEST_OSC0_OFFSET   0x80
 
#define VERSATILE_SYS_TEST_OSC1_OFFSET   0x84
 
#define VERSATILE_SYS_TEST_OSC2_OFFSET   0x88
 
#define VERSATILE_SYS_TEST_OSC3_OFFSET   0x8C
 
#define VERSATILE_SYS_TEST_OSC4_OFFSET   0x90
 
#define VERSATILE_SYS_BASE   0x10000000
 
#define VERSATILE_SYS_ID   (VERSATILE_SYS_BASE + VERSATILE_SYS_ID_OFFSET)
 
#define VERSATILE_SYS_SW   (VERSATILE_SYS_BASE + VERSATILE_SYS_SW_OFFSET)
 
#define VERSATILE_SYS_LED   (VERSATILE_SYS_BASE + VERSATILE_SYS_LED_OFFSET)
 
#define VERSATILE_SYS_OSC0   (VERSATILE_SYS_BASE + VERSATILE_SYS_OSC0_OFFSET)
 
#define VERSATILE_SYS_OSC1   (VERSATILE_SYS_BASE + VERSATILE_SYS_OSC1_OFFSET)
 
#define VERSATILE_SYS_LOCK   (VERSATILE_SYS_BASE + VERSATILE_SYS_LOCK_OFFSET)
 
#define VERSATILE_SYS_100HZ   (VERSATILE_SYS_BASE + VERSATILE_SYS_100HZ_OFFSET)
 
#define VERSATILE_SYS_CFGDATA1   (VERSATILE_SYS_BASE + VERSATILE_SYS_CFGDATA1_OFFSET)
 
#define VERSATILE_SYS_CFGDATA2   (VERSATILE_SYS_BASE + VERSATILE_SYS_CFGDATA2_OFFSET)
 
#define VERSATILE_SYS_FLAGS   (VERSATILE_SYS_BASE + VERSATILE_SYS_FLAGS_OFFSET)
 
#define VERSATILE_SYS_FLAGSSET   (VERSATILE_SYS_BASE + VERSATILE_SYS_FLAGSSET_OFFSET)
 
#define VERSATILE_SYS_FLAGSCLR   (VERSATILE_SYS_BASE + VERSATILE_SYS_FLAGSCLR_OFFSET)
 
#define VERSATILE_SYS_NVFLAGS   (VERSATILE_SYS_BASE + VERSATILE_SYS_NVFLAGS_OFFSET)
 
#define VERSATILE_SYS_NVFLAGSSET   (VERSATILE_SYS_BASE + VERSATILE_SYS_NVFLAGSSET_OFFSET)
 
#define VERSATILE_SYS_NVFLAGSCLR   (VERSATILE_SYS_BASE + VERSATILE_SYS_NVFLAGSCLR_OFFSET)
 
#define VERSATILE_SYS_RESETCTL   (VERSATILE_SYS_BASE + VERSATILE_SYS_RESETCTL_OFFSET)
 
#define VERSATILE_SYS_PCICTL   (VERSATILE_SYS_BASE + VERSATILE_SYS_PCICTL_OFFSET)
 
#define VERSATILE_SYS_MCI   (VERSATILE_SYS_BASE + VERSATILE_SYS_MCI_OFFSET)
 
#define VERSATILE_SYS_FLASH   (VERSATILE_SYS_BASE + VERSATILE_SYS_FLASH_OFFSET)
 
#define VERSATILE_SYS_CLCD   (VERSATILE_SYS_BASE + VERSATILE_SYS_CLCD_OFFSET)
 
#define VERSATILE_SYS_CLCDSER   (VERSATILE_SYS_BASE + VERSATILE_SYS_CLCDSER_OFFSET)
 
#define VERSATILE_SYS_BOOTCS   (VERSATILE_SYS_BASE + VERSATILE_SYS_BOOTCS_OFFSET)
 
#define VERSATILE_SYS_24MHz   (VERSATILE_SYS_BASE + VERSATILE_SYS_24MHz_OFFSET)
 
#define VERSATILE_SYS_MISC   (VERSATILE_SYS_BASE + VERSATILE_SYS_MISC_OFFSET)
 
#define VERSATILE_SYS_TEST_OSC0   (VERSATILE_SYS_BASE + VERSATILE_SYS_TEST_OSC0_OFFSET)
 
#define VERSATILE_SYS_TEST_OSC1   (VERSATILE_SYS_BASE + VERSATILE_SYS_TEST_OSC1_OFFSET)
 
#define VERSATILE_SYS_TEST_OSC2   (VERSATILE_SYS_BASE + VERSATILE_SYS_TEST_OSC2_OFFSET)
 
#define VERSATILE_SYS_TEST_OSC3   (VERSATILE_SYS_BASE + VERSATILE_SYS_TEST_OSC3_OFFSET)
 
#define VERSATILE_SYS_TEST_OSC4   (VERSATILE_SYS_BASE + VERSATILE_SYS_TEST_OSC4_OFFSET)
 
#define VERSATILE_SYS_CTRL_RESET_CONFIGCLR   0x01
 
#define VERSATILE_SYS_CTRL_RESET_CONFIGINIT   0x02
 
#define VERSATILE_SYS_CTRL_RESET_DLLRESET   0x03
 
#define VERSATILE_SYS_CTRL_RESET_PLLRESET   0x04
 
#define VERSATILE_SYS_CTRL_RESET_POR   0x05
 
#define VERSATILE_SYS_CTRL_RESET_DoC   0x06
 
#define VERSATILE_SYS_CTRL_LED   (1 << 0)
 
#define VERSATILE_SYS_LOCK_LOCKED   (1 << 16)
 
#define VERSATILE_SYS_LOCKVAL_MASK   0xFFFF /* write 0xA05F to enable write access */
 
#define VERSATILE_FLASHPROG_FLVPPEN   (1 << 0) /* Enable writing to flash */
 
#define VERSATILE_INTREG_WPROT   0x00 /* MMC protection status (no interrupt generated) */
 
#define VERSATILE_INTREG_RI0   0x01 /* Ring indicator UART0 is asserted, */
 
#define VERSATILE_INTREG_CARDIN   0x08 /* MMCI card in detect */
 
#define VERSATILE_INTREG_RI1   0x02 /* Ring indicator UART1 is asserted, */
 
#define VERSATILE_INTREG_CARDINSERT   0x03 /* Signal insertion of MMC card */
 
#define VERSATILE_PCI_CORE_BASE   0x10001000 /* PCI core control */
 
#define VERSATILE_I2C_BASE   0x10002000 /* I2C control */
 
#define VERSATILE_SIC_BASE   0x10003000 /* Secondary interrupt controller */
 
#define VERSATILE_AACI_BASE   0x10004000 /* Audio */
 
#define VERSATILE_MMCI0_BASE   0x10005000 /* MMC interface */
 
#define VERSATILE_KMI0_BASE   0x10006000 /* KMI interface */
 
#define VERSATILE_KMI1_BASE   0x10007000 /* KMI 2nd interface */
 
#define VERSATILE_CHAR_LCD_BASE   0x10008000 /* Character LCD */
 
#define VERSATILE_UART3_BASE   0x10009000 /* UART 3 */
 
#define VERSATILE_SCI1_BASE   0x1000A000
 
#define VERSATILE_MMCI1_BASE   0x1000B000 /* MMC Interface */
 
#define VERSATILE_ETH_BASE   0x10010000 /* Ethernet */
 
#define VERSATILE_USB_BASE   0x10020000 /* USB */
 
#define VERSATILE_SMC_BASE   0x10100000 /* SMC */
 
#define VERSATILE_MPMC_BASE   0x10110000 /* MPMC */
 
#define VERSATILE_CLCD_BASE   0x10120000 /* CLCD */
 
#define VERSATILE_DMAC_BASE   0x10130000 /* DMA controller */
 
#define VERSATILE_VIC_BASE   0x10140000 /* Vectored interrupt controller */
 
#define VERSATILE_PERIPH_BASE   0x10150000 /* off-chip peripherals alias from */
 
#define VERSATILE_AHBM_BASE   0x101D0000 /* AHB monitor */
 
#define VERSATILE_SCTL_BASE   0x101E0000 /* System controller */
 
#define VERSATILE_WATCHDOG_BASE   0x101E1000 /* Watchdog */
 
#define VERSATILE_TIMER0_1_BASE   0x101E2000 /* Timer 0 and 1 */
 
#define VERSATILE_TIMER2_3_BASE   0x101E3000 /* Timer 2 and 3 */
 
#define VERSATILE_GPIO0_BASE   0x101E4000 /* GPIO port 0 */
 
#define VERSATILE_GPIO1_BASE   0x101E5000 /* GPIO port 1 */
 
#define VERSATILE_GPIO2_BASE   0x101E6000 /* GPIO port 2 */
 
#define VERSATILE_GPIO3_BASE   0x101E7000 /* GPIO port 3 */
 
#define VERSATILE_RTC_BASE   0x101E8000 /* Real Time Clock */
 
#define VERSATILE_SCI_BASE   0x101F0000 /* Smart card controller */
 
#define VERSATILE_UART0_BASE   0x101F1000 /* Uart 0 */
 
#define VERSATILE_UART1_BASE   0x101F2000 /* Uart 1 */
 
#define VERSATILE_UART2_BASE   0x101F3000 /* Uart 2 */
 
#define VERSATILE_SSP_BASE   0x101F4000 /* Synchronous Serial Port */
 
#define VERSATILE_SSMC_BASE   0x20000000 /* SSMC */
 
#define VERSATILE_IB2_BASE   0x24000000 /* IB2 module */
 
#define VERSATILE_MBX_BASE   0x40000000 /* MBX */
 
#define VERSATILE_PCI_BASE   0x41000000 /* PCI Interface */
 
#define VERSATILE_PCI_CFG_BASE   0x42000000
 
#define VERSATILE_PCI_MEM_BASE0   0x44000000
 
#define VERSATILE_PCI_MEM_BASE1   0x50000000
 
#define VERSATILE_PCI_MEM_BASE2   0x60000000
 
#define VERSATILE_PCI_BASE_SIZE   0x01000000
 
#define VERSATILE_PCI_CFG_BASE_SIZE   0x02000000
 
#define VERSATILE_PCI_MEM_BASE0_SIZE   0x0c000000 /* 32Mb */
 
#define VERSATILE_PCI_MEM_BASE1_SIZE   0x10000000 /* 256Mb */
 
#define VERSATILE_PCI_MEM_BASE2_SIZE   0x10000000 /* 256Mb */
 
#define VERSATILE_SDRAM67_BASE   0x70000000 /* SDRAM banks 6 and 7 */
 
#define VERSATILE_LT_BASE   0x80000000 /* Logic Tile expansion */
 
#define VERSATILE_DOC_BASE   0x2C000000
 
#define VERSATILE_DOC_SIZE   (16 << 20)
 
#define VERSATILE_DOC_PAGE_SIZE   512
 
#define VERSATILE_DOC_TOTAL_PAGES   (DOC_SIZE / PAGE_SIZE)
 
#define ERASE_UNIT_PAGES   32
 
#define START_PAGE   0x80
 
#define VERSATILE_SYS_LED0   (1 << 0)
 
#define VERSATILE_SYS_LED1   (1 << 1)
 
#define VERSATILE_SYS_LED2   (1 << 2)
 
#define VERSATILE_SYS_LED3   (1 << 3)
 
#define VERSATILE_SYS_LED4   (1 << 4)
 
#define VERSATILE_SYS_LED5   (1 << 5)
 
#define VERSATILE_SYS_LED6   (1 << 6)
 
#define VERSATILE_SYS_LED7   (1 << 7)
 
#define ALL_LEDS   0xFF
 
#define LED_BANK   VERSATILE_SYS_LED
 
#define VERSATILE_IDFIELD_OFFSET   0x0 /* Versatile build information */
 
#define VERSATILE_FLASHPROG_OFFSET   0x4 /* Flash devices */
 
#define VERSATILE_INTREG_OFFSET   0x8 /* Interrupt control */
 
#define VERSATILE_DECODE_OFFSET   0xC /* Fitted logic modules */
 
#define SIC_IRQ_STATUS   0
 
#define SIC_IRQ_RAW_STATUS   0x04
 
#define SIC_IRQ_ENABLE   0x08
 
#define SIC_IRQ_ENABLE_SET   0x08
 
#define SIC_IRQ_ENABLE_CLEAR   0x0C
 
#define SIC_INT_SOFT_SET   0x10
 
#define SIC_INT_SOFT_CLEAR   0x14
 
#define SIC_INT_PIC_ENABLE   0x20 /* read status of pass through mask */
 
#define SIC_INT_PIC_ENABLES   0x20 /* set interrupt pass through bits */
 
#define SIC_INT_PIC_ENABLEC   0x24 /* Clear interrupt pass through bits */
 
#define INT_WDOGINT   0 /* Watchdog timer */
 
#define INT_SOFTINT   1 /* Software interrupt */
 
#define INT_COMMRx   2 /* Debug Comm Rx interrupt */
 
#define INT_COMMTx   3 /* Debug Comm Tx interrupt */
 
#define INT_TIMERINT0_1   4 /* Timer 0 and 1 */
 
#define INT_TIMERINT2_3   5 /* Timer 2 and 3 */
 
#define INT_GPIOINT0   6 /* GPIO 0 */
 
#define INT_GPIOINT1   7 /* GPIO 1 */
 
#define INT_GPIOINT2   8 /* GPIO 2 */
 
#define INT_GPIOINT3   9 /* GPIO 3 */
 
#define INT_RTCINT   10 /* Real Time Clock */
 
#define INT_SSPINT   11 /* Synchronous Serial Port */
 
#define INT_UARTINT0   12 /* UART 0 on development chip */
 
#define INT_UARTINT1   13 /* UART 1 on development chip */
 
#define INT_UARTINT2   14 /* UART 2 on development chip */
 
#define INT_SCIINT   15 /* Smart Card Interface */
 
#define INT_CLCDINT   16 /* CLCD controller */
 
#define INT_DMAINT   17 /* DMA controller */
 
#define INT_PWRFAILINT   18 /* Power failure */
 
#define INT_MBXINT   19 /* Graphics processor */
 
#define INT_GNDINT   20 /* Reserved */
 
#define INT_VICSOURCE21   21 /* Disk on Chip */
 
#define INT_VICSOURCE22   22 /* MCI0A */
 
#define INT_VICSOURCE23   23 /* MCI1A */
 
#define INT_VICSOURCE24   24 /* AACI */
 
#define INT_VICSOURCE25   25 /* Ethernet */
 
#define INT_VICSOURCE26   26 /* USB */
 
#define INT_VICSOURCE27   27 /* PCI 0 */
 
#define INT_VICSOURCE28   28 /* PCI 1 */
 
#define INT_VICSOURCE29   29 /* PCI 2 */
 
#define INT_VICSOURCE30   30 /* PCI 3 */
 
#define INT_VICSOURCE31   31 /* SIC source */
 
#define VERSATILE_SC_VALID_INT   0x003FFFFF
 
#define MAXIRQNUM   31
 
#define MAXFIQNUM   31
 
#define MAXSWINUM   31
 
#define SIC_INT_MMCI0B   1 /* Multimedia Card 0B */
 
#define SIC_INT_MMCI1B   2 /* Multimedia Card 1B */
 
#define SIC_INT_KMI0   3 /* Keyboard/Mouse port 0 */
 
#define SIC_INT_KMI1   4 /* Keyboard/Mouse port 1 */
 
#define SIC_INT_SCI3   5 /* Smart Card interface */
 
#define SIC_INT_UART3   6 /* UART 3 empty or data available */
 
#define SIC_INT_CLCD   7 /* Character LCD */
 
#define SIC_INT_TOUCH   8 /* Touchscreen */
 
#define SIC_INT_KEYPAD   9 /* Key pressed on display keypad */
 
#define SIC_INT_DoC   21 /* Disk on Chip memory controller */
 
#define SIC_INT_MMCI0A   22 /* MMC 0A */
 
#define SIC_INT_MMCI1A   23 /* MMC 1A */
 
#define SIC_INT_AACI   24 /* Audio Codec */
 
#define SIC_INT_ETH   25 /* Ethernet controller */
 
#define SIC_INT_USB   26 /* USB controller */
 
#define SIC_INT_PCI0   27
 
#define SIC_INT_PCI1   28
 
#define SIC_INT_PCI2   29
 
#define SIC_INT_PCI3   30
 
#define VERSATILE_REFCLK   0
 
#define VERSATILE_TIMCLK   1
 
#define VERSATILE_TIMER1_EnSel   15
 
#define VERSATILE_TIMER2_EnSel   17
 
#define VERSATILE_TIMER3_EnSel   19
 
#define VERSATILE_TIMER4_EnSel   21
 
#define VERSATILE_CSR_BASE   0x10000000
 
#define VERSATILE_CSR_SIZE   0x10000000
 

Macro Definition Documentation

#define ALL_LEDS   0xFF

Definition at line 270 of file platform.h.

#define ERASE_UNIT_PAGES   32

Definition at line 255 of file platform.h.

#define INT_CLCDINT   16 /* CLCD controller */

Definition at line 332 of file platform.h.

#define INT_COMMRx   2 /* Debug Comm Rx interrupt */

Definition at line 318 of file platform.h.

#define INT_COMMTx   3 /* Debug Comm Tx interrupt */

Definition at line 319 of file platform.h.

#define INT_DMAINT   17 /* DMA controller */

Definition at line 333 of file platform.h.

#define INT_GNDINT   20 /* Reserved */

Definition at line 336 of file platform.h.

#define INT_GPIOINT0   6 /* GPIO 0 */

Definition at line 322 of file platform.h.

#define INT_GPIOINT1   7 /* GPIO 1 */

Definition at line 323 of file platform.h.

#define INT_GPIOINT2   8 /* GPIO 2 */

Definition at line 324 of file platform.h.

#define INT_GPIOINT3   9 /* GPIO 3 */

Definition at line 325 of file platform.h.

#define INT_MBXINT   19 /* Graphics processor */

Definition at line 335 of file platform.h.

#define INT_PWRFAILINT   18 /* Power failure */

Definition at line 334 of file platform.h.

#define INT_RTCINT   10 /* Real Time Clock */

Definition at line 326 of file platform.h.

#define INT_SCIINT   15 /* Smart Card Interface */

Definition at line 331 of file platform.h.

#define INT_SOFTINT   1 /* Software interrupt */

Definition at line 317 of file platform.h.

#define INT_SSPINT   11 /* Synchronous Serial Port */

Definition at line 327 of file platform.h.

#define INT_TIMERINT0_1   4 /* Timer 0 and 1 */

Definition at line 320 of file platform.h.

#define INT_TIMERINT2_3   5 /* Timer 2 and 3 */

Definition at line 321 of file platform.h.

#define INT_UARTINT0   12 /* UART 0 on development chip */

Definition at line 328 of file platform.h.

#define INT_UARTINT1   13 /* UART 1 on development chip */

Definition at line 329 of file platform.h.

#define INT_UARTINT2   14 /* UART 2 on development chip */

Definition at line 330 of file platform.h.

#define INT_VICSOURCE21   21 /* Disk on Chip */

Definition at line 338 of file platform.h.

#define INT_VICSOURCE22   22 /* MCI0A */

Definition at line 339 of file platform.h.

#define INT_VICSOURCE23   23 /* MCI1A */

Definition at line 340 of file platform.h.

#define INT_VICSOURCE24   24 /* AACI */

Definition at line 341 of file platform.h.

#define INT_VICSOURCE25   25 /* Ethernet */

Definition at line 342 of file platform.h.

#define INT_VICSOURCE26   26 /* USB */

Definition at line 343 of file platform.h.

#define INT_VICSOURCE27   27 /* PCI 0 */

Definition at line 344 of file platform.h.

#define INT_VICSOURCE28   28 /* PCI 1 */

Definition at line 345 of file platform.h.

#define INT_VICSOURCE29   29 /* PCI 2 */

Definition at line 346 of file platform.h.

#define INT_VICSOURCE30   30 /* PCI 3 */

Definition at line 347 of file platform.h.

#define INT_VICSOURCE31   31 /* SIC source */

Definition at line 348 of file platform.h.

#define INT_WDOGINT   0 /* Watchdog timer */

Definition at line 316 of file platform.h.

#define LED_BANK   VERSATILE_SYS_LED

Definition at line 272 of file platform.h.

#define MAXFIQNUM   31

Definition at line 353 of file platform.h.

#define MAXIRQNUM   31

Definition at line 352 of file platform.h.

#define MAXSWINUM   31

Definition at line 354 of file platform.h.

#define SIC_INT_AACI   24 /* Audio Codec */

Definition at line 373 of file platform.h.

#define SIC_INT_CLCD   7 /* Character LCD */

Definition at line 366 of file platform.h.

#define SIC_INT_DoC   21 /* Disk on Chip memory controller */

Definition at line 370 of file platform.h.

#define SIC_INT_ETH   25 /* Ethernet controller */

Definition at line 374 of file platform.h.

#define SIC_INT_KEYPAD   9 /* Key pressed on display keypad */

Definition at line 368 of file platform.h.

#define SIC_INT_KMI0   3 /* Keyboard/Mouse port 0 */

Definition at line 362 of file platform.h.

#define SIC_INT_KMI1   4 /* Keyboard/Mouse port 1 */

Definition at line 363 of file platform.h.

#define SIC_INT_MMCI0A   22 /* MMC 0A */

Definition at line 371 of file platform.h.

#define SIC_INT_MMCI0B   1 /* Multimedia Card 0B */

Definition at line 360 of file platform.h.

#define SIC_INT_MMCI1A   23 /* MMC 1A */

Definition at line 372 of file platform.h.

#define SIC_INT_MMCI1B   2 /* Multimedia Card 1B */

Definition at line 361 of file platform.h.

#define SIC_INT_PCI0   27

Definition at line 376 of file platform.h.

#define SIC_INT_PCI1   28

Definition at line 377 of file platform.h.

#define SIC_INT_PCI2   29

Definition at line 378 of file platform.h.

#define SIC_INT_PCI3   30

Definition at line 379 of file platform.h.

#define SIC_INT_PIC_ENABLE   0x20 /* read status of pass through mask */

Definition at line 307 of file platform.h.

#define SIC_INT_PIC_ENABLEC   0x24 /* Clear interrupt pass through bits */

Definition at line 309 of file platform.h.

#define SIC_INT_PIC_ENABLES   0x20 /* set interrupt pass through bits */

Definition at line 308 of file platform.h.

#define SIC_INT_SCI3   5 /* Smart Card interface */

Definition at line 364 of file platform.h.

#define SIC_INT_SOFT_CLEAR   0x14

Definition at line 306 of file platform.h.

#define SIC_INT_SOFT_SET   0x10

Definition at line 305 of file platform.h.

#define SIC_INT_TOUCH   8 /* Touchscreen */

Definition at line 367 of file platform.h.

#define SIC_INT_UART3   6 /* UART 3 empty or data available */

Definition at line 365 of file platform.h.

#define SIC_INT_USB   26 /* USB controller */

Definition at line 375 of file platform.h.

#define SIC_IRQ_ENABLE   0x08

Definition at line 302 of file platform.h.

#define SIC_IRQ_ENABLE_CLEAR   0x0C

Definition at line 304 of file platform.h.

#define SIC_IRQ_ENABLE_SET   0x08

Definition at line 303 of file platform.h.

#define SIC_IRQ_RAW_STATUS   0x04

Definition at line 301 of file platform.h.

#define SIC_IRQ_STATUS   0

Definition at line 300 of file platform.h.

#define START_PAGE   0x80

Definition at line 256 of file platform.h.

#define VERSATILE_AACI_BASE   0x10004000 /* Audio */

Definition at line 191 of file platform.h.

#define VERSATILE_AHBM_BASE   0x101D0000 /* AHB monitor */

Definition at line 210 of file platform.h.

#define VERSATILE_BOOT_ROM_BASE   VERSATILE_BOOT_ROM_HI /* Normal position */

Definition at line 29 of file platform.h.

#define VERSATILE_BOOT_ROM_HI   0x30000000

Definition at line 28 of file platform.h.

#define VERSATILE_BOOT_ROM_LO   0x30000000 /* DoC Base (64Mb)...*/

Definition at line 27 of file platform.h.

#define VERSATILE_BOOT_ROM_SIZE   SZ_64M

Definition at line 30 of file platform.h.

#define VERSATILE_CHAR_LCD_BASE   0x10008000 /* Character LCD */

Definition at line 195 of file platform.h.

#define VERSATILE_CLCD_BASE   0x10120000 /* CLCD */

Definition at line 205 of file platform.h.

#define VERSATILE_CSR_BASE   0x10000000

Definition at line 394 of file platform.h.

#define VERSATILE_CSR_SIZE   0x10000000

Definition at line 395 of file platform.h.

#define VERSATILE_DECODE_OFFSET   0xC /* Fitted logic modules */

Definition at line 280 of file platform.h.

#define VERSATILE_DMAC_BASE   0x10130000 /* DMA controller */

Definition at line 206 of file platform.h.

#define VERSATILE_DOC_BASE   0x2C000000

Definition at line 250 of file platform.h.

#define VERSATILE_DOC_PAGE_SIZE   512

Definition at line 252 of file platform.h.

#define VERSATILE_DOC_SIZE   (16 << 20)

Definition at line 251 of file platform.h.

#define VERSATILE_DOC_TOTAL_PAGES   (DOC_SIZE / PAGE_SIZE)

Definition at line 253 of file platform.h.

#define VERSATILE_ETH_BASE   0x10010000 /* Ethernet */

Definition at line 200 of file platform.h.

#define VERSATILE_FLASH_BASE   0x34000000

Definition at line 35 of file platform.h.

#define VERSATILE_FLASH_SIZE   SZ_64M

Definition at line 36 of file platform.h.

#define VERSATILE_FLASHPROG_FLVPPEN   (1 << 0) /* Enable writing to flash */

Definition at line 172 of file platform.h.

#define VERSATILE_FLASHPROG_OFFSET   0x4 /* Flash devices */

Definition at line 278 of file platform.h.

#define VERSATILE_GPIO0_BASE   0x101E4000 /* GPIO port 0 */

Definition at line 215 of file platform.h.

#define VERSATILE_GPIO1_BASE   0x101E5000 /* GPIO port 1 */

Definition at line 216 of file platform.h.

#define VERSATILE_GPIO2_BASE   0x101E6000 /* GPIO port 2 */

Definition at line 217 of file platform.h.

#define VERSATILE_GPIO3_BASE   0x101E7000 /* GPIO port 3 */

Definition at line 218 of file platform.h.

#define VERSATILE_I2C_BASE   0x10002000 /* I2C control */

Definition at line 189 of file platform.h.

#define VERSATILE_IB2_BASE   0x24000000 /* IB2 module */

Definition at line 228 of file platform.h.

#define VERSATILE_IDFIELD_OFFSET   0x0 /* Versatile build information */

Definition at line 277 of file platform.h.

#define VERSATILE_INTREG_CARDIN   0x08 /* MMCI card in detect */

Definition at line 180 of file platform.h.

#define VERSATILE_INTREG_CARDINSERT   0x03 /* Signal insertion of MMC card */

Definition at line 183 of file platform.h.

#define VERSATILE_INTREG_OFFSET   0x8 /* Interrupt control */

Definition at line 279 of file platform.h.

#define VERSATILE_INTREG_RI0   0x01 /* Ring indicator UART0 is asserted, */

Definition at line 179 of file platform.h.

#define VERSATILE_INTREG_RI1   0x02 /* Ring indicator UART1 is asserted, */

Definition at line 182 of file platform.h.

#define VERSATILE_INTREG_WPROT   0x00 /* MMC protection status (no interrupt generated) */

Definition at line 178 of file platform.h.

#define VERSATILE_KMI0_BASE   0x10006000 /* KMI interface */

Definition at line 193 of file platform.h.

#define VERSATILE_KMI1_BASE   0x10007000 /* KMI 2nd interface */

Definition at line 194 of file platform.h.

#define VERSATILE_LT_BASE   0x80000000 /* Logic Tile expansion */

Definition at line 245 of file platform.h.

#define VERSATILE_MBX_BASE   0x40000000 /* MBX */

Definition at line 229 of file platform.h.

#define VERSATILE_MMCI0_BASE   0x10005000 /* MMC interface */

Definition at line 192 of file platform.h.

#define VERSATILE_MMCI1_BASE   0x1000B000 /* MMC Interface */

Definition at line 198 of file platform.h.

#define VERSATILE_MPMC_BASE   0x10110000 /* MPMC */

Definition at line 204 of file platform.h.

#define VERSATILE_PCI_BASE   0x41000000 /* PCI Interface */

Definition at line 232 of file platform.h.

#define VERSATILE_PCI_BASE_SIZE   0x01000000

Definition at line 238 of file platform.h.

#define VERSATILE_PCI_CFG_BASE   0x42000000

Definition at line 233 of file platform.h.

#define VERSATILE_PCI_CFG_BASE_SIZE   0x02000000

Definition at line 239 of file platform.h.

#define VERSATILE_PCI_CORE_BASE   0x10001000 /* PCI core control */

Definition at line 188 of file platform.h.

#define VERSATILE_PCI_MEM_BASE0   0x44000000

Definition at line 234 of file platform.h.

#define VERSATILE_PCI_MEM_BASE0_SIZE   0x0c000000 /* 32Mb */

Definition at line 240 of file platform.h.

#define VERSATILE_PCI_MEM_BASE1   0x50000000

Definition at line 235 of file platform.h.

#define VERSATILE_PCI_MEM_BASE1_SIZE   0x10000000 /* 256Mb */

Definition at line 241 of file platform.h.

#define VERSATILE_PCI_MEM_BASE2   0x60000000

Definition at line 236 of file platform.h.

#define VERSATILE_PCI_MEM_BASE2_SIZE   0x10000000 /* 256Mb */

Definition at line 242 of file platform.h.

#define VERSATILE_PERIPH_BASE   0x10150000 /* off-chip peripherals alias from */

Definition at line 208 of file platform.h.

#define VERSATILE_REFCLK   0

Definition at line 385 of file platform.h.

#define VERSATILE_RTC_BASE   0x101E8000 /* Real Time Clock */

Definition at line 219 of file platform.h.

#define VERSATILE_SC_VALID_INT   0x003FFFFF

Definition at line 350 of file platform.h.

#define VERSATILE_SCI1_BASE   0x1000A000

Definition at line 197 of file platform.h.

#define VERSATILE_SCI_BASE   0x101F0000 /* Smart card controller */

Definition at line 221 of file platform.h.

#define VERSATILE_SCTL_BASE   0x101E0000 /* System controller */

Definition at line 211 of file platform.h.

#define VERSATILE_SDRAM67_BASE   0x70000000 /* SDRAM banks 6 and 7 */

Definition at line 244 of file platform.h.

#define VERSATILE_SDRAM_BASE   0x00000000

Definition at line 41 of file platform.h.

#define VERSATILE_SIC_BASE   0x10003000 /* Secondary interrupt controller */

Definition at line 190 of file platform.h.

#define VERSATILE_SMC_BASE   0x10100000 /* SMC */

Definition at line 203 of file platform.h.

#define VERSATILE_SSMC_BASE   0x20000000 /* SSMC */

Definition at line 227 of file platform.h.

#define VERSATILE_SSP_BASE   0x101F4000 /* Synchronous Serial Port */

Definition at line 225 of file platform.h.

#define VERSATILE_SSRAM_BASE   /* VERSATILE_SSMC_BASE ? */

Definition at line 32 of file platform.h.

#define VERSATILE_SSRAM_SIZE   SZ_2M

Definition at line 33 of file platform.h.

#define VERSATILE_SYS_100HZ   (VERSATILE_SYS_BASE + VERSATILE_SYS_100HZ_OFFSET)

Definition at line 109 of file platform.h.

#define VERSATILE_SYS_100HZ_OFFSET   0x24

Definition at line 71 of file platform.h.

#define VERSATILE_SYS_24MHz   (VERSATILE_SYS_BASE + VERSATILE_SYS_24MHz_OFFSET)

Definition at line 125 of file platform.h.

#define VERSATILE_SYS_24MHz_OFFSET   0x5C

Definition at line 87 of file platform.h.

#define VERSATILE_SYS_BASE   0x10000000

Definition at line 95 of file platform.h.

#define VERSATILE_SYS_BOOTCS   (VERSATILE_SYS_BASE + VERSATILE_SYS_BOOTCS_OFFSET)

Definition at line 124 of file platform.h.

#define VERSATILE_SYS_BOOTCS_OFFSET   0x58

Definition at line 86 of file platform.h.

#define VERSATILE_SYS_CFGDATA1   (VERSATILE_SYS_BASE + VERSATILE_SYS_CFGDATA1_OFFSET)

Definition at line 110 of file platform.h.

#define VERSATILE_SYS_CFGDATA1_OFFSET   0x28

Definition at line 72 of file platform.h.

#define VERSATILE_SYS_CFGDATA2   (VERSATILE_SYS_BASE + VERSATILE_SYS_CFGDATA2_OFFSET)

Definition at line 111 of file platform.h.

#define VERSATILE_SYS_CFGDATA2_OFFSET   0x2C

Definition at line 73 of file platform.h.

#define VERSATILE_SYS_CLCD   (VERSATILE_SYS_BASE + VERSATILE_SYS_CLCD_OFFSET)

Definition at line 122 of file platform.h.

#define VERSATILE_SYS_CLCD_OFFSET   0x50

Definition at line 84 of file platform.h.

#define VERSATILE_SYS_CLCDSER   (VERSATILE_SYS_BASE + VERSATILE_SYS_CLCDSER_OFFSET)

Definition at line 123 of file platform.h.

#define VERSATILE_SYS_CLCDSER_OFFSET   0x54

Definition at line 85 of file platform.h.

#define VERSATILE_SYS_CTRL_LED   (1 << 0)

Definition at line 143 of file platform.h.

#define VERSATILE_SYS_CTRL_RESET_CONFIGCLR   0x01

Definition at line 136 of file platform.h.

#define VERSATILE_SYS_CTRL_RESET_CONFIGINIT   0x02

Definition at line 137 of file platform.h.

#define VERSATILE_SYS_CTRL_RESET_DLLRESET   0x03

Definition at line 138 of file platform.h.

#define VERSATILE_SYS_CTRL_RESET_DoC   0x06

Definition at line 141 of file platform.h.

#define VERSATILE_SYS_CTRL_RESET_PLLRESET   0x04

Definition at line 139 of file platform.h.

#define VERSATILE_SYS_CTRL_RESET_POR   0x05

Definition at line 140 of file platform.h.

#define VERSATILE_SYS_FLAGS   (VERSATILE_SYS_BASE + VERSATILE_SYS_FLAGS_OFFSET)

Definition at line 112 of file platform.h.

#define VERSATILE_SYS_FLAGS_OFFSET   0x30

Definition at line 74 of file platform.h.

#define VERSATILE_SYS_FLAGSCLR   (VERSATILE_SYS_BASE + VERSATILE_SYS_FLAGSCLR_OFFSET)

Definition at line 114 of file platform.h.

#define VERSATILE_SYS_FLAGSCLR_OFFSET   0x34

Definition at line 76 of file platform.h.

#define VERSATILE_SYS_FLAGSSET   (VERSATILE_SYS_BASE + VERSATILE_SYS_FLAGSSET_OFFSET)

Definition at line 113 of file platform.h.

#define VERSATILE_SYS_FLAGSSET_OFFSET   0x30

Definition at line 75 of file platform.h.

#define VERSATILE_SYS_FLASH   (VERSATILE_SYS_BASE + VERSATILE_SYS_FLASH_OFFSET)

Definition at line 121 of file platform.h.

#define VERSATILE_SYS_FLASH_OFFSET   0x4C

Definition at line 83 of file platform.h.

#define VERSATILE_SYS_ID   (VERSATILE_SYS_BASE + VERSATILE_SYS_ID_OFFSET)

Definition at line 96 of file platform.h.

#define VERSATILE_SYS_ID_OFFSET   0x00

Definition at line 54 of file platform.h.

#define VERSATILE_SYS_LED   (VERSATILE_SYS_BASE + VERSATILE_SYS_LED_OFFSET)

Definition at line 98 of file platform.h.

#define VERSATILE_SYS_LED0   (1 << 0)

Definition at line 261 of file platform.h.

#define VERSATILE_SYS_LED1   (1 << 1)

Definition at line 262 of file platform.h.

#define VERSATILE_SYS_LED2   (1 << 2)

Definition at line 263 of file platform.h.

#define VERSATILE_SYS_LED3   (1 << 3)

Definition at line 264 of file platform.h.

#define VERSATILE_SYS_LED4   (1 << 4)

Definition at line 265 of file platform.h.

#define VERSATILE_SYS_LED5   (1 << 5)

Definition at line 266 of file platform.h.

#define VERSATILE_SYS_LED6   (1 << 6)

Definition at line 267 of file platform.h.

#define VERSATILE_SYS_LED7   (1 << 7)

Definition at line 268 of file platform.h.

#define VERSATILE_SYS_LED_OFFSET   0x08

Definition at line 56 of file platform.h.

#define VERSATILE_SYS_LOCK   (VERSATILE_SYS_BASE + VERSATILE_SYS_LOCK_OFFSET)

Definition at line 108 of file platform.h.

#define VERSATILE_SYS_LOCK_LOCKED   (1 << 16)

Definition at line 166 of file platform.h.

#define VERSATILE_SYS_LOCK_OFFSET   0x20

Definition at line 70 of file platform.h.

#define VERSATILE_SYS_LOCKVAL_MASK   0xFFFF /* write 0xA05F to enable write access */

Definition at line 167 of file platform.h.

#define VERSATILE_SYS_MCI   (VERSATILE_SYS_BASE + VERSATILE_SYS_MCI_OFFSET)

Definition at line 120 of file platform.h.

#define VERSATILE_SYS_MCI_OFFSET   0x48

Definition at line 82 of file platform.h.

#define VERSATILE_SYS_MISC   (VERSATILE_SYS_BASE + VERSATILE_SYS_MISC_OFFSET)

Definition at line 126 of file platform.h.

#define VERSATILE_SYS_MISC_OFFSET   0x60

Definition at line 88 of file platform.h.

#define VERSATILE_SYS_NVFLAGS   (VERSATILE_SYS_BASE + VERSATILE_SYS_NVFLAGS_OFFSET)

Definition at line 115 of file platform.h.

#define VERSATILE_SYS_NVFLAGS_OFFSET   0x38

Definition at line 77 of file platform.h.

#define VERSATILE_SYS_NVFLAGSCLR   (VERSATILE_SYS_BASE + VERSATILE_SYS_NVFLAGSCLR_OFFSET)

Definition at line 117 of file platform.h.

#define VERSATILE_SYS_NVFLAGSCLR_OFFSET   0x3C

Definition at line 79 of file platform.h.

#define VERSATILE_SYS_NVFLAGSSET   (VERSATILE_SYS_BASE + VERSATILE_SYS_NVFLAGSSET_OFFSET)

Definition at line 116 of file platform.h.

#define VERSATILE_SYS_NVFLAGSSET_OFFSET   0x38

Definition at line 78 of file platform.h.

#define VERSATILE_SYS_OSC0   (VERSATILE_SYS_BASE + VERSATILE_SYS_OSC0_OFFSET)

Definition at line 99 of file platform.h.

#define VERSATILE_SYS_OSC0_OFFSET   0x0C

Definition at line 57 of file platform.h.

#define VERSATILE_SYS_OSC1   (VERSATILE_SYS_BASE + VERSATILE_SYS_OSC1_OFFSET)

Definition at line 100 of file platform.h.

#define VERSATILE_SYS_OSCCLCD_OFFSET   0x1c

Definition at line 68 of file platform.h.

#define VERSATILE_SYS_PCICTL   (VERSATILE_SYS_BASE + VERSATILE_SYS_PCICTL_OFFSET)

Definition at line 119 of file platform.h.

#define VERSATILE_SYS_PCICTL_OFFSET   0x44

Definition at line 81 of file platform.h.

#define VERSATILE_SYS_RESETCTL   (VERSATILE_SYS_BASE + VERSATILE_SYS_RESETCTL_OFFSET)

Definition at line 118 of file platform.h.

#define VERSATILE_SYS_RESETCTL_OFFSET   0x40

Definition at line 80 of file platform.h.

#define VERSATILE_SYS_SW   (VERSATILE_SYS_BASE + VERSATILE_SYS_SW_OFFSET)

Definition at line 97 of file platform.h.

#define VERSATILE_SYS_SW_OFFSET   0x04

Definition at line 55 of file platform.h.

#define VERSATILE_SYS_TEST_OSC0   (VERSATILE_SYS_BASE + VERSATILE_SYS_TEST_OSC0_OFFSET)

Definition at line 127 of file platform.h.

#define VERSATILE_SYS_TEST_OSC0_OFFSET   0x80

Definition at line 89 of file platform.h.

#define VERSATILE_SYS_TEST_OSC1   (VERSATILE_SYS_BASE + VERSATILE_SYS_TEST_OSC1_OFFSET)

Definition at line 128 of file platform.h.

#define VERSATILE_SYS_TEST_OSC1_OFFSET   0x84

Definition at line 90 of file platform.h.

#define VERSATILE_SYS_TEST_OSC2   (VERSATILE_SYS_BASE + VERSATILE_SYS_TEST_OSC2_OFFSET)

Definition at line 129 of file platform.h.

#define VERSATILE_SYS_TEST_OSC2_OFFSET   0x88

Definition at line 91 of file platform.h.

#define VERSATILE_SYS_TEST_OSC3   (VERSATILE_SYS_BASE + VERSATILE_SYS_TEST_OSC3_OFFSET)

Definition at line 130 of file platform.h.

#define VERSATILE_SYS_TEST_OSC3_OFFSET   0x8C

Definition at line 92 of file platform.h.

#define VERSATILE_SYS_TEST_OSC4   (VERSATILE_SYS_BASE + VERSATILE_SYS_TEST_OSC4_OFFSET)

Definition at line 131 of file platform.h.

#define VERSATILE_SYS_TEST_OSC4_OFFSET   0x90

Definition at line 93 of file platform.h.

#define VERSATILE_TIMCLK   1

Definition at line 386 of file platform.h.

#define VERSATILE_TIMER0_1_BASE   0x101E2000 /* Timer 0 and 1 */

Definition at line 213 of file platform.h.

#define VERSATILE_TIMER1_EnSel   15

Definition at line 388 of file platform.h.

#define VERSATILE_TIMER2_3_BASE   0x101E3000 /* Timer 2 and 3 */

Definition at line 214 of file platform.h.

#define VERSATILE_TIMER2_EnSel   17

Definition at line 389 of file platform.h.

#define VERSATILE_TIMER3_EnSel   19

Definition at line 390 of file platform.h.

#define VERSATILE_TIMER4_EnSel   21

Definition at line 391 of file platform.h.

#define VERSATILE_UART0_BASE   0x101F1000 /* Uart 0 */

Definition at line 222 of file platform.h.

#define VERSATILE_UART1_BASE   0x101F2000 /* Uart 1 */

Definition at line 223 of file platform.h.

#define VERSATILE_UART2_BASE   0x101F3000 /* Uart 2 */

Definition at line 224 of file platform.h.

#define VERSATILE_UART3_BASE   0x10009000 /* UART 3 */

Definition at line 196 of file platform.h.

#define VERSATILE_USB_BASE   0x10020000 /* USB */

Definition at line 201 of file platform.h.

#define VERSATILE_VIC_BASE   0x10140000 /* Vectored interrupt controller */

Definition at line 207 of file platform.h.

#define VERSATILE_WATCHDOG_BASE   0x101E1000 /* Watchdog */

Definition at line 212 of file platform.h.