Go to the documentation of this file.
22 #ifndef __MACH_HARDWARE_H
23 #define __MACH_HARDWARE_H
27 #define CLPS711X_VIRT_BASE IOMEM(0xff000000)
30 #define clps_readb(off) readb(CLPS711X_VIRT_BASE + (off))
31 #define clps_readw(off) readw(CLPS711X_VIRT_BASE + (off))
32 #define clps_readl(off) readl(CLPS711X_VIRT_BASE + (off))
33 #define clps_writeb(val,off) writeb(val, CLPS711X_VIRT_BASE + (off))
34 #define clps_writew(val,off) writew(val, CLPS711X_VIRT_BASE + (off))
35 #define clps_writel(val,off) writel(val, CLPS711X_VIRT_BASE + (off))
44 #ifndef CONFIG_EP72XX_ROM_BOOT
45 #define CS0_PHYS_BASE (0x00000000)
46 #define CS1_PHYS_BASE (0x10000000)
47 #define CS2_PHYS_BASE (0x20000000)
48 #define CS3_PHYS_BASE (0x30000000)
49 #define CS4_PHYS_BASE (0x40000000)
50 #define CS5_PHYS_BASE (0x50000000)
51 #define CS6_PHYS_BASE (0x60000000)
52 #define CS7_PHYS_BASE (0x70000000)
54 #define CS0_PHYS_BASE (0x70000000)
55 #define CS1_PHYS_BASE (0x60000000)
56 #define CS2_PHYS_BASE (0x50000000)
57 #define CS3_PHYS_BASE (0x40000000)
58 #define CS4_PHYS_BASE (0x30000000)
59 #define CS5_PHYS_BASE (0x20000000)
60 #define CS6_PHYS_BASE (0x10000000)
61 #define CS7_PHYS_BASE (0x00000000)
64 #define SYSPLD_VIRT_BASE 0xfe000000
65 #define SYSPLD_BASE SYSPLD_VIRT_BASE
67 #if defined (CONFIG_ARCH_CDB89712)
69 #define ETHER_START 0x20000000
70 #define ETHER_SIZE 0x1000
71 #define ETHER_BASE 0xfe000000
76 #if defined (CONFIG_ARCH_EDB7211)
86 #define EP7211_PHYS_EXTKBD CS3_PHYS_BASE
88 #define EP7211_VIRT_EXTKBD (0xfd000000)
99 #define EP7211_PHYS_CS8900A CS2_PHYS_BASE
101 #define EP7211_VIRT_CS8900A (0xfc000000)
111 #define EP7211_PHYS_FLASH1 CS0_PHYS_BASE
112 #define EP7211_PHYS_FLASH2 CS1_PHYS_BASE
114 #define EP7211_VIRT_FLASH1 (0xfa000000)
115 #define EP7211_VIRT_FLASH2 (0xfb000000)
123 #define EDB_PD1_LCD_DC_DC_EN (1<<1)
124 #define EDB_PD2_LCDEN (1<<2)
125 #define EDB_PD3_LCDBL (1<<3)