[openwrt/openwrt] realtek: make use of serdes helper for Zyxel XGS1250-12
LEDE Commits
lede-commits at lists.infradead.org
Sun Jun 22 07:37:52 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/eea6c5b3ea37782700d5a421e07329426b2344ab
commit eea6c5b3ea37782700d5a421e07329426b2344ab
Author: Markus Stockhausen <markus.stockhausen at gmx.de>
AuthorDate: Tue Jun 17 01:42:16 2025 -0400
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 at gmx.de>
Link: https://github.com/openwrt/openwrt/pull/18851
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12.dts | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12.dts b/target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12.dts
index 182047e608..ec1597a3b2 100644
--- a/target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12.dts
+++ b/target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12.dts
@@ -305,14 +305,7 @@
#thermal-sensor-cells = <0>;
};
- /* SFP Ports */
- phy27: ethernet-phy at 27 {
- compatible = "ethernet-phy-ieee802.3-c22";
- phy-is-integrated;
- reg = <27>;
- sds = < 9 >;
- };
-
+ INTERNAL_PHY_SDS(27, 9)
};
};
More information about the lede-commits
mailing list