diff options
Diffstat (limited to 'target/linux/ath79/generic/base-files')
-rw-r--r-- | target/linux/ath79/generic/base-files/etc/board.d/01_leds | 8 | ||||
-rw-r--r-- | target/linux/ath79/generic/base-files/etc/board.d/02_network | 4 |
2 files changed, 11 insertions, 1 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 1990353394..8ead3ec0a3 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 @@ -260,6 +260,14 @@ pcs,cr3000) ucidef_set_led_switch "lan3" "LAN3" "blue:lan3" "switch0" "0x10" ucidef_set_led_switch "lan4" "LAN4" "blue:lan4" "switch0" "0x02" ;; +qca,ap143-8m|\ +qca,ap143-16m) + ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1" + ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x02" + ucidef_set_led_switch "lan2" "LAN2" "green:lan2" "switch0" "0x04" + ucidef_set_led_switch "lan3" "LAN3" "green:lan3" "switch0" "0x08" + ucidef_set_led_switch "lan4" "LAN4" "green:lan4" "switch0" "0x10" + ;; qihoo,c301) ucidef_set_led_wlan "wlan" "WLAN" "green:wlan" "phy0tpt" ;; 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 87aaf0bcad..8ea52af67a 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 @@ -192,7 +192,9 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "1:wan" "2:lan" ;; - comfast,cf-e560ac) + comfast,cf-e560ac|\ + qca,ap143-8m|\ + qca,ap143-16m) ucidef_set_interface_wan "eth1" ucidef_add_switch "switch0" \ "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" |