ramips: Use dts alias based status led
[openwrt/openwrt.git] / target / linux / ramips / dts / ALL0239-3G.dts
index f34567f286b697388b313c95f9fd1f7c0b051639..d27561a5b52985150f2b26484b9fbdf3b50b6fe0 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "allnet,all0239-3g", "ralink,rt3052-soc";
        model = "Allnet ALL0239-3G";
 
+       aliases {
+               led-status = &led_status;
+       };
+
 
        cfi@1f000000 {
                compatible = "cfi-flash";
@@ -55,7 +59,7 @@
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
-               status {
+               led_status: status {
                        label = "all0239-3g:green:status";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };