ramips: Use dts alias based status led
[openwrt/openwrt.git] / target / linux / ramips / dts / RT-N15.dts
index ee1c34024ee59e055c5795a7a3c98efc0a1d7a9d..4d6d62f939f2ea63f30cedfc375ac47a81a9215b 100644 (file)
        compatible = "asus,rt-n15", "ralink,rt2880-soc";
        model = "Asus RT-N15";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
@@ -71,7 +75,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               power {
+               led_power: power {
                        label = "rt-n15:blue:power";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };