ramips: fix multi colour led handling
[openwrt/openwrt.git] / target / linux / ramips / dts / WIDORA-NEO.dtsi
index 3334c88e22ad6815f484a7bfe88f536fcccccada..4c037c703259bfafd19aacba2dd4dc8c21db0bb6 100644 (file)
@@ -6,6 +6,10 @@
 / {
        compatible = "widora,neo", "mediatek,mt7628an-soc";
 
+       aliases {
+               led-status = &led_wifi;
+       };
+
        chosen {
                bootargs = "console=ttyS0,115200";
        };
@@ -18,7 +22,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               wifi {
+               led_wifi: wifi {
                        label = "widora:orange:wifi";
                        gpios = <&wgpio 0 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
@@ -27,8 +31,6 @@
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                wps {