diff options
author | John Crispin <john@openwrt.org> | 2015-02-02 09:01:07 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-02-02 09:01:07 +0000 |
commit | 70db4e46398c8c82774e6af7f7158f3df22d6afe (patch) | |
tree | 01573d0a1f64ead8608d5bf8b52fae51f2f16365 /target/linux/ramips/base-files/etc/board.d | |
parent | bc906ca59e9f437f5cb9543714d1b979ea82838e (diff) | |
download | upstream-70db4e46398c8c82774e6af7f7158f3df22d6afe.tar.gz upstream-70db4e46398c8c82774e6af7f7158f3df22d6afe.tar.bz2 upstream-70db4e46398c8c82774e6af7f7158f3df22d6afe.zip |
ramips: add support for Xiaomi MiWiFi Mini devices
This patch adds support for Xiaomi MiWiFi Mini, a 802.11a/b/g/n/ac dual radio
wireless router based on the MediaTek MT7620a SoC.
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
SVN-Revision: 44238
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 1 |
2 files changed, 4 insertions, 0 deletions
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 af3dddcc58..cfc782ed07 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -231,6 +231,9 @@ case $board in wt3020) ucidef_set_led_default "power" "power" "nexx:blue:power" "0" ;; + xiaomi-miwifi-mini) + ucidef_set_led_default "power" "power" "xiaomi:red:status" "1" + ;; y1 |\ y1s) ucidef_set_led_default "power" "power" "lenovo:blue:power" "1" 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 7724c3e40a..f298aa47af 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -130,6 +130,7 @@ ramips_setup_interfaces() wsr-600 | \ wsr-1166 | \ wt1520 | \ + xiaomi-miwifi-mini |\ y1) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_add_switch "switch0" "1" "1" |