ramips: Use dts alias based status led
[openwrt/openwrt.git] / target / linux / ramips / dts / DWR-921-C1.dts
index dbcbc17d843ffc683f5896c0562ed0f38fc9c733..5a32c55f3894ab7db52372c23be30ef6c1077f39 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "dlink,dwr-921-c1", "ralink,mt7620n-soc";
        model = "D-Link DWR-921 C1";
 
+       aliases {
+               led-status = &led_sstrenghg;
+       };
+
        gpio-keys-polled {
        compatible = "gpio-keys-polled";
                #address-cells = <1>;
@@ -41,7 +45,7 @@
                        gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
                };
 
-               sstrengthg {
+               led_sstrenghg: sstrengthg {
                        label = "dwr-921-c1:green:sigstrength";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
                };