[openwrt/openwrt] realtek: Netgear GS110TPP v1: add lan9 and lan10

LEDE Commits lede-commits at lists.infradead.org
Sat Aug 13 10:17:15 PDT 2022


svanheule pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/225137608cf7cc5f6652bc7a0c026ee7888faf2e

commit 225137608cf7cc5f6652bc7a0c026ee7888faf2e
Author: Sander Vanheule <sander at svanheule.net>
AuthorDate: Sat Aug 13 18:49:47 2022 +0200

    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 <sander at svanheule.net>
---
 .../linux/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)
+	};
+};




More information about the lede-commits mailing list