From 9d96e3b666e920bad6c89a7e8f75009d907a40eb Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 9 Feb 2015 12:15:00 +0000 Subject: [PATCH] ramips: Add mt76 node for Lenovo Y1 and Y1S. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Both Y1 and Y1S have MT7612E wireless chip so I submitted this patch. Tested on Lenovo Y1. Signed-off-by: 郭传鈜 SVN-Revision: 44354 --- 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 f2f8035d69..0f31af25b2 100644 --- a/target/linux/ramips/dts/Y1.dtsi +++ b/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 { -- 2.30.2