From 457549665fcb93667453ef48c50bf43eddd776ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Mon, 10 Apr 2023 10:06:22 +0200 Subject: [PATCH] bmips: dts: add missing phy modes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit PHY modes should be defined in the device tree for the bcm63xx internal switch. Signed-off-by: Álvaro Fernández Rojas --- target/linux/bmips/dts/bcm63167-sercomm-h500-s.dtsi | 1 + target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts | 4 ++++ target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts | 4 ++++ target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts | 4 ++++ target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts | 4 ++++ 5 files changed, 17 insertions(+) diff --git a/target/linux/bmips/dts/bcm63167-sercomm-h500-s.dtsi b/target/linux/bmips/dts/bcm63167-sercomm-h500-s.dtsi index 7368e9d496e5..591029c46350 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 22a0ffe79213..062fdcafe963 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 ec50c3e07df5..9226922a7ae5 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 47db0809e19e..df6ee5eadd6a 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 29d8dfd56e09..5f0565fa4c26 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"; }; }; }; -- 2.30.2