1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */ 23d357619SMasahiro Yamada /* 33d357619SMasahiro Yamada * Copyright (C) 2011 43d357619SMasahiro Yamada * Heiko Schocher, DENX Software Engineering, hs@denx.de. 53d357619SMasahiro Yamada */ 63d357619SMasahiro Yamada #ifndef _DV_AINTC_DEFS_H_ 73d357619SMasahiro Yamada #define _DV_AINTC_DEFS_H_ 83d357619SMasahiro Yamada 93d357619SMasahiro Yamada struct dv_aintc_regs { 103d357619SMasahiro Yamada unsigned int fiq0; /* 0x00 */ 113d357619SMasahiro Yamada unsigned int fiq1; /* 0x04 */ 123d357619SMasahiro Yamada unsigned int irq0; /* 0x08 */ 133d357619SMasahiro Yamada unsigned int irq1; /* 0x0c */ 143d357619SMasahiro Yamada unsigned int fiqentry; /* 0x10 */ 153d357619SMasahiro Yamada unsigned int irqentry; /* 0x14 */ 163d357619SMasahiro Yamada unsigned int eint0; /* 0x18 */ 173d357619SMasahiro Yamada unsigned int eint1; /* 0x1c */ 183d357619SMasahiro Yamada unsigned int intctl; /* 0x20 */ 193d357619SMasahiro Yamada unsigned int eabase; /* 0x24 */ 203d357619SMasahiro Yamada unsigned char rsvd0[8]; /* 0x28 */ 213d357619SMasahiro Yamada unsigned int intpri0; /* 0x30 */ 223d357619SMasahiro Yamada unsigned int intpri1; /* 0x34 */ 233d357619SMasahiro Yamada unsigned int intpri2; /* 0x38 */ 243d357619SMasahiro Yamada unsigned int intpri3; /* 0x3c */ 253d357619SMasahiro Yamada unsigned int intpri4; /* 0x40 */ 263d357619SMasahiro Yamada unsigned int intpri5; /* 0x44 */ 273d357619SMasahiro Yamada unsigned int intpri6; /* 0x48 */ 283d357619SMasahiro Yamada unsigned int intpri7; /* 0x4c */ 293d357619SMasahiro Yamada }; 303d357619SMasahiro Yamada 313d357619SMasahiro Yamada #define dv_aintc_regs ((struct dv_aintc_regs *)DAVINCI_ARM_INTC_BASE) 323d357619SMasahiro Yamada 333d357619SMasahiro Yamada #define DV_AINTC_INTCTL_IDMODE (1 << 2) 343d357619SMasahiro Yamada 353d357619SMasahiro Yamada #endif /* _DV_AINTC_DEFS_H_ */ 36