ramips: Use dts alias based status led
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / BR-6475ND.dts
index 11611b083f86e706016ca07f96dcab0d942e216a..1c3afe54c29b8b93d3eb6d505915407953144ac1 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "edimax,br-6475nd", "ralink,rt3883-soc";
        model = "Edimax BR-6475nD";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
@@ -32,7 +36,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               power {
+               led_power: power {
                        label = "br-6475nd:green:power";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };