blob: 831cc5ecd3258f05138e34bd96dcd57638ee9dc3 [file] [log] [blame]
wdenk2535d602003-07-17 23:16:40 +00001/*
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)
wdenk180d3f72004-01-04 16:28:35 +00006 *
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
wdenk2535d602003-07-17 23:16:40 +000010 */
11
wdenk2535d602003-07-17 23:16:40 +000012#ifndef __CONFIG_H
13#define __CONFIG_H
14
15/*
16 * High Level Configuration Options
17 * (easy to change)
18 */
wdenk2535d602003-07-17 23:16:40 +000019
20/* board type */
21#define CONFIG_MPC86xADS 1 /* new ADS */
22#define CONFIG_FADS 1 /* We are FADS compatible (more or less) */
23
Wolfgang Denk8ff02082006-03-12 01:55:43 +010024/* CPU type - pick one of these */
wdenk2535d602003-07-17 23:16:40 +000025#define CONFIG_MPC866T 1
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
wdenk2535d602003-07-17 23:16:40 +000035
Wolfgang Denk8ff02082006-03-12 01:55:43 +010036#define CONFIG_8xx_OSCLK 10000000 /* 10MHz oscillator on EXTCLK */
37#define CONFIG_8xx_CPUCLK_DEFAULT 50000000
38#define CFG_8xx_CPUCLK_MIN 40000000
39#define CFG_8xx_CPUCLK_MAX 80000000
wdenk2535d602003-07-17 23:16:40 +000040
wdenk180d3f72004-01-04 16:28:35 +000041#define CONFIG_DRAM_50MHZ 1
42#define CONFIG_SDRAM_50MHZ 1
wdenk2535d602003-07-17 23:16:40 +000043
wdenk180d3f72004-01-04 16:28:35 +000044#include "fads.h"
wdenk2535d602003-07-17 23:16:40 +000045
wdenk11142572004-06-06 21:35:06 +000046#define CFG_OR5_PRELIM 0xFFFF8110 /* 64Kbyte address space */
47#define CFG_BR5_PRELIM (CFG_PHYDEV_ADDR | BR_PS_8 | BR_V)
48
wdenk2535d602003-07-17 23:16:40 +000049#endif /* __CONFIG_H */