[OpenWrt-Devel] [PATCH] ramips: switch DIR-860L B1 DTS to generic wireless naming convention.

Stijn Segers foss at volatilesystems.org
Sun May 31 06:49:16 EDT 2020


Switches the DIR-860L B1 DTS to the generic wifi naming convention.

Signed-off-by: Stijn Segers <foss at volatilesystems.org>
---
 target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts
index ce747deb28..336e696fe9 100644
--- a/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts
+++ b/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts
@@ -152,17 +152,19 @@
 };
 
 &pcie0 {
-	wifi0: mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
-		mediatek,mtd-eeprom = <&radio 0x2000>;
+		mediatek,mtd-eeprom = <&factory 0x2000>;
 		ieee80211-freq-limit = <5000000 6000000>;
 	};
 };
 
 &pcie1 {
-	wifi1: mt76 at 0,0 {
+	wifi at 0,0 {
+		compatible = "mediatek,mt76";
 		reg = <0x0000 0 0 0 0>;
-		mediatek,mtd-eeprom = <&radio 0x0>;
+		mediatek,mtd-eeprom = <&factory 0x0000>;
 		ieee80211-freq-limit = <2400000 2500000>;
 	};
 };
-- 
2.20.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list