ramips: Use dts alias based status led
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / UR-326N4G.dts
index ecb747c766b688cdb4569a5af8ce6b1807c01d47..4a8dbd9716795351fc282be64e0ec77f00744676 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "upvel,ur-326n4g", "ralink,rt3052-soc";
        model = "UPVEL UR-326N4G";
 
+       aliases {
+               led-status = &led_wps;
+       };
+
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
@@ -59,7 +63,7 @@
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
-               wps {
+               led_wps: wps {
                        label = "ur-326n4g:green:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };