提交 77c90e3d 编写于 作者: M Mike Frysinger

Blackfin: bf54x: add MMR layout for PINT

Signed-off-by: NMike Frysinger <vapier@gentoo.org>
上级 ec5109e7
......@@ -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_ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册