Fixes the following error in dmesg:

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

Signed-off-by: Stijn Segers <f...@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@24 {
                        reg = <24>;
                        label = "lan9";
+                       phy-handle = "<&phy24>";
                        phy-mode = "1000base-x";
                        managed = "in-band-status";
                        sfp = <&sfp0>;
@@ -67,6 +68,7 @@
                port@26 {
                        reg = <26>;
                        label = "lan10";
+                       phy-handle = "<&phy26>";
                        phy-mode = "1000base-x";
                        managed = "in-band-status";
                        sfp = <&sfp1>;
-- 
2.45.2


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to