Browse Source

ramips: fix mt76 radio pcie location definition for in Xiaomi MiWiFi Mini

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 <[email protected]>

SVN-Revision: 44355
John Crispin 11 years ago
parent
commit
2c03605028
1 changed files with 2 additions and 1 deletions
  1. 2 1
      target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts

+ 2 - 1
target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts

@@ -97,11 +97,12 @@
 	pcie@10140000 {
 		status = "okay";
 
-		pcie0 {
+		pcie-bridge {
 			mt76@0,0 {
 				reg = <0x0000 0 0 0 0>;
 				device_type = "pci";
 				mediatek,mtd-eeprom = <&factory 0x8000>;
+				mediatek,2ghz = <0>;
 			};
 		};
 	};