From 7de7c4be5cee2b8387605eb4d9b9fdb177c75a1a Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 23 Jun 2020 10:56:31 +0200 Subject: [PATCH] platforms/kc705: 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 dcb0001..c70e314 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")),