aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi
diff options
context:
space:
mode:
authorDENG Qingfang <dengqf6@mail2.sysu.edu.cn>2020-03-18 23:38:58 +0800
committerChuanhong Guo <gch981213@gmail.com>2020-04-04 14:40:44 +0800
commit30644bc579e771e4b6dcc165ca966124e0259e1e (patch)
tree1c842dd8090b274b33dd1ccb812c075933ddcc40 /target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi
parent7bd19dbe99b18c5dfd85a004595df6061e8df8f6 (diff)
downloadupstream-30644bc579e771e4b6dcc165ca966124e0259e1e.tar.gz
upstream-30644bc579e771e4b6dcc165ca966124e0259e1e.tar.bz2
upstream-30644bc579e771e4b6dcc165ca966124e0259e1e.zip
ramips: mt7621: update dts/defconfig for DSA
update dts and network/LED configuration for DSA driver. sysupgrade from images prior to this commit with config preserved will cause broken ethernet setup. Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn> Acked-by: Jo-Philipp Wich <jo@mein.io> [split commit] Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi35
1 files changed, 28 insertions, 7 deletions
diff --git a/target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi b/target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi
index c1ef3ce98c..37056c7934 100644
--- a/target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi
+++ b/target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi
@@ -135,16 +135,37 @@
};
};
-&ethernet {
+&gmac0 {
mtd-mac-address = <&factory 0xe000>;
- mediatek,portmap = "wllll";
- port@5 {
- status = "disabled";
- };
};
-&i2c {
- status = "disabled";
+&switch0 {
+ ports {
+ port@0 {
+ status = "okay";
+ label = "wan";
+ };
+
+ port@1 {
+ status = "okay";
+ label = "lan1";
+ };
+
+ port@2 {
+ status = "okay";
+ label = "lan2";
+ };
+
+ port@3 {
+ status = "okay";
+ label = "lan3";
+ };
+
+ port@4 {
+ status = "okay";
+ label = "lan4";
+ };
+ };
};
&state_default {