Changes between Version 13 and Version 14 of USB


Ignore:
Timestamp:
11/05/2019 06:36:16 PM (4 years ago)
Author:
Cale Collins
Comment:

improvements to switched socket power section.

Legend:

Unmodified
Added
Removed
Modified
  • USB

    v13 v14  
    305305=== Switched Socket Power ===
    306306
    307 GW53xx and GW54xx boards with -G and later revisions have a programmable load switch added that can enable and disable power on a single slot by toggling a GPIO.
     307GW53xx and GW54xx boards with -G and later revisions have a power switch added that can enable and disable power on a single slot by toggling a GPIO.  Power is enabled by default. 
    308308
    309309On both GW53xx and GW54xx this is GPIO79 (GPIO bank 3, DIO 15), pad PAD_EIM_DA15__GPIO3_IO15.
    310310
    311 
    312 
     311To toggle this GPIO:
     312
     313{{{#!bash
     314echo 79 > /sys/class/gpio/export
     315echo out > /sys/class/gpio/gpio79/direction
     316echo 0 > /sys/class/gpio/gpio79/value # '0' will disable power, '1' will enable power. 
     317}}}
    313318
    314319