ramips: fix Newifi D1 mtd partition
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / Newifi-D1.dts
index 4659f85278f764559b59e902ff7fd670a3b270b4..5368b19ea1593068b7365b4c8e56724f159c6442 100644 (file)
 
                partition@50000 {
                        label = "firmware";
-                       reg = <0x50000 0x2000000>;
+                       reg = <0x50000 0x1fb0000>;
                };
        };
 };
 
        pcie0 {
                mt76@0,0 {
+                       reg = <0x0000 0 0 0 0>;
+                       device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
                        ieee80211-freq-limit = <5000000 6000000>;
                };
 
        pcie1 {
                mt76@1,0 {
+                       reg = <0x0000 0 0 0 0>;
+                       device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x0000>;
                };
        };