mt76: update to the latest version
[openwrt/staging/yousong.git] / target / linux / ramips / dts / MIWIFI-MINI.dts
index 66c8cb2800e9af0257032f2b26d9b2d949ea329d..d8c5e7cd1fb803ee486ac6e821d17e70d958752c 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620a.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "xiaomi,miwifi-mini", "ralink,mt7620a-soc";
        model = "Xiaomi MiWiFi Mini";
@@ -38,7 +40,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio1 6 0>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };
@@ -62,7 +64,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
-               reg = <0 0>;
+               reg = <0>;
                linux,modalias = "m25p80", "w25q128";
                spi-max-frequency = <10000000>;
 
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
-       mtd-mac-address = <&factory 0x4>;
+       mtd-mac-address = <&factory 0x28>;
        mediatek,portmap = "llllw";
 };
 
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 };