671 | | = Linux LED class for GPIO (and PWM) controlled LEDs = |
672 | | see wiki:linux/led |
| 678 | == GPIO for LED's |
| 679 | While SoC based GPIO's are often used for LED's on various Gateworks boards, there is a Linux gpio-led driver which has a sysfs interface for manipulating the LED's in Linux: |
| 680 | * see wiki:linux/led |
| 681 | |
| 682 | [=#wlan_dis] |
| 683 | == W_DISABLE# |
| 684 | The W_DISABLE# pin (aka WLAN_DIS#) is a pin on miniPCIe cards that if implemented disable radio operation according to the spec. In reality some radios use this as a GPIO that a radio driver can read and certain devices such as the WLE900VX ath10k 802.11 !WiFi radio will not even enumerate on the PCIe bus if this is driven low. |
| 685 | |
| 686 | ||= Board =||= GPIO pin/cont =||= GPIO offset =||= Linux GPIO =||= Notes =|| |
| 687 | || GW700x || GPIO4_IO7 GPIO4 || 7 || gpio103 || || |
| 688 | || || |
| 689 | || GW6xxx || GSC P0.0 i2c/0-0023 || 0 || gpio448 || This is a GSC gpio || |
| 690 | || || |
| 691 | || GW54xx || GPIO5_IO17 GPIO5 || 17 || gpio145 || ventana U-Boot drives this high by default || |
| 692 | || GW53xx || GPIO7_IO12 || 12 || gpio209 || ventana U-Boot drives this high by default || |
| 693 | || GW52xx || GPIO7_IO12 || 12 || gpio209 || ventana U-Boot drives this high by default || |
| 694 | || GW51xx || GPIO7_IO12 || 12 || gpio209 || ventana U-Boot drives this high by default || |
| 695 | || GW551x || GPIO7_IO12 || 12 || gpio209 || ventana U-Boot drives this high by default || |
| 696 | || GW552x ||GPIO7_IO12 || 12 || gpio209 || ventana U-Boot drives this high by default || |
| 697 | || GW553x ||GPIO7_IO12 || 12 || gpio209 || ventana U-Boot drives this high by default || |
| 698 | || GW5910 || GPIO1_IO0 || 0 || gpio0 || ventana U-Boot drives this high by default || |
| 699 | || GW5913 || GPIO1_IO0 || 0 || gpio0 || ventana U-Boot drives this high by default || |
| 700 | |
| 701 | In most cases shown by the table above the GPIO above will be defaulted to driven high in boot firmware or have a pull-up on the card thus typically you would only need to make a change if you want to drive the signal low to 'assert' W_DISABLE# (to disable the card's RF output). |