summaryrefslogtreecommitdiff
path: root/arch/arm/mach-kirkwood/include/mach/bridge-regs.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2012-06-22 08:54:02 +0200
committerOlof Johansson <olof@lixom.net>2012-06-23 16:19:21 -0700
commit0fa1f0609a0c1fe8b2be3c0089a2cb48f7fda521 (patch)
tree2e3a9eaab2c84de0a77c6afa97733d22e4e8fb90 /arch/arm/mach-kirkwood/include/mach/bridge-regs.h
parent5fb2ce119c113e5c987fa81ed89e73b2653e28e4 (diff)
ARM: Orion: Fix Virtual/Physical mixup with watchdog
The orion watchdog is expecting to be passed the physcial address of the hardware, and will ioremap() it to give a virtual address it will use as the base address for the hardware. However, when creating the platform resource record, a virtual address was being used. Add the necassary #define's so we can pass the physical address as expected. Tested on Kirkwood and Orion5x. Cc: stable <stable@vger.kernel.org> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/include/mach/bridge-regs.h')
-rw-r--r--arch/arm/mach-kirkwood/include/mach/bridge-regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/include/mach/bridge-regs.h b/arch/arm/mach-kirkwood/include/mach/bridge-regs.h
index 3eee37a3b501..a115142f8690 100644
--- a/arch/arm/mach-kirkwood/include/mach/bridge-regs.h
+++ b/arch/arm/mach-kirkwood/include/mach/bridge-regs.h
@@ -38,6 +38,7 @@
#define IRQ_MASK_HIGH_OFF 0x0014
#define TIMER_VIRT_BASE (BRIDGE_VIRT_BASE | 0x0300)
+#define TIMER_PHYS_BASE (BRIDGE_PHYS_BASE | 0x0300)
#define L2_CONFIG_REG (BRIDGE_VIRT_BASE | 0x0128)
#define L2_WRITETHROUGH 0x00000010