ramips: Use dts alias based status led
[openwrt/openwrt.git] / target / linux / ramips / dts / DIR-615-H1.dts
index 7d410f1ddc6738f35d22a33517b08d0ea2d79447..6b04cc550b03e5e34a203b01ff35fa6c19c88645 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "dlink,dir-615-h1", "ralink,rt3352-soc";
        model = "D-Link DIR-615 H1";
 
+       aliases {
+               led-status = &led_status_green;
+       };
+
        gpio-leds {
                compatible = "gpio-leds";
 
@@ -17,7 +21,7 @@
                        gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
                };
 
-               status2 {
+               led_status_green: status2 {
                        label = "dir-615-h1:green:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
                };