summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/TEW-691GR.dts
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-08-19 20:46:50 +0200
committerMathias Kresin <dev@kresin.me>2016-08-20 11:47:25 +0200
commitbcd2113a32d80c0dc2c4140f76e96b28c3f70a27 (patch)
treecf337fad1a46fb6c631cc706c1adc432777698e5 /target/linux/ramips/dts/TEW-691GR.dts
parenta7c6cf5182a3b20afb1c98d0d79247d6a9bc104b (diff)
downloadmtk-20170518-bcd2113a32d80c0dc2c4140f76e96b28c3f70a27.zip
mtk-20170518-bcd2113a32d80c0dc2c4140f76e96b28c3f70a27.tar.gz
mtk-20170518-bcd2113a32d80c0dc2c4140f76e96b28c3f70a27.tar.bz2
ramips: TEW-691GR: fix switch and wireless
Due to the missing phy-mode setting, the switch wasn't initialised. The wireless requires an eeprom to work. Use the same mac addresses as the stock firmware. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts/TEW-691GR.dts')
-rw-r--r--target/linux/ramips/dts/TEW-691GR.dts5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/TEW-691GR.dts b/target/linux/ramips/dts/TEW-691GR.dts
index 750c24f..b1f7320 100644
--- a/target/linux/ramips/dts/TEW-691GR.dts
+++ b/target/linux/ramips/dts/TEW-691GR.dts
@@ -86,7 +86,7 @@
};
&ethernet {
- mtd-mac-address = <&factory 0x28>;
+ mtd-mac-address = <&factory 0x4>;
port@0 {
phy-handle = <&phy0>;
@@ -98,10 +98,13 @@
phy0: ethernet-phy@0 {
reg = <0>;
+ phy-mode = "rgmii";
};
};
};
&wmac {
+ status = "okay";
+ ralink,mtd-eeprom = <&factory 0x0>;
ralink,5ghz = <0>;
};