realtek: dgs-1210-10mp: update sfp phy-handle
authorDaniel Groth <flygarn12@gmail.com>
Sat, 14 Jan 2023 14:32:00 +0000 (15:32 +0100)
committerSander Vanheule <sander@svanheule.net>
Sat, 28 Jan 2023 20:01:29 +0000 (21:01 +0100)
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@gmail.com>
target/linux/realtek/dts-5.10/rtl8380_d-link_dgs-1210-10mp-f.dts
target/linux/realtek/dts-5.15/rtl8380_d-link_dgs-1210-10mp-f.dts

index 39e37ee5959ab54237d91845ddb4cf84ace5a3a2..664cab599981ab7f3a8402d212e2608dbb776764 100644 (file)
                port@24 {
                        reg = <24>;
                        label = "lan9";
-                       phy-handle = <14>;
+                       phy-handle = <&phy24>;
                        phy-mode = "1000base-x";
                        managed = "in-band-status";
                        sfp = <&sfp0>;
                port@26 {
                        reg = <26>;
                        label = "lan10";
-                       phy-handle = <15>;
+                       phy-handle = <&phy26>;
                        phy-mode = "1000base-x";
                        managed = "in-band-status";
                        sfp = <&sfp1>;
index 39e37ee5959ab54237d91845ddb4cf84ace5a3a2..664cab599981ab7f3a8402d212e2608dbb776764 100644 (file)
                port@24 {
                        reg = <24>;
                        label = "lan9";
-                       phy-handle = <14>;
+                       phy-handle = <&phy24>;
                        phy-mode = "1000base-x";
                        managed = "in-band-status";
                        sfp = <&sfp0>;
                port@26 {
                        reg = <26>;
                        label = "lan10";
-                       phy-handle = <15>;
+                       phy-handle = <&phy26>;
                        phy-mode = "1000base-x";
                        managed = "in-band-status";
                        sfp = <&sfp1>;