[OpenWrt-Devel] [PATCH, v2, RESEND] ramips:Fix mt7612 support for Xiaomi Mini.

郭传鈜 gch981213 at gmail.com
Sat Feb 7 03:08:51 EST 2015


I resent this just because I used the same title of my previus patch....



Sorry,I forgot another simple mistake of this device tree in the previus patch.
The "pcie0" part in pcie at 10140000 should be defined as "pcie-bridge".

Signed-off-by: 郭传鈜 <gch981213 at gmail.com>
---
 target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts b/target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts
index fda3325..6f57f39 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,mtd-eeprom = <&factory 32768>;
+				mediatek,2ghz = <0>;
 			};
 		};
 	};
-- 
2.1.0
_______________________________________________
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