Skip to content

Tags: janh/openwrt

Tags

kernel-rtl8226-mdi-swap-backport-20260522

Toggle kernel-rtl8226-mdi-swap-backport-20260522's commit message
kernel: realtek: replace RTL8226 MDI swap patch by upstream version

A version of this patch has been accepted upstream, so use it here.

Link: https://lore.kernel.org/netdev/177932162564.3801238.2549776951847746974.git-patchwork-notify@kernel.org/
Signed-off-by: Jan Hoffmann <jan@3e8.eu>

rtl8221b-sfp-phyad0-2026-04-23

Toggle rtl8221b-sfp-phyad0-2026-04-23's commit message
generic: net: phy: realtek: don't disable MDIO address 0 for PHY in S…

…FP module

At least the XikeStor SKT-2.5G-100M SFP module seems to internally use
MDIO address 0 to access the PHY. This module allows accessing PHY
registers using Rollball protocol on address 0x51, and also provides
read-only C22 access on address 0x56. However, after disabling the
PHYAD0 configuration bit, only 0xffff can be read via both methods
(except for MMD device 30 which can still be accessed).

Since having MDIO address 0 enabled shouldn't do any harm on SFP modules
just leave the configuration bit alone in that case.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>

realtek-smbus-rollball-20260422

Toggle realtek-smbus-rollball-20260422's commit message
realtek: fix SMBus Rollball access

The Rollball command byte needs to be written last. Otherwise the
controller might access the wrong register or write the wrong value.

Fixes: 1fc19bc ("realtek: rtl93xx: mdio-smbus support for clause 45 and Rollball SFPs")
Signed-off-by: Jan Hoffmann <jan@3e8.eu>

rtl8226-mdi-swap-20260304

Toggle rtl8226-mdi-swap-20260304's commit message
realtek: enable MDI swapping for RTL8226 where needed

The RTL8226 PHYs in Zyxel XGS1010-10 and XGS1210-10 rev A1 have swapped
MDI lanes. Specify this in the device tree, so the driver can configure
it. With this change, the PHYs no longer require initialization by the
bootloader.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>

rtl8226-mdi-swap-20260304-2

Toggle rtl8226-mdi-swap-20260304-2's commit message
realtek: enable MDI swapping for RTL8226 where needed

The RTL8226 PHYs in Zyxel XGS1010-10 and XGS1210-10 rev A1 have swapped
MDI lanes. Specify this in the device tree, so the driver can configure
it. With this change, the PHYs no longer require initialization by the
bootloader.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>

rtl8226-mdi-swap-20260302

Toggle rtl8226-mdi-swap-20260302's commit message
realtek: enable MDI swapping for RTL8226 where needed

The RTL8226 PHYs in Zyxel XGS1010-10 and XGS1210-10 rev A1 have swapped
MDI lanes. Specify this in the device tree, so the driver can configure
it. With this change, the PHYs no longer require initialization by the
bootloader.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>

realtek-gs308t-nvmem-20260218

Toggle realtek-gs308t-nvmem-20260218's commit message
realtek: switch Netgear RTL8380 devices to NVMEM

Use NVMEM in device tree to set the label and eth0 MAC address based on
the U-Boot environment.

Invididual port MAC addresses and bridge MAC are still handled in the
02_network script to maintain the current assignment.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>

realtek-gs308t-nvmem-20260216

Toggle realtek-gs308t-nvmem-20260216's commit message
realtek: switch Netgear RL8380 devices to NVMEM

Use NVMEM in device tree to set the label and eth0 MAC address based on
the U-Boot environment.

Invididual port MAC addresses and bridge MAC are still handled in the
02_network script to maintain the current assignment.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>

realtek-xgs1210-nvmem-20260214

Toggle realtek-xgs1210-nvmem-20260214's commit message
realtek: switch Zyxel XGS1210 to NVMEM

These devices contain a single MAC address in the U-Boot environment.
Set it as eth0 and label MAC in device tree.

To maintain the current state, the 02_network script still sets
individual port MAC addresses and the bridge MAC address.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>

realtek-hpe1920-nvmem-20260210

Toggle realtek-hpe1920-nvmem-20260210's commit message
realtek: switch HPE 1920 series to NVMEM

The MAC addresses for eth0 and the individual LAN ports are now
configured via device tree. The assignment itself stays the same as
before, matching factory firmware.

The 02_network script still sets the bridge MAC address, as it is
different from the lowest port MAC address.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>