set_wifi_led "$boardname:amber:wlan"
;;
3g-6200nl|\
+skylab,skw92a|\
wnce2001)
set_wifi_led "$boardname:green:wlan"
;;
ucidef_set_led_netdev "wan" "wan" "$boardname:blue:wan" eth0.2
set_wifi_led "$boardname:blue:air"
;;
-skw92a)
- set_wifi_led "$boardname:green:wlan"
- ;;
tama,w06)
ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth0"
ucidef_set_led_wlan "wlan" "WLAN" "$boardname:green:wlan" "phy0tpt"
tl-wr840n-v4|\
tl-wr840n-v5|\
tl-wr841n-v13|\
+ skylab,skw92a|\
u7628-01-128M-16M|\
ubnt-erx|\
ubnt-erx-sfp|\
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "8@eth0"
;;
- skw92a)
- ucidef_add_switch "switch0" \
- "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0"
- ;;
tew-638apb-v2)
ucidef_add_switch "switch0" \
"4:lan" "6@eth0"
lan_mac=$(macaddr_setbit_la "$lan_mac")
wan_mac=$(mtd_get_mac_binary factory 32772)
;;
- skw92a)
+ skylab,skw92a)
lan_mac=$(mtd_get_mac_binary factory 40)
wan_mac=$(mtd_get_mac_binary factory 46)
;;
/{
compatible = "skylab,skw92a", "mediatek,mt7628an-soc";
- model = "SKW92A";
+ model = "SKYLAB SKW92A";
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
};
chosen {
compatible = "gpio-leds";
led_power: wps {
- label = "skw92:green:wps";
+ label = "skw92a:green:wps";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
};
+
+ wlan {
+ label = "skw92a:green:wlan";
+ gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
+ };
};
gpio-keys {
gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
-
};
};
&pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "wdt", "refclk", "gpio";
+ ralink,group = "wdt", "refclk", "wled_an";
ralink,function = "gpio";
};
};
&spi0 {
status = "okay";
- m25p80@0 {
+ flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
endef
TARGET_DEVICES += pbr-d1
-define Device/skw92a
+define Device/skylab_skw92a
DTS := SKW92A
IMAGE_SIZE := 16064k
DEVICE_TITLE := Skylab SKW92A
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
endef
-TARGET_DEVICES += skw92a
+TARGET_DEVICES += skylab_skw92a
define Device/tplink_tl-wa801nd-v5
$(Device/tplink)