aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/mt7628an_cudy_wr1000.dts5
-rw-r--r--target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts5
-rw-r--r--target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi5
-rw-r--r--target/linux/ramips/dts/mt7628an_tplink_8m.dtsi1
-rw-r--r--target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts4
-rw-r--r--target/linux/ramips/dts/mt7628an_tplink_archer-c50-v3.dts4
-rw-r--r--target/linux/ramips/dts/mt7628an_tplink_tl-mr3420-v5.dts4
-rw-r--r--target/linux/ramips/dts/mt7628an_tplink_tl-wr802n-v4.dts1
-rw-r--r--target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts4
-rw-r--r--target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts5
-rw-r--r--target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v13.dts4
-rw-r--r--target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts5
-rw-r--r--target/linux/ramips/dts/mt7628an_tplink_tl-wr842n-v5.dts4
-rw-r--r--target/linux/ramips/dts/mt7628an_wavlink_wl-wn570ha1.dts5
-rw-r--r--target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts5
-rw-r--r--target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2.dtsi5
-rw-r--r--target/linux/ramips/dts/mt7628an_zbtlink_zbt-we1226.dts5
-rw-r--r--target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts5
18 files changed, 62 insertions, 14 deletions
diff --git a/target/linux/ramips/dts/mt7628an_cudy_wr1000.dts b/target/linux/ramips/dts/mt7628an_cudy_wr1000.dts
index acaffecf8d..71aefcb525 100644
--- a/target/linux/ramips/dts/mt7628an_cudy_wr1000.dts
+++ b/target/linux/ramips/dts/mt7628an_cudy_wr1000.dts
@@ -136,5 +136,8 @@
&ethernet {
mtd-mac-address = <&factory 0x28>;
- mediatek,portmap = "llllw";
+};
+
+&esw {
+ mediatek,portmap = <0x2f>;
};
diff --git a/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts b/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts
index 715f4d1ff7..22a8b566e2 100644
--- a/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts
+++ b/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts
@@ -82,7 +82,10 @@
&ethernet {
pinctrl-names = "default";
mtd-mac-address = <&factory 0xd>;
- mediatek,portmap = "llllw";
+};
+
+&esw {
+ mediatek,portmap = <0x2f>;
};
&wmac {
diff --git a/target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi b/target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi
index 8807f7f274..2229060347 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi
+++ b/target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi
@@ -84,5 +84,8 @@
&ethernet {
mtd-mac-address = <&rom 0xf100>;
- mediatek,portmap = "wllll";
+};
+
+&esw {
+ mediatek,portmap = <0x3e>;
};
diff --git a/target/linux/ramips/dts/mt7628an_tplink_8m.dtsi b/target/linux/ramips/dts/mt7628an_tplink_8m.dtsi
index ba3350ed02..5269fd668b 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_8m.dtsi
+++ b/target/linux/ramips/dts/mt7628an_tplink_8m.dtsi
@@ -66,5 +66,4 @@
&ethernet {
mtd-mac-address = <&factory 0xf100>;
- mediatek,portmap = "llllw";
};
diff --git a/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts b/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts
index 8e3df9c676..3f02b7af3c 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts
@@ -78,8 +78,8 @@
mtd-mac-address-increment = <(-2)>;
};
-&ethernet {
- mediatek,portmap = "wllll";
+&esw {
+ mediatek,portmap = <0x3e>;
};
&state_default {
diff --git a/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v3.dts b/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v3.dts
index e0b025d20d..92f581d1ef 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v3.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v3.dts
@@ -80,6 +80,10 @@
};
};
+&esw {
+ mediatek,portmap = <0x3e>;
+};
+
&pcie {
status = "okay";
};
diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-mr3420-v5.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-mr3420-v5.dts
index 279f9ec69a..76cf0ca249 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_tl-mr3420-v5.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_tl-mr3420-v5.dts
@@ -88,3 +88,7 @@
ralink,function = "gpio";
};
};
+
+&esw {
+ mediatek,portmap = <0x3e>;
+};
diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr802n-v4.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr802n-v4.dts
index fcb483594a..3c615e6061 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr802n-v4.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wr802n-v4.dts
@@ -46,5 +46,4 @@
&ethernet {
mtd-mac-address = <&factory 0xf100>;
- mediatek,portmap = "l";
};
diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts
index 1fc2316d70..3f901d3a7c 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts
@@ -62,3 +62,7 @@
ralink,function = "gpio";
};
};
+
+&esw {
+ mediatek,portmap = <0x3e>;
+};
diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts
index c0ae199d22..3de58a71f6 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts
@@ -95,7 +95,10 @@
&ethernet {
mtd-mac-address = <&factory 0xf100>;
- mediatek,portmap = "wllll";
+};
+
+&esw {
+ mediatek,portmap = <0x3e>;
};
&state_default {
diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v13.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v13.dts
index eedce357c7..89e2923c9c 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v13.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v13.dts
@@ -88,3 +88,7 @@
ralink,function = "gpio";
};
};
+
+&esw {
+ mediatek,portmap = <0x3e>;
+};
diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts
index 6268bd13cc..1654e1819f 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts
@@ -109,7 +109,10 @@
&ethernet {
mtd-mac-address = <&factory 0xf100>;
- mediatek,portmap = "wllll";
+};
+
+&esw {
+ mediatek,portmap = <0x3e>;
};
&state_default {
diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr842n-v5.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr842n-v5.dts
index 10bfe2d655..a0adb160d3 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr842n-v5.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wr842n-v5.dts
@@ -88,3 +88,7 @@
ralink,function = "gpio";
};
};
+
+&esw {
+ mediatek,portmap = <0x3e>;
+};
diff --git a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn570ha1.dts b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn570ha1.dts
index 2c0815fba4..a38907400c 100644
--- a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn570ha1.dts
+++ b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn570ha1.dts
@@ -123,5 +123,8 @@
&ethernet {
mtd-mac-address = <&factory 0x2e>;
- mediatek,portmap = "llllw";
+};
+
+&esw {
+ mediatek,portmap = <0x2f>;
};
diff --git a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts
index 13f045f13f..330ae58074 100644
--- a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts
+++ b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts
@@ -118,5 +118,8 @@
&ethernet {
mtd-mac-address = <&factory 0x28>;
- mediatek,portmap = "llllw";
+};
+
+&esw {
+ mediatek,portmap = <0x2f>;
};
diff --git a/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2.dtsi b/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2.dtsi
index 206da8b168..89b37f6b37 100644
--- a/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2.dtsi
+++ b/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2.dtsi
@@ -71,7 +71,10 @@
&ethernet {
mtd-mac-address = <&factory 0x4>;
- mediatek,portmap = "llllw";
+};
+
+&esw {
+ mediatek,portmap = <0x3e>;
};
&sdhci {
diff --git a/target/linux/ramips/dts/mt7628an_zbtlink_zbt-we1226.dts b/target/linux/ramips/dts/mt7628an_zbtlink_zbt-we1226.dts
index b558a0057f..fb620eae3e 100644
--- a/target/linux/ramips/dts/mt7628an_zbtlink_zbt-we1226.dts
+++ b/target/linux/ramips/dts/mt7628an_zbtlink_zbt-we1226.dts
@@ -107,5 +107,8 @@
&ethernet {
mtd-mac-address = <&factory 0x2e>;
- mediatek,portmap = "llllw";
+};
+
+&esw {
+ mediatek,portmap = <0x2f>;
};
diff --git a/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts b/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts
index 5b44808fc6..0fd8c56d03 100644
--- a/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts
+++ b/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts
@@ -179,7 +179,10 @@
&ethernet {
mtd-mac-address = <&factory 0x4>;
- mediatek,portmap = "wllll";
+};
+
+&esw {
+ mediatek,portmap = <0x3e>;
};
&wmac {