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

Go to the source code of this file.

Macros

#define KIRKWOOD_SRAM_PHYS_BASE   0xf5000000
 
#define KIRKWOOD_SRAM_SIZE   SZ_2K
 
#define KIRKWOOD_NAND_MEM_PHYS_BASE   0xf4000000
 
#define KIRKWOOD_NAND_MEM_SIZE   SZ_1K
 
#define KIRKWOOD_PCIE1_IO_PHYS_BASE   0xf3000000
 
#define KIRKWOOD_PCIE1_IO_BUS_BASE   0x00010000
 
#define KIRKWOOD_PCIE1_IO_SIZE   SZ_64K
 
#define KIRKWOOD_PCIE_IO_PHYS_BASE   0xf2000000
 
#define KIRKWOOD_PCIE_IO_BUS_BASE   0x00000000
 
#define KIRKWOOD_PCIE_IO_SIZE   SZ_64K
 
#define KIRKWOOD_REGS_PHYS_BASE   0xf1000000
 
#define KIRKWOOD_REGS_VIRT_BASE   IOMEM(0xfed00000)
 
#define KIRKWOOD_REGS_SIZE   SZ_1M
 
#define KIRKWOOD_PCIE_MEM_PHYS_BASE   0xe0000000
 
#define KIRKWOOD_PCIE_MEM_BUS_BASE   0xe0000000
 
#define KIRKWOOD_PCIE_MEM_SIZE   SZ_128M
 
#define KIRKWOOD_PCIE1_MEM_PHYS_BASE   0xe8000000
 
#define KIRKWOOD_PCIE1_MEM_BUS_BASE   0xe8000000
 
#define KIRKWOOD_PCIE1_MEM_SIZE   SZ_128M
 
#define DDR_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x00000)
 
#define DDR_WINDOW_CPU_BASE   (DDR_VIRT_BASE + 0x1500)
 
#define DDR_OPERATION_BASE   (DDR_VIRT_BASE + 0x1418)
 
#define DEV_BUS_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x10000)
 
#define DEV_BUS_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x10000)
 
#define SAMPLE_AT_RESET   (DEV_BUS_VIRT_BASE + 0x0030)
 
#define DEVICE_ID   (DEV_BUS_VIRT_BASE + 0x0034)
 
#define GPIO_LOW_VIRT_BASE   (DEV_BUS_VIRT_BASE + 0x0100)
 
#define GPIO_HIGH_VIRT_BASE   (DEV_BUS_VIRT_BASE + 0x0140)
 
#define RTC_PHYS_BASE   (DEV_BUS_PHYS_BASE + 0x0300)
 
#define SPI_PHYS_BASE   (DEV_BUS_PHYS_BASE + 0x0600)
 
#define I2C_PHYS_BASE   (DEV_BUS_PHYS_BASE + 0x1000)
 
#define UART0_PHYS_BASE   (DEV_BUS_PHYS_BASE + 0x2000)
 
#define UART0_VIRT_BASE   (DEV_BUS_VIRT_BASE + 0x2000)
 
#define UART1_PHYS_BASE   (DEV_BUS_PHYS_BASE + 0x2100)
 
#define UART1_VIRT_BASE   (DEV_BUS_VIRT_BASE + 0x2100)
 
#define BRIDGE_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x20000)
 
#define BRIDGE_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x20000)
 
#define CRYPTO_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x30000)
 
#define PCIE_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x40000)
 
#define PCIE_LINK_CTRL   (PCIE_VIRT_BASE + 0x70)
 
#define PCIE_STATUS   (PCIE_VIRT_BASE + 0x1a04)
 
#define PCIE1_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x44000)
 
#define PCIE1_LINK_CTRL   (PCIE1_VIRT_BASE + 0x70)
 
#define PCIE1_STATUS   (PCIE1_VIRT_BASE + 0x1a04)
 
#define USB_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x50000)
 
#define XOR0_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x60800)
 
#define XOR0_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x60800)
 
#define XOR1_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x60900)
 
#define XOR1_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x60900)
 
#define XOR0_HIGH_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x60A00)
 
#define XOR0_HIGH_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x60A00)
 
#define XOR1_HIGH_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x60B00)
 
#define XOR1_HIGH_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x60B00)
 
#define GE00_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x70000)
 
#define GE01_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x74000)
 
#define SATA_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x80000)
 
#define SATA_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x80000)
 
#define SATA0_IF_CTRL   (SATA_VIRT_BASE + 0x2050)
 
#define SATA0_PHY_MODE_2   (SATA_VIRT_BASE + 0x2330)
 
#define SATA1_IF_CTRL   (SATA_VIRT_BASE + 0x4050)
 
#define SATA1_PHY_MODE_2   (SATA_VIRT_BASE + 0x4330)
 
#define SDIO_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x90000)
 
#define AUDIO_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0xA0000)
 
#define AUDIO_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0xA0000)
 
#define MV88F6281_DEV_ID   0x6281
 
#define MV88F6281_REV_Z0   0
 
#define MV88F6281_REV_A0   2
 
#define MV88F6281_REV_A1   3
 
#define MV88F6192_DEV_ID   0x6192
 
#define MV88F6192_REV_Z0   0
 
#define MV88F6192_REV_A0   2
 
#define MV88F6192_REV_A1   3
 
#define MV88F6180_DEV_ID   0x6180
 
#define MV88F6180_REV_A0   2
 
#define MV88F6180_REV_A1   3
 
#define MV88F6282_DEV_ID   0x6282
 
#define MV88F6282_REV_A0   0
 
#define MV88F6282_REV_A1   1
 

Macro Definition Documentation

#define AUDIO_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0xA0000)

Definition at line 115 of file kirkwood.h.

#define AUDIO_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0xA0000)

Definition at line 116 of file kirkwood.h.

#define BRIDGE_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x20000)

Definition at line 81 of file kirkwood.h.

#define BRIDGE_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x20000)

Definition at line 80 of file kirkwood.h.

#define CRYPTO_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x30000)

Definition at line 83 of file kirkwood.h.

#define DDR_OPERATION_BASE   (DDR_VIRT_BASE + 0x1418)

Definition at line 64 of file kirkwood.h.

#define DDR_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x00000)

Definition at line 62 of file kirkwood.h.

#define DDR_WINDOW_CPU_BASE   (DDR_VIRT_BASE + 0x1500)

Definition at line 63 of file kirkwood.h.

#define DEV_BUS_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x10000)

Definition at line 66 of file kirkwood.h.

#define DEV_BUS_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x10000)

Definition at line 67 of file kirkwood.h.

#define DEVICE_ID   (DEV_BUS_VIRT_BASE + 0x0034)

Definition at line 69 of file kirkwood.h.

#define GE00_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x70000)

Definition at line 103 of file kirkwood.h.

#define GE01_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x74000)

Definition at line 104 of file kirkwood.h.

#define GPIO_HIGH_VIRT_BASE   (DEV_BUS_VIRT_BASE + 0x0140)

Definition at line 71 of file kirkwood.h.

#define GPIO_LOW_VIRT_BASE   (DEV_BUS_VIRT_BASE + 0x0100)

Definition at line 70 of file kirkwood.h.

#define I2C_PHYS_BASE   (DEV_BUS_PHYS_BASE + 0x1000)

Definition at line 74 of file kirkwood.h.

#define KIRKWOOD_NAND_MEM_PHYS_BASE   0xf4000000

Definition at line 36 of file kirkwood.h.

#define KIRKWOOD_NAND_MEM_SIZE   SZ_1K

Definition at line 37 of file kirkwood.h.

#define KIRKWOOD_PCIE1_IO_BUS_BASE   0x00010000

Definition at line 40 of file kirkwood.h.

#define KIRKWOOD_PCIE1_IO_PHYS_BASE   0xf3000000

Definition at line 39 of file kirkwood.h.

#define KIRKWOOD_PCIE1_IO_SIZE   SZ_64K

Definition at line 41 of file kirkwood.h.

#define KIRKWOOD_PCIE1_MEM_BUS_BASE   0xe8000000

Definition at line 56 of file kirkwood.h.

#define KIRKWOOD_PCIE1_MEM_PHYS_BASE   0xe8000000

Definition at line 55 of file kirkwood.h.

#define KIRKWOOD_PCIE1_MEM_SIZE   SZ_128M

Definition at line 57 of file kirkwood.h.

#define KIRKWOOD_PCIE_IO_BUS_BASE   0x00000000

Definition at line 44 of file kirkwood.h.

#define KIRKWOOD_PCIE_IO_PHYS_BASE   0xf2000000

Definition at line 43 of file kirkwood.h.

#define KIRKWOOD_PCIE_IO_SIZE   SZ_64K

Definition at line 45 of file kirkwood.h.

#define KIRKWOOD_PCIE_MEM_BUS_BASE   0xe0000000

Definition at line 52 of file kirkwood.h.

#define KIRKWOOD_PCIE_MEM_PHYS_BASE   0xe0000000

Definition at line 51 of file kirkwood.h.

#define KIRKWOOD_PCIE_MEM_SIZE   SZ_128M

Definition at line 53 of file kirkwood.h.

#define KIRKWOOD_REGS_PHYS_BASE   0xf1000000

Definition at line 47 of file kirkwood.h.

#define KIRKWOOD_REGS_SIZE   SZ_1M

Definition at line 49 of file kirkwood.h.

#define KIRKWOOD_REGS_VIRT_BASE   IOMEM(0xfed00000)

Definition at line 48 of file kirkwood.h.

#define KIRKWOOD_SRAM_PHYS_BASE   0xf5000000

Definition at line 33 of file kirkwood.h.

#define KIRKWOOD_SRAM_SIZE   SZ_2K

Definition at line 34 of file kirkwood.h.

#define MV88F6180_DEV_ID   0x6180

Definition at line 131 of file kirkwood.h.

#define MV88F6180_REV_A0   2

Definition at line 132 of file kirkwood.h.

#define MV88F6180_REV_A1   3

Definition at line 133 of file kirkwood.h.

#define MV88F6192_DEV_ID   0x6192

Definition at line 126 of file kirkwood.h.

#define MV88F6192_REV_A0   2

Definition at line 128 of file kirkwood.h.

#define MV88F6192_REV_A1   3

Definition at line 129 of file kirkwood.h.

#define MV88F6192_REV_Z0   0

Definition at line 127 of file kirkwood.h.

#define MV88F6281_DEV_ID   0x6281

Definition at line 121 of file kirkwood.h.

#define MV88F6281_REV_A0   2

Definition at line 123 of file kirkwood.h.

#define MV88F6281_REV_A1   3

Definition at line 124 of file kirkwood.h.

#define MV88F6281_REV_Z0   0

Definition at line 122 of file kirkwood.h.

#define MV88F6282_DEV_ID   0x6282

Definition at line 135 of file kirkwood.h.

#define MV88F6282_REV_A0   0

Definition at line 136 of file kirkwood.h.

#define MV88F6282_REV_A1   1

Definition at line 137 of file kirkwood.h.

#define PCIE1_LINK_CTRL   (PCIE1_VIRT_BASE + 0x70)

Definition at line 89 of file kirkwood.h.

#define PCIE1_STATUS   (PCIE1_VIRT_BASE + 0x1a04)

Definition at line 90 of file kirkwood.h.

#define PCIE1_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x44000)

Definition at line 88 of file kirkwood.h.

#define PCIE_LINK_CTRL   (PCIE_VIRT_BASE + 0x70)

Definition at line 86 of file kirkwood.h.

#define PCIE_STATUS   (PCIE_VIRT_BASE + 0x1a04)

Definition at line 87 of file kirkwood.h.

#define PCIE_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x40000)

Definition at line 85 of file kirkwood.h.

#define RTC_PHYS_BASE   (DEV_BUS_PHYS_BASE + 0x0300)

Definition at line 72 of file kirkwood.h.

#define SAMPLE_AT_RESET   (DEV_BUS_VIRT_BASE + 0x0030)

Definition at line 68 of file kirkwood.h.

#define SATA0_IF_CTRL   (SATA_VIRT_BASE + 0x2050)

Definition at line 108 of file kirkwood.h.

#define SATA0_PHY_MODE_2   (SATA_VIRT_BASE + 0x2330)

Definition at line 109 of file kirkwood.h.

#define SATA1_IF_CTRL   (SATA_VIRT_BASE + 0x4050)

Definition at line 110 of file kirkwood.h.

#define SATA1_PHY_MODE_2   (SATA_VIRT_BASE + 0x4330)

Definition at line 111 of file kirkwood.h.

#define SATA_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x80000)

Definition at line 106 of file kirkwood.h.

#define SATA_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x80000)

Definition at line 107 of file kirkwood.h.

#define SDIO_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x90000)

Definition at line 113 of file kirkwood.h.

#define SPI_PHYS_BASE   (DEV_BUS_PHYS_BASE + 0x0600)

Definition at line 73 of file kirkwood.h.

#define UART0_PHYS_BASE   (DEV_BUS_PHYS_BASE + 0x2000)

Definition at line 75 of file kirkwood.h.

#define UART0_VIRT_BASE   (DEV_BUS_VIRT_BASE + 0x2000)

Definition at line 76 of file kirkwood.h.

#define UART1_PHYS_BASE   (DEV_BUS_PHYS_BASE + 0x2100)

Definition at line 77 of file kirkwood.h.

#define UART1_VIRT_BASE   (DEV_BUS_VIRT_BASE + 0x2100)

Definition at line 78 of file kirkwood.h.

#define USB_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x50000)

Definition at line 92 of file kirkwood.h.

#define XOR0_HIGH_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x60A00)

Definition at line 98 of file kirkwood.h.

#define XOR0_HIGH_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x60A00)

Definition at line 99 of file kirkwood.h.

#define XOR0_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x60800)

Definition at line 94 of file kirkwood.h.

#define XOR0_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x60800)

Definition at line 95 of file kirkwood.h.

#define XOR1_HIGH_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x60B00)

Definition at line 100 of file kirkwood.h.

#define XOR1_HIGH_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x60B00)

Definition at line 101 of file kirkwood.h.

#define XOR1_PHYS_BASE   (KIRKWOOD_REGS_PHYS_BASE + 0x60900)

Definition at line 96 of file kirkwood.h.

#define XOR1_VIRT_BASE   (KIRKWOOD_REGS_VIRT_BASE + 0x60900)

Definition at line 97 of file kirkwood.h.