ramips: Use dts alias based status led
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / PWH2004.dts
index c086894fd25407965e37fbd5120abf638d6ef343..332e82265f757557b439d1c537256ecf6c0dbe5a 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "prolink,pwh2004", "ralink,rt3052-soc";
        model = "Prolink PWH2004";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
@@ -49,7 +53,7 @@
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
-               power {
+               led_power: power {
                        label = "pwh2004:green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };