aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-iop32x/iop321.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-iop32x/iop321.h')
-rw-r--r--include/asm-arm/arch-iop32x/iop321.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-arm/arch-iop32x/iop321.h b/include/asm-arm/arch-iop32x/iop321.h
index e3c85a05e73..bd96b8d55a7 100644
--- a/include/asm-arm/arch-iop32x/iop321.h
+++ b/include/asm-arm/arch-iop32x/iop321.h
@@ -233,6 +233,12 @@
/* for I2C bit defs see drivers/i2c/i2c-iop3xx.h */
+/*
+ * Peripherals that are shared between the iop32x and iop33x but
+ * located at different addresses.
+ */
+#define IOP3XX_TIMER_REG(reg) (IOP3XX_PERIPHERAL_VIRT_BASE + 0x07e0 + (reg))
+
#include <asm/hardware/iop3xx.h>