ramips: Use dts alias based status led
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / DWR-512-B.dts
index 74a33e10e4fc347e114114b25e8a82071874b61d..8b06ed708c486abd002cc08ffcc154f3e79a3298 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "dlink,dwr-512-b", "ralink,rt5350-soc";
        model = "D-Link DWR-512 B";
 
+       aliases {
+               led-status = &led_status;
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
@@ -35,7 +39,7 @@
                        label = "dwr-512-b:green:sms";
                        gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
                };
-               status {
+               led_status: status {
                        label = "dwr-512-b:green:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };