aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2020-01-01 21:33:10 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-18 12:00:29 +0100
commitd3c0a944059bb0d45c3b56278249100258378b0c (patch)
tree2931856bda924821ed9c51810d556872d37411cc /target/linux/ramips
parent8df14c229c02a3b9329afc6e3ebf4f8aec5b59ed (diff)
downloadupstream-d3c0a944059bb0d45c3b56278249100258378b0c.tar.gz
upstream-d3c0a944059bb0d45c3b56278249100258378b0c.tar.bz2
upstream-d3c0a944059bb0d45c3b56278249100258378b0c.zip
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>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi1
-rw-r--r--target/linux/ramips/dts/mt7620a_tplink_archer-mr200.dts5
-rw-r--r--target/linux/ramips/dts/mt7621_xiaomi_mir3g-v2.dts2
3 files changed, 3 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi b/target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi
index 3b8ba4ec38..1202ac1b69 100644
--- a/target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi
+++ b/target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi
@@ -122,7 +122,6 @@
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>;
diff --git a/target/linux/ramips/dts/mt7620a_tplink_archer-mr200.dts b/target/linux/ramips/dts/mt7620a_tplink_archer-mr200.dts
index dccced0f18..ea42ef2c54 100644
--- a/target/linux/ramips/dts/mt7620a_tplink_archer-mr200.dts
+++ b/target/linux/ramips/dts/mt7620a_tplink_archer-mr200.dts
@@ -169,9 +169,8 @@
};
&ethernet {
- mtd-mac-address = <&rom 0xf100>;
- mediatek,portmap = "llll";
- };
+ mtd-mac-address = <&rom 0xf100>;
+};
&ehci {
status = "okay";
diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mir3g-v2.dts b/target/linux/ramips/dts/mt7621_xiaomi_mir3g-v2.dts
index ec0ee087e8..6e06ed07e8 100644
--- a/target/linux/ramips/dts/mt7621_xiaomi_mir3g-v2.dts
+++ b/target/linux/ramips/dts/mt7621_xiaomi_mir3g-v2.dts
@@ -134,7 +134,7 @@
&ethernet {
mtd-mac-address = <&factory 0xe000>;
- mediatek,portmap = "lllwl";
+ mediatek,portmap = "llllw";
};
&state_default {