[openwrt/openwrt] bmips: dts: add missing phy modes
LEDE Commits
lede-commits at lists.infradead.org
Mon Apr 10 02:57:10 PDT 2023
noltari pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/457549665fcb93667453ef48c50bf43eddd776ef
commit 457549665fcb93667453ef48c50bf43eddd776ef
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Mon Apr 10 10:06:22 2023 +0200
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 <noltari at gmail.com>
---
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 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 at 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 at 1 {
@@ -203,6 +204,7 @@
label = "lan3";
phy-handle = <&phy2>;
+ phy-mode = "mii";
};
port at 2 {
@@ -210,6 +212,7 @@
label = "lan4";
phy-handle = <&phy3>;
+ phy-mode = "mii";
};
port at 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 at 1 {
@@ -220,6 +221,7 @@
label = "lan3";
phy-handle = <&phy2>;
+ phy-mode = "mii";
};
port at 2 {
@@ -227,6 +229,7 @@
label = "lan2";
phy-handle = <&phy3>;
+ phy-mode = "mii";
};
port at 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 at 1 {
@@ -177,6 +178,7 @@
label = "lan2";
phy-handle = <&phy2>;
+ phy-mode = "mii";
};
port at 2 {
@@ -184,6 +186,7 @@
label = "lan3";
phy-handle = <&phy3>;
+ phy-mode = "mii";
};
port at 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 at 1 {
@@ -142,6 +143,7 @@
label = "lan2";
phy-handle = <&phy2>;
+ phy-mode = "mii";
};
port at 2 {
@@ -149,6 +151,7 @@
label = "lan3";
phy-handle = <&phy3>;
+ phy-mode = "mii";
};
port at 3 {
@@ -156,6 +159,7 @@
label = "lan4";
phy-handle = <&phy4>;
+ phy-mode = "mii";
};
};
};
More information about the lede-commits
mailing list