Changes between Version 11 and Version 12 of USB


Ignore:
Timestamp:
11/29/2018 01:27:08 AM (6 years ago)
Author:
Tim Harvey
Comment:

added GW640x-B USB2 bus steering

Legend:

Unmodified
Added
Removed
Modified
  • USB

    v11 v12  
    113113||||
    114114||         || GW640x || Front Panel Top SS    || J23 || Soft/VBUS || 2-1.2 || ||
    115 ||         ||        || Front Panel Top HS    || J23 || Soft/VBUS || 1-1.2 || ||
     115||         ||        || Front Panel Top HS    || J23 || Soft/VBUS || 1-1.2 || CN80XX gpio 20 / linux gpio484 ||
    116116||         ||        || Front Panel Bot SS    || J23 || Soft/VBUS || 2-1.1 || ||
    117117||         ||        || Front Panel Bot HS    || J23 || Soft/VBUS || 1-1.1 || ||
     
    189189
    190190Examples:
     191 * Newport GW640x: steer the front panel USB2 signals to the J10 miniPCIe socket which uses CN80XX GPIO_20 which is Linux gpio-484:
     192{{{#!bash
     193# export and configure the GPIO as an output high
     194GPIO=484
     195echo $GPIO > /sys/class/gpio/export
     196echo out > /sys/class/gpio/gpio$GPIO/direction
     197echo 1 > /sys/class/gpio/gpio$GPIO/value # 0=front-panel 1=miniPCIe-J10
     198}}}
     199  - Note that on Newport you can steer this at boot time using the {{{hwconfig}}} bootloader env variable (see wiki:newport/bootloader#hwconfig)
    191200 * Ventana GW52xx: steer the USB OTG bus to the miniPCIe socket (device-mode only) which uses gpio2:
    192201{{{#!bash
    193202# export and configure the GPIO as an output high
    194 echo 2 > /sys/class/gpio/export
    195 echo out > /sys/class/gpio/gpio2/direction
    196 echo 1 > /sys/class/gpio/gpio2/value # 0=front-panel 1=miniPCIe-j8
     203GPIO=2
     204echo $GPIO > /sys/class/gpio/export
     205echo out > /sys/class/gpio/gpio$GPIO/direction
     206echo 1 > /sys/class/gpio/gpio$GPIO/value # 0=front-panel 1=miniPCIe-J8
    197207}}}
    198208 * Laguna GW2387/GW2388/GW2391: steer USB OTG bus to miniPCIe socket (device mode only) which uses gpio 5: