ramips: Use dts alias based status led
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / WSR-1166.dts
index 38edbde74584bf408eea9ba8408f0a3e46f56198..8207b0214e5afc3bb0053539155390a3bdcb740d 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "buffalo,wsr-1166dhp", "mediatek,mt7621-soc";
        model = "Buffalo WSR-1166DHP";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x8000000>;
@@ -46,7 +50,7 @@
                        gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
                };
 
-               power {
+               led_power: power {
                        label = "wsr-1166:green:power";
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                };