Changes between Version 21 and Version 22 of USB
- Timestamp:
- 02/27/2023 07:45:16 PM (21 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
USB
v21 v22 156 156 || || || miniPCIe EHCI || J5 || Soft || 2-1 || || 157 157 |||| 158 || Laguna || GW2380 || MiniPCIe EHCI || J5 || Soft || 1-1 || ||159 ||||160 || || GW2382 || Front Panel EHCI || J4 || Soft/VBUS (gpio9) || 1-1 || gpio10 high (default) ||161 || || || MiniPCIe EHCI || J5 || Soft || 1-1 || gpio10 low ||162 ||||163 || || GW2383 || Front Panel OTG || J4 || Soft/VBUS || 1-1 || ||164 || || || MiniPCIe EHCI || J6 || Soft || 1-2 || ||165 ||||166 || || GW2387 || Front Panel OTG || J12 (Top) || Soft/VBUS (gpio6) || 1-1 || ||167 || || || Front Panel EHCI || J12 (Bot) || Soft/VBUS (gpio6) || 2-1 || gpio5 low (default) ||168 || || || MiniPCI EHCI || J5 (Bot) || Soft || 2-1 || gpio5 high ||169 ||||170 || || GW2388 || Front Panel OTG || J19 (Top) || Soft/VBUS (gpio6) || 1-1 || (loading option)^^^(1)^^^ ||171 || || || Front Panel EHCI || J19 (Bot) || Soft/VBUS (gpio6) || 2-1 || (loading option)^^^(1)^^^ ||172 || || || MiniPCI EHCI ^^^(1)^^^ || J4 (Bot) || Soft || 2-1 || (resistor loading option)^^^(1)^^^ ||173 ||||174 || || GW2391 || Front Panel OTG || J14 (Top) || Soft/VBUS (gpio6) || 1-1 || gpio5 low (default) ||175 || || || Front Panel EHCI || J14 (Bot) || Soft/VBUS (gpio6) || 2-1 || gpio7 low (default) ||176 || || || MiniPCIe OTG || J4 (Bot) || Soft || 1-1 || gpio5 high ||177 || || || MiniPCIe EHCI || J3 (Top) || Soft || 2-1 || gpio7 high ||178 ||||179 1. This is a loading option available on specials - contact sales@…180 * Laguna GW2388-D+ (Bottom MiniPCI socket J4)181 - R240, R244 = Load to route USB to MiniPCI connector J4 (bottom slot) (default on GW2388-4)182 - R241, R242 = Load to route USB to frontpanel connector J19 (top USB port) (default on GW2388-SP208, SP212 and SP213 w/front panel USB loaded)183 158 184 159 … … 213 188 echo 1 > /sys/class/gpio/gpio$GPIO/value # 0=front-panel 1=miniPCIe-J8 214 189 }}} 215 * Laguna GW2387/GW2388/GW2391: steer USB OTG bus to miniPCIe socket (device mode only) which uses gpio 5:216 {{{#!bash217 echo 1 > /sys/class/gpio/gpio5/value # 0=front-panel 1=miniPCIe218 }}}219 190 220 191 … … 239 210 echo 2184000.usb > /sys/bus/platform/drivers/imx_usb/bind 240 211 }}} 241 * Laguna (where the OTG controlleris 'dwc2.0'):242 {{{#!bash243 echo dwc2.0 > /sys/bus/platform/drivers/dwc2/unbind244 sleep 1245 echo dwc2.0 > /sys/bus/platform/drivers/dwc2/bind246 }}}247 212 248 213 Ports provided by a USB Hub's (will have a '.<port>' in their bus-device.port entry in the table above) with over-current/fault detection such as those found on a GW530x/GW540x/GW630x/GW640x can have their VBUS reset by unbinding their upstream bus-dev (no '.<port>') from the USB bus: … … 258 223 * Note that for USB 3.0 capable devices (Newport) not need to bind/unbind both HS and SS for VBUS to be affected. 259 224 * this is not possible for MiniPCIe sockets as their VBUS comes from the 3.0V rail 260 261 262 Ports with GPIO controlled VBUS such as the Laguna boards can be reset by turning them on/off via gpio control:263 * GW2382 (gpio9):264 {{{#!bash265 echo 0 > /sys/class/gpio/gpio9/value # de-assert GW2382 VUSB_EN266 sleep 1267 echo 1 > /sys/class/gpio/gpio9/value # assert GW2382 VUSB_EN268 }}}269 * GW2387/GW2388/GW2391 (gpio6):270 {{{#!bash271 echo 0 > /sys/class/gpio/gpio9/value # de-assert GW2387/GW2388/GW2391 VUSB_EN272 sleep 1273 echo 1 > /sys/class/gpio/gpio9/value # assert GW2387/GW2388/GW2391 VUSB_EN274 }}}275 225 276 226 Refer to the USB device table above for the bus-dev and/or VBUS capabilities per board.