From a911f63df9bade09e950059b4ed3222e4d278fab Mon Sep 17 00:00:00 2001 From: Daniel Groth Date: Sat, 14 Jan 2023 15:32:00 +0100 Subject: [PATCH] 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 --- .../linux/realtek/dts-5.10/rtl8380_d-link_dgs-1210-10mp-f.dts | 4 ++-- .../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@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@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@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@26 { reg = <26>; label = "lan10"; - phy-handle = <15>; + phy-handle = <&phy26>; phy-mode = "1000base-x"; managed = "in-band-status"; sfp = <&sfp1>; -- 2.30.2