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