mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 5/7] Zedboard added FPGA and PCAP clock control
@ 2020-04-02  8:21 Michael Graichen
  0 siblings, 0 replies; only message in thread
From: Michael Graichen @ 2020-04-02  8:21 UTC (permalink / raw)
  To: barebox

Added the configuration for FPGA an PCAP clock control

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);
 }
_______________________________________________
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-02  8:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-02  8:21 [PATCH 5/7] Zedboard added FPGA 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