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>
This commit is contained in:
Steffen Trumtrar 2013-11-26 14:02:44 +01:00 committed by Michal Simek
parent 016f4dcae8
commit 5e21828034

View File

@ -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);