summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/Y1.dtsi
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-02-09 12:15:00 +0000
committerJohn Crispin <john@openwrt.org>2015-02-09 12:15:00 +0000
commit2dd7bce3387000bec489409c303615e63626d212 (patch)
tree9cab93fccacffe2dcb5af8acec20111674f59d33 /target/linux/ramips/dts/Y1.dtsi
parent1c0c1ebc6b672e4dd4e4167230c271ff83437b08 (diff)
downloadmtk-20170518-2dd7bce3387000bec489409c303615e63626d212.zip
mtk-20170518-2dd7bce3387000bec489409c303615e63626d212.tar.gz
mtk-20170518-2dd7bce3387000bec489409c303615e63626d212.tar.bz2
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> SVN-Revision: 44354
Diffstat (limited to 'target/linux/ramips/dts/Y1.dtsi')
-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 f2f8035..0f31af2 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 {