~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/include/asm-ppc/oak.h

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  *
  3  *    Copyright (c) 1999 Grant Erickson <grant@lcse.umn.edu>
  4  *
  5  *    Module name: oak.h
  6  *
  7  *    Description:
  8  *      Macros, definitions, and data structures specific to the IBM PowerPC
  9  *      403G{A,B,C,CX} "Oak" evaluation board. Anything specific to the pro-
 10  *      cessor itself is defined elsewhere.
 11  *
 12  */
 13 
 14 #ifdef __KERNEL__
 15 #ifndef __OAK_H__
 16 #define __OAK_H__
 17 
 18 #include <asm/irq.h>
 19 
 20 
 21 #ifdef __cplusplus
 22 extern "C" {
 23 #endif
 24 
 25 #define _IO_BASE        0
 26 #define _ISA_MEM_BASE   0
 27 #define PCI_DRAM_OFFSET 0
 28 
 29 /* Memory map for the "Oak" evaluation board */
 30 
 31 #define PPC403SPU_IO_BASE       0x40000000      /* 403 On-chip serial port */
 32 #define PPC403SPU_IO_SIZE       0x00000008
 33 #define OAKSERIAL_IO_BASE       0x7E000000      /* NS16550DV serial port */
 34 #define OAKSERIAL_IO_SIZE       0x00000008
 35 #define OAKNET_IO_BASE          0xF4000000      /* NS83902AV Ethernet */
 36 #define OAKNET_IO_SIZE          0x00000040
 37 #define OAKPROM_IO_BASE         0xFFFE0000      /* AMD 29F010 Flash ROM */
 38 #define OAKPROM_IO_SIZE         0x00020000
 39 
 40 
 41 /* Interrupt assignments fixed by the hardware implementation */
 42 
 43 #define PPC403SPU_RX_INT        AIC_INT4
 44 #define PPC403SPU_TX_INT        AIC_INT5
 45 #define OAKNET_INT              AIC_INT27
 46 #define OAKSERIAL_INT           AIC_INT28
 47 
 48 /*
 49  * Data structure defining board information maintained by the boot
 50  * ROM on IBM's "Oak" evaluation board. An effort has been made to
 51  * keep the field names consistent with the 8xx 'bd_t' board info
 52  * structures.
 53  */
 54 
 55 typedef struct board_info {
 56         unsigned char    bi_s_version[4];       /* Version of this structure */
 57         unsigned char    bi_r_version[30];      /* Version of the IBM ROM */
 58         unsigned int     bi_memsize;            /* DRAM installed, in bytes */
 59         unsigned char    bi_enetaddr[6];        /* Ethernet MAC address */
 60         unsigned int     bi_intfreq;            /* Processor speed, in Hz */
 61         unsigned int     bi_busfreq;            /* Bus speed, in Hz */
 62 } bd_t;
 63 
 64 
 65 #ifdef __cplusplus
 66 }
 67 #endif
 68 
 69 #endif /* __OAK_H__ */
 70 #endif /* __KERNEL__ */
 71 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.