realtek: make use of serdes helper for Zyxel GS1900-24(HP) v1/v2
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 20 May 2025 08:09:19 +0000 (04:09 -0400)
committerRobert Marko <robimarko@gmail.com>
Sun, 22 Jun 2025 14:37:33 +0000 (16:37 +0200)
commit880565956dd1260c4aff4dd0d4aa0b30766dd755
tree0f3ad4a46ca1fc9e7ed7e11624210f07b97e7320
parent13a6e0620ff062218cde8a5b68f78e554167fef2
realtek: make use of serdes helper for Zyxel GS1900-24(HP) v1/v2

Use the new INTERNAL_PHY_SDS() helper to describe the SFP ports. With
this change the driver now knows that ports 24/26 are driven by serdes
4/5.

For the RTL838x devices this is currently only an additional information
for the mdio bus. It is not evaluated further because everything is
hardcoded.

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>
target/linux/realtek/dts/rtl8382_zyxel_gs1900-24-v1.dts
target/linux/realtek/dts/rtl8382_zyxel_gs1900-24hp-v1.dts
target/linux/realtek/dts/rtl8382_zyxel_gs1900-24hp-v2.dts