Linux 3.11-rc3
[cris-mirror.git] / arch / arm / mach-ep93xx / include / mach / ep93xx-regs.h
blobc64d74246602450a5116179f07e347ba004e1826
1 /*
2 * arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h
3 */
5 #ifndef __ASM_ARCH_EP93XX_REGS_H
6 #define __ASM_ARCH_EP93XX_REGS_H
8 /*
9 * EP93xx linux memory map:
11 * virt phys size
12 * fe800000 5M per-platform mappings
13 * fed00000 80800000 2M APB
14 * fef00000 80000000 1M AHB
17 #define EP93XX_AHB_PHYS_BASE 0x80000000
18 #define EP93XX_AHB_VIRT_BASE 0xfef00000
19 #define EP93XX_AHB_SIZE 0x00100000
21 #define EP93XX_AHB_PHYS(x) (EP93XX_AHB_PHYS_BASE + (x))
22 #define EP93XX_AHB_IOMEM(x) IOMEM(EP93XX_AHB_VIRT_BASE + (x))
24 #define EP93XX_APB_PHYS_BASE 0x80800000
25 #define EP93XX_APB_VIRT_BASE 0xfed00000
26 #define EP93XX_APB_SIZE 0x00200000
28 #define EP93XX_APB_PHYS(x) (EP93XX_APB_PHYS_BASE + (x))
29 #define EP93XX_APB_IOMEM(x) IOMEM(EP93XX_APB_VIRT_BASE + (x))
31 /* APB UARTs */
32 #define EP93XX_UART1_PHYS_BASE EP93XX_APB_PHYS(0x000c0000)
33 #define EP93XX_UART1_BASE EP93XX_APB_IOMEM(0x000c0000)
35 #define EP93XX_UART2_PHYS_BASE EP93XX_APB_PHYS(0x000d0000)
36 #define EP93XX_UART2_BASE EP93XX_APB_IOMEM(0x000d0000)
38 #define EP93XX_UART3_PHYS_BASE EP93XX_APB_PHYS(0x000e0000)
39 #define EP93XX_UART3_BASE EP93XX_APB_IOMEM(0x000e0000)
41 #endif