realtek: make use of serdes helper for Zyxel XGS1250-12

Use the new INTERNAL_PHY_SDS() helper to describe the SFP ports. For
this device it is only a substitution of the existing DTS configuration.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/18851
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Markus Stockhausen 2025-06-17 01:42:16 -04:00 committed by Robert Marko
parent 761b5d3906
commit eea6c5b3ea

View file

@ -305,14 +305,7 @@
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
}; };
/* SFP Ports */ INTERNAL_PHY_SDS(27, 9)
phy27: ethernet-phy@27 {
compatible = "ethernet-phy-ieee802.3-c22";
phy-is-integrated;
reg = <27>;
sds = < 9 >;
};
}; };
}; };