mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
Blackfin: bf54x: add MMR layout for PINT
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
ec5109e7ca
commit
77c90e3d35
1 changed files with 22 additions and 0 deletions
|
@ -474,4 +474,26 @@ Events (highest priority) EMU 0
|
||||||
#define IRQ_PINT2_POS 24
|
#define IRQ_PINT2_POS 24
|
||||||
#define IRQ_PINT3_POS 28
|
#define IRQ_PINT3_POS 28
|
||||||
|
|
||||||
|
#ifndef __ASSEMBLY__
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* bfin pint registers layout
|
||||||
|
*/
|
||||||
|
struct bfin_pint_regs {
|
||||||
|
u32 mask_set;
|
||||||
|
u32 mask_clear;
|
||||||
|
u32 irq;
|
||||||
|
u32 assign;
|
||||||
|
u32 edge_set;
|
||||||
|
u32 edge_clear;
|
||||||
|
u32 invert_set;
|
||||||
|
u32 invert_clear;
|
||||||
|
u32 pinstate;
|
||||||
|
u32 latch;
|
||||||
|
u32 __pad0[2];
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* _BF548_IRQ_H_ */
|
#endif /* _BF548_IRQ_H_ */
|
||||||
|
|
Loading…
Add table
Reference in a new issue