Home | History | Annotate | Line # | Download | only in include
      1  1.16  christos /*	$NetBSD: cpu.h,v 1.16 2018/04/09 20:16:16 christos Exp $	*/
      2  1.11   tsutsui 
      3  1.11   tsutsui #ifndef _COBALT_CPU_H_
      4  1.11   tsutsui #define _COBALT_CPU_H_
      5   1.1     soren 
      6   1.1     soren #include <mips/cpu.h>
      7  1.11   tsutsui 
      8  1.13   tsutsui #if defined(_KERNEL) || defined(_STANDALONE)
      9  1.11   tsutsui #ifndef _LOCORE
     10  1.11   tsutsui extern u_int cobalt_id;
     11  1.11   tsutsui 
     12  1.11   tsutsui #define COBALT_ID_QUBE2700	3
     13  1.11   tsutsui #define COBALT_ID_RAQ		4
     14  1.11   tsutsui #define COBALT_ID_QUBE2		5
     15  1.15   tsutsui #define COBALT_ID_RAQ2		6
     16  1.11   tsutsui 
     17  1.12   tsutsui /*
     18  1.12   tsutsui  * Memory map and register definitions.
     19  1.12   tsutsui  * XXX should be elsewhere?
     20  1.12   tsutsui  */
     21  1.12   tsutsui #define PCIB_BASE	0x10000000
     22  1.12   tsutsui #define GT_BASE		0x14000000
     23  1.12   tsutsui #define LED_ADDR	0x1c000000
     24  1.12   tsutsui #define LED_RESET	0x0f		/* Resets machine. */
     25  1.12   tsutsui #define LED_POWEROFF	3
     26  1.12   tsutsui #define COM_BASE	0x1c800000
     27  1.13   tsutsui #define ZS_BASE		0x1c800000
     28  1.16  christos #define LCDPANEL_BASE	0x1d000000
     29  1.14   tsutsui #define LCD_BASE	0x1f000000
     30  1.12   tsutsui 
     31  1.11   tsutsui #endif /* !_LOCORE */
     32  1.13   tsutsui #endif /* _KERNEL || _STANDALONE */
     33  1.11   tsutsui 
     34  1.11   tsutsui #endif /* !_COBALT_CPU_H_ */
     35