Orange Crab is 48MHz not 50MHz, bump PLL frequency
authorAnton Blanchard <anton@linux.ibm.com>
Fri, 24 Sep 2021 02:43:33 +0000 (12:43 +1000)
committerAnton Blanchard <anton@ozlabs.org>
Fri, 24 Sep 2021 02:43:33 +0000 (12:43 +1000)
I'm not sure why I set the input frequency for the Orange Crab to 50MHz.
Since we easily make timing now, bump our output frequency to 48MHz as
well.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
Makefile

index 9f308ba356067c754a2eaacbd54352f84a9822cc..30086a7d5c1c6670feeb2982899d260d38a10f38 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -157,11 +157,11 @@ ICACHE_NUM_LINES=4
 # OrangeCrab with ECP85
 ifeq ($(FPGA_TARGET), ORANGE-CRAB)
 RESET_LOW=true
-CLK_INPUT=50000000
-CLK_FREQUENCY=40000000
+CLK_INPUT=48000000
+CLK_FREQUENCY=48000000
 LPF=constraints/orange-crab.lpf
 PACKAGE=CSFBGA285
-NEXTPNR_FLAGS=--um5g-85k --freq 40
+NEXTPNR_FLAGS=--um5g-85k --freq 48
 OPENOCD_JTAG_CONFIG=openocd/olimex-arm-usb-tiny-h.cfg
 OPENOCD_DEVICE_CONFIG=openocd/LFE5UM5G-85F.cfg
 endif