ramips: Use dts alias based status led
[openwrt/openwrt.git] / target / linux / ramips / dts / CS-QR10.dts
index 6b70a31678d52cdebc3c1c79abf7d4b8610ccf8d..c629068328574906020891d5cfb94ff2b6ca915b 100644 (file)
@@ -9,10 +9,14 @@
        compatible = "planex,cs-qr10", "ralink,mt7620a-soc";
        model = "Planex CS-QR10";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        gpio-leds {
                compatible = "gpio-leds";
 
-               power {
+               led_power: power {
                        label = "cs-qr10:red:power";
                        gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
                };