From d53a51c5504f7de6f572d2817b4325197f914b18 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 23 Jun 2020 11:54:05 +0200 Subject: [PATCH] platforms/netv2: add spisdcard. --- litex/boards/platforms/netv2.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/litex/boards/platforms/netv2.py b/litex/boards/platforms/netv2.py index b598172c..5bec3467 100644 --- a/litex/boards/platforms/netv2.py +++ b/litex/boards/platforms/netv2.py @@ -124,12 +124,21 @@ _io = [ # sdcard ("sdcard", 0, - Subsignal("data", Pins("L15 L16 K14 M13"), Misc("PULLUP True")), - Subsignal("cmd", Pins("L13"), Misc("PULLUP True")), Subsignal("clk", Pins("K18")), + Subsignal("cmd", Pins("L13"), Misc("PULLUP True")), + Subsignal("data", Pins("L15 L16 K14 M13"), Misc("PULLUP True")), IOStandard("LVCMOS33"), Misc("SLEW=FAST") ), + ("spisdcard", 0, + Subsignal("clk", Pins("K18")), + Subsignal("cs_n", Pins("M13")), + Subsignal("mosi", Pins("L13"), Misc("PULLUP")), + Subsignal("miso", Pins("L15"), Misc("PULLUP")), + Misc("SLEW=FAST"), + IOStandard("LVCMOS33") + ), + # hdmi in ("hdmi_in", 0, Subsignal("clk_p", Pins("L19"), IOStandard("TMDS_33"), Inverted()), -- 2.30.2