From f2b51b02338227a4346ddcbcffac465a157a181d Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Sat, 8 May 2021 07:33:10 +0700 Subject: [PATCH] icesugar: map the usb port --- litex_boards/platforms/muselab_icesugar.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/litex_boards/platforms/muselab_icesugar.py b/litex_boards/platforms/muselab_icesugar.py index a18d43e..3656437 100644 --- a/litex_boards/platforms/muselab_icesugar.py +++ b/litex_boards/platforms/muselab_icesugar.py @@ -49,6 +49,14 @@ _io = [ Subsignal("miso", Pins("17"), IOStandard("LVCMOS33")), Subsignal("mosi", Pins("14"), IOStandard("LVCMOS33")), ), + + # USB + ("usb", 0, + Subsignal("d_p", Pins("10")), + Subsignal("d_n", Pins("9")), + Subsignal("pullup", Pins("11")), + IOStandard("LVCMOS33") + ), ] # Connectors ---------------------------------------------------------------------------------------