* [PATCH v2 5/7] added-fpga-clock-control-and-pcap-clock-control
@ 2020-04-09 14:41 Michael Graichen
0 siblings, 0 replies; only message in thread
From: Michael Graichen @ 2020-04-09 14:41 UTC (permalink / raw)
To: barebox
Added the configuration for FPGA an PCAP clock control
Signed-off-by: Michael Graichen <michael.graichen@hotmail.com>
---
arch/arm/boards/avnet-zedboard/lowlevel.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boards/avnet-zedboard/lowlevel.c b/arch/arm/boards/avnet-zedboard/lowlevel.c
index 6f05d934c..b8001fcf6 100644
--- a/arch/arm/boards/avnet-zedboard/lowlevel.c
+++ b/arch/arm/boards/avnet-zedboard/lowlevel.c
@@ -276,6 +276,15 @@ static void avnet_zedboard_ps7_init(void)
writel(0x00000001, 0xf8000B00);
+ /* FPGA Clock Control */
+ writel(0x00101400, 0xf8000170);
+ writel(0x00101400, 0xf8000180);
+ writel(0x00101400, 0xf8000190);
+ writel(0x00101400, 0xf80001a0);
+
+ /* PCAP Clock Control */
+ writel(0x00000501, 0xf8000168);
+
/* lock up. secure, secure */
writel(0x0000767B, ZYNQ_SLCR_LOCK);
}
--
2.17.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-09 14:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-09 14:41 [PATCH v2 5/7] added-fpga-clock-control-and-pcap-clock-control Michael Graichen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox