ath79: add WLAN, Ethernet-Switch with LAN/WAN and Status LED to Dorin

Signed-off-by: Catrinel Catrinescu <cc@80211.de>
This commit is contained in:
Catrinel Catrinescu
2018-06-05 16:56:48 +02:00
committed by John Crispin
parent 32ab2e16b1
commit dc1268cb11
3 changed files with 15 additions and 6 deletions

View File

@@ -14,6 +14,11 @@ ath79_setup_interfaces()
ucidef_set_interface_lan "eth0"
;;
"embeddedwireless,dorin")
ucidef_add_switch "switch0" \
"0@eth0" "1:wan" "2:lan:3" "3:lan:2"
;;
"glinet,ar150")
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;

View File

@@ -12,6 +12,9 @@ get_status_led() {
"avm,fritz300e")
status_led="${boardname}:green:power"
;;
"embeddedwireless,dorin")
status_led="dorin:green:status"
;;
"glinet,ar150")
status_led="gl-ar150:orange:wlan"
;;