[PATCH] realtek: add missing PHY handles for GS1900-10HP

Stijn Segers foss at volatilesystems.org
Sat Sep 21 14:01:50 PDT 2024


Fixes the following error in dmesg:

  [    7.703678] rtl83xx-switch switch at 1b000000: Port node 24 misses phy-handle
  [    7.711556] rtl83xx-switch switch at 1b000000: Port node 26 misses phy-handle

Signed-off-by: Stijn Segers <foss at volatilesystems.org>
---
 target/linux/realtek/dts/rtl8380_zyxel_gs1900-10hp.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/realtek/dts/rtl8380_zyxel_gs1900-10hp.dts b/target/linux/realtek/dts/rtl8380_zyxel_gs1900-10hp.dts
index 190a77b7ff..f8125fec86 100644
--- a/target/linux/realtek/dts/rtl8380_zyxel_gs1900-10hp.dts
+++ b/target/linux/realtek/dts/rtl8380_zyxel_gs1900-10hp.dts
@@ -59,6 +59,7 @@
 		port at 24 {
 			reg = <24>;
 			label = "lan9";
+			phy-handle = "<&phy24>";
 			phy-mode = "1000base-x";
 			managed = "in-band-status";
 			sfp = <&sfp0>;
@@ -67,6 +68,7 @@
 		port at 26 {
 			reg = <26>;
 			label = "lan10";
+			phy-handle = "<&phy26>";
 			phy-mode = "1000base-x";
 			managed = "in-band-status";
 			sfp = <&sfp1>;
-- 
2.45.2




More information about the openwrt-devel mailing list