diff options
Diffstat (limited to 'arch/ppc/platforms/4xx/cpci405.h')
-rw-r--r-- | arch/ppc/platforms/4xx/cpci405.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/ppc/platforms/4xx/cpci405.h b/arch/ppc/platforms/4xx/cpci405.h new file mode 100644 index 000000000000..e27f7cb650d8 --- /dev/null +++ b/arch/ppc/platforms/4xx/cpci405.h | |||
@@ -0,0 +1,37 @@ | |||
1 | /* | ||
2 | * CPCI-405 board specific definitions | ||
3 | * | ||
4 | * Copyright (c) 2001 Stefan Roese (stefan.roese@esd-electronics.com) | ||
5 | */ | ||
6 | |||
7 | #ifdef __KERNEL__ | ||
8 | #ifndef __ASM_CPCI405_H__ | ||
9 | #define __ASM_CPCI405_H__ | ||
10 | |||
11 | #include <linux/config.h> | ||
12 | |||
13 | /* We have a 405GP core */ | ||
14 | #include <platforms/4xx/ibm405gp.h> | ||
15 | |||
16 | #include <asm/ppcboot.h> | ||
17 | |||
18 | #ifndef __ASSEMBLY__ | ||
19 | /* Some 4xx parts use a different timebase frequency from the internal clock. | ||
20 | */ | ||
21 | #define bi_tbfreq bi_intfreq | ||
22 | |||
23 | /* Map for the NVRAM space */ | ||
24 | #define CPCI405_NVRAM_PADDR ((uint)0xf0200000) | ||
25 | #define CPCI405_NVRAM_SIZE ((uint)32*1024) | ||
26 | |||
27 | #ifdef CONFIG_PPC405GP_INTERNAL_CLOCK | ||
28 | #define BASE_BAUD 201600 | ||
29 | #else | ||
30 | #define BASE_BAUD 691200 | ||
31 | #endif | ||
32 | |||
33 | #define PPC4xx_MACHINE_NAME "esd CPCI-405" | ||
34 | |||
35 | #endif /* !__ASSEMBLY__ */ | ||
36 | #endif /* __ASM_CPCI405_H__ */ | ||
37 | #endif /* __KERNEL__ */ | ||