From bf66bb8c969c58ef658407165a74afbfb4055997 Mon Sep 17 00:00:00 2001 From: Ding Tengfei Date: Wed, 7 Feb 2018 11:47:52 +0800 Subject: ar71xx:add support for COMFAST CF-E375AC COMFAST CF-E375AC is a ceiling mount AP with PoE support, based on Qualcomm/Atheros QCA9563 + QCA9886 + QCA8337. Short specification: 2x 10/100/1000 Mbps Ethernet, with PoE support 128MB of RAM (DDR2) 16 MB of FLASH 3T3R 2.4 GHz, 802.11b/g/n 2T2R 5 GHz, 802.11ac/n/a, wave 2 built-in 5x 3 dBi antennas output power (max): 500 mW (27 dBm) 1x RGB LED, 1x button built-in watchdog chipset Flash instruction: Original firmware is based on OpenWrt. Use sysupgrade image directly in vendor GUI. Signed-off-by: Ding Tengfei --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 5 +++++ target/linux/ar71xx/base-files/etc/board.d/02_network | 1 + 2 files changed, 6 insertions(+) (limited to 'target/linux/ar71xx/base-files/etc/board.d') diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index 5739972e75..a3154db7ed 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -208,6 +208,11 @@ cf-e320n-v2) ucidef_set_led_netdev "wan" "WAN" "$board:red:wan" "eth1" ucidef_set_led_wlan "wlan" "WLAN" "$board:blue:wlan" "phy0tpt" ;; +cf-e375ac) + ucidef_set_led_switch "wan" "WAN" "comfast:red:wan" "switch0" "0x02" + ucidef_set_led_switch "lan" "LAN" "comfast:green:lan" "switch0" "0x04" + ucidef_set_led_wlan "wlan1" "WLAN" "comfast:blue:wlan" "phy1tpt" + ;; cf-e355ac|\ cf-e380ac-v1|\ cf-e380ac-v2) diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 02eb94691c..435d413c63 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -434,6 +434,7 @@ ar71xx_setup_interfaces() ucidef_add_switch "switch1" \ "0@eth1" "1:lan:4" "2:lan:1" "3:lan:3" "4:lan:2" "5:wan" ;; + cf-e375ac |\ rb-map-2nd) ucidef_add_switch "switch0" \ "0@eth0" "1:wan" "2:lan" -- cgit v1.2.3