[openwrt/openwrt] realtek: dgs-1210-10mp: update sfp phy-handle

LEDE Commits lede-commits at lists.infradead.org
Sat Jan 28 12:01:41 PST 2023


svanheule pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a911f63df9bade09e950059b4ed3222e4d278fab

commit a911f63df9bade09e950059b4ed3222e4d278fab
Author: Daniel Groth <flygarn12 at gmail.com>
AuthorDate: Sat Jan 14 15:32:00 2023 +0100

    realtek: dgs-1210-10mp: update sfp phy-handle
    
    Adjust the wrong phy-handle definitions for the sfp ports so that they
    match the correct switch ports.
    
    Fixes: 89eb8b50d18d ("realtek: dgs-1210-10mp: add full sfp description")
    Signed-off-by: Daniel Groth <flygarn12 at gmail.com>
---
 target/linux/realtek/dts-5.10/rtl8380_d-link_dgs-1210-10mp-f.dts | 4 ++--
 target/linux/realtek/dts-5.15/rtl8380_d-link_dgs-1210-10mp-f.dts | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/target/linux/realtek/dts-5.10/rtl8380_d-link_dgs-1210-10mp-f.dts b/target/linux/realtek/dts-5.10/rtl8380_d-link_dgs-1210-10mp-f.dts
index 39e37ee595..664cab5999 100644
--- a/target/linux/realtek/dts-5.10/rtl8380_d-link_dgs-1210-10mp-f.dts
+++ b/target/linux/realtek/dts-5.10/rtl8380_d-link_dgs-1210-10mp-f.dts
@@ -112,7 +112,7 @@
 		port at 24 {
 			reg = <24>;
 			label = "lan9";
-			phy-handle = <14>;
+			phy-handle = <&phy24>;
 			phy-mode = "1000base-x";
 			managed = "in-band-status";
 			sfp = <&sfp0>;
@@ -121,7 +121,7 @@
 		port at 26 {
 			reg = <26>;
 			label = "lan10";
-			phy-handle = <15>;
+			phy-handle = <&phy26>;
 			phy-mode = "1000base-x";
 			managed = "in-band-status";
 			sfp = <&sfp1>;
diff --git a/target/linux/realtek/dts-5.15/rtl8380_d-link_dgs-1210-10mp-f.dts b/target/linux/realtek/dts-5.15/rtl8380_d-link_dgs-1210-10mp-f.dts
index 39e37ee595..664cab5999 100644
--- a/target/linux/realtek/dts-5.15/rtl8380_d-link_dgs-1210-10mp-f.dts
+++ b/target/linux/realtek/dts-5.15/rtl8380_d-link_dgs-1210-10mp-f.dts
@@ -112,7 +112,7 @@
 		port at 24 {
 			reg = <24>;
 			label = "lan9";
-			phy-handle = <14>;
+			phy-handle = <&phy24>;
 			phy-mode = "1000base-x";
 			managed = "in-band-status";
 			sfp = <&sfp0>;
@@ -121,7 +121,7 @@
 		port at 26 {
 			reg = <26>;
 			label = "lan10";
-			phy-handle = <15>;
+			phy-handle = <&phy26>;
 			phy-mode = "1000base-x";
 			managed = "in-band-status";
 			sfp = <&sfp1>;




More information about the lede-commits mailing list