Skip to content

Commit

Permalink
Blackfin: bf54x: add MMR layout for PINT
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  • Loading branch information
Mike Frysinger committed Jan 10, 2011
1 parent ec5109e commit 77c90e3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions arch/blackfin/mach-bf548/include/mach/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -474,4 +474,26 @@ Events (highest priority) EMU 0
#define IRQ_PINT2_POS 24
#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_ */

0 comments on commit 77c90e3

Please sign in to comment.