diff options
Diffstat (limited to 'arch/arm/mach-clps711x')
-rw-r--r-- | arch/arm/mach-clps711x/board-edb7211.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/include/mach/hardware.h | 7 |
2 files changed, 6 insertions, 9 deletions
diff --git a/arch/arm/mach-clps711x/board-edb7211.c b/arch/arm/mach-clps711x/board-edb7211.c index e1c5573e92cb..3ba4b9e636ae 100644 --- a/arch/arm/mach-clps711x/board-edb7211.c +++ b/arch/arm/mach-clps711x/board-edb7211.c | |||
@@ -39,9 +39,13 @@ | |||
39 | 39 | ||
40 | #define EDB7211_FLASH0_BASE (CS0_PHYS_BASE) | 40 | #define EDB7211_FLASH0_BASE (CS0_PHYS_BASE) |
41 | #define EDB7211_FLASH1_BASE (CS1_PHYS_BASE) | 41 | #define EDB7211_FLASH1_BASE (CS1_PHYS_BASE) |
42 | |||
42 | #define EDB7211_CS8900_BASE (CS2_PHYS_BASE + 0x300) | 43 | #define EDB7211_CS8900_BASE (CS2_PHYS_BASE + 0x300) |
43 | #define EDB7211_CS8900_IRQ (IRQ_EINT3) | 44 | #define EDB7211_CS8900_IRQ (IRQ_EINT3) |
44 | 45 | ||
46 | /* The extra 8 lines of the keyboard matrix */ | ||
47 | #define EDB7211_EXTKBD_BASE (CS3_PHYS_BASE) | ||
48 | |||
45 | static struct resource edb7211_cs8900_resource[] __initdata = { | 49 | static struct resource edb7211_cs8900_resource[] __initdata = { |
46 | DEFINE_RES_MEM(EDB7211_CS8900_BASE, SZ_1K), | 50 | DEFINE_RES_MEM(EDB7211_CS8900_BASE, SZ_1K), |
47 | DEFINE_RES_IRQ(EDB7211_CS8900_IRQ), | 51 | DEFINE_RES_IRQ(EDB7211_CS8900_IRQ), |
@@ -113,8 +117,8 @@ static struct gpio edb7211_gpios[] __initconst = { | |||
113 | 117 | ||
114 | static struct map_desc edb7211_io_desc[] __initdata = { | 118 | static struct map_desc edb7211_io_desc[] __initdata = { |
115 | { /* Memory-mapped extra keyboard row */ | 119 | { /* Memory-mapped extra keyboard row */ |
116 | .virtual = IO_ADDRESS(EP7211_PHYS_EXTKBD), | 120 | .virtual = IO_ADDRESS(EDB7211_EXTKBD_BASE), |
117 | .pfn = __phys_to_pfn(EP7211_PHYS_EXTKBD), | 121 | .pfn = __phys_to_pfn(EDB7211_EXTKBD_BASE), |
118 | .length = SZ_1M, | 122 | .length = SZ_1M, |
119 | .type = MT_DEVICE, | 123 | .type = MT_DEVICE, |
120 | }, | 124 | }, |
diff --git a/arch/arm/mach-clps711x/include/mach/hardware.h b/arch/arm/mach-clps711x/include/mach/hardware.h index 2f23dd5d73e4..c5a8ea6839ef 100644 --- a/arch/arm/mach-clps711x/include/mach/hardware.h +++ b/arch/arm/mach-clps711x/include/mach/hardware.h | |||
@@ -70,11 +70,4 @@ | |||
70 | #define CLPS711X_SDRAM0_BASE (0xc0000000) | 70 | #define CLPS711X_SDRAM0_BASE (0xc0000000) |
71 | #define CLPS711X_SDRAM1_BASE (0xd0000000) | 71 | #define CLPS711X_SDRAM1_BASE (0xd0000000) |
72 | 72 | ||
73 | #if defined (CONFIG_ARCH_EDB7211) | ||
74 | |||
75 | /* The extra 8 lines of the keyboard matrix are wired to chip select 3 */ | ||
76 | #define EP7211_PHYS_EXTKBD CS3_PHYS_BASE | ||
77 | |||
78 | #endif /* CONFIG_ARCH_EDB7211 */ | ||
79 | |||
80 | #endif | 73 | #endif |