[openwrt/openwrt] ath79: use rgmii-id instead of rgmii in ubnt, lap-120

LEDE Commits lede-commits at lists.infradead.org
Mon Jul 13 17:36:12 EDT 2020


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/26fda610f3c5217600e87904d1ba9236091c1b7c

commit 26fda610f3c5217600e87904d1ba9236091c1b7c
Author: Roger Pueyo Centelles <roger.pueyo at guifi.net>
AuthorDate: Tue Mar 10 19:31:20 2020 +0100

    ath79: use rgmii-id instead of rgmii in ubnt,lap-120
    
    Since commit 6f2e1b7485 (ath79: disable delays on AT803X config init)
    the incoming incoming traffic on the ubnt,lap-120 devices Ethernet
    port was not making it through. Using rgmii-id instead of rgmii (same
    configuration as ubnt,litebeam-ac-gen2) fixes it.
    
    Fixes FS#2893.
    
    Signed-off-by: Roger Pueyo Centelles <roger.pueyo at guifi.net>
---
 target/linux/ath79/dts/ar9342_ubnt_lap-120.dts | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/target/linux/ath79/dts/ar9342_ubnt_lap-120.dts b/target/linux/ath79/dts/ar9342_ubnt_lap-120.dts
index 9ea6079264..78567622b6 100644
--- a/target/linux/ath79/dts/ar9342_ubnt_lap-120.dts
+++ b/target/linux/ath79/dts/ar9342_ubnt_lap-120.dts
@@ -13,7 +13,6 @@
 
 	phy-mask = <4>;
 	phy4: ethernet-phy at 4 {
-		phy-mode = "rgmii";
 		reg = <4>;
 	};
 };
@@ -22,11 +21,11 @@
 	status = "okay";
 
 	/* default for ar934x, except for 1000M and 10M */
-	pll-data = <0x06000000 0x00000101 0x00001313>;
+	pll-data = <0x02000000 0x00000101 0x00001313>;
 
 	mtd-mac-address = <&art 0x0>;
 
-	phy-mode = "rgmii";
+	phy-mode = "rgmii-id";
 	phy-handle = <&phy4>;
 
 	gmac-config {



More information about the lede-commits mailing list