mirror of https://github.com/hak5/openwrt.git
ramips: mt7620/mt7621: remove invalid mediatek,portmap
mt7620 and mt7621 use mt7530 driver, which only accepts "llllw", "wllll", and "lwlll" values. According to its switch setup, Mi Router 3G v2 has a WAN port at port 4, so the correct value should be "llllw". Signed-off-by: Sungbo Eo <mans0n@gorani.run>master
parent
8df14c229c
commit
d3c0a94405
|
@ -122,7 +122,6 @@
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&rgmii1_pins &mdio_pins &phy_reset_pins>;
|
pinctrl-0 = <&rgmii1_pins &mdio_pins &phy_reset_pins>;
|
||||||
|
|
||||||
mediatek,portmap = "l";
|
|
||||||
mediatek,mdio-mode = <1>;
|
mediatek,mdio-mode = <1>;
|
||||||
|
|
||||||
phy-reset-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
|
phy-reset-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
|
||||||
|
|
|
@ -169,9 +169,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
ðernet {
|
ðernet {
|
||||||
mtd-mac-address = <&rom 0xf100>;
|
mtd-mac-address = <&rom 0xf100>;
|
||||||
mediatek,portmap = "llll";
|
};
|
||||||
};
|
|
||||||
|
|
||||||
&ehci {
|
&ehci {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
|
@ -134,7 +134,7 @@
|
||||||
|
|
||||||
ðernet {
|
ðernet {
|
||||||
mtd-mac-address = <&factory 0xe000>;
|
mtd-mac-address = <&factory 0xe000>;
|
||||||
mediatek,portmap = "lllwl";
|
mediatek,portmap = "llllw";
|
||||||
};
|
};
|
||||||
|
|
||||||
&state_default {
|
&state_default {
|
||||||
|
|
Loading…
Reference in New Issue