From c895586461080127729fbd17ef02ac1e9c44aede Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 23 Jun 2020 10:57:43 +0200 Subject: [PATCH] platforms/k705: rename mmc to sdcard and make it similar to other boards. --- litex/boards/platforms/kc705.py | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/litex/boards/platforms/kc705.py b/litex/boards/platforms/kc705.py index dcb0001e1..c70e31449 100644 --- a/litex/boards/platforms/kc705.py +++ b/litex/boards/platforms/kc705.py @@ -72,20 +72,22 @@ _io = [ IOStandard("LVCMOS25") ), - ("mmc", 0, - Subsignal("wp", Pins("Y21")), - Subsignal("det", Pins("AA21")), - Subsignal("cmd", Pins("AB22")), + ("sdcard", 0, Subsignal("clk", Pins("AB23")), - Subsignal("dat", Pins("AC20 AA23 AA22 AC21")), - IOStandard("LVCMOS25")), + Subsignal("cmd", Pins("AB22"), Misc("PULLUP True")), + Subsignal("data", Pins("AC20 AA23 AA22 AC21"), Misc("PULLUP True")), + Misc("SLEW=FAST"), + IOStandard("LVCMOS25") + ), - ("mmc_spi", 0, - Subsignal("miso", Pins("AC20"), Misc("PULLUP")), + ("spisdcard", 0, Subsignal("clk", Pins("AB23")), - Subsignal("mosi", Pins("AB22")), Subsignal("cs_n", Pins("AC21")), - IOStandard("LVCMOS25")), + Subsignal("mosi", Pins("AB22"), Misc("PULLUP")), + Subsignal("miso", Pins("AC20"), Misc("PULLUP")), + Misc("SLEW=FAST"), + IOStandard("LVCMOS25") + ), ("lcd", 0, Subsignal("db", Pins("AA13 AA10 AA11 Y10")),