]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: use 50kHz I2C for SFPs on Xikestor SKS8300-8X 22210/head
authorJan Kantert <jan-openwrt@kantert.net>
Sat, 28 Feb 2026 23:09:19 +0000 (00:09 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 14 Mar 2026 21:40:47 +0000 (22:40 +0100)
commitbda9db304943a0107c1e79ecd1ed6bbcab0088f4
tree583781af0902119dbc668b08e5f79ff15c690a68
parent9413a3d96d27b8b28bb2118568d60b9aa5685ae6
realtek: use 50kHz I2C for SFPs on Xikestor SKS8300-8X

Some 10G optics showed random "module transmit fault indicated" due to I2C
read errors on ONTi ONT-S508CL-8S/XikeStor SKS8300-8X switches. The same
modules work with the original firmware and on other Linux based devices.

There seems to be some differences in how we talk to those modules using
I2C in OpenWRT. To fix this this patch adds support for 50kHz I2C speed on
SFPs and enables that for XikeStor/Onti devices. Since SFPs only transmit
very few bytes this should not have any real downsides.

This patch configures I2C to use 50kHz clock in the DTS for the affected
devices. For it to work it requires a change in the RTL9300 I2C driver.
This can be safely merged without the kernel change (but will not work
in that case as it will fall back to 100kHz).

Signed-off-by: Jan Kantert <jan-openwrt@kantert.net>
Link: https://github.com/openwrt/openwrt/pull/22210
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/dts/rtl9303_xikestor_sks8300-8x.dts