blob: 7249f2d1573225b7169a754c95c290dac53058a5 [file] [log] [blame]
Raghu Gandham82fa43f2012-03-27 11:37:17 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef __ASM_MIPS_DEC_IOASIC_ADDRS_H
20#define __ASM_MIPS_DEC_IOASIC_ADDRS_H
21#define IOASIC_SLOT_SIZE 0x00040000
Elliott Hughesc95eb572013-01-29 18:15:55 -080022#define IOASIC_SYS_ROM (0*IOASIC_SLOT_SIZE)
Raghu Gandham82fa43f2012-03-27 11:37:17 -070023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080024#define IOASIC_IOCTL (1*IOASIC_SLOT_SIZE)
25#define IOASIC_ESAR (2*IOASIC_SLOT_SIZE)
26#define IOASIC_LANCE (3*IOASIC_SLOT_SIZE)
27#define IOASIC_SCC0 (4*IOASIC_SLOT_SIZE)
Raghu Gandham82fa43f2012-03-27 11:37:17 -070028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080029#define IOASIC_VDAC_HI (5*IOASIC_SLOT_SIZE)
30#define IOASIC_SCC1 (6*IOASIC_SLOT_SIZE)
31#define IOASIC_VDAC_LO (7*IOASIC_SLOT_SIZE)
32#define IOASIC_TOY (8*IOASIC_SLOT_SIZE)
Raghu Gandham82fa43f2012-03-27 11:37:17 -070033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080034#define IOASIC_ISDN (9*IOASIC_SLOT_SIZE)
35#define IOASIC_ERRADDR (9*IOASIC_SLOT_SIZE)
36#define IOASIC_CHKSYN (10*IOASIC_SLOT_SIZE)
37#define IOASIC_ACC_BUS (10*IOASIC_SLOT_SIZE)
Raghu Gandham82fa43f2012-03-27 11:37:17 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080039#define IOASIC_MCR (11*IOASIC_SLOT_SIZE)
40#define IOASIC_FLOPPY (11*IOASIC_SLOT_SIZE)
41#define IOASIC_SCSI (12*IOASIC_SLOT_SIZE)
42#define IOASIC_FDC_DMA (13*IOASIC_SLOT_SIZE)
Raghu Gandham82fa43f2012-03-27 11:37:17 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080044#define IOASIC_SCSI_DMA (14*IOASIC_SLOT_SIZE)
45#define IOASIC_RES_15 (15*IOASIC_SLOT_SIZE)
46#define IO_REG_SCSI_DMA_P 0x00
47#define IO_REG_SCSI_DMA_BP 0x10
Raghu Gandham82fa43f2012-03-27 11:37:17 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080049#define IO_REG_LANCE_DMA_P 0x20
50#define IO_REG_SCC0A_T_DMA_P 0x30
51#define IO_REG_SCC0A_R_DMA_P 0x40
52#define IO_REG_SCC1A_T_DMA_P 0x50
Raghu Gandham82fa43f2012-03-27 11:37:17 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080054#define IO_REG_SCC1A_R_DMA_P 0x60
55#define IO_REG_AB_T_DMA_P 0x50
56#define IO_REG_AB_R_DMA_P 0x60
57#define IO_REG_FLOPPY_DMA_P 0x70
Raghu Gandham82fa43f2012-03-27 11:37:17 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080059#define IO_REG_ISDN_T_DMA_P 0x80
60#define IO_REG_ISDN_T_DMA_BP 0x90
61#define IO_REG_ISDN_R_DMA_P 0xa0
62#define IO_REG_ISDN_R_DMA_BP 0xb0
Raghu Gandham82fa43f2012-03-27 11:37:17 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080064#define IO_REG_DATA_0 0xc0
65#define IO_REG_DATA_1 0xd0
66#define IO_REG_DATA_2 0xe0
67#define IO_REG_DATA_3 0xf0
Raghu Gandham82fa43f2012-03-27 11:37:17 -070068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080069#define IO_REG_SSR 0x100
70#define IO_REG_SIR 0x110
71#define IO_REG_SIMR 0x120
72#define IO_REG_SAR 0x130
Raghu Gandham82fa43f2012-03-27 11:37:17 -070073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080074#define IO_REG_ISDN_T_DATA 0x140
75#define IO_REG_ISDN_R_DATA 0x150
76#define IO_REG_LANCE_SLOT 0x160
77#define IO_REG_SCSI_SLOT 0x170
Raghu Gandham82fa43f2012-03-27 11:37:17 -070078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080079#define IO_REG_SCC0A_SLOT 0x180
80#define IO_REG_SCC1A_SLOT 0x190
81#define IO_REG_AB_SLOT 0x190
82#define IO_REG_FLOPPY_SLOT 0x1a0
Raghu Gandham82fa43f2012-03-27 11:37:17 -070083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080084#define IO_REG_SCSI_SCR 0x1b0
85#define IO_REG_SCSI_SDR0 0x1c0
86#define IO_REG_SCSI_SDR1 0x1d0
87#define IO_REG_FCTR 0x1e0
Raghu Gandham82fa43f2012-03-27 11:37:17 -070088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080089#define IO_REG_RES_31 0x1f0
90#define IO_SSR_SCC0A_TX_DMA_EN (1<<31)
91#define IO_SSR_SCC0A_RX_DMA_EN (1<<30)
92#define IO_SSR_RES_27 (1<<27)
Raghu Gandham82fa43f2012-03-27 11:37:17 -070093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080094#define IO_SSR_RES_26 (1<<26)
95#define IO_SSR_RES_25 (1<<25)
96#define IO_SSR_RES_24 (1<<24)
97#define IO_SSR_RES_23 (1<<23)
Raghu Gandham82fa43f2012-03-27 11:37:17 -070098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080099#define IO_SSR_SCSI_DMA_DIR (1<<18)
100#define IO_SSR_SCSI_DMA_EN (1<<17)
101#define IO_SSR_LANCE_DMA_EN (1<<16)
102#define IO_SSR_SCC1A_TX_DMA_EN (1<<29)
Raghu Gandham82fa43f2012-03-27 11:37:17 -0700103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -0800104#define IO_SSR_SCC1A_RX_DMA_EN (1<<28)
105#define IO_SSR_RES_22 (1<<22)
106#define IO_SSR_RES_21 (1<<21)
107#define IO_SSR_RES_20 (1<<20)
Raghu Gandham82fa43f2012-03-27 11:37:17 -0700108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -0800109#define IO_SSR_RES_19 (1<<19)
110#define IO_SSR_AB_TX_DMA_EN (1<<29)
111#define IO_SSR_AB_RX_DMA_EN (1<<28)
112#define IO_SSR_FLOPPY_DMA_DIR (1<<22)
Raghu Gandham82fa43f2012-03-27 11:37:17 -0700113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -0800114#define IO_SSR_FLOPPY_DMA_EN (1<<21)
115#define IO_SSR_ISDN_TX_DMA_EN (1<<20)
116#define IO_SSR_ISDN_RX_DMA_EN (1<<19)
117#define KN0X_IO_SSR_DIAGDN (1<<15)
Raghu Gandham82fa43f2012-03-27 11:37:17 -0700118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -0800119#define KN0X_IO_SSR_SCC_RST (1<<11)
120#define KN0X_IO_SSR_RTC_RST (1<<10)
121#define KN0X_IO_SSR_ASC_RST (1<<9)
122#define KN0X_IO_SSR_LANCE_RST (1<<8)
Raghu Gandham82fa43f2012-03-27 11:37:17 -0700123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124#endif