[OpenWrt-Devel] [PATCH] ramips: fix mt76 radio pcie location definition for in Xiaomi MiWiFi Mini

roger.pueyo at guifi.net roger.pueyo at guifi.net
Sun Feb 8 05:32:36 EST 2015


From: Roger Pueyo Centelles <roger.pueyo at guifi.net>

This patch sets the correct location of the mt76 radio in the pcie bridge
(pcie-bridge instead of pcie0). Additionaly, it disables the 2.4 GHz band.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo at guifi.net>
---
 target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts b/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts
index fda3325..2cc5548 100644
--- a/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts
+++ b/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts
@@ -97,11 +97,12 @@
 	pcie at 10140000 {
 		status = "okay";
 
-		pcie0 {
+		pcie-bridge {
 			mt76 at 0,0 {
 				reg = <0x0000 0 0 0 0>;
 				device_type = "pci";
 				mediatek,mtd-eeprom = <&factory 0x8000>;
+				mediatek,2ghz = <0>;
 			};
 		};
 	};
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list