From 225137608cf7cc5f6652bc7a0c026ee7888faf2e Mon Sep 17 00:00:00 2001 From: Sander Vanheule Date: Sat, 13 Aug 2022 18:49:47 +0200 Subject: [PATCH] realtek: Netgear GS110TPP v1: add lan9 and lan10 The original commit for the GS110TP was missing ports 9 and 10. These are provided by an external RTL8214C phy, for which no support was available at the time. Now that this phy is supported, add the missing entries to enable all device ports. Signed-off-by: Sander Vanheule --- .../realtek/dts-5.10/rtl8380_netgear_gs110tpp-v1.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/target/linux/realtek/dts-5.10/rtl8380_netgear_gs110tpp-v1.dts b/target/linux/realtek/dts-5.10/rtl8380_netgear_gs110tpp-v1.dts index 1ff209cee3..b61af62ea5 100644 --- a/target/linux/realtek/dts-5.10/rtl8380_netgear_gs110tpp-v1.dts +++ b/target/linux/realtek/dts-5.10/rtl8380_netgear_gs110tpp-v1.dts @@ -43,3 +43,15 @@ &uart1 { status = "okay"; }; + +&mdio { + EXTERNAL_PHY(16) + EXTERNAL_PHY(17) +}; + +&switch0 { + ports { + SWITCH_PORT(16, 9, qsgmii) + SWITCH_PORT(17, 10, qsgmii) + }; +}; -- 2.30.2