mt76: update to the latest version

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>
master
Felix Fietkau 8 years ago
parent 2340de62a6
commit dabdd123c9
  1. 6
      package/kernel/mt76/Makefile
  2. 1
      target/linux/ramips/dts/ArcherC20i.dts
  3. 2
      target/linux/ramips/dts/ArcherC50.dts
  4. 1
      target/linux/ramips/dts/ArcherMR200.dts
  5. 4
      target/linux/ramips/dts/DIR-860L-B1.dts
  6. 4
      target/linux/ramips/dts/FIREWRT.dts
  7. 1
      target/linux/ramips/dts/GL-MT750.dts
  8. 2
      target/linux/ramips/dts/MAC1200RV2.dts
  9. 2
      target/linux/ramips/dts/MIWIFI-MINI.dts
  10. 1
      target/linux/ramips/dts/MZK-750DHP.dts
  11. 1
      target/linux/ramips/dts/MZK-EX750NP.dts
  12. 3
      target/linux/ramips/dts/Newifi-D1.dts
  13. 3
      target/linux/ramips/dts/PBR-M1.dts
  14. 2
      target/linux/ramips/dts/PSG1208.dts
  15. 2
      target/linux/ramips/dts/PSG1218.dts
  16. 4
      target/linux/ramips/dts/RE6500.dts
  17. 4
      target/linux/ramips/dts/SAP-G3200U3.dts
  18. 3
      target/linux/ramips/dts/SK-WB8.dts
  19. 11
      target/linux/ramips/dts/W2914NSV2.dtsi
  20. 2
      target/linux/ramips/dts/WCR-1166DS.dts
  21. 4
      target/linux/ramips/dts/WF-2881.dts
  22. 2
      target/linux/ramips/dts/WHR-1166D.dts
  23. 4
      target/linux/ramips/dts/WITI.dts
  24. 2
      target/linux/ramips/dts/WL-WN575A3.dts
  25. 3
      target/linux/ramips/dts/WNDR3700V5.dts
  26. 3
      target/linux/ramips/dts/WSR-1166.dts
  27. 1
      target/linux/ramips/dts/WSR-600.dts
  28. 2
      target/linux/ramips/dts/Y1.dtsi
  29. 2
      target/linux/ramips/dts/ZBT-APE522II.dts
  30. 4
      target/linux/ramips/dts/ZBT-WG2626.dts
  31. 3
      target/linux/ramips/dts/ZBT-WG3526.dtsi
  32. 1
      target/linux/ramips/dts/mt7628an.dtsi

@ -8,9 +8,9 @@ PKG_LICENSE_FILES:=
PKG_SOURCE_URL:=https://github.com/openwrt/mt76 PKG_SOURCE_URL:=https://github.com/openwrt/mt76
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_DATE:=2017-01-31 PKG_SOURCE_DATE:=2017-02-01
PKG_SOURCE_VERSION:=3c8caafc5e150db79f714b958a51cee8f242f309 PKG_SOURCE_VERSION:=184e068b6fa82a4b26dc71d3c877599a99a33e9c
PKG_MIRROR_HASH:=c03c166466cb7ea825e52cd085511045e3847d927ba2bde2b8fb46595a3ed13a PKG_MIRROR_HASH:=097200a7f315de45eab4227d6dae7335874e8364adc4e444e518a201681d389b
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name> PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
PKG_BUILD_PARALLEL:=1 PKG_BUILD_PARALLEL:=1

@ -148,7 +148,6 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&radio 32768>; mediatek,mtd-eeprom = <&radio 32768>;
mediatek,2ghz = <0>;
}; };
}; };
}; };

@ -179,7 +179,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&radio 32768>; mediatek,mtd-eeprom = <&radio 32768>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&rom 0xf100>; mtd-mac-address = <&rom 0xf100>;
mtd-mac-address-increment = <(-1)>; mtd-mac-address-increment = <(-1)>;
}; };

@ -189,7 +189,6 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&radio 32768>; mediatek,mtd-eeprom = <&radio 32768>;
mediatek,2ghz = <0>;
}; };
}; };
}; };

@ -116,7 +116,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&radio 0x2000>; mediatek,mtd-eeprom = <&radio 0x2000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
@ -125,7 +125,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&radio 0>; mediatek,mtd-eeprom = <&radio 0>;
mediatek,5ghz = <0>; ieee80211-freq-limit = <2400000 2500000>;
}; };
}; };
}; };

@ -93,7 +93,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
@ -102,7 +102,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>; ieee80211-freq-limit = <2400000 2500000>;
}; };
}; };
}; };

@ -144,7 +144,6 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
}; };
}; };
}; };

@ -88,7 +88,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&art 0x1000>; mediatek,mtd-eeprom = <&art 0x1000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
}; };

@ -135,7 +135,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
}; };

@ -123,7 +123,6 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
}; };
}; };
}; };

@ -144,7 +144,6 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
}; };
}; };
}; };

@ -117,7 +117,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
@ -126,7 +126,6 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
}; };
}; };
}; };

@ -149,7 +149,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
@ -158,7 +158,6 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
}; };
}; };
}; };

@ -104,7 +104,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
}; };

@ -110,7 +110,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
}; };

@ -103,7 +103,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
@ -112,7 +112,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,5ghz = <0>; ieee80211-freq-limit = <2400000 2500000>;
}; };
}; };
}; };

@ -95,7 +95,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
@ -104,7 +104,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>; ieee80211-freq-limit = <2400000 2500000>;
}; };
}; };
}; };

@ -92,7 +92,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
@ -101,7 +101,6 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
}; };
}; };
}; };

@ -72,20 +72,19 @@
status = "okay"; status = "okay";
pcie0 { pcie0 {
wifi@14c3,7662 { wifi@14c3,7603 {
compatible = "pci14c3,7662"; compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
}; };
}; };
pcie1 { pcie1 {
wifi@14c3,7603 { wifi@14c3,7662 {
compatible = "pci14c3,7603"; compatible = "pci14c3,7662";
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
}; };

@ -100,7 +100,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
}; };

@ -85,7 +85,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
@ -94,7 +94,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>; ieee80211-freq-limit = <2400000 2500000>;
}; };
}; };
}; };

@ -166,7 +166,7 @@
compatible = "pci0,0"; compatible = "pci0,0";
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
}; };

@ -89,7 +89,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&factory 0xe000>; mtd-mac-address = <&factory 0xe000>;
}; };
}; };
@ -99,7 +99,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>; ieee80211-freq-limit = <2400000 2500000>;
mtd-mac-address = <&factory 0xe000>; mtd-mac-address = <&factory 0xe000>;
}; };
}; };

@ -77,7 +77,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
}; };

@ -111,7 +111,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
@ -120,7 +120,6 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
}; };
}; };
}; };

@ -170,7 +170,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
@ -179,7 +179,6 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
}; };
}; };
}; };

@ -173,7 +173,6 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
}; };
}; };
}; };

@ -85,7 +85,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
}; };

@ -125,7 +125,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
}; };

@ -93,7 +93,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
@ -102,7 +102,7 @@
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
device_type = "pci"; device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>; ieee80211-freq-limit = <2400000 2500000>;
}; };
}; };
}; };

@ -88,7 +88,6 @@
compatible = "pci14c3,7603"; compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
}; };
}; };
@ -97,7 +96,7 @@
compatible = "pci14c3,7662"; compatible = "pci14c3,7662";
reg = <0x0000 0 0 0 0>; reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>; ieee80211-freq-limit = <5000000 6000000>;
}; };
}; };
}; };

@ -474,6 +474,5 @@
status = "disabled"; status = "disabled";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
}; };
}; };

Loading…
Cancel
Save