linux/arch/ppc/platforms/4xx/redwood6.h
<<
>>
Prefs
   1/*
   2 * Macros, definitions, and data structures specific to the IBM PowerPC
   3 * STBx25xx "Redwood6" evaluation board.
   4 *
   5 * Author: Armin Kuster <akuster@mvista.com>
   6 *
   7 * 2002 (c) MontaVista, Software, Inc.  This file is licensed under
   8 * the terms of the GNU General Public License version 2.  This program
   9 * is licensed "as is" without any warranty of any kind, whether express
  10 * or implied.
  11 */
  12
  13#ifdef __KERNEL__
  14#ifndef __ASM_REDWOOD5_H__
  15#define __ASM_REDWOOD5_H__
  16
  17/* Redwood6 has an STBx25xx core */
  18#include <platforms/4xx/ibmstbx25.h>
  19
  20#ifndef __ASSEMBLY__
  21typedef struct board_info {
  22        unsigned char bi_s_version[4];  /* Version of this structure */
  23        unsigned char bi_r_version[30]; /* Version of the IBM ROM */
  24        unsigned int bi_memsize;        /* DRAM installed, in bytes */
  25        unsigned int bi_dummy;  /* field shouldn't exist */
  26        unsigned char bi_enetaddr[6];   /* Ethernet MAC address */
  27        unsigned int bi_intfreq;        /* Processor speed, in Hz */
  28        unsigned int bi_busfreq;        /* Bus speed, in Hz */
  29        unsigned int bi_tbfreq; /* Software timebase freq */
  30} bd_t;
  31#endif                          /* !__ASSEMBLY__ */
  32
  33#define SMC91111_BASE_ADDR      0xf2030300
  34#define SMC91111_REG_SIZE       16
  35#define SMC91111_IRQ            27
  36#define IDE_XLINUX_MUX_BASE        0xf2040000
  37#define IDE_DMA_ADDR    0xfce00000
  38
  39#ifdef MAX_HWIFS
  40#undef MAX_HWIFS
  41#endif
  42#define MAX_HWIFS               1
  43
  44#define _IO_BASE        0
  45#define _ISA_MEM_BASE   0
  46#define PCI_DRAM_OFFSET 0
  47
  48#define BASE_BAUD               (378000000 / 18 / 16)
  49
  50#define PPC4xx_MACHINE_NAME     "IBM Redwood6"
  51
  52#endif                          /* __ASM_REDWOOD5_H__ */
  53#endif                          /* __KERNEL__ */
  54