ramips: Use dts alias based status led
[openwrt/staging/jow.git] / target / linux / ramips / dts / AWAPN2403.dts
index c304373ce17a6a0221d32aa4bb8d302448c0a6c1..8c8117005497af896694dba2cfc5765701f57c25 100644 (file)
@@ -9,10 +9,15 @@
        compatible = "asiarf,awapn2403", "ralink,rt3052-soc";
        model = "AsiaRF AWAPN2403";
 
+       aliases {
+               led-status = &led_wps;
+       };
+
+
        gpio-leds {
                compatible = "gpio-leds";
 
-               link {
+               led_wps: wps {
                        label = "awapn2403:green:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };