ramips: Add mt76 node for Lenovo Y1 and Y1S.
authorJohn Crispin <john@openwrt.org>
Mon, 9 Feb 2015 12:15:00 +0000 (12:15 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 9 Feb 2015 12:15:00 +0000 (12:15 +0000)
Both Y1 and Y1S have MT7612E wireless chip so I submitted this patch.
Tested on Lenovo Y1.

Signed-off-by: 郭传鈜 <gch981213@gmail.com>
SVN-Revision: 44354

target/linux/ramips/dts/Y1.dtsi

index f2f8035d69182df57a14fdca152c19eb95f1aa9a..0f31af25b2c7edcdba91578fc7e2041d2aeef3f7 100644 (file)
 
        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 {