summaryrefslogtreecommitdiff
path: root/arch/arm/mach-zynq
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2013-11-26 14:02:44 +0100
committerMichal Simek <michal.simek@xilinx.com>2014-02-10 11:21:06 +0100
commit5e2182803497c22d50675f0f3af12bf5305e8716 (patch)
tree1d661c46e3638d183d1b33356097eeae0d2a4648 /arch/arm/mach-zynq
parent016f4dcae81e842a2b7dbfbc0fc9257f9f16e785 (diff)
ARM: zynq: Hang iomapped slcr address on device_node
For later usage by zynq clk driver. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-zynq')
-rw-r--r--arch/arm/mach-zynq/slcr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-zynq/slcr.c b/arch/arm/mach-zynq/slcr.c
index 899f97925729..db5cb313bb13 100644
--- a/arch/arm/mach-zynq/slcr.c
+++ b/arch/arm/mach-zynq/slcr.c
@@ -123,6 +123,8 @@ int __init zynq_early_slcr_init(void)
BUG();
}
+ np->data = (__force void *)zynq_slcr_base;
+
/* unlock the SLCR so that registers can be changed */
writel(SLCR_UNLOCK_MAGIC, zynq_slcr_base + SLCR_UNLOCK_OFFSET);