Browse Source

ramips: Add mt76 node for Lenovo Y1 and Y1S.

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

Signed-off-by: 郭传鈜 <[email protected]>

SVN-Revision: 44354
John Crispin 11 years ago
parent
commit
2dd7bce338
1 changed files with 9 additions and 0 deletions
  1. 9 0
      target/linux/ramips/dts/Y1.dtsi

+ 9 - 0
target/linux/ramips/dts/Y1.dtsi

@@ -65,6 +65,15 @@
 
 	pcie@10140000 {
 		status = "okay";
+
+		pcie-bridge {
+			mt76@0,0 {
+				reg = <0x0000 0 0 0 0>;
+				device_type = "pci";
+				mediatek,mtd-eeprom = <&factory 0x8000>;
+				mediatek,2ghz = <0>;
+			};
+		};
 	};
 	
 	wmac@10180000 {