[OpenWrt-Devel] [PATCH] ramips:Add mt76 node for Lenovo Y1 and Y1S.

郭传鈜 gch981213 at gmail.com
Sat Feb 7 03:28:54 EST 2015


Both Y1 and Y1S have MT7612E wireless chip so I submitted this patch.
Tested on Lenovo Y1. 

Signed-off-by: 郭传鈜 <gch981213 at gmail.com>
---
 target/linux/ramips/dts/Y1.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/target/linux/ramips/dts/Y1.dtsi b/target/linux/ramips/dts/Y1.dtsi
index 06db2bb..b275396 100644
--- a/target/linux/ramips/dts/Y1.dtsi
+++ b/target/linux/ramips/dts/Y1.dtsi
@@ -72,6 +72,15 @@
 
 	pcie at 10140000 {
 		status = "okay";
+
+		pcie-bridge {
+			mt76 at 0,0 {
+				reg = <0x0000 0 0 0 0>;
+				device_type = "pci";
+				mediatek,mtd-eeprom = <&factory 32768>;
+				mediatek,2ghz = <0>;
+			};
+		};
 	};
 	
 	wmac at 10180000 {
-- 
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