2 * linux/arch/arm/mach-mmp/include/mach/addr-map.h
4 * Common address map definitions
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
11 #ifndef __ASM_MACH_ADDR_MAP_H
12 #define __ASM_MACH_ADDR_MAP_H
15 #define IOMEM(x) ((void __iomem *)(x))
20 /* APB - Application Subsystem Peripheral Bus
22 * NOTE: the DMA controller registers are actually on the AXI fabric #1
23 * slave port to AHB/APB bridge, due to its close relationship to those
24 * peripherals on APB, let's count it into the ABP mapping area.
26 #define APB_PHYS_BASE 0xd4000000
27 #define APB_VIRT_BASE IOMEM(0xfe000000)
28 #define APB_PHYS_SIZE 0x00200000
30 #define AXI_PHYS_BASE 0xd4200000
31 #define AXI_VIRT_BASE IOMEM(0xfe200000)
32 #define AXI_PHYS_SIZE 0x00200000
34 /* Static Memory Controller - Chip Select 0 and 1 */
35 #define SMC_CS0_PHYS_BASE 0x80000000
36 #define SMC_CS0_PHYS_SIZE 0x10000000
37 #define SMC_CS1_PHYS_BASE 0x90000000
38 #define SMC_CS1_PHYS_SIZE 0x10000000
40 #endif /* __ASM_MACH_ADDR_MAP_H */