blob: 38f814c0185bc9f1a6c1d408a874bd17bfc732cb [file] [log] [blame]
Heiko Schocherf1084d62011-11-01 20:00:31 +00001/*
2 * Copyright (C) 2011
3 * Heiko Schocher, DENX Software Engineering, hs@denx.de.
4 *
5 * See file CREDITS for list of people who contributed to this
6 * project.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 * MA 02111-1307 USA
22 */
23#ifndef _DV_AINTC_DEFS_H_
24#define _DV_AINTC_DEFS_H_
25
26struct dv_aintc_regs {
27 unsigned int fiq0; /* 0x00 */
28 unsigned int fiq1; /* 0x04 */
29 unsigned int irq0; /* 0x08 */
30 unsigned int irq1; /* 0x0c */
31 unsigned int fiqentry; /* 0x10 */
32 unsigned int irqentry; /* 0x14 */
33 unsigned int eint0; /* 0x18 */
34 unsigned int eint1; /* 0x1c */
35 unsigned int intctl; /* 0x20 */
36 unsigned int eabase; /* 0x24 */
37 unsigned char rsvd0[8]; /* 0x28 */
38 unsigned int intpri0; /* 0x30 */
39 unsigned int intpri1; /* 0x34 */
40 unsigned int intpri2; /* 0x38 */
41 unsigned int intpri3; /* 0x3c */
42 unsigned int intpri4; /* 0x40 */
43 unsigned int intpri5; /* 0x44 */
44 unsigned int intpri6; /* 0x48 */
45 unsigned int intpri7; /* 0x4c */
46};
47
48#define dv_aintc_regs ((struct dv_aintc_regs *)DAVINCI_ARM_INTC_BASE)
49
Heiko Schocher34061e82011-11-15 10:00:02 -050050#define DV_AINTC_INTCTL_IDMODE (1 << 2)
51
Heiko Schocherf1084d62011-11-01 20:00:31 +000052#endif /* _DV_AINTC_DEFS_H_ */