diff options
Diffstat (limited to 'target/linux/apm821xx/base-files/etc/board.d')
-rwxr-xr-x | target/linux/apm821xx/base-files/etc/board.d/01_leds | 8 | ||||
-rwxr-xr-x | target/linux/apm821xx/base-files/etc/board.d/02_network | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/apm821xx/base-files/etc/board.d/01_leds b/target/linux/apm821xx/base-files/etc/board.d/01_leds index bcc7a9f101..48fe139ce9 100755 --- a/target/linux/apm821xx/base-files/etc/board.d/01_leds +++ b/target/linux/apm821xx/base-files/etc/board.d/01_leds @@ -19,6 +19,14 @@ mr24) mbl) ;; +wndr4700) + ucidef_set_led_netdev "wan" "WAN (green)" "wndr4700:green:wan" "eth0.2" + ucidef_set_led_usbdev "usb3-1" "USB3-1" "wndr4700:blue:usb" "2-1" + ucidef_set_led_usbdev "usb3-2" "USB3-2" "wndr4700:blue:usb" "3-1" + ucidef_set_led_wlan "wlan2g" "WLAN2G" "wndr4700:blue:wlan" "phy0tpt" + ucidef_set_led_wlan "wlan5g" "WLAN5G" "wndr4700:blue:wlan" "phy1tpt" + ;; + *) ;; esac diff --git a/target/linux/apm821xx/base-files/etc/board.d/02_network b/target/linux/apm821xx/base-files/etc/board.d/02_network index 9525d8c5f2..3a25709a2a 100755 --- a/target/linux/apm821xx/base-files/etc/board.d/02_network +++ b/target/linux/apm821xx/base-files/etc/board.d/02_network @@ -13,6 +13,12 @@ mbl | \ mr24) ucidef_set_interface_lan "eth0" ;; + +wndr4700) + ucidef_add_switch "switch0" \ + "0@eth0" "4:lan" "3:lan" "2:lan" "1:lan" "5:wan" + ;; + *) ucidef_set_interfaces_lan_wan "eth0" "eth1" ;; |