From 6140fd25949ea2e53f3d8cdc60a91d555ccbc93f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 25 Nov 2013 15:14:58 +0100 Subject: [PATCH] platforms/papilio_pro: add 2x SPI pins --- mibuild/platforms/papilio_pro.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mibuild/platforms/papilio_pro.py b/mibuild/platforms/papilio_pro.py index 47fed774..41530a20 100644 --- a/mibuild/platforms/papilio_pro.py +++ b/mibuild/platforms/papilio_pro.py @@ -15,12 +15,18 @@ _io = [ ), ("spiflash", 0, - Subsignal("cs", Pins("P38")), + Subsignal("cs_n", Pins("P38")), Subsignal("clk", Pins("P70")), Subsignal("mosi", Pins("P64")), Subsignal("miso", Pins("P65"), Misc("PULLUP")), IOStandard("LVCMOS33"), Misc("SLEW=FAST") ), + ("spiflash2x", 0, + Subsignal("cs_n", Pins("P38")), + Subsignal("clk", Pins("P70")), + Subsignal("dq", Pins("P64", "P65")), + IOStandard("LVCMOS33"), Misc("SLEW=FAST") + ), ("sdram_clock", 0, Pins("P32"), IOStandard("LVCMOS33"), Misc("SLEW=FAST")), ("sdram", 0, -- 2.30.2