2003-07-17 23:16:40 +00:00
|
|
|
/*
|
|
|
|
* A collection of structures, addresses, and values associated with
|
|
|
|
* the Motorola MPC8xxADS board. Copied from the FADS config.
|
|
|
|
*
|
|
|
|
* Copyright (c) 1998 Dan Malek (dmalek@jlc.net)
|
2004-01-04 16:28:35 +00:00
|
|
|
*
|
|
|
|
* Modified by, Yuli Barcohen, Arabella Software Ltd., yuli@arabellasw.com
|
|
|
|
*
|
|
|
|
* Values common to all FADS family boards are in board/fads/fads.h
|
2003-07-17 23:16:40 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_H
|
|
|
|
#define __CONFIG_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* High Level Configuration Options
|
|
|
|
* (easy to change)
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* board type */
|
|
|
|
#define CONFIG_MPC86xADS 1 /* new ADS */
|
|
|
|
#define CONFIG_FADS 1 /* We are FADS compatible (more or less) */
|
|
|
|
|
2006-03-12 00:55:43 +00:00
|
|
|
/* CPU type - pick one of these */
|
2008-05-20 14:00:29 +00:00
|
|
|
#define CONFIG_MPC866T 1
|
2003-07-17 23:16:40 +00:00
|
|
|
#undef CONFIG_MPC866P
|
|
|
|
#undef CONFIG_MPC859T
|
|
|
|
#undef CONFIG_MPC859DSL
|
|
|
|
#undef CONFIG_MPC852T
|
|
|
|
|
|
|
|
#define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */
|
|
|
|
#undef CONFIG_8xx_CONS_SMC2
|
|
|
|
#undef CONFIG_8xx_CONS_NONE
|
|
|
|
#define CONFIG_BAUDRATE 38400
|
|
|
|
|
2006-03-12 00:55:43 +00:00
|
|
|
#define CONFIG_8xx_OSCLK 10000000 /* 10MHz oscillator on EXTCLK */
|
|
|
|
#define CONFIG_8xx_CPUCLK_DEFAULT 50000000
|
|
|
|
#define CFG_8xx_CPUCLK_MIN 40000000
|
|
|
|
#define CFG_8xx_CPUCLK_MAX 80000000
|
2003-07-17 23:16:40 +00:00
|
|
|
|
2004-01-04 16:28:35 +00:00
|
|
|
#define CONFIG_DRAM_50MHZ 1
|
|
|
|
#define CONFIG_SDRAM_50MHZ 1
|
2003-07-17 23:16:40 +00:00
|
|
|
|
2008-08-06 12:05:38 +00:00
|
|
|
#include "../../board/fads/fads.h"
|
2003-07-17 23:16:40 +00:00
|
|
|
|
2004-06-06 21:35:06 +00:00
|
|
|
#define CFG_OR5_PRELIM 0xFFFF8110 /* 64Kbyte address space */
|
|
|
|
#define CFG_BR5_PRELIM (CFG_PHYDEV_ADDR | BR_PS_8 | BR_V)
|
|
|
|
|
2003-07-17 23:16:40 +00:00
|
|
|
#endif /* __CONFIG_H */
|