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:
parent
016f4dcae8
commit
5e21828034
@ -123,6 +123,8 @@ int __init zynq_early_slcr_init(void)
|
|||||||
BUG();
|
BUG();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
np->data = (__force void *)zynq_slcr_base;
|
||||||
|
|
||||||
/* unlock the SLCR so that registers can be changed */
|
/* unlock the SLCR so that registers can be changed */
|
||||||
writel(SLCR_UNLOCK_MAGIC, zynq_slcr_base + SLCR_UNLOCK_OFFSET);
|
writel(SLCR_UNLOCK_MAGIC, zynq_slcr_base + SLCR_UNLOCK_OFFSET);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user