Repository navigation
Tags
Tags
realtek: extend Zyxel XGS1x10-12 SFP LED configuration for 100M/10M Speeds of 100 Mb/s and 10 Mb/s are possible for SFP ports when SGMII or USXGMII is used. Extend the LED configuration to include these speeds. Signed-off-by: Jan Hoffmann <jan@3e8.eu>
kernel: add hack to avoid killing RTL8221B PHYs RTL8221B unfortunately suffers from a issue where reading registers from MMD 30 can break the PHY. Once it is in the broken state, recovery is only possible by hardware reset. Add a hack which prevents the kernel from reading MMD 30 while probing for PHYs when a RTL8221B is detected, based on the ID from MMD 1. Fixes: openwrt#22140 Signed-off-by: Jan Hoffmann <jan@3e8.eu>
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>
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: 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>
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: 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: 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: 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: 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>
PreviousNext