PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/ppc/platforms/pal4.h

https://bitbucket.org/evzijst/gittest
C Header | 42 lines | 21 code | 8 blank | 13 comment | 0 complexity | 64c6e9f97aa65acc273ae9ce5f974427 MD5 | raw file
 1/*
 2 * arch/ppc/platforms/pal4.h
 3 *
 4 * Definitions for SBS Palomar IV board
 5 *
 6 * Author: Dan Cox
 7 *
 8 * 2002 (c) MontaVista, Software, Inc.  This file is licensed under
 9 * the terms of the GNU General Public License version 2.  This program
10 * is licensed "as is" without any warranty of any kind, whether express
11 * or implied.
12 */
13
14#ifndef __PPC_PLATFORMS_PAL4_H
15#define __PPC_PLATFORMS_PAL4_H
16
17#define PAL4_NVRAM             0xfffc0000
18#define PAL4_NVRAM_SIZE        0x8000
19
20#define PAL4_DRAM              0xfff80000
21#define  PAL4_DRAM_BR_MASK     0xc0
22#define  PAL4_DRAM_BR_SHIFT    6
23#define  PAL4_DRAM_RESET       0x10
24#define  PAL4_DRAM_EREADY      0x40
25
26#define PAL4_MISC              0xfff80004
27#define  PAL4_MISC_FB_MASK     0xc0
28#define  PAL4_MISC_FLASH       0x20  /* StratFlash mapping: 1->0xff80, 0->0xfff0 */
29#define  PAL4_MISC_MISC        0x08
30#define  PAL4_MISC_BITF        0x02
31#define  PAL4_MISC_NVKS        0x01
32
33#define PAL4_L2                0xfff80008
34#define  PAL4_L2_MASK          0x07
35
36#define PAL4_PLDR              0xfff8000c
37
38/* Only two Ethernet devices on the board... */
39#define PAL4_ETH               31
40#define PAL4_INTA              20
41
42#endif /* __PPC_PLATFORMS_PAL4_H */