ramips: Use dts alias based status led
[openwrt/openwrt.git] / target / linux / ramips / dts / WCR150GN.dts
index 9a4c4fc7d1205805f2b718c01c446e98c46a3562..7225f4f54fdd5053e047ab378acc3487df9e1887 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "sparklan,wcr150gn", "ralink,rt3050-soc";
        model = "Sparklan WCR-150GN";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
@@ -49,7 +53,7 @@
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
-               power {
+               led_power: power {
                        label = "wcr-150gn:amber:power";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };