aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/WSR-1166.dts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-17 16:50:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-01-17 16:50:59 +0000
commit590e0d7f8173900f1f5214a8b1c74a9ea4e89b0c (patch)
tree8450d3e127157e84e55d43f4e9e7b6ef037f88ae /target/linux/ramips/dts/WSR-1166.dts
parent070f67aa9bbc18347d33503d90f5f182d889254b (diff)
downloadupstream-590e0d7f8173900f1f5214a8b1c74a9ea4e89b0c.tar.gz
upstream-590e0d7f8173900f1f5214a8b1c74a9ea4e89b0c.tar.bz2
upstream-590e0d7f8173900f1f5214a8b1c74a9ea4e89b0c.zip
ramips: register mt76 device tree info for WSR-1166DHP
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44010
Diffstat (limited to 'target/linux/ramips/dts/WSR-1166.dts')
-rw-r--r--target/linux/ramips/dts/WSR-1166.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/WSR-1166.dts b/target/linux/ramips/dts/WSR-1166.dts
index de197725a3..3d955a7367 100644
--- a/target/linux/ramips/dts/WSR-1166.dts
+++ b/target/linux/ramips/dts/WSR-1166.dts
@@ -156,4 +156,26 @@
compatible = "gpio-poweroff";
gpios = <&gpio0 0 1>;
};
+
+ pcie@1e140000 {
+ status = "okay";
+
+ pcie0 {
+ mt76@0,0 {
+ reg = <0x0000 0 0 0 0>;
+ device_type = "pci";
+ mediatek,mtd-eeprom = <&factory 0x8000>;
+ mediatek,2ghz = <0>;
+ };
+ };
+
+ pcie1 {
+ mt76@1,0 {
+ reg = <0x0000 0 0 0 0>;
+ device_type = "pci";
+ mediatek,mtd-eeprom = <&factory 0x0000>;
+ mediatek,5ghz = <0>;
+ };
+ };
+ };
};