platforms/papilio_pro: add 2x SPI pins
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Mon, 25 Nov 2013 14:14:58 +0000 (15:14 +0100)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Mon, 25 Nov 2013 14:14:58 +0000 (15:14 +0100)
mibuild/platforms/papilio_pro.py

index 47fed77464a66542837957e4d513b64f8d8fa913..41530a20a1bd0eb9691be3bd46ac7e925c663c7b 100644 (file)
@@ -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,