1/*  *********************************************************************
2    *  Broadcom Common Firmware Environment (CFE)
3    *
4    *  BCM95836CPCI board-specific definitions       File: bcm95836cpci.h
5    *
6    *********************************************************************
7    *
8    *  Copyright 2003
9    *  Broadcom Corporation. All rights reserved.
10    *
11    *  This software is furnished under license and may be used and
12    *  copied only in accordance with the following terms and
13    *  conditions.  Subject to these conditions, you may download,
14    *  copy, install, use, modify and distribute modified or unmodified
15    *  copies of this software in source and/or binary form.  No title
16    *  or ownership is transferred hereby.
17    *
18    *  1) Any source code used, modified or distributed must reproduce
19    *     and retain this copyright notice and list of conditions
20    *     as they appear in the source file.
21    *
22    *  2) No right is granted to use any trade name, trademark, or
23    *     logo of Broadcom Corporation.  The "Broadcom Corporation"
24    *     name may not be used to endorse or promote products derived
25    *     from this software without the prior written permission of
26    *     Broadcom Corporation.
27    *
28    *  3) THIS SOFTWARE IS PROVIDED "AS-IS" AND ANY EXPRESS OR
29    *     IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED
30    *     WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
31    *     PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT
32    *     SHALL BROADCOM BE LIABLE FOR ANY DAMAGES WHATSOEVER, AND IN
33    *     PARTICULAR, BROADCOM SHALL NOT BE LIABLE FOR DIRECT, INDIRECT,
34    *     INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
35    *     (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
36    *     GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
37    *     BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
38    *     OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
39    *     TORT (INCLUDING NEGLIGENCE OR OTHERWISE), EVEN IF ADVISED OF
40    *     THE POSSIBILITY OF SUCH DAMAGE.
41    ********************************************************************* */
42
43#ifndef __BCM95836CPCI_H
44#define __BCM95836CPCI_H
45/* Macros */
46
47#define KB 1024
48#define MB (1024*1024)
49
50
51/*
52 * Put board-specific stuff here
53 */
54
55/* Definitions for the BCM95836CPCI platform. */
56
57#define BCM95836_CPCI_RESET_ADDR            (MIPS33_EXTIF_REGION + 0x0000)
58#define BCM95836_CPCI_BOARDID_ADDR          (MIPS33_EXTIF_REGION + 0x4000)
59#define BCM95836_CPCI_LED_ADDR              (MIPS33_EXTIF_REGION + 0xC000)
60#define BCM95836_CPCI_NVRAM_ADDR            (MIPS33_EXTIF_REGION + 0xE000)
61#define BCM95836_CPCI_NVRAM_SIZE            0x1FF0      /* 8K NVRAM + TOD */
62
63/* Internal NS16550-compatible dual UART */
64#define BCM95836_COM1   BCM5836_UART0       /* console, DB-9 */
65#define BCM95836_COM2   BCM5836_UART1       /* header */
66
67#endif /* ! __BCM95836CPCI_H */
68