ramips: Use dts alias based status led
[openwrt/openwrt.git] / target / linux / ramips / dts / DIR-860L-B1.dts
index 5dfc1eeaefd57d5a81e019f13f6fd9d1630bc952..b8e675eb2fd510b3565fd40a1dbfdebb65c2076c 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "dlink,dir-860l-b1", "mediatek,mt7621-soc";
        model = "D-Link DIR-860L B1";
 
+       aliases {
+               led-status = &led_power_green;
+       };
+
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x8000000>;
@@ -26,7 +30,7 @@
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
-               power2 {
+               led_power_green: power2 {
                        label = "dir-860l-b1:green:power";
                        gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
                };