2 * Copyright 2001 MontaVista Software Inc.
4 * Author: MontaVista Software, Inc.
7 * Module name: redwood5.h
10 * Macros, definitions, and data structures specific to the IBM PowerPC
11 * STB03xxx "Redwood" evaluation board.
13 * Please read the COPYING file for all license details.
17 #ifndef __ASM_REDWOOD5_H__
18 #define __ASM_REDWOOD5_H__
20 /* Redwood5 has an STB04xxx core */
21 #include <platforms/ibmstb4.h>
24 typedef struct board_info
{
25 unsigned char bi_s_version
[4]; /* Version of this structure */
26 unsigned char bi_r_version
[30]; /* Version of the IBM ROM */
27 unsigned int bi_memsize
; /* DRAM installed, in bytes */
28 unsigned int bi_dummy
; /* field shouldn't exist */
29 unsigned char bi_enetaddr
[6]; /* Ethernet MAC address */
30 unsigned int bi_intfreq
; /* Processor speed, in Hz */
31 unsigned int bi_busfreq
; /* Bus speed, in Hz */
32 unsigned int bi_tbfreq
; /* Software timebase freq */
33 unsigned int bi_opb_busfreq
; /* OPB Bus speed, in Hz */
34 int bi_iic_fast
[2]; /* Use fast i2c mode */
36 #endif /* !__ASSEMBLY__ */
39 #define SMC91111_BASE_ADDR 0xf2000300
40 #define SMC91111_IRQ 28
48 #define _ISA_MEM_BASE 0
49 #define PCI_DRAM_OFFSET 0
51 #define BASE_BAUD (378000000 / 18 / 16)
53 #define PPC4xx_MACHINE_NAME "IBM Redwood5"
55 #endif /* __ASM_REDWOOD5_H__ */
56 #endif /* __KERNEL__ */