1
2
3
4
5
6 #ifndef __ASM_ARCH_EP93XX_REGS_H
7 #define __ASM_ARCH_EP93XX_REGS_H
8
9
10
11
12
13
14
15
16
17
18 #define EP93XX_AHB_PHYS_BASE 0x80000000
19 #define EP93XX_AHB_VIRT_BASE 0xfef00000
20 #define EP93XX_AHB_SIZE 0x00100000
21
22 #define EP93XX_AHB_PHYS(x) (EP93XX_AHB_PHYS_BASE + (x))
23 #define EP93XX_AHB_IOMEM(x) IOMEM(EP93XX_AHB_VIRT_BASE + (x))
24
25 #define EP93XX_APB_PHYS_BASE 0x80800000
26 #define EP93XX_APB_VIRT_BASE 0xfed00000
27 #define EP93XX_APB_SIZE 0x00200000
28
29 #define EP93XX_APB_PHYS(x) (EP93XX_APB_PHYS_BASE + (x))
30 #define EP93XX_APB_IOMEM(x) IOMEM(EP93XX_APB_VIRT_BASE + (x))
31
32
33 #define EP93XX_UART1_PHYS_BASE EP93XX_APB_PHYS(0x000c0000)
34 #define EP93XX_UART1_BASE EP93XX_APB_IOMEM(0x000c0000)
35
36 #define EP93XX_UART2_PHYS_BASE EP93XX_APB_PHYS(0x000d0000)
37 #define EP93XX_UART2_BASE EP93XX_APB_IOMEM(0x000d0000)
38
39 #define EP93XX_UART3_PHYS_BASE EP93XX_APB_PHYS(0x000e0000)
40 #define EP93XX_UART3_BASE EP93XX_APB_IOMEM(0x000e0000)
41
42 #endif