J9 header pinout on Comfast CF-E320N v2 PCB:
1. GPIO14
2. GPIO12
3. GPIO11
4. GPIO16
5. VCC (I/O, 2,62 v)
6. GND
Setup available GPIOs as inputs by default.
This allows to use them later in Linux system.
#define CONFIG_QCA_GPIO_MASK_LED_ACT_H GPIO0 | GPIO2 | GPIO3
#define CONFIG_QCA_GPIO_MASK_OUT CONFIG_QCA_GPIO_MASK_LED_ACT_H
- #define CONFIG_QCA_GPIO_MASK_IN GPIO17
+ #define CONFIG_QCA_GPIO_MASK_IN GPIO11 | GPIO12 | GPIO14 |\
+ GPIO16 | GPIO17
#define CONFIG_QCA_GPIO_MASK_OUT_INIT_L CONFIG_QCA_GPIO_MASK_LED_ACT_H
#elif defined(CONFIG_FOR_COMFAST_CF_E520N) ||\