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>
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
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>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user