From bf5829ddf91bd4a89321d41b3e742f74b8211674 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 1 Jun 2018 21:03:02 +0200 Subject: [PATCH] Revert "ramips: Fix WiFi after 5f7396ebef09b224edf08b0bda113613a42f0928" This reverts commit 8ccdf809c0de567cfb781f38ce1c897b04cbeb78. Signed-off-by: John Crispin --- target/linux/ramips/dts/DIR-860L-B1.dts | 4 ++++ target/linux/ramips/dts/EW1200.dts | 4 ++++ target/linux/ramips/dts/FIREWRT.dts | 4 ++++ target/linux/ramips/dts/HC5962.dts | 4 ++++ target/linux/ramips/dts/Newifi-D1.dts | 4 ++++ target/linux/ramips/dts/Newifi-D2.dts | 4 ++++ target/linux/ramips/dts/PBR-M1.dts | 4 ++++ target/linux/ramips/dts/R6220.dts | 4 ++++ target/linux/ramips/dts/RE350.dts | 4 ++++ target/linux/ramips/dts/RE6500.dts | 4 ++++ target/linux/ramips/dts/SAP-G3200U3.dts | 4 ++++ target/linux/ramips/dts/SK-WB8.dts | 4 ++++ target/linux/ramips/dts/TL-WR902ACV3.dts | 2 ++ target/linux/ramips/dts/WF-2881.dts | 4 ++++ target/linux/ramips/dts/WITI.dtsi | 4 ++++ target/linux/ramips/dts/WNDR3700V5.dts | 4 ++++ target/linux/ramips/dts/WR1200JS.dts | 4 ++++ target/linux/ramips/dts/WSR-1166.dts | 4 ++++ target/linux/ramips/dts/WSR-600.dts | 4 ++++ target/linux/ramips/dts/ZBT-WE1326.dts | 4 ++++ target/linux/ramips/dts/ZBT-WG2626.dts | 4 ++++ 21 files changed, 82 insertions(+) diff --git a/target/linux/ramips/dts/DIR-860L-B1.dts b/target/linux/ramips/dts/DIR-860L-B1.dts index 5edf7217400bf1..5dfc1eeaefd57d 100644 --- a/target/linux/ramips/dts/DIR-860L-B1.dts +++ b/target/linux/ramips/dts/DIR-860L-B1.dts @@ -115,6 +115,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&radio 0x2000>; ieee80211-freq-limit = <5000000 6000000>; }; @@ -122,6 +124,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&radio 0>; ieee80211-freq-limit = <2400000 2500000>; }; diff --git a/target/linux/ramips/dts/EW1200.dts b/target/linux/ramips/dts/EW1200.dts index bf2ed15e8496ae..84c4f72cb662dd 100644 --- a/target/linux/ramips/dts/EW1200.dts +++ b/target/linux/ramips/dts/EW1200.dts @@ -97,6 +97,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; }; @@ -104,6 +106,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; ieee80211-freq-limit = <2400000 2500000>; }; diff --git a/target/linux/ramips/dts/FIREWRT.dts b/target/linux/ramips/dts/FIREWRT.dts index bfa05d530472ae..262dbb5f576a86 100644 --- a/target/linux/ramips/dts/FIREWRT.dts +++ b/target/linux/ramips/dts/FIREWRT.dts @@ -92,6 +92,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; }; @@ -99,6 +101,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; ieee80211-freq-limit = <2400000 2500000>; }; diff --git a/target/linux/ramips/dts/HC5962.dts b/target/linux/ramips/dts/HC5962.dts index 72b22e2d64f2a4..c6fc7cb15497d2 100644 --- a/target/linux/ramips/dts/HC5962.dts +++ b/target/linux/ramips/dts/HC5962.dts @@ -121,6 +121,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; ieee80211-freq-limit = <2400000 2500000>; }; @@ -128,6 +130,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; }; diff --git a/target/linux/ramips/dts/Newifi-D1.dts b/target/linux/ramips/dts/Newifi-D1.dts index 4659f85278f764..f5c7c913629826 100644 --- a/target/linux/ramips/dts/Newifi-D1.dts +++ b/target/linux/ramips/dts/Newifi-D1.dts @@ -116,6 +116,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; }; @@ -123,6 +125,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; }; }; diff --git a/target/linux/ramips/dts/Newifi-D2.dts b/target/linux/ramips/dts/Newifi-D2.dts index e7491150ae5421..e919338e4eacd4 100644 --- a/target/linux/ramips/dts/Newifi-D2.dts +++ b/target/linux/ramips/dts/Newifi-D2.dts @@ -129,6 +129,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; }; @@ -136,6 +138,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; }; }; diff --git a/target/linux/ramips/dts/PBR-M1.dts b/target/linux/ramips/dts/PBR-M1.dts index 37f3bac5acbe5d..66a71a91ad1727 100644 --- a/target/linux/ramips/dts/PBR-M1.dts +++ b/target/linux/ramips/dts/PBR-M1.dts @@ -148,6 +148,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; }; @@ -155,6 +157,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; }; }; diff --git a/target/linux/ramips/dts/R6220.dts b/target/linux/ramips/dts/R6220.dts index d0010830ef9331..7d886725e15cb6 100644 --- a/target/linux/ramips/dts/R6220.dts +++ b/target/linux/ramips/dts/R6220.dts @@ -127,6 +127,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; }; @@ -134,6 +136,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; ieee80211-freq-limit = <2400000 2500000>; }; diff --git a/target/linux/ramips/dts/RE350.dts b/target/linux/ramips/dts/RE350.dts index 4516f09017c824..2f3bb1245cf9e7 100644 --- a/target/linux/ramips/dts/RE350.dts +++ b/target/linux/ramips/dts/RE350.dts @@ -130,6 +130,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&radio 0>; mtd-mac-address = <&config 0x10008>; mtd-mac-address-increment = <1>; @@ -138,6 +140,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&radio 0x8000>; ieee80211-freq-limit = <5000000 6000000>; mtd-mac-address = <&config 0x10008>; diff --git a/target/linux/ramips/dts/RE6500.dts b/target/linux/ramips/dts/RE6500.dts index 6d84fa9eb098e1..b2b5a29238bca2 100644 --- a/target/linux/ramips/dts/RE6500.dts +++ b/target/linux/ramips/dts/RE6500.dts @@ -102,6 +102,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; ieee80211-freq-limit = <5000000 6000000>; }; @@ -109,6 +111,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <2400000 2500000>; }; diff --git a/target/linux/ramips/dts/SAP-G3200U3.dts b/target/linux/ramips/dts/SAP-G3200U3.dts index 912da1cd6195d9..7264e30b5885fe 100644 --- a/target/linux/ramips/dts/SAP-G3200U3.dts +++ b/target/linux/ramips/dts/SAP-G3200U3.dts @@ -94,6 +94,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; }; @@ -101,6 +103,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; ieee80211-freq-limit = <2400000 2500000>; }; diff --git a/target/linux/ramips/dts/SK-WB8.dts b/target/linux/ramips/dts/SK-WB8.dts index 7ad4da5fcce11d..0ded039d8efb6d 100644 --- a/target/linux/ramips/dts/SK-WB8.dts +++ b/target/linux/ramips/dts/SK-WB8.dts @@ -90,6 +90,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; }; @@ -97,6 +99,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; }; }; diff --git a/target/linux/ramips/dts/TL-WR902ACV3.dts b/target/linux/ramips/dts/TL-WR902ACV3.dts index bc8c64308e06e8..8ff3576595654e 100644 --- a/target/linux/ramips/dts/TL-WR902ACV3.dts +++ b/target/linux/ramips/dts/TL-WR902ACV3.dts @@ -91,6 +91,8 @@ pcie-bridge { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x28000>; ieee80211-freq-limit = <5000000 6000000>; mtd-mac-address = <&factory 0xf100>; diff --git a/target/linux/ramips/dts/WF-2881.dts b/target/linux/ramips/dts/WF-2881.dts index 1197da76213a12..33f521cb95e2f0 100644 --- a/target/linux/ramips/dts/WF-2881.dts +++ b/target/linux/ramips/dts/WF-2881.dts @@ -84,6 +84,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; }; @@ -91,6 +93,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; ieee80211-freq-limit = <2400000 2500000>; }; diff --git a/target/linux/ramips/dts/WITI.dtsi b/target/linux/ramips/dts/WITI.dtsi index 78fa12a6e86262..767ea03ff0bb24 100644 --- a/target/linux/ramips/dts/WITI.dtsi +++ b/target/linux/ramips/dts/WITI.dtsi @@ -82,6 +82,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; mtd-mac-address = <&factory 0xe000>; @@ -90,6 +92,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; ieee80211-freq-limit = <2400000 2500000>; mtd-mac-address = <&factory 0xe000>; diff --git a/target/linux/ramips/dts/WNDR3700V5.dts b/target/linux/ramips/dts/WNDR3700V5.dts index 61ec584078467f..ce964403697cfa 100644 --- a/target/linux/ramips/dts/WNDR3700V5.dts +++ b/target/linux/ramips/dts/WNDR3700V5.dts @@ -110,6 +110,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; }; @@ -117,6 +119,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; }; }; diff --git a/target/linux/ramips/dts/WR1200JS.dts b/target/linux/ramips/dts/WR1200JS.dts index 1160c2acda4b40..2169e74e23db17 100644 --- a/target/linux/ramips/dts/WR1200JS.dts +++ b/target/linux/ramips/dts/WR1200JS.dts @@ -104,12 +104,16 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; }; }; pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; diff --git a/target/linux/ramips/dts/WSR-1166.dts b/target/linux/ramips/dts/WSR-1166.dts index 89415fc605bde7..38edbde74584bf 100644 --- a/target/linux/ramips/dts/WSR-1166.dts +++ b/target/linux/ramips/dts/WSR-1166.dts @@ -169,6 +169,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; }; @@ -176,6 +178,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; }; }; diff --git a/target/linux/ramips/dts/WSR-600.dts b/target/linux/ramips/dts/WSR-600.dts index b61ea0b61391c2..1db280902730d6 100644 --- a/target/linux/ramips/dts/WSR-600.dts +++ b/target/linux/ramips/dts/WSR-600.dts @@ -164,12 +164,16 @@ pcie0 { rt5592@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; ralink,mtd-eeprom = <&factory 0x8000>; }; }; pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; }; }; diff --git a/target/linux/ramips/dts/ZBT-WE1326.dts b/target/linux/ramips/dts/ZBT-WE1326.dts index e5452437a8be6b..6cbab663078bf1 100644 --- a/target/linux/ramips/dts/ZBT-WE1326.dts +++ b/target/linux/ramips/dts/ZBT-WE1326.dts @@ -86,6 +86,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; }; @@ -93,6 +95,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; ieee80211-freq-limit = <2400000 2500000>; }; diff --git a/target/linux/ramips/dts/ZBT-WG2626.dts b/target/linux/ramips/dts/ZBT-WG2626.dts index c1124295d3984f..79f2859bb7a3d8 100644 --- a/target/linux/ramips/dts/ZBT-WG2626.dts +++ b/target/linux/ramips/dts/ZBT-WG2626.dts @@ -92,6 +92,8 @@ pcie0 { mt76@0,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; ieee80211-freq-limit = <5000000 6000000>; }; @@ -99,6 +101,8 @@ pcie1 { mt76@1,0 { + reg = <0x0000 0 0 0 0>; + device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x0000>; ieee80211-freq-limit = <2400000 2500000>; };