ramips: Use dts alias based status led
[openwrt/openwrt.git] / target / linux / ramips / dts / TEW-638APB-V2.dts
index 3c9b12968f97b735fa9450003fd37a7f676676df..c0e09fea5129436e4632dfd4a9509616ee1fa401 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "trendnet,tew-638apb-v2", "ralink,rt3050-soc";
        model = "TRENDnet TEW-638APB v2";
 
+       aliases {
+               led-status = &led_wps_green;
+       };
+
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x400000>;
@@ -68,7 +72,7 @@
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
-               wps2 {
+               led_wps_green: wps2 {
                        label = "tew-638apb-v2:green:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };