diff options
Diffstat (limited to 'target/linux/ath79/generic/base-files')
3 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/01_leds b/target/linux/ath79/generic/base-files/etc/board.d/01_leds index 783b55ec32..827055bc1f 100644 --- a/target/linux/ath79/generic/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/generic/base-files/etc/board.d/01_leds @@ -132,6 +132,10 @@ comfast,cf-e314n-v2) ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:rssimediumhigh" "wlan0" "51" "100" ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssihigh" "wlan0" "76" "100" ;; +comfast,cf-e375ac) + ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x04" + ucidef_set_led_switch "wan" "WAN" "red:wan" "switch0" "0x02" + ;; comfast,cf-e5) ucidef_set_led_switch "lan" "LAN" "blue:lan" "switch0" "0x02" ucidef_set_led_netdev "wan" "WAN" "blue:wan" "eth1" diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network index 52e773fea3..4133b9d7d3 100644 --- a/target/linux/ath79/generic/base-files/etc/board.d/02_network +++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network @@ -186,6 +186,10 @@ ath79_setup_interfaces() ubnt,routerstation) ucidef_set_interfaces_lan_wan "eth1" "eth0" ;; + comfast,cf-e375ac) + ucidef_add_switch "switch0" \ + "0@eth0" "1:wan" "2:lan" + ;; comfast,cf-e560ac) ucidef_set_interface_wan "eth1" ucidef_add_switch "switch0" \ @@ -487,6 +491,9 @@ ath79_setup_macs() lan_mac=$(fritz_tffs -n maca -i $(find_mtd_part "tffs (1)")) wan_mac=$(fritz_tffs -n macb -i $(find_mtd_part "tffs (1)")) ;; + comfast,cf-e375ac) + wan_mac=$(macaddr_add $(mtd_get_mac_binary art 0x0) 1) + ;; compex,wpj344-16m|\ compex,wpj563) wan_mac=$(mtd_get_mac_binary u-boot 0x2e018) diff --git a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index 5a44dd94e5..9e4b4496e5 100644 --- a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -173,6 +173,7 @@ case "$FIRMWARE" in /lib/firmware/ath10k/QCA9888/hw2.0/board.bin rm /lib/firmware/ath10k/QCA9888/hw2.0/board-2.bin ;; + comfast,cf-e375ac|\ comfast,cf-e560ac|\ comfast,cf-ew72|\ comfast,cf-wr752ac-v1) |