wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 1 | /* |
| 2 | * A collection of structures, addresses, and values associated with |
| 3 | * the Motorola DUET ADS board. Values common to all FADS family boards |
| 4 | * are in board/fads/fads.h |
| 5 | * |
| 6 | * Copyright (C) 2003 Arabella Software Ltd. |
| 7 | * Yuli Barcohen <yuli@arabellasw.com> |
| 8 | */ |
| 9 | |
| 10 | #ifndef __CONFIG_H |
| 11 | #define __CONFIG_H |
| 12 | |
| 13 | /* Board type */ |
| 14 | #define CONFIG_MPC885ADS 1 /* Duet (MPC87x/88x) ADS */ |
| 15 | #define CONFIG_FADS 1 /* We are FADS compatible (more or less) */ |
| 16 | |
| 17 | #define CONFIG_MPC885 1 /* MPC885 CPU (Duet family) */ |
| 18 | |
| 19 | #define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */ |
| 20 | #undef CONFIG_8xx_CONS_SMC2 |
| 21 | #undef CONFIG_8xx_CONS_NONE |
| 22 | #define CONFIG_BAUDRATE 38400 |
| 23 | |
| 24 | #define CONFIG_8xx_OSCLK 10000000 /* 10 MHz oscillator on EXTCLK */ |
| 25 | |
| 26 | #define CFG_PLPRCR ((1 << PLPRCR_MFD_SHIFT) | (12 << PLPRCR_MFI_SHIFT) | PLPRCR_TEXPS) |
| 27 | |
| 28 | #define CONFIG_SDRAM_50MHZ 1 |
| 29 | |
| 30 | #define CONFIG_COMMANDS (CONFIG_CMD_DFL \ |
| 31 | | CFG_CMD_DHCP \ |
| 32 | | CFG_CMD_IMMAP \ |
| 33 | | CFG_CMD_MII \ |
| 34 | | CFG_CMD_PING \ |
| 35 | ) |
| 36 | |
| 37 | #include "fads.h" |
| 38 | |
| 39 | #undef CFG_SCCR |
| 40 | #define CFG_SCCR (SCCR_TBS|SCCR_EBDF11) |
| 41 | |
| 42 | #define CFG_OR5_PRELIM 0xFFFF8110 /* 64Kbyte address space */ |
| 43 | #define CFG_BR5_PRELIM (CFG_PHYDEV_ADDR | BR_PS_8 | BR_V) |
| 44 | |
Wolfgang Denk | e0ae091 | 2005-09-26 00:53:02 +0200 | [diff] [blame] | 45 | #define CONFIG_HAS_ETH1 |
| 46 | |
wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 47 | #endif /* __CONFIG_H */ |