From: Markus Stockhausen Date: Sun, 19 Jul 2026 06:25:07 +0000 (+0200) Subject: realtek: dts: adapt RTL8214FC bus location on RTL839x X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F24281%2Fhead;p=thirdparty%2Fopenwrt.git realtek: dts: adapt RTL8214FC bus location on RTL839x The RTL839x has the following hard-coded bus topology: - Bus 0: Port 0-23 - Bus 1: Port 24-51 So the bus number and the PHY address in the dts are mostly ignored. Nevertheless fix the assignment for the Zyxel GS1920. This does not change the functionality it just describes the hardware correctly. While we are here add the PHY package description too. Link: https://github.com/openwrt/openwrt/pull/24281 Signed-off-by: Markus Stockhausen --- diff --git a/target/linux/realtek/dts/rtl8391_zyxel_gs1920-24hp-v2.dts b/target/linux/realtek/dts/rtl8391_zyxel_gs1920-24hp-v2.dts index 3aab3d8072c..f872bd22c43 100644 --- a/target/linux/realtek/dts/rtl8391_zyxel_gs1920-24hp-v2.dts +++ b/target/linux/realtek/dts/rtl8391_zyxel_gs1920-24hp-v2.dts @@ -116,12 +116,17 @@ }; }; -&mdio_bus0 { - /* External phy RTL8214FC #1 */ - PHY_C22_SFP(24, 24, 0) - PHY_C22_SFP(25, 25, 1) - PHY_C22_SFP(26, 26, 2) - PHY_C22_SFP(27, 27, 3) +&mdio_bus1 { + ethernet-phy-package@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + PHY_C22_SFP(24, 0, 0) + PHY_C22_SFP(25, 1, 1) + PHY_C22_SFP(26, 2, 2) + PHY_C22_SFP(27, 3, 3) + }; }; &pse {