ramips: improve Skylab SKW92A support
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / SKW92A.dts
index c43f9e53ea9f58fdf82002f65d12fc8558a5dada..5aaf3ce161bb6cd4969fca6e3bcd122ecc6ef6e1 100644 (file)
@@ -8,13 +8,11 @@
 
 /{
        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";
                };
        };
@@ -69,7 +71,7 @@
 &spi0 {
        status = "okay";
 
-       m25p80@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;