wdenk | 2bb1105 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 1 | /* |
| 2 | * A collection of structures, addresses, and values associated with |
| 3 | * the Motorola MPC8xxADS board. Copied from the FADS config. |
| 4 | * |
| 5 | * Copyright (c) 1998 Dan Malek (dmalek@jlc.net) |
wdenk | ad276f2 | 2004-01-04 16:28:35 +0000 | [diff] [blame^] | 6 | * |
| 7 | * Modified by, Yuli Barcohen, Arabella Software Ltd., yuli@arabellasw.com |
| 8 | * |
| 9 | * Values common to all FADS family boards are in board/fads/fads.h |
wdenk | 2bb1105 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 10 | */ |
| 11 | |
wdenk | 2bb1105 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 12 | #ifndef __CONFIG_H |
| 13 | #define __CONFIG_H |
| 14 | |
| 15 | /* |
| 16 | * High Level Configuration Options |
| 17 | * (easy to change) |
| 18 | */ |
wdenk | 2bb1105 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 19 | |
| 20 | /* board type */ |
| 21 | #define CONFIG_MPC86xADS 1 /* new ADS */ |
| 22 | #define CONFIG_FADS 1 /* We are FADS compatible (more or less) */ |
| 23 | |
wdenk | ad276f2 | 2004-01-04 16:28:35 +0000 | [diff] [blame^] | 24 | /* New MPC86xADS - pick one of these */ |
wdenk | 2bb1105 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 25 | #define CONFIG_MPC866T 1 |
| 26 | #undef CONFIG_MPC866P |
| 27 | #undef CONFIG_MPC859T |
| 28 | #undef CONFIG_MPC859DSL |
| 29 | #undef CONFIG_MPC852T |
| 30 | |
| 31 | #define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */ |
| 32 | #undef CONFIG_8xx_CONS_SMC2 |
| 33 | #undef CONFIG_8xx_CONS_NONE |
| 34 | #define CONFIG_BAUDRATE 38400 |
wdenk | 2bb1105 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 35 | |
wdenk | 2bb1105 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 36 | # define CFG_8XX_FACT 5 /* Multiply by 5 */ |
| 37 | # define CFG_8XX_XIN 10000000 /* 10 MHz in */ |
wdenk | 2bb1105 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 38 | |
wdenk | ad276f2 | 2004-01-04 16:28:35 +0000 | [diff] [blame^] | 39 | #define CONFIG_DRAM_50MHZ 1 |
| 40 | #define CONFIG_SDRAM_50MHZ 1 |
wdenk | 2bb1105 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 41 | |
| 42 | /*----------------------------------------------------------------------- |
wdenk | ad276f2 | 2004-01-04 16:28:35 +0000 | [diff] [blame^] | 43 | * PLPRCR - PLL, Low-Power, and Reset Control Register 14-22 |
wdenk | 2bb1105 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 44 | *----------------------------------------------------------------------- |
wdenk | ad276f2 | 2004-01-04 16:28:35 +0000 | [diff] [blame^] | 45 | * set the PLL, the low-power modes and the reset control |
wdenk | 2bb1105 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 46 | */ |
wdenk | ad276f2 | 2004-01-04 16:28:35 +0000 | [diff] [blame^] | 47 | #define CFG_PLPRCR ((CFG_8XX_FACT << PLPRCR_MFI_SHIFT) | PLPRCR_TEXPS) |
wdenk | 2bb1105 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 48 | |
wdenk | ad276f2 | 2004-01-04 16:28:35 +0000 | [diff] [blame^] | 49 | #include "fads.h" |
wdenk | 2bb1105 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 50 | |
| 51 | #endif /* __CONFIG_H */ |