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 | 291ba1b | 2010-10-06 09:05:45 +0200 | [diff] [blame] | 18 | #define CONFIG_SYS_TEXT_BASE 0xFE000000 |
| 19 | |
Wolfgang Denk | c26914b | 2006-03-12 01:55:43 +0100 | [diff] [blame] | 20 | #define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */ |
wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 21 | #undef CONFIG_8xx_CONS_SMC2 |
| 22 | #undef CONFIG_8xx_CONS_NONE |
| 23 | #define CONFIG_BAUDRATE 38400 |
| 24 | |
Wolfgang Denk | c26914b | 2006-03-12 01:55:43 +0100 | [diff] [blame] | 25 | #define CONFIG_8xx_OSCLK 10000000 /* 10 MHz oscillator on EXTCLK */ |
| 26 | #define CONFIG_8xx_CPUCLK_DEFAULT 50000000 |
Jean-Christophe PLAGNIOL-VILLARD | 0383694 | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 27 | #define CONFIG_SYS_8xx_CPUCLK_MIN 40000000 |
| 28 | #define CONFIG_SYS_8xx_CPUCLK_MAX 133000000 |
wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 29 | |
| 30 | #define CONFIG_SDRAM_50MHZ 1 |
| 31 | |
Stefan Roese | 3762825 | 2008-08-06 14:05:38 +0200 | [diff] [blame] | 32 | #include "../../board/fads/fads.h" |
wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 33 | |
Jean-Christophe PLAGNIOL-VILLARD | 0383694 | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 34 | #define CONFIG_SYS_OR5_PRELIM 0xFFFF8110 /* 64Kbyte address space */ |
| 35 | #define CONFIG_SYS_BR5_PRELIM (CONFIG_SYS_PHYDEV_ADDR | BR_PS_8 | BR_V) |
wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 36 | |
Wolfgang Denk | e0ae091 | 2005-09-26 00:53:02 +0200 | [diff] [blame] | 37 | #define CONFIG_HAS_ETH1 |
| 38 | |
wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 39 | #endif /* __CONFIG_H */ |