aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-02-09 12:15:00 +0000
committerJohn Crispin <blogic@openwrt.org>2015-02-09 12:15:00 +0000
commit9ef1cce1179a78d167366261585803545b6ceb5b (patch)
treeb2be966358537c82c06113d7931475f26897c628
parent6fb0defebb305b3f2d32c351e3c017ea8b45b17a (diff)
downloadupstream-9ef1cce1179a78d167366261585803545b6ceb5b.tar.gz
upstream-9ef1cce1179a78d167366261585803545b6ceb5b.tar.bz2
upstream-9ef1cce1179a78d167366261585803545b6ceb5b.zip
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: 郭传鈜 <gch981213@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44354 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ramips/dts/Y1.dtsi9
1 files changed, 9 insertions, 0 deletions
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 {