Go to the documentation of this file.
13 #ifndef __ASM_MIPS_DEC_KN02_H
14 #define __ASM_MIPS_DEC_KN02_H
16 #define KN02_SLOT_BASE 0x1fc00000
17 #define KN02_SLOT_SIZE 0x00080000
22 #define KN02_SYS_ROM (0*KN02_SLOT_SIZE)
23 #define KN02_RES_1 (1*KN02_SLOT_SIZE)
24 #define KN02_CHKSYN (2*KN02_SLOT_SIZE)
25 #define KN02_ERRADDR (3*KN02_SLOT_SIZE)
26 #define KN02_DZ11 (4*KN02_SLOT_SIZE)
27 #define KN02_RTC (5*KN02_SLOT_SIZE)
28 #define KN02_CSR (6*KN02_SLOT_SIZE)
29 #define KN02_SYS_ROM_7 (7*KN02_SLOT_SIZE)
35 #define KN02_CSR_RES_28 (0xf<<28)
36 #define KN02_CSR_PSU (1<<27)
37 #define KN02_CSR_NVRAM (1<<26)
38 #define KN02_CSR_REFEVEN (1<<25)
39 #define KN02_CSR_NRMOD (1<<24)
40 #define KN02_CSR_IOINTEN (0xff<<16)
41 #define KN02_CSR_DIAGCHK (1<<15)
42 #define KN02_CSR_DIAGGEN (1<<14)
43 #define KN02_CSR_CORRECT (1<<13)
44 #define KN02_CSR_LEDIAG (1<<12)
45 #define KN02_CSR_TXDIS (1<<11)
46 #define KN02_CSR_BNK32M (1<<10)
47 #define KN02_CSR_DIAGDN (1<<9)
48 #define KN02_CSR_BAUD38 (1<<8)
49 #define KN02_CSR_IOINT (0xff<<0)
50 #define KN02_CSR_LEDS (0xff<<0)
56 #define KN02_CPU_INR_RES_6 6
57 #define KN02_CPU_INR_BUS 5
58 #define KN02_CPU_INR_RES_4 4
59 #define KN02_CPU_INR_RTC 3
60 #define KN02_CPU_INR_CASCADE 2
65 #define KN02_CSR_INR_DZ11 7
66 #define KN02_CSR_INR_LANCE 6
67 #define KN02_CSR_INR_ASC 5
68 #define KN02_CSR_INR_RES_4 4
69 #define KN02_CSR_INR_RES_3 3
70 #define KN02_CSR_INR_TC2 2
71 #define KN02_CSR_INR_TC1 1
72 #define KN02_CSR_INR_TC0 0
75 #define KN02_IRQ_BASE 8
76 #define KN02_IRQ_LINES 8
78 #define KN02_IRQ_NR(n) ((n) + KN02_IRQ_BASE)
79 #define KN02_IRQ_MASK(n) (1 << (n))
80 #define KN02_IRQ_ALL 0xff
85 #include <linux/types.h>