5bf3df3f00
The remaining registers are separated into: - <mach/regs-ost.h> - <mach/regs-rtc.h> - <mach/regs-intc.h> and then we can remove pxa-regs.h completely. Instead of #include this file, let's: 1. include the specific <mach/regs-*.h> with care (if that's absolutely necessary) 2. define the registers in the driver, make cleanly defined API to expose the register access to external with sufficient reason Signed-off-by: Eric Miao <eric.miao@marvell.com>
24 lines
1.0 KiB
C
24 lines
1.0 KiB
C
#ifndef __ASM_MACH_REGS_INTC_H
|
|
#define __ASM_MACH_REGS_INTC_H
|
|
|
|
#include <mach/hardware.h>
|
|
|
|
/*
|
|
* Interrupt Controller
|
|
*/
|
|
|
|
#define ICIP __REG(0x40D00000) /* Interrupt Controller IRQ Pending Register */
|
|
#define ICMR __REG(0x40D00004) /* Interrupt Controller Mask Register */
|
|
#define ICLR __REG(0x40D00008) /* Interrupt Controller Level Register */
|
|
#define ICFP __REG(0x40D0000C) /* Interrupt Controller FIQ Pending Register */
|
|
#define ICPR __REG(0x40D00010) /* Interrupt Controller Pending Register */
|
|
#define ICCR __REG(0x40D00014) /* Interrupt Controller Control Register */
|
|
|
|
#define ICIP2 __REG(0x40D0009C) /* Interrupt Controller IRQ Pending Register 2 */
|
|
#define ICMR2 __REG(0x40D000A0) /* Interrupt Controller Mask Register 2 */
|
|
#define ICLR2 __REG(0x40D000A4) /* Interrupt Controller Level Register 2 */
|
|
#define ICFP2 __REG(0x40D000A8) /* Interrupt Controller FIQ Pending Register 2 */
|
|
#define ICPR2 __REG(0x40D000AC) /* Interrupt Controller Pending Register 2 */
|
|
|
|
#endif /* __ASM_MACH_REGS_INTC_H */
|