ramips: Use dts alias based status led
[openwrt/staging/jow.git] / target / linux / ramips / dts / HW550-3G.dts
index f6a05fcd5f832343ae4e4f54a8abea492e6e4a12..863de7b941034279fa6440efb0e6f19f9d50af1c 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "aztech,hw550-3g", "ralink,rt3052-soc";
        model = "Aztech HW550-3G";
 
+       aliases {
+               led-status = &led_status;
+       };
+
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
@@ -54,7 +58,7 @@
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
-               status {
+               led_status: status {
                        label = "hw550-3g:green:status";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };