ramips: fix dtc warnings
[openwrt/openwrt.git] / target / linux / ramips / dts / AI-BR100.dts
index 687a78a10e84d27e862001719f2d699783af1f4c..520f60a1f0cc67347b9bc7b28a5c4d88ada59190 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "aigale,ai-br100", "ralink,mt7620a-soc";
        model = "Aigale Ai-BR100";
 
+       aliases {
+               led-status = &led_wlan;
+       };
+
        gpio-leds {
                compatible = "gpio-leds";
 
@@ -17,7 +21,7 @@
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                };
 
-               wlan {
+               led_wlan: wlan {
                        label = "ai-br100:blue:wlan";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
@@ -25,8 +29,6 @@
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                reset {
 };
 
 &ethernet {
-       pinctrl-names = "default";
-       pinctrl-0 = <&ephy_pins>;
        mtd-mac-address = <&factory 0x4>;
        mediatek,portmap = "llllw";
 };