ramips: mt7620/mt7621: remove invalid mediatek,portmap
authorSungbo Eo <mans0n@gorani.run>
Wed, 1 Jan 2020 12:33:10 +0000 (21:33 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 18 Jan 2020 11:00:29 +0000 (12:00 +0100)
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>
target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi
target/linux/ramips/dts/mt7620a_tplink_archer-mr200.dts
target/linux/ramips/dts/mt7621_xiaomi_mir3g-v2.dts

index 3b8ba4ec38e267928b98d6f1438a3a15be6f6e75..1202ac1b69e31322b90abf09cc04f7ea2aa7e463 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins &mdio_pins &phy_reset_pins>;
 
-       mediatek,portmap = "l";
        mediatek,mdio-mode = <1>;
 
        phy-reset-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
index dccced0f1894471c55983d52421a309b898f14fb..ea42ef2c544c864ea9b5957f9b693cc6ae91f3d6 100644 (file)
 };
 
 &ethernet {
-               mtd-mac-address = <&rom 0xf100>;
-               mediatek,portmap = "llll";
-       };
+       mtd-mac-address = <&rom 0xf100>;
+};
 
 &ehci {
        status = "okay";
index ec0ee087e829311b2fbcd994fa3cf07b20631637..6e06ed07e897a4b624ac255af2622719bed6a4ca 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0xe000>;
-       mediatek,portmap = "lllwl";
+       mediatek,portmap = "llllw";
 };
 
 &state_default {