wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 1 | /* |
| 2 | * A collection of structures, addresses, and values associated with |
Wolfgang Denk | c26914b | 2006-03-12 01:55:43 +0100 | [diff] [blame] | 3 | * the Motorola MPC885ADS board. Values common to all FADS family boards |
wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 4 | * are in board/fads/fads.h |
| 5 | * |
Wolfgang Denk | c26914b | 2006-03-12 01:55:43 +0100 | [diff] [blame] | 6 | * Copyright (C) 2003-2004 Arabella Software Ltd. |
wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 7 | * Yuli Barcohen <yuli@arabellasw.com> |
| 8 | */ |
| 9 | |
| 10 | #ifndef __CONFIG_H |
| 11 | #define __CONFIG_H |
| 12 | |
Wolfgang Denk | c26914b | 2006-03-12 01:55:43 +0100 | [diff] [blame] | 13 | #define CONFIG_MPC885ADS 1 /* MPC885ADS board */ |
wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 14 | #define CONFIG_FADS 1 /* We are FADS compatible (more or less) */ |
| 15 | |
Wolfgang Denk | c26914b | 2006-03-12 01:55:43 +0100 | [diff] [blame] | 16 | #define CONFIG_MPC885 1 /* MPC885 CPU (Duet family) */ |
wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 17 | |
Wolfgang Denk | c26914b | 2006-03-12 01:55:43 +0100 | [diff] [blame] | 18 | #define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */ |
wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 19 | #undef CONFIG_8xx_CONS_SMC2 |
| 20 | #undef CONFIG_8xx_CONS_NONE |
| 21 | #define CONFIG_BAUDRATE 38400 |
| 22 | |
Wolfgang Denk | c26914b | 2006-03-12 01:55:43 +0100 | [diff] [blame] | 23 | #define CONFIG_8xx_OSCLK 10000000 /* 10 MHz oscillator on EXTCLK */ |
| 24 | #define CONFIG_8xx_CPUCLK_DEFAULT 50000000 |
| 25 | #define CFG_8xx_CPUCLK_MIN 40000000 |
| 26 | #define CFG_8xx_CPUCLK_MAX 133000000 |
wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 27 | |
| 28 | #define CONFIG_SDRAM_50MHZ 1 |
| 29 | |
Stefan Roese | 3762825 | 2008-08-06 14:05:38 +0200 | [diff] [blame] | 30 | #include "../../board/fads/fads.h" |
wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 31 | |
wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 32 | #define CFG_OR5_PRELIM 0xFFFF8110 /* 64Kbyte address space */ |
| 33 | #define CFG_BR5_PRELIM (CFG_PHYDEV_ADDR | BR_PS_8 | BR_V) |
| 34 | |
Wolfgang Denk | e0ae091 | 2005-09-26 00:53:02 +0200 | [diff] [blame] | 35 | #define CONFIG_HAS_ETH1 |
| 36 | |
wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 37 | #endif /* __CONFIG_H */ |