openwrt/target/linux/realtek/files-5.15
Stijn Tintel 1626b06683 realtek/rtl839x: respect phy-is-integrated property
Respect the phy-is-integrated property on ethernet-phy nodes.

There are RTL8393M switches where the PHYs at address 48 and 49 are
provided by an external RTL8214FC. Hardcoding them to use the internal
SerDes makes it impossible to use the ports connected to such an
external PHY. Respect the phy-is-integrated property on ethernet-phy
nodes as a first step to support such ports.

The potential impact for this should be limited to RTL8393 based
switches, and looking at the commit messages and device tree files of
the supported switches based on this SoC, the SFP and/or combo ports are
either not working (D-Link DGS-1210-52, Netgear GS750E, TP-Link
SG2452P/T1600G-52PS), use PHYs at a different address (Panasonic
SwitchM48EG PN28480K), or already have the phy-is-integrated property
set on the PHYs at address 48 and 49.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Daniel Golle <daniel@makrotopia.org>
2024-05-07 12:27:30 +03:00
..
arch/mips rtl838x: debugfs use constants from mach-rtl83xx.h 2024-01-15 18:09:22 +01:00
Documentation/devicetree/bindings realtek: Whitespace and codestyle cleanup 2022-12-27 16:31:48 +01:00
drivers realtek/rtl839x: respect phy-is-integrated property 2024-05-07 12:27:30 +03:00
include/dt-bindings/clock realtek: copy dts/files/patches/configs for 5.15 2022-12-15 20:52:09 +01:00