wdenk | 2535d60 | 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 | 180d3f7 | 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 | 2535d60 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 10 | */ |
| 11 | |
wdenk | 2535d60 | 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 | 2535d60 | 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 | |
Wolfgang Denk | 8ff0208 | 2006-03-12 01:55:43 +0100 | [diff] [blame] | 24 | /* CPU type - pick one of these */ |
Wolfgang Denk | 53677ef | 2008-05-20 16:00:29 +0200 | [diff] [blame] | 25 | #define CONFIG_MPC866T 1 |
wdenk | 2535d60 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 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 | 2535d60 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 35 | |
Wolfgang Denk | 8ff0208 | 2006-03-12 01:55:43 +0100 | [diff] [blame] | 36 | #define CONFIG_8xx_OSCLK 10000000 /* 10MHz oscillator on EXTCLK */ |
| 37 | #define CONFIG_8xx_CPUCLK_DEFAULT 50000000 |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame^] | 38 | #define CONFIG_SYS_8xx_CPUCLK_MIN 40000000 |
| 39 | #define CONFIG_SYS_8xx_CPUCLK_MAX 80000000 |
wdenk | 2535d60 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 40 | |
wdenk | 180d3f7 | 2004-01-04 16:28:35 +0000 | [diff] [blame] | 41 | #define CONFIG_DRAM_50MHZ 1 |
| 42 | #define CONFIG_SDRAM_50MHZ 1 |
wdenk | 2535d60 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 43 | |
Stefan Roese | f2302d4 | 2008-08-06 14:05:38 +0200 | [diff] [blame] | 44 | #include "../../board/fads/fads.h" |
wdenk | 2535d60 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 45 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame^] | 46 | #define CONFIG_SYS_OR5_PRELIM 0xFFFF8110 /* 64Kbyte address space */ |
| 47 | #define CONFIG_SYS_BR5_PRELIM (CONFIG_SYS_PHYDEV_ADDR | BR_PS_8 | BR_V) |
wdenk | 1114257 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 48 | |
wdenk | 2535d60 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 49 | #endif /* __CONFIG_H */ |