From: Álvaro Fernández Rojas Date: Mon, 10 Apr 2023 08:06:22 +0000 (+0200) Subject: bmips: dts: add missing phy modes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=457549665fcb93667453ef48c50bf43eddd776ef;p=openwrt%2Fstaging%2Fthess.git bmips: dts: add missing phy modes PHY modes should be defined in the device tree for the bcm63xx internal switch. Signed-off-by: Álvaro Fernández Rojas --- diff --git a/target/linux/bmips/dts/bcm63167-sercomm-h500-s.dtsi b/target/linux/bmips/dts/bcm63167-sercomm-h500-s.dtsi index 7368e9d496..591029c463 100644 --- a/target/linux/bmips/dts/bcm63167-sercomm-h500-s.dtsi +++ b/target/linux/bmips/dts/bcm63167-sercomm-h500-s.dtsi @@ -254,6 +254,7 @@ label = "wan"; phy-handle = <&phy12>; + phy-mode = "gmii"; }; switch0port4: port@4 { diff --git a/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts b/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts index 22a0ffe792..062fdcafe9 100644 --- a/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts +++ b/target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts @@ -196,6 +196,7 @@ label = "lan2"; phy-handle = <&phy1>; + phy-mode = "mii"; }; port@1 { @@ -203,6 +204,7 @@ label = "lan3"; phy-handle = <&phy2>; + phy-mode = "mii"; }; port@2 { @@ -210,6 +212,7 @@ label = "lan4"; phy-handle = <&phy3>; + phy-mode = "mii"; }; port@3 { @@ -217,6 +220,7 @@ label = "lan1"; phy-handle = <&phy4>; + phy-mode = "mii"; }; }; }; diff --git a/target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts b/target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts index ec50c3e07d..9226922a7a 100644 --- a/target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts +++ b/target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts @@ -213,6 +213,7 @@ label = "lan4"; phy-handle = <&phy1>; + phy-mode = "mii"; }; port@1 { @@ -220,6 +221,7 @@ label = "lan3"; phy-handle = <&phy2>; + phy-mode = "mii"; }; port@2 { @@ -227,6 +229,7 @@ label = "lan2"; phy-handle = <&phy3>; + phy-mode = "mii"; }; port@3 { @@ -234,6 +237,7 @@ label = "lan1"; phy-handle = <&phy4>; + phy-mode = "mii"; }; }; }; diff --git a/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts b/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts index 47db0809e1..df6ee5eadd 100644 --- a/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts +++ b/target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts @@ -170,6 +170,7 @@ label = "lan1"; phy-handle = <&phy1>; + phy-mode = "mii"; }; port@1 { @@ -177,6 +178,7 @@ label = "lan2"; phy-handle = <&phy2>; + phy-mode = "mii"; }; port@2 { @@ -184,6 +186,7 @@ label = "lan3"; phy-handle = <&phy3>; + phy-mode = "mii"; }; port@3 { @@ -191,6 +194,7 @@ label = "lan4"; phy-handle = <&phy4>; + phy-mode = "mii"; }; }; }; diff --git a/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts b/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts index 29d8dfd56e..5f0565fa4c 100644 --- a/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts +++ b/target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts @@ -135,6 +135,7 @@ label = "lan1"; phy-handle = <&phy1>; + phy-mode = "mii"; }; port@1 { @@ -142,6 +143,7 @@ label = "lan2"; phy-handle = <&phy2>; + phy-mode = "mii"; }; port@2 { @@ -149,6 +151,7 @@ label = "lan3"; phy-handle = <&phy3>; + phy-mode = "mii"; }; port@3 { @@ -156,6 +159,7 @@ label = "lan4"; phy-handle = <&phy4>; + phy-mode = "mii"; }; }; };