icestick: fix UART flow control pins.
[nmigen-boards.git] / nmigen_boards / icestick.py
index c6cdfe7f2ac444c4764494495506e741a7eed147..257e623d1ae930f7b3f92bdd495df90aad6670c5 100644 (file)
@@ -21,7 +21,8 @@ class ICEStickPlatform(LatticeICE40Platform):
 
         UARTResource(0,
             rx="9", tx="8", rts="7", cts="4", dtr="3", dsr="2", dcd="1",
-            attrs=Attrs(IO_STANDARD="SB_LVTTL", PULLUP=1)
+            attrs=Attrs(IO_STANDARD="SB_LVTTL", PULLUP=1),
+            role="dce"
         ),
 
         IrDAResource(0,