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

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

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

  1 
  2 /*
  3  * A collection of structures, addresses, and values associated with
  4  * the TQ Systems TQM860 modules.  This was originally created for the
  5  * MBX860, and probably needs revisions for other boards (like the 821).
  6  * When this file gets out of control, we can split it up into more
  7  * meaningful pieces.
  8  *
  9  * Based on mbx.h, Copyright (c) 1997 Dan Malek (dmalek@jlc.net)
 10  *
 11  * Copyright (c) 1999 Wolfgang Denk (wd@denx.de)
 12  */
 13 #ifdef __KERNEL__
 14 #ifndef __MACH_TQM860_DEFS
 15 #define __MACH_TQM860_DEFS
 16 
 17 /* A Board Information structure that is given to a program when
 18  * EPPC-Bug starts it up.
 19  */
 20 typedef struct bd_info {
 21          unsigned long  bi_memstart;    /* start of  DRAM memory */
 22          unsigned long  bi_memsize;     /* size  of  DRAM memory in bytes */
 23          unsigned long  bi_flashstart;  /* start of FLASH memory */
 24          unsigned long  bi_flashsize;   /* size  of FLASH memory */
 25          unsigned long  bi_flashoffset; /* reserved area for startup monitor */
 26          unsigned long  bi_sramstart;   /* start of  SRAM memory */
 27          unsigned long  bi_sramsize;    /* size  of  SRAM memory */
 28          unsigned long  bi_immr_base;   /* base of IMMR register */
 29          unsigned long  bi_bootflags;   /* boot / reboot flag (for LynxOS) */
 30          unsigned long  bi_ip_addr;     /* IP Address */
 31          unsigned char  bi_enetaddr[6]; /* Ethernet adress */
 32          unsigned char  bi_reserved[2]; /* -- just for alignment -- */
 33          unsigned long  bi_putchar;     /* Addr of monitor putchar() to Console */
 34          unsigned long  bi_intfreq;     /* Internal Freq, in MHz */
 35          unsigned long  bi_busfreq;     /* Bus Freq, in MHz */
 36          unsigned long  bi_baudrate;    /* Console Baudrate */
 37 } bd_t;
 38 
 39 /* Configuration options for TQ Systems TQM860 mini module
 40  */
 41 
 42 #define TQM_RESET_ADDR  0x40000100      /* Monitor Reset Entry */
 43 
 44 #define TQM_IMMR_BASE   0xFFF00000      /* phys. addr of IMMR */
 45 #define TQM_IMAP_SIZE   (64 * 1024)     /* size of mapped area */
 46 
 47 #define TQM_CLOCKRATE   50              /* 50 MHz Clock */
 48 #define TQM_BAUDRATE    115200          /* Console baud rate */
 49 #define TQM_IP_ADDR     0x0A000063      /* IP addr: 10.0.0.99 */
 50 
 51 #define TQM_SERVER_IP   "10.0.0.3"      /* NFS server IP addr */
 52 #define TQM_SERVER_DIR  "/LinuxPPC"     /* NFS exported root */
 53 
 54 #define IMAP_ADDR       TQM_IMMR_BASE   /* physical base address of IMMR area */
 55 #define IMAP_SIZE       TQM_IMAP_SIZE   /* mapped size of IMMR area */
 56 
 57 /* We don't use the 8259.
 58 */
 59 #define NR_8259_INTS    0
 60 
 61 /* Generic 8xx type
 62 */
 63 #define _MACH_8xx (_MACH_tqm860)
 64 
 65 #endif  /* __MACH_TQM860_DEFS */
 66 
 67 #endif /* __KERNEL__ */
 68 

~ [ 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.