Changes between Version 21 and Version 22 of FSA


Ignore:
Timestamp:
04/29/2025 05:15:03 PM (8 weeks ago)
Author:
Tim Harvey
Comment:

moved power enable section

Legend:

Unmodified
Added
Removed
Modified
  • FSA

    v21 v22  
    150150
    151151
     152
     153== FSA Card Power Enable
     154Power enable allows the power to be completely removed from the Mini-PCIe or M.2 card from a Linux GPIO. This can be useful for resetting devices and/or power saving.
     155
     156If an FSA adapter and baseboard supports power enable for an FSA socket, the GPIO will be named 'fsa<n>_card_pen' and can be accessed in both Linux and U-Boot. For example:
     157 * disable and re-enable card power on FSA2:
     158  - In U-Boot:
     159{{{#!bash
     160gpio clr fsa2_card_pen # drive low to disable
     161gpio set fsa2_card_pen # drive high to enable
     162}}}
     163  - In Linux:
     164{{{#!bash
     165gpioset --mode exit $(gpiofind "fsa2_card_pen")=0 # drive low to disable
     166gpioset --mode exit $(gpiofind "fsa2_card_pen")=1 # drive high to enable
     167}}}
     168
     169Note that card power enable is available on all current FSA adapters and on the GW82xx-C (C Revision) baseboard.
     170
    152171== GW82xx Baseboard
    153172The GW82xx has two FSA sockets:
    154173 * FSA1 (J29): USB2.0, USB3.0, PCIE3.0 (2x 1x lanes), SPI, GPIO (3x), Power Enable
    155174 * FSA2 (J30): USB2.0, USB3.0, PCIE3.0 (2x 1x lanes), PCM, UART (4-wire), SPI, SDIO (1.8V), GPIO (3x), Power Enable
    156 
    157 
    158 === FSA Card Power Enable
    159 Power enable allows the power to be completely removed from the Mini-PCIe or M.2 card from a Linux GPIO. This can be useful for resetting devices and/or power saving.
    160 
    161 If an FSA adapter and baseboard supports power enable for an FSA socket, the GPIO will be named 'fsa<n>_card_pen' and can be accessed in both Linux and U-Boot. For example:
    162  * disable and re-enable card power on FSA2:
    163   - In U-Boot:
    164 {{{#!bash
    165 gpio clr fsa2_card_pen # drive low to disable
    166 gpio set fsa2_card_pen # drive high to enable
    167 }}}
    168   - In Linux:
    169 {{{#!bash
    170 gpioset --mode exit $(gpiofind "fsa2_card_pen")=0 # drive low to disable
    171 gpioset --mode exit $(gpiofind "fsa2_card_pen")=1 # drive high to enable
    172 }}}
    173 
    174 Note that card power enable is available on all current FSA adapters and on the GW82xx-C (C Revision) baseboard.
    175175
    176176== GW16FE0 FSA M.2 E-Key Adapter