blob: eeb2355b9f0abd671978f738c8eb49efaf6298a2 [file] [log] [blame]
wdenk11142572004-06-06 21:35:06 +00001/*
2 * A collection of structures, addresses, and values associated with
Wolfgang Denk8ff02082006-03-12 01:55:43 +01003 * the Motorola MPC885ADS board. Values common to all FADS family boards
wdenk11142572004-06-06 21:35:06 +00004 * are in board/fads/fads.h
5 *
Wolfgang Denk8ff02082006-03-12 01:55:43 +01006 * Copyright (C) 2003-2004 Arabella Software Ltd.
wdenk11142572004-06-06 21:35:06 +00007 * Yuli Barcohen <yuli@arabellasw.com>
8 */
9
10#ifndef __CONFIG_H
11#define __CONFIG_H
12
Wolfgang Denk8ff02082006-03-12 01:55:43 +010013#define CONFIG_MPC885ADS 1 /* MPC885ADS board */
wdenk11142572004-06-06 21:35:06 +000014#define CONFIG_FADS 1 /* We are FADS compatible (more or less) */
15
Wolfgang Denk8ff02082006-03-12 01:55:43 +010016#define CONFIG_MPC885 1 /* MPC885 CPU (Duet family) */
wdenk11142572004-06-06 21:35:06 +000017
Wolfgang Denk2ae18242010-10-06 09:05:45 +020018#define CONFIG_SYS_TEXT_BASE 0xFE000000
19
Wolfgang Denk8ff02082006-03-12 01:55:43 +010020#define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */
wdenk11142572004-06-06 21:35:06 +000021#undef CONFIG_8xx_CONS_SMC2
22#undef CONFIG_8xx_CONS_NONE
23#define CONFIG_BAUDRATE 38400
24
Wolfgang Denk8ff02082006-03-12 01:55:43 +010025#define CONFIG_8xx_OSCLK 10000000 /* 10 MHz oscillator on EXTCLK */
26#define CONFIG_8xx_CPUCLK_DEFAULT 50000000
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020027#define CONFIG_SYS_8xx_CPUCLK_MIN 40000000
28#define CONFIG_SYS_8xx_CPUCLK_MAX 133000000
wdenk11142572004-06-06 21:35:06 +000029
30#define CONFIG_SDRAM_50MHZ 1
31
Stefan Roesef2302d42008-08-06 14:05:38 +020032#include "../../board/fads/fads.h"
wdenk11142572004-06-06 21:35:06 +000033
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020034#define CONFIG_SYS_OR5_PRELIM 0xFFFF8110 /* 64Kbyte address space */
35#define CONFIG_SYS_BR5_PRELIM (CONFIG_SYS_PHYDEV_ADDR | BR_PS_8 | BR_V)
wdenk11142572004-06-06 21:35:06 +000036
Wolfgang Denkc2d0ab42005-09-26 00:53:02 +020037#define CONFIG_HAS_ETH1
38
wdenk11142572004-06-06 21:35:06 +000039#endif /* __CONFIG_H */