Changes between Version 20 and Version 21 of FSA
- Timestamp:
- 04/29/2025 05:13:54 PM (6 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FSA
v20 v21 142 142 - In U-Boot: 143 143 {{{#!bash 144 u-boot=>gpio clr fsa2_wdisable#144 gpio clr fsa2_wdisable# 145 145 }}} 146 146 - In Linux: 147 147 {{{#!bash 148 # gpioset --mode signal $(gpiofind "fsa2_wdisable#")=0148 gpioset --mode exkt $(gpiofind fsa2_wdisable#)=0 149 149 }}} 150 150 … … 155 155 * FSA2 (J30): USB2.0, USB3.0, PCIE3.0 (2x 1x lanes), PCM, UART (4-wire), SPI, SDIO (1.8V), GPIO (3x), Power Enable 156 156 157 === Power Enable 158 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. 159 160 To toggle the gpio, use the gpioinfo command from the Linux command line to see the assigned GPIO. For more GPIO instructions, read [wiki:gpio#LinuxGPIO] 161 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. 162 175 163 176 == GW16FE0 FSA M.2 E-Key Adapter … … 228 241 - driving wdisable1# low in U-Boot 229 242 {{{#!bash 230 u-boot=> gpio clr fsa1_wdisable1#" 243 gpio clr fsa1_wdisable1# 231 244 }}} 232 245 * M.2 E-Key card in FSA2: 233 246 - driving wdisable2# low in Linux: 234 247 {{{#!bash 235 # gpioset --mode signal $(gpiofind "fsa2_wdisable2#")=0248 gpioset --mode exit $(gpiofind fsa2_wdisable2#)=0 236 249 }}} 237 250 … … 2041 2054 - disable RF in Linux: drive fsa2_wdisable# low 2042 2055 {{{#!bash 2043 # gpioset --mode signal $(gpiofind "fsa2_wdisable#")=02044 }}} 2045 2056 gpioset --mode exit $(gpiofind fsa2_wdisable#)=0 2057 }}} 2058