ramips: fix device name of netis WF-2881 to WF2881

The correct model name of WF-2881 is WF2881 without hyphen. The former used
boardnames are not added to SUPPORTED_DEVICES, to make it explicit that the
sysupgrade-tar image, which is newly added in the previous commit, should
not be used to upgrade from older version.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
[adjust commit title]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Sungbo Eo
2019-10-08 22:21:13 +09:00
committed by Adrian Schmutzler
parent e030d162f7
commit cc89c5fe27
4 changed files with 10 additions and 11 deletions

View File

@@ -6,8 +6,8 @@
#include <dt-bindings/input/input.h>
/ {
compatible = "netis,wf-2881", "mediatek,mt7621-soc";
model = "NETIS WF-2881";
compatible = "netis,wf2881", "mediatek,mt7621-soc";
model = "NETIS WF2881";
aliases {
led-boot = &led_wps;
@@ -25,14 +25,14 @@
compatible = "gpio-leds";
usb {
label = "wf-2881:green:usb";
label = "wf2881:green:usb";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
led_wps: wps {
label = "wf-2881:green:wps";
label = "wf2881:green:wps";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
};