+ftdi layout_init 0x0038 0x597b
+
+# 8000 z - unused
+# 4000 0 > CPLD loopback (all target side pins high-Z)
+# 2000 z < !( cable connected ) (open drain on CPLD side for $reasons)
+# 1000 0 > EMU1_oe
+#
+# 800 0 > PWR_RST = clear power-loss flag on rising edge
+# 400 z < !( power-loss flag )
+# 200 z < nSRST
+# 100 0 > nSRST_oe
+#
+# 80 z < RTCK
+# 40 0 > EMU0_oe
+# 20 1 > EMU_EN
+# 10 1 > nTRST
+#
+# 8 1 > TMS
+# 4 z < TDO
+# 2 0 > TDI
+# 1 0 > TCK
+#
+# As long as the power-loss flag is set, all target-side pins are
+# high-Z except the EMU-pins for which the opposite holds unless
+# EMU_EN is high.
+#
+# To use wait-in-reset, drive EMU0 low at power-on reset. If the
+# target normally reuses EMU0 for other purposes, clear EMU_EN to
+# keep the EMU pins high-Z until the target is power-cycled.
+#
+# The LED only turns off at USB suspend, which is also the only way to
+# set the power-loss flag manually. (Can be done in software e.g. by
+# changing the USB configuration to zero.)
+#