realtek: XGS1210-12: convert RTL8226 PHYs to 2500base-x
authorMarkus Stockhausen <[email protected]>
Sun, 24 Aug 2025 18:10:30 +0000 (14:10 -0400)
committerHauke Mehrtens <[email protected]>
Fri, 29 Aug 2025 22:50:29 +0000 (00:50 +0200)
commita3d681d7f5dcb6cf9142a50e6ea55f79f25d276e
tree8447c019ad8a296addab9ea0342a7b3603d11e4e
parent1673390905620e85c954ca87ea07de74d89cf920
realtek: XGS1210-12: convert RTL8226 PHYs to 2500base-x

We reached the point of no return. Upstream has gained the final
bits for the RTL8226 PHYs. That means.

- RTL8226 MAC side behaves like RTL8221(B)
- It's serdes no longer uses proprietary HSGMII (2.5G SGMII)
- Instead it dynamically switches between SGMII and 2500base-x

This (partly) solves one of the central henn/egg problems of the
Realtek target. To change the MAC/PHY interface mode both sides
need to have all bits in place to do so. But where to start if
so much needs to be done?

Now the PHY side has created facts and it mitigates a lot of
problems. All downstream HSGMII patches and coding can be dropped
in the future.

For now only adapt the only DTS that still maps PHYs to HSGMII.

Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19843
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/realtek/dts/rtl9302_zyxel_xgs1210-12.dts