Revert "ramips: Fix WiFi after 5f7396ebef09b224edf08b0bda113613a42f0928"

This reverts commit 02f815d190.

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin 2018-06-01 11:41:00 +02:00
parent 1ee5051f20
commit 1d3c286381
21 changed files with 82 additions and 0 deletions

View file

@ -115,6 +115,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 0x2000>; mediatek,mtd-eeprom = <&radio 0x2000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
}; };
@ -122,6 +124,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 0>; mediatek,mtd-eeprom = <&radio 0>;
ieee80211-freq-limit = <2400000 2500000>; ieee80211-freq-limit = <2400000 2500000>;
}; };

View file

@ -97,6 +97,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
}; };
@ -104,6 +106,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>; ieee80211-freq-limit = <2400000 2500000>;
}; };

View file

@ -92,6 +92,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
}; };
@ -99,6 +101,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>; ieee80211-freq-limit = <2400000 2500000>;
}; };

View file

@ -121,6 +121,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>; ieee80211-freq-limit = <2400000 2500000>;
}; };
@ -128,6 +130,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
}; };

View file

@ -116,6 +116,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
}; };
@ -123,6 +125,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
}; };
}; };

View file

@ -129,6 +129,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
}; };
@ -136,6 +138,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
}; };
}; };

View file

@ -148,6 +148,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
}; };
@ -155,6 +157,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
}; };
}; };

View file

@ -127,6 +127,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
}; };
@ -134,6 +136,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>; ieee80211-freq-limit = <2400000 2500000>;
}; };

View file

@ -130,6 +130,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 0>; mediatek,mtd-eeprom = <&radio 0>;
mtd-mac-address = <&config 0x10008>; mtd-mac-address = <&config 0x10008>;
mtd-mac-address-increment = <1>; mtd-mac-address-increment = <1>;
@ -138,6 +140,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 0x8000>; mediatek,mtd-eeprom = <&radio 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&config 0x10008>; mtd-mac-address = <&config 0x10008>;

View file

@ -102,6 +102,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
}; };
@ -109,6 +111,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <2400000 2500000>; ieee80211-freq-limit = <2400000 2500000>;
}; };

View file

@ -94,6 +94,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
}; };
@ -101,6 +103,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>; ieee80211-freq-limit = <2400000 2500000>;
}; };

View file

@ -90,6 +90,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
}; };
@ -97,6 +99,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
}; };
}; };

View file

@ -91,6 +91,8 @@
pcie-bridge { pcie-bridge {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x28000>; mediatek,mtd-eeprom = <&factory 0x28000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&factory 0xf100>; mtd-mac-address = <&factory 0xf100>;

View file

@ -84,6 +84,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
}; };
@ -91,6 +93,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>; ieee80211-freq-limit = <2400000 2500000>;
}; };

View file

@ -82,6 +82,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&factory 0xe000>; mtd-mac-address = <&factory 0xe000>;
@ -90,6 +92,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>; ieee80211-freq-limit = <2400000 2500000>;
mtd-mac-address = <&factory 0xe000>; mtd-mac-address = <&factory 0xe000>;

View file

@ -110,6 +110,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
}; };
@ -117,6 +119,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
}; };
}; };

View file

@ -104,12 +104,16 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
}; };
}; };
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;

View file

@ -169,6 +169,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
}; };
@ -176,6 +178,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
}; };
}; };

View file

@ -164,12 +164,16 @@
pcie0 { pcie0 {
rt5592@0,0 { rt5592@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
ralink,mtd-eeprom = <&factory 0x8000>; ralink,mtd-eeprom = <&factory 0x8000>;
}; };
}; };
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
}; };
}; };

View file

@ -86,6 +86,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
}; };
@ -93,6 +95,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>; ieee80211-freq-limit = <2400000 2500000>;
}; };

View file

@ -92,6 +92,8 @@
pcie0 { pcie0 {
mt76@0,0 { mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>; mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>; ieee80211-freq-limit = <5000000 6000000>;
}; };
@ -99,6 +101,8 @@
pcie1 { pcie1 {
mt76@1,0 { mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>; mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>; ieee80211-freq-limit = <2400000 2500000>;
}; };