ramips: Use dts alias based status led
[openwrt/openwrt.git] / target / linux / ramips / dts / DIR-600-B1.dts
index 0e8239d0b33a60fc39b56bc4e87bf2198ccce93c..b01232267eded7493e24d175adecc70fe68bf379 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "dlink,dir-600-b1", "ralink,rt3050-soc";
        model = "D-Link DIR-600 B1";
 
+       aliases {
+               led-status = &led_status_green;
+       };
+
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
@@ -68,7 +72,7 @@
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
-               status2 {
+               led_status_green: status2 {
                        label = "dir-600-b1:green:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };