diff options
| author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-03-27 14:51:40 -0400 |
|---|---|---|
| committer | Nicolas Pitre <nico@marvell.com> | 2008-03-27 14:51:40 -0400 |
| commit | da14d88e90d476b315e5e9c3e3ffa940cb670c6d (patch) | |
| tree | a9d59081bc2c84d7c56f30f73535c827a9ff14fa | |
| parent | 98f79d1ea0459b907f95846bad5e967a06b7a0d5 (diff) | |
Orion: describe physical address map
Include a table describing our physical address map in orion.h.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Reviewed-by: Tzachi Perelstein <tzachi@marvell.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
| -rw-r--r-- | include/asm-arm/arch-orion/orion.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/include/asm-arm/arch-orion/orion.h b/include/asm-arm/arch-orion/orion.h index 884f3e2717d0..95f67081bb9c 100644 --- a/include/asm-arm/arch-orion/orion.h +++ b/include/asm-arm/arch-orion/orion.h | |||
| @@ -15,13 +15,25 @@ | |||
| 15 | #define __ASM_ARCH_ORION_H__ | 15 | #define __ASM_ARCH_ORION_H__ |
| 16 | 16 | ||
| 17 | /***************************************************************************** | 17 | /***************************************************************************** |
| 18 | * Orion Address Map | 18 | * Orion Address Maps |
| 19 | * | ||
| 20 | * phys | ||
| 21 | * e0000000 PCIe MEM space | ||
| 22 | * e8000000 PCI MEM space | ||
| 23 | * f0000000 PCIe WA space (Orion-1/Orion-NAS only) | ||
| 24 | * f1000000 on-chip peripheral registers | ||
| 25 | * f2000000 PCIe I/O space | ||
| 26 | * f2100000 PCI I/O space | ||
| 27 | * f4000000 device bus mappings (boot) | ||
| 28 | * fa000000 device bus mappings (cs0) | ||
| 29 | * fa800000 device bus mappings (cs2) | ||
| 30 | * fc000000 device bus mappings (cs0/cs1) | ||
| 19 | * | 31 | * |
| 20 | * virt phys size | 32 | * virt phys size |
| 21 | * fdd00000 f1000000 1M on-chip peripheral registers | 33 | * fdd00000 f1000000 1M on-chip peripheral registers |
| 22 | * fde00000 f2000000 1M PCIe I/O space | 34 | * fde00000 f2000000 1M PCIe I/O space |
| 23 | * fdf00000 f2100000 1M PCI I/O space | 35 | * fdf00000 f2100000 1M PCI I/O space |
| 24 | * fe000000 f0000000 16M PCIe WA space (Orion-NAS only) | 36 | * fe000000 f0000000 16M PCIe WA space (Orion-1/Orion-NAS only) |
| 25 | ****************************************************************************/ | 37 | ****************************************************************************/ |
| 26 | #define ORION_REGS_PHYS_BASE 0xf1000000 | 38 | #define ORION_REGS_PHYS_BASE 0xf1000000 |
| 27 | #define ORION_REGS_VIRT_BASE 0xfdd00000 | 39 | #define ORION_REGS_VIRT_BASE 0xfdd00000 |
| @@ -37,7 +49,7 @@ | |||
| 37 | #define ORION_PCI_IO_BUS_BASE 0x00100000 | 49 | #define ORION_PCI_IO_BUS_BASE 0x00100000 |
| 38 | #define ORION_PCI_IO_SIZE SZ_1M | 50 | #define ORION_PCI_IO_SIZE SZ_1M |
| 39 | 51 | ||
| 40 | /* Relevant only for Orion-NAS */ | 52 | /* Relevant only for Orion-1/Orion-NAS */ |
| 41 | #define ORION_PCIE_WA_PHYS_BASE 0xf0000000 | 53 | #define ORION_PCIE_WA_PHYS_BASE 0xf0000000 |
| 42 | #define ORION_PCIE_WA_VIRT_BASE 0xfe000000 | 54 | #define ORION_PCIE_WA_VIRT_BASE 0xfe000000 |
| 43 | #define ORION_PCIE_WA_SIZE SZ_16M | 55 | #define ORION_PCIE_WA_SIZE SZ_16M |
