summaryrefslogtreecommitdiff
path: root/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/include/mach/hardware.h
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-06-23 11:03:29 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-06-23 11:03:29 +0000
commit2c47bbc1993cd6cfaded67ca1ef032678cfa767a (patch)
treedc99bb74ac9f47dfccd60113c5d7a65e7a8ce387 /target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/include/mach/hardware.h
parent7ed9369cb362aab97b1d52b2a382e0772d053300 (diff)
downloadmtk-20170518-2c47bbc1993cd6cfaded67ca1ef032678cfa767a.zip
mtk-20170518-2c47bbc1993cd6cfaded67ca1ef032678cfa767a.tar.gz
mtk-20170518-2c47bbc1993cd6cfaded67ca1ef032678cfa767a.tar.bz2
regroup interrupt controller register definitions in hardware.h
SVN-Revision: 32485
Diffstat (limited to 'target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/include/mach/hardware.h')
-rw-r--r--target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/include/mach/hardware.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/include/mach/hardware.h b/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/include/mach/hardware.h
index 75343c6..6fb243c 100644
--- a/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/include/mach/hardware.h
+++ b/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/include/mach/hardware.h
@@ -14,6 +14,12 @@
#define MCS814X_IO_START 0x40000000
#define MCS814X_IO_SIZE 0x00100000
+/* IRQ controller register offset */
+#define MCS814X_IRQ_ICR 0x00
+#define MCS814X_IRQ_ISR 0x04
+#define MCS814X_IRQ_MASK 0x20
+#define MCS814X_IRQ_STS0 0x40
+
#define _PHYS_CONFADDR 0x40000000
#define _VIRT_CONFADDR MCS814X_IO_BASE