blob: a6e26067142df1b65d0dbd9faf88dea7bcc40d17 [file] [log] [blame]
wdenk2bb11052003-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)
wdenkad276f22004-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
wdenk2bb11052003-07-17 23:16:40 +000010 */
11
wdenk2bb11052003-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 */
wdenk2bb11052003-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
wdenkad276f22004-01-04 16:28:35 +000024/* New MPC86xADS - pick one of these */
wdenk2bb11052003-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
wdenk2bb11052003-07-17 23:16:40 +000035
wdenk2bb11052003-07-17 23:16:40 +000036# define CFG_8XX_FACT 5 /* Multiply by 5 */
37# define CFG_8XX_XIN 10000000 /* 10 MHz in */
wdenk2bb11052003-07-17 23:16:40 +000038
wdenkad276f22004-01-04 16:28:35 +000039#define CONFIG_DRAM_50MHZ 1
40#define CONFIG_SDRAM_50MHZ 1
wdenk2bb11052003-07-17 23:16:40 +000041
42/*-----------------------------------------------------------------------
wdenkad276f22004-01-04 16:28:35 +000043 * PLPRCR - PLL, Low-Power, and Reset Control Register 14-22
wdenk2bb11052003-07-17 23:16:40 +000044 *-----------------------------------------------------------------------
wdenkad276f22004-01-04 16:28:35 +000045 * set the PLL, the low-power modes and the reset control
wdenk2bb11052003-07-17 23:16:40 +000046 */
wdenkad276f22004-01-04 16:28:35 +000047#define CFG_PLPRCR ((CFG_8XX_FACT << PLPRCR_MFI_SHIFT) | PLPRCR_TEXPS)
wdenk2bb11052003-07-17 23:16:40 +000048
wdenkad276f22004-01-04 16:28:35 +000049#include "fads.h"
wdenk2bb11052003-07-17 23:16:40 +000050
51#endif /* __CONFIG_H */