mt76: update to the latest version
authorFelix Fietkau <nbd@nbd.name>
Wed, 1 Feb 2017 15:37:14 +0000 (16:37 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 1 Feb 2017 16:49:55 +0000 (17:49 +0100)
Uses upstream code to parse DT supported band/frequency information.
Update existing .dts files to the new format and remove unnecessary
overrides.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
32 files changed:
package/kernel/mt76/Makefile
target/linux/ramips/dts/ArcherC20i.dts
target/linux/ramips/dts/ArcherC50.dts
target/linux/ramips/dts/ArcherMR200.dts
target/linux/ramips/dts/DIR-860L-B1.dts
target/linux/ramips/dts/FIREWRT.dts
target/linux/ramips/dts/GL-MT750.dts
target/linux/ramips/dts/MAC1200RV2.dts
target/linux/ramips/dts/MIWIFI-MINI.dts
target/linux/ramips/dts/MZK-750DHP.dts
target/linux/ramips/dts/MZK-EX750NP.dts
target/linux/ramips/dts/Newifi-D1.dts
target/linux/ramips/dts/PBR-M1.dts
target/linux/ramips/dts/PSG1208.dts
target/linux/ramips/dts/PSG1218.dts
target/linux/ramips/dts/RE6500.dts
target/linux/ramips/dts/SAP-G3200U3.dts
target/linux/ramips/dts/SK-WB8.dts
target/linux/ramips/dts/W2914NSV2.dtsi
target/linux/ramips/dts/WCR-1166DS.dts
target/linux/ramips/dts/WF-2881.dts
target/linux/ramips/dts/WHR-1166D.dts
target/linux/ramips/dts/WITI.dts
target/linux/ramips/dts/WL-WN575A3.dts
target/linux/ramips/dts/WNDR3700V5.dts
target/linux/ramips/dts/WSR-1166.dts
target/linux/ramips/dts/WSR-600.dts
target/linux/ramips/dts/Y1.dtsi
target/linux/ramips/dts/ZBT-APE522II.dts
target/linux/ramips/dts/ZBT-WG2626.dts
target/linux/ramips/dts/ZBT-WG3526.dtsi
target/linux/ramips/dts/mt7628an.dtsi

index 5e77610..658a319 100644 (file)
@@ -8,9 +8,9 @@ PKG_LICENSE_FILES:=
 
 PKG_SOURCE_URL:=https://github.com/openwrt/mt76
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_DATE:=2017-01-31
-PKG_SOURCE_VERSION:=3c8caafc5e150db79f714b958a51cee8f242f309
-PKG_MIRROR_HASH:=c03c166466cb7ea825e52cd085511045e3847d927ba2bde2b8fb46595a3ed13a
+PKG_SOURCE_DATE:=2017-02-01
+PKG_SOURCE_VERSION:=184e068b6fa82a4b26dc71d3c877599a99a33e9c
+PKG_MIRROR_HASH:=097200a7f315de45eab4227d6dae7335874e8364adc4e444e518a201681d389b
 
 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
 PKG_BUILD_PARALLEL:=1
index 711274e..cbbdf8a 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&radio 32768>;
-                       mediatek,2ghz = <0>;
                };
        };
 };
index 3924cc4..c9863a1 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&radio 32768>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                        mtd-mac-address = <&rom 0xf100>;
                        mtd-mac-address-increment = <(-1)>;
                };
index 93fb048..25be6bc 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&radio 32768>;
-                       mediatek,2ghz = <0>;
                };
        };
 };
index 98c9d8a..cc6c32b 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&radio 0x2000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&radio 0>;
-                       mediatek,5ghz = <0>;
+                       ieee80211-freq-limit = <2400000 2500000>;
                };
        };
 };
index 1871de9..c1509cc 100644 (file)
@@ -93,7 +93,7 @@
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x0000>;
-                       mediatek,5ghz = <0>;
+                       ieee80211-freq-limit = <2400000 2500000>;
                };
        };
 };
index 4667984..939d012 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
                };
        };
 };
index f52be3c..0929a01 100644 (file)
@@ -88,7 +88,7 @@
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&art 0x1000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 };
index 6d8b28c..d8c5e7c 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 };
index 589b19e..5a2e4b4 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
                };
        };
 };
index ec2ca5f..858a8fe 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
                };
        };
 };
index 2d128ac..89bc851 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x0000>;
-                       mediatek,5ghz = <0>;
                };
        };
 };
index 9a0c713..7baf074 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x0000>;
-                       mediatek,5ghz = <0>;
                };
        };
 };
index e9b6639..6227bda 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 };
index b777c9b..38ad25e 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 };
index 3fe875d..07439fa 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x0000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,5ghz = <0>;
+                       ieee80211-freq-limit = <2400000 2500000>;
                };
        };
 };
index 7be6e03..dbaa6a3 100644 (file)
@@ -95,7 +95,7 @@
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x0000>;
-                       mediatek,5ghz = <0>;
+                       ieee80211-freq-limit = <2400000 2500000>;
                };
        };
 };
index 87adc9a..f5da941 100644 (file)
@@ -92,7 +92,7 @@
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x0000>;
-                       mediatek,5ghz = <0>;
                };
        };
 };
index 7b11a0f..51ec161 100644 (file)
        status = "okay";
 
        pcie0 {
-               wifi@14c3,7662 {
-                       compatible = "pci14c3,7662";
+               wifi@14c3,7603 {
+                       compatible = "pci14c3,7603";
                        reg = <0x0000 0 0 0 0>;
                        mediatek,mtd-eeprom = <&factory 0x0000>;
-                       mediatek,5ghz = <0>;
                };
        };
 
        pcie1 {
-               wifi@14c3,7603 {
-                       compatible = "pci14c3,7603";
+               wifi@14c3,7662 {
+                       compatible = "pci14c3,7662";
                        reg = <0x0000 0 0 0 0>;
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 };
index ad3f21b..34734ce 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 };
index 84a14e4..80676fa 100644 (file)
@@ -85,7 +85,7 @@
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 
@@ -94,7 +94,7 @@
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x0000>;
-                       mediatek,5ghz = <0>;
+                       ieee80211-freq-limit = <2400000 2500000>;
                };
        };
 };
index c3b85da..69282d8 100644 (file)
                        compatible = "pci0,0";
                        reg = <0x0000 0 0 0 0>;
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 };
index de0c517..91f6693 100644 (file)
@@ -89,7 +89,7 @@
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                        mtd-mac-address = <&factory 0xe000>;
                };
        };
@@ -99,7 +99,7 @@
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x0000>;
-                       mediatek,5ghz = <0>;
+                       ieee80211-freq-limit = <2400000 2500000>;
                        mtd-mac-address = <&factory 0xe000>;
                };
        };
index 2674824..2deadd3 100644 (file)
@@ -77,7 +77,7 @@
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 };
index bb879a1..ec97ac8 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x0000>;
-                       mediatek,5ghz = <0>;
                };
        };
 };
index ab6a9a4..5d5725c 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x0000>;
-                       mediatek,5ghz = <0>;
                };
        };
 };
index 63206b4..3f7238c 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x0000>;
-                       mediatek,5ghz = <0>;
                };
        };
 };
index 1d5f1ef..0d0623b 100644 (file)
@@ -85,7 +85,7 @@
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 };
index f570129..2213ca9 100644 (file)
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 };
index a75ca89..65541a5 100644 (file)
@@ -93,7 +93,7 @@
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x0000>;
-                       mediatek,5ghz = <0>;
+                       ieee80211-freq-limit = <2400000 2500000>;
                };
        };
 };
index e48ef3a..582e420 100644 (file)
@@ -88,7 +88,6 @@
                        compatible = "pci14c3,7603";
                        reg = <0x0000 0 0 0 0>;
                        mediatek,mtd-eeprom = <&factory 0x0000>;
-                       mediatek,5ghz = <0>;
                };
        };
 
@@ -97,7 +96,7 @@
                        compatible = "pci14c3,7662";
                        reg = <0x0000 0 0 0 0>;
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 };
index dc3ba9e..b64a87a 100644 (file)
                status = "disabled";
 
                mediatek,mtd-eeprom = <&factory 0x0000>;
-               mediatek,5ghz = <0>;
        };
 };