forked from Minki/linux
1cf46c42d7
1. remove __REG macro 2. add (void __iomem *) to io_p2v macro 3. add (phys_addr_t) to io_v2p macro 4. add PKUNITY_AHB_BASE and PKUNITY_APB_BASE definitions 5. modify all PKUNITY_mmio_BASEs from physical addr to virtual addr 6. adjust prefix macro for all usage of PKUNITY_mmio_BASEs -- by advice with Arnd Bergmann Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
29 lines
571 B
C
29 lines
571 B
C
/*
|
|
* PKUNITY Interrupt Controller (INTC) Registers
|
|
*/
|
|
/*
|
|
* INTC Level Reg INTC_ICLR.
|
|
*/
|
|
#define INTC_ICLR (PKUNITY_INTC_BASE + 0x0000)
|
|
/*
|
|
* INTC Mask Reg INTC_ICMR.
|
|
*/
|
|
#define INTC_ICMR (PKUNITY_INTC_BASE + 0x0004)
|
|
/*
|
|
* INTC Pending Reg INTC_ICPR.
|
|
*/
|
|
#define INTC_ICPR (PKUNITY_INTC_BASE + 0x0008)
|
|
/*
|
|
* INTC IRQ Pending Reg INTC_ICIP.
|
|
*/
|
|
#define INTC_ICIP (PKUNITY_INTC_BASE + 0x000C)
|
|
/*
|
|
* INTC REAL Pending Reg INTC_ICFP.
|
|
*/
|
|
#define INTC_ICFP (PKUNITY_INTC_BASE + 0x0010)
|
|
/*
|
|
* INTC Control Reg INTC_ICCR.
|
|
*/
|
|
#define INTC_ICCR (PKUNITY_INTC_BASE + 0x0014)
|
|
|