[openwrt/openwrt] realtek: fix cpu port link type

LEDE Commits lede-commits at lists.infradead.org
Tue May 6 01:57:02 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/1308b4fb1c2b9a13dbed31e5be10aad4a0c838cd

commit 1308b4fb1c2b9a13dbed31e5be10aad4a0c838cd
Author: Markus Stockhausen <markus.stockhausen at gmx.de>
AuthorDate: Sat May 3 02:35:41 2025 -0400

    realtek: fix cpu port link type
    
    Some DTS files have a qsgmii link mode for the CPU port. This does
    not harm but it is wrong. The CPU port of the realtek switch is always
    directly connected to the switch by some unknown wiring and should
    therefore be described as internal. Align the wrongly defined DTS
    files to the standard.
    
    Signed-off-by: Markus Stockhausen <markus.stockhausen at gmx.de>
    Link: https://github.com/openwrt/openwrt/pull/18691
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 target/linux/realtek/dts/rtl8393_d-link_dgs-1210-52.dts | 2 +-
 target/linux/realtek/dts/rtl8393_netgear_gs750e.dts     | 2 +-
 target/linux/realtek/dts/rtl8393_zyxel_gs1900-48.dts    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/realtek/dts/rtl8393_d-link_dgs-1210-52.dts b/target/linux/realtek/dts/rtl8393_d-link_dgs-1210-52.dts
index 3ddf56f4f5..c380d5e7e3 100644
--- a/target/linux/realtek/dts/rtl8393_d-link_dgs-1210-52.dts
+++ b/target/linux/realtek/dts/rtl8393_d-link_dgs-1210-52.dts
@@ -153,7 +153,7 @@
 		port at 52 {
 			ethernet = <&ethernet0>;
 			reg = <52>;
-			phy-mode = "qsgmii";
+			phy-mode = "internal";
 			fixed-link {
 				speed = <1000>;
 				full-duplex;
diff --git a/target/linux/realtek/dts/rtl8393_netgear_gs750e.dts b/target/linux/realtek/dts/rtl8393_netgear_gs750e.dts
index 5a7ed276bf..77f001e1b2 100644
--- a/target/linux/realtek/dts/rtl8393_netgear_gs750e.dts
+++ b/target/linux/realtek/dts/rtl8393_netgear_gs750e.dts
@@ -243,7 +243,7 @@
 		port at 52 {
 			ethernet = <&ethernet0>;
 			reg = <52>;
-			phy-mode = "qsgmii";
+			phy-mode = "internal";
 			fixed-link {
 				speed = <1000>;
 				full-duplex;
diff --git a/target/linux/realtek/dts/rtl8393_zyxel_gs1900-48.dts b/target/linux/realtek/dts/rtl8393_zyxel_gs1900-48.dts
index 6bb99b6137..e879f652da 100644
--- a/target/linux/realtek/dts/rtl8393_zyxel_gs1900-48.dts
+++ b/target/linux/realtek/dts/rtl8393_zyxel_gs1900-48.dts
@@ -313,7 +313,7 @@
 		port at 52 {
 			ethernet = <&ethernet0>;
 			reg = <52>;
-			phy-mode = "qsgmii";
+			phy-mode = "internal";
 			fixed-link {
 				speed = <1000>;
 				full-duplex;




More information about the lede-commits mailing list