From 1a5d8c271f351f8dc8679a68a969b0fe6c3cad62 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 24 Nov 2015 18:29:26 +0000 Subject: ralink: add support for netis WF-2881 netis WF-2881 is an MT7621AT based router with MT7602EN, MT7612EN. It has 128MB DDR3, 128MB SLC NAND FLASH, 5-port Gbps switch and 1x USB 3.0. The following patch adds support for this device. this device only works on top of UBI. Tested and working: * ethernet * both WiFi radios * USB 3.0 * buttons (reset button) * ethernet switch and USB diag LEDs * UART * GPIOs * sysupgrade Tested and not working * failsafe Signed-off-by: YounJae Rho git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47619 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/base-files/etc/board.d/01_leds | 3 ++- target/linux/ramips/base-files/etc/board.d/02_network | 1 + target/linux/ramips/base-files/etc/diag.sh | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/base-files/etc') diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 1c18ded505..a4658a01b1 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -44,7 +44,8 @@ air3gii) all0239-3g|\ hw550-3g|\ mofi3500-3gn|\ -sap-g3200u3) +sap-g3200u3|\ +wf-2881) set_usb_led "$board:green:usb" ;; all0256n) diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 22809d1720..7e5122986c 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -78,6 +78,7 @@ ramips_setup_interfaces() oy-0001|\ pbr-m1|\ sap-g3200u3|\ + wf-2881|\ whr-300hp2|\ whr-600d|\ wsr-1166|\ diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 3013d245d6..ff5fbf2696 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -155,6 +155,7 @@ get_status_led() { tew-692gr|\ ur-326n4g|\ ur-336un|\ + wf-2881|\ wr512-3gn) status_led="$board:green:wps" ;; -- cgit v1.2.3