Commit 5e218280 authored by Steffen Trumtrar's avatar Steffen Trumtrar Committed by Michal Simek

ARM: zynq: Hang iomapped slcr address on device_node

For later usage by zynq clk driver.
Signed-off-by: default avatarSteffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 016f4dca
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment