From 3b11e60fb1ec15283e9f5ef6d4588bdbfdd51072 Mon Sep 17 00:00:00 2001 From: Bryan Jacobs Date: Sun, 11 Oct 2020 14:16:38 +1100 Subject: [PATCH] Update ULX3S SD pins for revision 2.0 --- litex_boards/platforms/ulx3s.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/litex_boards/platforms/ulx3s.py b/litex_boards/platforms/ulx3s.py index 7b708eb..e8f0860 100644 --- a/litex_boards/platforms/ulx3s.py +++ b/litex_boards/platforms/ulx3s.py @@ -29,18 +29,20 @@ _io = [ ), ("spisdcard", 0, - Subsignal("clk", Pins("J1")), - Subsignal("mosi", Pins("J3"), Misc("PULLMODE=UP")), - Subsignal("cs_n", Pins("H1"), Misc("PULLMODE=UP")), - Subsignal("miso", Pins("K2"), Misc("PULLMODE=UP")), + Subsignal("clk", Pins("H2")), + Subsignal("mosi", Pins("J1"), Misc("PULLMODE=UP")), + Subsignal("cs_n", Pins("K2"), Misc("PULLMODE=UP")), + Subsignal("miso", Pins("J3"), Misc("PULLMODE=UP")), Misc("SLEWRATE=FAST"), IOStandard("LVCMOS33"), ), ("sdcard", 0, - Subsignal("clk", Pins("J1")), - Subsignal("cmd", Pins("J3"), Misc("PULLMODE=UP")), - Subsignal("data", Pins("K2 K1 H2 H1"), Misc("PULLMODE=UP")), + Subsignal("clk", Pins("H2")), + Subsignal("cmd", Pins("J1"), Misc("PULLMODE=UP")), + Subsignal("data", Pins("J3 H1 K1 K2"), Misc("PULLMODE=UP")), + Subsignal("cd", Pins("N5")), + Subsignal("wp", Pins("P5")), Misc("SLEWRATE=FAST"), IOStandard("LVCMOS33"), ),