ramips: Use dts alias based status led
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / W502U.dts
index b02c6c125622db4a83976a83b157521f0a4dd0f9..a370137790d4905f003f1ab25112e6d3f7c00177 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "alfanetworks,w502u", "ralink,rt3052-soc";
        model = "ALFA Networks W502U";
 
+       aliases {
+               led-status = &led_wps;
+       };
+
        chosen {
                bootargs = "console=ttyS0,115200";
        };
@@ -53,7 +57,7 @@
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
-               wps {
+               led_wps: wps {
                        label = "w502u:blue:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };