Changes between Version 21 and Version 22 of USB


Ignore:
Timestamp:
02/27/2023 07:45:16 PM (22 months ago)
Author:
Tim Harvey
Comment:

removed Laguna info (EOL)

Legend:

Unmodified
Added
Removed
Modified
  • USB

    v21 v22  
    156156||         ||        || miniPCIe EHCI           || J5  || Soft      || 2-1 || ||
    157157||||
    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)
    183158
    184159
     
    213188echo 1 > /sys/class/gpio/gpio$GPIO/value # 0=front-panel 1=miniPCIe-J8
    214189}}}
    215  * Laguna GW2387/GW2388/GW2391: steer USB OTG bus to miniPCIe socket (device mode only) which uses gpio 5:
    216 {{{#!bash
    217 echo 1 > /sys/class/gpio/gpio5/value # 0=front-panel 1=miniPCIe
    218 }}}
    219190
    220191
     
    239210echo 2184000.usb > /sys/bus/platform/drivers/imx_usb/bind
    240211}}}
    241  * Laguna (where the OTG controlleris 'dwc2.0'):
    242 {{{#!bash
    243 echo dwc2.0 > /sys/bus/platform/drivers/dwc2/unbind
    244 sleep 1
    245 echo dwc2.0 > /sys/bus/platform/drivers/dwc2/bind
    246 }}}
    247212
    248213Ports 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:
     
    258223 * Note that for USB 3.0 capable devices (Newport) not need to bind/unbind both HS and SS for VBUS to be affected.
    259224 * 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 {{{#!bash
    265 echo 0 > /sys/class/gpio/gpio9/value # de-assert GW2382 VUSB_EN
    266 sleep 1
    267 echo 1 > /sys/class/gpio/gpio9/value # assert GW2382 VUSB_EN
    268 }}}
    269  * GW2387/GW2388/GW2391 (gpio6):
    270 {{{#!bash
    271 echo 0 > /sys/class/gpio/gpio9/value # de-assert GW2387/GW2388/GW2391 VUSB_EN
    272 sleep 1
    273 echo 1 > /sys/class/gpio/gpio9/value # assert  GW2387/GW2388/GW2391 VUSB_EN
    274 }}}
    275225
    276226Refer to the USB device table above for the bus-dev and/or VBUS capabilities per board.