diff options
Diffstat (limited to 'arch/arm/mach-ep93xx/include/mach/hardware.h')
-rw-r--r-- | arch/arm/mach-ep93xx/include/mach/hardware.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/arch/arm/mach-ep93xx/include/mach/hardware.h b/arch/arm/mach-ep93xx/include/mach/hardware.h index 2866297310b7..349fa7cb72d5 100644 --- a/arch/arm/mach-ep93xx/include/mach/hardware.h +++ b/arch/arm/mach-ep93xx/include/mach/hardware.h | |||
@@ -4,12 +4,23 @@ | |||
4 | #ifndef __ASM_ARCH_HARDWARE_H | 4 | #ifndef __ASM_ARCH_HARDWARE_H |
5 | #define __ASM_ARCH_HARDWARE_H | 5 | #define __ASM_ARCH_HARDWARE_H |
6 | 6 | ||
7 | #include "ep93xx-regs.h" | 7 | #include <mach/ep93xx-regs.h> |
8 | #include <mach/platform.h> | ||
8 | 9 | ||
9 | #define pcibios_assign_all_busses() 0 | 10 | #define pcibios_assign_all_busses() 0 |
10 | 11 | ||
11 | #include "platform.h" | 12 | /* |
13 | * The EP93xx has two external crystal oscillators. To generate the | ||
14 | * required high-frequency clocks, the processor uses two phase-locked- | ||
15 | * loops (PLLs) to multiply the incoming external clock signal to much | ||
16 | * higher frequencies that are then divided down by programmable dividers | ||
17 | * to produce the needed clocks. The PLLs operate independently of one | ||
18 | * another. | ||
19 | */ | ||
20 | #define EP93XX_EXT_CLK_RATE 14745600 | ||
21 | #define EP93XX_EXT_RTC_RATE 32768 | ||
12 | 22 | ||
13 | #include "ts72xx.h" | 23 | #define EP93XX_KEYTCHCLK_DIV4 (EP93XX_EXT_CLK_RATE / 4) |
24 | #define EP93XX_KEYTCHCLK_DIV16 (EP93XX_EXT_CLK_RATE / 16) | ||
14 | 25 | ||
15 | #endif | 26 | #endif |