From 30644bc579e771e4b6dcc165ca966124e0259e1e Mon Sep 17 00:00:00 2001 From: DENG Qingfang Date: Wed, 18 Mar 2020 23:38:58 +0800 Subject: 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 Acked-by: Jo-Philipp Wich [split commit] Signed-off-by: Chuanhong Guo --- target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts') diff --git a/target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts b/target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts index d5fa290bcf..9d60d509ab 100644 --- a/target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts +++ b/target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts @@ -142,6 +142,30 @@ }; }; +&switch0 { + ports { + port@1 { + status = "okay"; + label = "lan1"; + }; + + port@2 { + status = "okay"; + label = "lan2"; + }; + + port@3 { + status = "okay"; + label = "lan3"; + }; + + port@4 { + status = "okay"; + label = "wan"; + }; + }; +}; + &state_default { gpio { groups = "uart3", "jtag"; -- cgit v1.2.3