These parameters match those listed in the modinfo wfx parameters description
parm: gpio_reset:gpio number for reset. -1 for none. (int)
parm: gpio_wakeup:gpio number for wakeup. -1 for none. (int)
parm: power_mode:Force power save mode. 0: Disabled, 1: Allow doze, 2: Allow quiescent (int)
Possible values
-2 (default): use values set in device tree
-1: none (GPIO unused)
any positive value: GPIO number as it would be set in the device tree
To check which GPIOs are currently allocated, use sudo cat /sys/kernel/debug/gpio
Typical result when using WF(M)200 in SPI mode
GPIOs 0-53, platform/3f200000.gpio, pinctrl-bcm2835:
gpio-12 ( |wakeup ) out lo
gpio-13 ( |reset ) out hi
GPIOs 100-101, platform/soc:virtgpio, brcmvirt-gpio, can sleep:
gpio-100 ( |? ) out lo
Typical result when using WF(M)200 in SDIO mode
gpiochip0: GPIOs 0-53, parent: platform/3f200000.gpio, pinctrl-bcm2835:
gpio-12 ( |wakeup ) out lo
gpio-13 ( |reset ) out hi
gpiochip2: GPIOs 100-101, brcmvirt-gpio, can sleep:
gpio-100 ( |led0 ) out lo
gpiochip1: GPIOs 504-511, parent: platform/soc:firmware:expgpio, raspberrypi-exp-gpio, can sleep:
gpio-511 ( |led1 ) in hi
Above, the 'wakeup' and 'reset' names match the names listed in the modinfo wfx parameters description:
parm: gpio_reset:gpio number for reset. -1 for none. (int)
parm: gpio_wakeup:gpio number for wakeup. -1 for none. (int)
parm: power_mode:Force power save mode. 0: Disabled, 1: Allow doze, 2: Allow quiescent (int)
Wi-Fi Knowledge Base
KBA: WF(M)200 Checking WFX Linux Driver parameters
WFX Linux driver parameters are accessible under /sys/module/wfx/parameters/
sudo tree /sys/module/wfx/parameters/
Each parameter can be checked
These parameters match those listed in the modinfo wfx parameters description
Possible values
KBA: WF(M)200 Checking Linux GPIOs allocation
To check which GPIOs are currently allocated, use sudo cat /sys/kernel/debug/gpio
Typical result when using WF(M)200 in SPI mode
Typical result when using WF(M)200 in SDIO mode
Above, the 'wakeup' and 'reset' names match the names listed in the modinfo wfx parameters description: