diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-27 16:21:51 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-01-10 07:18:17 -0500 |
commit | 77c90e3d35c17c371fbef91fa6e180e954c1faba (patch) | |
tree | 50dd67ec4c1e98ecc040738ecc61b3bc016737ec /arch/blackfin/mach-bf548 | |
parent | ec5109e7ca086359c46fe5351121d0e125a2879b (diff) |
Blackfin: bf54x: add MMR layout for PINT
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf548')
-rw-r--r-- | arch/blackfin/mach-bf548/include/mach/irq.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf548/include/mach/irq.h b/arch/blackfin/mach-bf548/include/mach/irq.h index 1f99b51a3d56..99fd1b2c53d8 100644 --- a/arch/blackfin/mach-bf548/include/mach/irq.h +++ b/arch/blackfin/mach-bf548/include/mach/irq.h | |||
@@ -474,4 +474,26 @@ Events (highest priority) EMU 0 | |||
474 | #define IRQ_PINT2_POS 24 | 474 | #define IRQ_PINT2_POS 24 |
475 | #define IRQ_PINT3_POS 28 | 475 | #define IRQ_PINT3_POS 28 |
476 | 476 | ||
477 | #ifndef __ASSEMBLY__ | ||
478 | #include <linux/types.h> | ||
479 | |||
480 | /* | ||
481 | * bfin pint registers layout | ||
482 | */ | ||
483 | struct bfin_pint_regs { | ||
484 | u32 mask_set; | ||
485 | u32 mask_clear; | ||
486 | u32 irq; | ||
487 | u32 assign; | ||
488 | u32 edge_set; | ||
489 | u32 edge_clear; | ||
490 | u32 invert_set; | ||
491 | u32 invert_clear; | ||
492 | u32 pinstate; | ||
493 | u32 latch; | ||
494 | u32 __pad0[2]; | ||
495 | }; | ||
496 | |||
497 | #endif | ||
498 | |||
477 | #endif /* _BF548_IRQ_H_ */ | 499 | #endif /* _BF548_IRQ_H_ */ |