openwrt/target/linux/realtek
Markus Stockhausen 06c895f5d3 realtek: DTS: add macro for switch port with SerDes
In the future the PCS & DSA drivers will lookup the SerDes of a
switch port via pcs-handle (like upstream does). Provide a macro
that allows to expand the existing port definitions. To link a
SerDes to port simply do

Either in short form:

replace SWITCH_PORT(0, 1, qsgmii)
with    SWITCH_PORT_SDS(0, 1, 3, qsgmii) (Link to SerDes 3)

Or in long form:

port@24 {
	reg = <24>;
	label = "lan25";
	pcs-handle = <&serdes4>; (Link to SerDes 4)
	phy-handle = <&phy24>;
	phy-mode = "1000base-x";
	managed = "in-band-status";
	sfp = <&sfp0>;
};

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/20075
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-20 12:51:23 +02:00
..
base-files realtek: fix model for TP-Link TL-ST1008F v2.0 2025-09-03 00:51:49 +02:00
dts realtek: DTS: add macro for switch port with SerDes 2025-09-20 12:51:23 +02:00
files/firmware/rtl838x_phy
files-6.12 realtek: mdio: register SerDes bus so it can be looked up 2025-09-18 10:44:36 +02:00
image realtek: Rename ZyXEL XGS1210-12 to XGS1210-12 a1 2025-09-03 21:40:36 +02:00
patches-6.12 realtek: timer: replace downstream with upstream patches 2025-09-20 12:49:51 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: mdio: add SerDes driver 2025-09-17 19:23:15 +02:00
rtl839x realtek: mdio: add SerDes driver 2025-09-17 19:23:15 +02:00
rtl930x realtek: mdio: add SerDes driver 2025-09-17 19:23:15 +02:00
rtl930x_nand realtek: mdio: add SerDes driver 2025-09-17 19:23:15 +02:00
rtl931x realtek: mdio: add SerDes driver 2025-09-17 19:23:15 +02:00
rtl931x_nand realtek: mdio: add SerDes driver 2025-09-17 19:23:15 +02:00
Makefile realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00