ucidef_set_led_wlan "wlan1" "WLAN" "comfast:blue:wlan" "phy1tpt"
;;
cf-e355ac|\
+cf-e355ac-v2)
+ ucidef_set_led_netdev "lan" "LAN" "cf-e355ac:green:lan" "eth0"
+ ucidef_set_led_wlan "wlan2g" "WLAN2G" "cf-e355ac:blue:wlan2g" "phy1tpt"
+ ucidef_set_led_wlan "wlan5g" "WLAN5G" "cf-e355ac:red:wlan5g" "phy0tpt"
+ ;;
cf-e380ac-v1|\
cf-e380ac-v2)
ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0"
archer-c58-v1|\
archer-c59-v1|\
archer-c60-v1|\
+ cf-e355ac-v2|\
cf-e375ac)
ath10kcal_extract "art" 20480 12064
ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
*"CF-E355AC")
name="cf-e355ac"
;;
+ *"CF-E355AC v2")
+ name="cf-e355ac-v2"
+ ;;
*"CF-E375AC")
name="cf-e375ac"
;;
cf-e316n-v2|\
cf-e320n-v2|\
cf-e355ac|\
+ cf-e355ac-v2|\
cf-e375ac|\
cf-e380ac-v1|\
cf-e380ac-v2|\
select ATH79_DEV_WMAC
config ATH79_MACH_CF_E355AC
- bool "COMFAST CF-E355AC support"
+ bool "COMFAST CF-E355AC v1/v2 support"
select SOC_QCA953X
+ select ATH79_DEV_AP9X_PCI if PCI
select ATH79_DEV_ETH
select ATH79_DEV_GPIO_BUTTONS
- select ATH79_DEV_AP9X_PCI if PCI
+ select ATH79_DEV_LEDS_GPIO
+ select ATH79_DEV_M25P80
+ select ATH79_DEV_USB
select ATH79_DEV_WMAC
config ATH79_MACH_CF_E375AC
* Support for COMFAST boards:
* - CF-E316N v2 (AR9341)
* - CF-E320N v2 (QCA9531)
- * - CF-E355AC (QCA9531)
+ * - CF-E355AC (QCA9531 + QCA9882)
+ * - CF-E355AC v2 (QCA9531 + QCA9886)
* - CF-E375AC (QCA9563 + QCA9886 + QCA8337)
* - CF-E380AC v1/v2 (QCA9558)
* - CF-E520N/CF-E530N (QCA9531)
MIPS_MACHINE(ATH79_MACH_CF_E355AC, "CF-E355AC", "COMFAST CF-E355AC",
cf_e355ac_setup);
+MIPS_MACHINE(ATH79_MACH_CF_E355AC_V2, "CF-E355AC-V2", "COMFAST CF-E355AC v2",
+ cf_e355ac_setup);
+
static void __init cf_e375ac_setup(void)
{
u8 *mac = (u8 *) KSEG1ADDR(0x1f040000);
ATH79_MACH_CF_E316N_V2, /* COMFAST CF-E316N v2 */
ATH79_MACH_CF_E320N_V2, /* COMFAST CF-E320N v2 */
ATH79_MACH_CF_E355AC, /* COMFAST CF-E355AC */
+ ATH79_MACH_CF_E355AC_V2, /* COMFAST CF-E355AC v2*/
ATH79_MACH_CF_E375AC, /* COMFAST CF-E375AC */
ATH79_MACH_CF_E380AC_V1, /* COMFAST CF-E380AC v1 */
ATH79_MACH_CF_E380AC_V2, /* COMFAST CF-E380AC v2 */
endef
TARGET_DEVICES += cf-e355ac
+define Device/cf-e355ac-v2
+ $(Device/cf-e355ac)
+ DEVICE_TITLE := COMFAST CF-E355AC v2
+ DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ath10k ath10k-firmware-qca9888
+ BOARDNAME := CF-E355AC-V2
+endef
+TARGET_DEVICES += cf-e355ac-v2
+
define Device/cf-e375ac
DEVICE_TITLE := COMFAST CF-E375AC
DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca9888