]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: dts: drop EXTERNAL_SFP_PHY macro 23036/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 21 Apr 2026 17:25:18 +0000 (19:25 +0200)
committerRobert Marko <robimarko@gmail.com>
Wed, 22 Apr 2026 14:58:04 +0000 (16:58 +0200)
commit26f2bc96b914d34966c7f527b6cca93e96c79494
tree3c34857ce82b70b37db94501faabfa35012bead6
parent11d49521c46eed9b6ac3cbd10df85e837e438403
realtek: dts: drop EXTERNAL_SFP_PHY macro

The EXTERNAL_SFP_PHY macro is very strange. It has attributes
sfp and media but is not linked to any SFP definition. There
is nothing that the kernel can evaluate better than the classic
PHY_C22 macro.

Remark! For the current D-Link DGS-1210 consumers this macro
should be converted to a PHY_C22_SFP in the future. As of now
there is no hardware to identify the proper gpios and define
and verify the corresponding SFP ports. Add a TODO comment
where needed.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/23036
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/dts/macros.dtsi
target/linux/realtek/dts/rtl8382_d-link_dgs-1210-16.dts
target/linux/realtek/dts/rtl8382_d-link_dgs-1210-20.dts