From bfdcf4b2a034f0eab0c66ec453f795f71049cf44 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 22 Jul 2019 10:25:55 +0200 Subject: [PATCH] platforms/versa_ecp5: add spiflash pads --- litex/boards/platforms/versa_ecp5.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/litex/boards/platforms/versa_ecp5.py b/litex/boards/platforms/versa_ecp5.py index b91110b5..0b27a657 100644 --- a/litex/boards/platforms/versa_ecp5.py +++ b/litex/boards/platforms/versa_ecp5.py @@ -35,6 +35,21 @@ _io = [ Subsignal("tx", Pins("A11"), IOStandard("LVCMOS33")), ), + ("spiflash", 0, # clock needs to be accessed through USRMCLK + Subsignal("cs_n", Pins("R2")), + Subsignal("mosi", Pins("W2")), + Subsignal("miso", Pins("V2")), + Subsignal("wp", Pins("Y2")), + Subsignal("hold", Pins("W1")), + IOStandard("LVCMOS33"), + ), + + ("spiflash4x", 0, # clock needs to be accessed through USRMCLK + Subsignal("cs_n", Pins("R2")), + Subsignal("dq", Pins("W2 V2 Y2 W1")), + IOStandard("LVCMOS33") + ), + ("ddram", 0, Subsignal("a", Pins( "P2 C4 E5 F5 B3 F4 B5 E4", -- 2.30.2