]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: add serdes patch for 10G_QXGMII
authorDamien Dejean <dam.dejean@gmail.com>
Wed, 27 Aug 2025 14:05:39 +0000 (16:05 +0200)
committerRobert Marko <robimarko@gmail.com>
Sun, 26 Oct 2025 10:24:51 +0000 (11:24 +0100)
commitdca20f91ea122953b39312c74541f7cadb1421cd
tree2030544f5fe0abe23d57d3be7e7778524f82ed1c
parentd76b97bd7174d77978aed081189affaca1df286d
realtek: add serdes patch for 10G_QXGMII

Adds the serdes patch sequence [1] and configuration [2] for the
PHY_INTERFACE_MODE_10G_QXGMII mode (aka USXGMII_QX in Realtek sources).
It is required by devices with light bootloaders (ie not u-boot) that
does not initialize the hardware before booting the kernel.

[1] https://github.com/ddejean/dms-1250-oss-release/blob/main/sdk/sdk_rtk_switch/rtk-sdk/src/dal/longan/dal_longan_construct.c#L1075
[2] https://github.com/ddejean/dms-1250-oss-release/blob/main/sdk/sdk_rtk_switch/rtk-sdk/src/dal/longan/dal_longan_construct.c#L1315

Signed-off-by: Damien Dejean <dam.dejean@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20472
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.c