ramips: fix DTB generation
[openwrt.git] / target / linux / ramips / dts / MIWIFI-MINI.dts
index dad99c3..e499f4e 100644 (file)
@@ -1,6 +1,6 @@
 /dts-v1/;
 
-/include/ "mt7620a.dtsi"
+#include "mt7620a.dtsi"
 
 / {
        compatible = "xiaomi,miwifi-mini", "ralink,mt7620a-soc";
@@ -29,7 +29,7 @@
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
-                               compatible = "w25q128";
+                               compatible = "jedec,spi-nor";
                                reg = <0 0>;
                                linux,modalias = "m25p80", "w25q128";
                                spi-max-frequency = <10000000>;
@@ -87,7 +87,7 @@
                pinctrl-names = "default";
                pinctrl-0 = <&ephy_pins>;
                mtd-mac-address = <&factory 0x4>;
-               ralink,port-map = "llllw";
+               mediatek,portmap = "llllw";
        };
 
        wmac@10180000 {