ramips: fix dtc warnings
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / MIWIFI-NANO.dts
index b8a325d4f4744409cdb39c38c68526ac1ffc1563..a39f3392ac7bff30a5a60bd1788f5d0b204faae8 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "xiaomi,miwifi-nano", "mediatek,mt7628an-soc";
        model = "MiWiFi Nano";
 
+       aliases {
+               led-status = &led_blue;
+       };
+
        chosen {
                bootargs = "console=ttyS0,115200";
        };
@@ -21,7 +25,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               status_blue {
+               led_blue: status_blue {
                        label = "miwifi-nano:blue:status";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
@@ -37,8 +41,6 @@
 
        gpio-keys {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                reset {