ramips: add missing WAN LED for Xiaomi Mi Router 4A / 4C
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7628an_xiaomi_mi-router-4.dtsi
index 0f5897f5c593b844400f946b6c746596d3e08b93..ff738a5261382d9c452731b91230ba87e02488e7 100644 (file)
@@ -11,6 +11,7 @@
                led-failsafe = &led_power_yellow;
                led-running = &led_power_blue;
                led-upgrade = &led_power_yellow;
+               label-mac-device = &ethernet;
        };
 
        chosen {
                        label = "yellow:power";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
+
+               wan {
+                       label = "blue:wan";
+                       gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
+               };
        };
 
        keys {
 
 &state_default {
        gpio {
-               groups = "gpio", "wdt", "wled_an";
+               groups = "gpio", "refclk", "wdt", "wled_an";
                function = "gpio";
        };
 };
 
 &wmac {
        status = "okay";
+
+       mediatek,mtd-eeprom = <&factory 0x0>;
 };