2 * Support for IBM PPC 405EP-based MagicBox board
4 * Heavily based on bubinga.h
7 * Author: SAW (IBM), derived from walnut.h.
8 * Maintained by MontaVista Software <source@mvista.com>
10 * 2003 (c) MontaVista Softare Inc. This file is licensed under the
11 * terms of the GNU General Public License version 2. This program is
12 * licensed "as is" without any warranty of any kind, whether express
17 #ifndef __MAGICBOX_H__
18 #define __MAGICBOX_H__
20 #include <platforms/4xx/ibm405ep.h>
21 #include <asm/ppcboot.h>
23 /* Memory map for the "MagicBox" 405EP evaluation board -- generic 4xx. */
25 /* The UART clock is based off an internal clock -
26 * define BASE_BAUD based on the internal clock and divider(s).
27 * Since BASE_BAUD must be a constant, we will initialize it
28 * using clock/divider values which OpenBIOS initializes
29 * for typical configurations at various CPU speeds.
30 * The base baud is calculated as (FWDA / EXT UART DIV / 16)
35 #define PPC40x_FPGA_BASE 0xF0300000
36 #define PPC40x_FPGA_REG_OFFS 1 /* offset to flash map reg */
37 #define PPC40x_FLASH_ONBD_N(x) (x & 0x02)
38 #define PPC40x_FLASH_SRAM_SEL(x) (x & 0x01)
39 #define PPC40x_FLASH_LOW 0xFFF00000
40 #define PPC40x_FLASH_HIGH 0xFFF80000
41 #define PPC40x_FLASH_SIZE 0x80000
43 #define PPC4xx_MACHINE_NAME "MagicBox"
45 #endif /* __MAGICBOX_H__ */
46 #endif /* __KERNEL__ */
This page took 0.049611 seconds and 5 git commands to generate.