From 7ba9a3a504909ccf8f6d1aca9b1160443da7215b Mon Sep 17 00:00:00 2001 From: Jing Lin Date: Tue, 18 Oct 2016 16:18:50 +0800 Subject: ar71xx: Add support to DomyWifi DW33D Signed-off-by: Jing Lin --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 6 ++++++ target/linux/ar71xx/base-files/etc/board.d/02_network | 1 + 2 files changed, 7 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 5011af6ec9..89d0b5892b 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -142,6 +142,12 @@ dragino2) ucidef_set_led_netdev "lan" "LAN" "$board:red:lan" "eth0" ucidef_set_led_netdev "wan" "WAN" "$board:red:wan" "eth1" ;; +dw33d) + ucidef_set_led_usbdev "mmc" "MMC" "$board:blue:mmc" "1-1" + ucidef_set_led_usbdev "usb" "USB" "$board:blue:usb" "2-1" + ucidef_set_led_netdev "internet" "INTERNET" "$board:blue:internet" "eth0" + ucidef_set_led_wlan "wlan2g" "WLAN-2.4G" "$board:blue:wlan-2g" "phy1tpt" + ;; eap300v2) ucidef_set_led_netdev "lan" "LAN" "engenius:blue:lan" "eth0" ucidef_set_led_wlan "wlan" "WLAN" "engenius:blue:wlan" "phy0tpt" 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 b7b91d0ad8..eaf67180e8 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -305,6 +305,7 @@ ar71xx_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "2:lan" "3:lan" ;; + dw33d|\ f9k1115v2) ucidef_set_interfaces_lan_wan "eth1" "eth0" ucidef_add_switch "switch0" \ -- cgit v1.2.3