ramips: Use dts alias based status led
[openwrt/staging/hauke.git] / target / linux / ramips / dts / ASL26555.dtsi
index 67dc34787e09c175fc18e9e9ed0c1b9e5133d5a7..405cc55114ace1c8ddc43e676834f033fa4c6112 100644 (file)
@@ -6,6 +6,10 @@
 / {
        compatible = "alphanetworks,asl26555", "ralink,rt3050-soc";
 
+       aliases {
+               led-status = &led_power_green;
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
@@ -48,7 +52,7 @@
                        gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
                };
 
-               power-green {
+               led_power_green: power-green {
                        label = "asl26555:green:power";
                        gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
                };