2 * arch/ppc/platforms/4xx/walnut.h
4 * Walnut board definitions
6 * Copyright (c) 2005 DENX Software Engineering
7 * Stefan Roese <sr@denx.de>
9 * Based on original work by
10 * Copyright (c) 1999 Grant Erickson <grant@lcse.umn.edu>
11 * Frank Rowand <frank_rowand@mvista.com>
12 * Debbie Chu <debbie_chu@mvista.com>
13 * 2000 (c) MontaVista, Software, Inc.
15 * This program is free software; you can redistribute it and/or modify it
16 * under the terms of the GNU General Public License as published by the
17 * Free Software Foundation; either version 2 of the License, or (at your
18 * option) any later version.
23 #ifndef __ASM_WALNUT_H__
24 #define __ASM_WALNUT_H__
26 #include <linux/config.h>
27 #include <platforms/4xx/ibm405gp.h>
28 #include <asm/ppcboot.h>
30 /* Memory map for the IBM "Walnut" 405GP evaluation board.
31 * Generic 4xx plus RTC.
34 #define WALNUT_RTC_PADDR ((uint)0xf0000000)
35 #define WALNUT_RTC_VADDR WALNUT_RTC_PADDR
36 #define WALNUT_RTC_SIZE ((uint)8*1024)
38 #define BASE_BAUD 691200
40 #define WALNUT_PS2_BASE 0xF0100000
43 #define PPC40x_FPGA_BASE 0xF0300000
44 #define PPC40x_FPGA_REG_OFFS 5 /* offset to flash map reg */
45 #define PPC40x_FLASH_ONBD_N(x) (x & 0x02)
46 #define PPC40x_FLASH_SRAM_SEL(x) (x & 0x01)
47 #define PPC40x_FLASH_LOW 0xFFF00000
48 #define PPC40x_FLASH_HIGH 0xFFF80000
49 #define PPC40x_FLASH_SIZE 0x80000
50 #define WALNUT_FPGA_BASE PPC40x_FPGA_BASE
52 #define PPC4xx_MACHINE_NAME "IBM Walnut"
54 #endif /* __ASM_WALNUT_H__ */
55 #endif /* __KERNEL__ */