ramips: Use dts alias based status led
[openwrt/openwrt.git] / target / linux / ramips / dts / WHR-600D.dts
index 611a23d9bbbca5b9fcae21a364c9ff489e262da2..fc90fc6c463e407875b964b0186500e7ed959ac6 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "buffalo,whr-600d", "ralink,mt7620a-soc";
        model = "Buffalo WHR-600D";
 
+       aliases {
+               led-status = &led_power_green;
+       };
+
        gpio-leds {
                compatible = "gpio-leds";
 
@@ -22,7 +26,7 @@
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
-               power2 {
+               led_power_green: power2 {
                        label = "whr-600d:green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };