Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[wrt350n-kernel.git] / arch / ppc / platforms / pal4.h
blob8569c423d88775e7fa1386259bcece9248565d56
1 /*
2 * Definitions for SBS Palomar IV board
4 * Author: Dan Cox
6 * 2002 (c) MontaVista, Software, Inc. This file is licensed under
7 * the terms of the GNU General Public License version 2. This program
8 * is licensed "as is" without any warranty of any kind, whether express
9 * or implied.
12 #ifndef __PPC_PLATFORMS_PAL4_H
13 #define __PPC_PLATFORMS_PAL4_H
15 #define PAL4_NVRAM 0xfffc0000
16 #define PAL4_NVRAM_SIZE 0x8000
18 #define PAL4_DRAM 0xfff80000
19 #define PAL4_DRAM_BR_MASK 0xc0
20 #define PAL4_DRAM_BR_SHIFT 6
21 #define PAL4_DRAM_RESET 0x10
22 #define PAL4_DRAM_EREADY 0x40
24 #define PAL4_MISC 0xfff80004
25 #define PAL4_MISC_FB_MASK 0xc0
26 #define PAL4_MISC_FLASH 0x20 /* StratFlash mapping: 1->0xff80, 0->0xfff0 */
27 #define PAL4_MISC_MISC 0x08
28 #define PAL4_MISC_BITF 0x02
29 #define PAL4_MISC_NVKS 0x01
31 #define PAL4_L2 0xfff80008
32 #define PAL4_L2_MASK 0x07
34 #define PAL4_PLDR 0xfff8000c
36 /* Only two Ethernet devices on the board... */
37 #define PAL4_ETH 31
38 #define PAL4_INTA 20
40 #endif /* __PPC_PLATFORMS_PAL4_H */