ramips: Use dts alias based status led
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / M3.dts
index 5f52e6064ff58f1d26e61424f8d97757c5a3aaa6..8d9241a8b49136387e6bcd6ff4d8c7e17b83a641 100644 (file)
@@ -9,10 +9,14 @@
        compatible = "poray,m3", "ralink,rt5350-soc";
        model = "Poray M3";
 
+       aliases {
+               led-status = &led_status;
+       };
+
        gpio-leds {
                compatible = "gpio-leds";
 
-               status {
+               led_status: status {
                        label = "m3:blue:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };