ramips: Use dts alias based status led
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / NW718.dts
index 904739753654a26baf78a6e43da570ed3d8561b2..64064acfcfdad2268a11b8a34a5ea9da6bcc594d 100644 (file)
@@ -9,10 +9,14 @@
        compatible = "netcore,nw718", "ralink,rt3050-soc";
        model = "Netcore NW718";
 
+       aliases {
+               led-status = &led_cpu;
+       };
+
        gpio-leds {
                compatible = "gpio-leds";
 
-               cpu {
+               led_cpu: cpu {
                        label = "nw718:amber:cpu";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };